During the last time, I used the theorem below several times in numerical approximations, where it is very useful to know the number of solutions of an equation and their multiplicity. I did not formally prove it, it's more or less obvious and I took it for granted:
Let $f\in C^2(I)$ be a strictly convex real function defined on the open interval $I\subseteq \Bbb R$ that satisfies at least one of
$$\sup I = \infty \qquad\text{or}\qquad \lim_{x\to\sup I-} f(x) =\infty \tag{1.1}$$
and at least one of
$$\inf I = -\infty \qquad\text{or}\qquad \lim_{x\to\inf I+} f(x) =\infty \tag{1.2}$$
Let $D=f'(I)$. Then the equation
$$f(x) = ax+b\tag 2$$
has the following number of solutions:
If $a\notin \overline D$, then $(2)$ has exactly one solution of multiplicity 1 for all $b\in\Bbb R$.
If $a\in D$, then there exists a $b_0 = b_0(a)$ such that:
- $(2)$ has exactly $1$ solution $x_0$ of multiplicity 2 iff $b=b_0$.
- $(2)$ has exactly $2$ solutions of multiplicity 1 iff $b > b_0$. Moreover, one solution is strictly smaller than $x_0$ and the other is strictly greater than $x_0$.
- $(2)$ has no solutions iff $b < b_0$.
If $a\in \partial D\cap\Bbb R$, then there exists a $b_0=b_0(a)$ such that:
- $(2)$ has no solution iff $b \leqslant b_0$.
- $(2)$ has exactly $1$ solution of multiplicity 1 iff $b > b_0$.
Questions: It's unlikely that this has not been proved before. Is there a common name for the theorem? Is it correct by the way, or are there some orgy details that break it, and the conditions must be more strict? Some links are also great, like to proofs or generalizations.
Notes
A similar theorem can be stated for strictly concave functions, but one has to swap inequality relations, and the limits to ∞ in (1.1) and (1.2) must be changed to −∞. This is effectively stating the theorem for $-f$, which is strictly convex.
Taking together cases 1, 2 and 3 will cover all $a, b\in\Bbb R$.
In many cases, $x_0$ can be determined as (unique) solution of $f'(x)=a$ (or if such $x_0$ does not exist, we know that we are not in case 2). In many cases, $x_0$ can be computed explicitly, like in the cases listed below.
Case 1 and case 3 may be vacuous depending of $f$, for example for $f(x)=\cosh x$ or $f(x)=x^2$ for which $D=\Bbb R$.
Examples where all 3 cases will occur are $\sqrt{1+x^2}$ and $\ln\cosh x$.
Example with $I\subsetneq \Bbb R$ is $f(x) = x^n/(1-x^m)$ on $I=(-1,1)$ where $n$ and $m$ are positive, even integers. Or just take $f(x) = x^r$ on $\Bbb R^+$ for $r<0$.