Let $\vec{a}=\{a_1,\dotsc,a_n\}\in\mathbb{R}^n$ be a vector such that $$ 0 \le a_i \le \frac{1}{2} \text{ for each } 1\le i\le n\enspace. $$ Consider the function $f ~:~ \mathbb{R}^+ \to\mathbb{R}$: $$ f(x) = \frac{1}{x}\ln\sum_{i=1}^n e^{a_i x^2} \enspace. $$ (I only care about its restriction to the positive reals, so all mentions of strict convexity in the following are intended to be on the positive reals.)
We can see this function as the product of two strictly convex functions $g(x)$ and $h(x)$, with:
- $g(x) = \frac{1}{x}$
- $h(x) = \ln\displaystyle\sum_{i=1}^n e^{a_i x^2}$
The function $h(x)$ is strictly convex because we can see it as the composition of two strictly convex functions $z(y)$ and $w(x)$ (i.e., $h(x)= z(w(x))$, with $z(y)$ being non-decreasing:
- $z(y) = \ln\displaystyle\sum_{i=1}^n e^{a_i y}$, which is strictly convex because it is the slice of the $n$-dimensional log-sum-exp function along the direction $(\vec{0} + \vec{a}x)$, which is strictly convex as shown in this answer.
- $w(x) = x^2$
(I'm assuming the strictness of the convexity is preserved when composing two strictly convex functions with the "outer" one being non-decreasing, but I actually do not know if it is true).
I understand that in general the product of two strictly convex functions may not be convex, but I suspect (based on some simulations trying various choices of the vector $\vec{a}$) that $f(x)$ is convex on the positive reals.
Could anyone please give some ideas on how to prove that the function is convex (or tell me that it isn't convex) ?
The second derivative of $f(x)$ doesn't immediately seem non-negative on the positive reals, but someone may have more intuition and more technical ability than me.
In case the function $f$ is not convex, this question may suggest that $f$ would have at most two local minima because it is the product of two strictly convex functions (I'm saying "may" because 1) the question mentions strongly convex functions, but it is not clear whether the Author meant strictly convex functions; and 2) there is no answer and the comments are a bit vague).
Can anyone please confirm that indeed $f$ would have at most two local minima (and if possible provide a reference)?
Thank you.