Let be a
convex subset of a
real vector space, and let be a function taking
non-negative values. Then is: •
Logarithmically convex if {\log} \circ f is convex, and •
Strictly logarithmically convex if {\log} \circ f is strictly convex. Here we interpret \log 0 as -\infty. Explicitly, is logarithmically convex if and only if, for all and all , the two following equivalent conditions hold: :\begin{align} \log f(tx_1 + (1 - t)x_2) &\le t\log f(x_1) + (1 - t)\log f(x_2), \\ f(tx_1 + (1 - t)x_2) &\le f(x_1)^tf(x_2)^{1-t}. \end{align} Similarly, is strictly logarithmically convex if and only if, in the above two expressions, strict inequality holds for all . The above definition permits to be zero, but if is logarithmically convex and vanishes anywhere in , then it vanishes everywhere in the interior of .
Equivalent conditions If is a
differentiable function defined on an interval , then is logarithmically convex if and only if the following condition holds for all and in : :\log f(x) \ge \log f(y) + \frac{f'(y)}{f(y)}(x - y). This is equivalent to the condition that, whenever and are in and , :\left(\frac{f(x)}{f(y)}\right)^{\frac{1}{x - y}} \ge \exp\left(\frac{f'(y)}{f(y)}\right). Moreover, is strictly logarithmically convex if and only if these inequalities are always strict. If is twice differentiable, then it is logarithmically convex if and only if, for all in , :f''(x)f(x) \ge f'(x)^2. If the inequality is always strict, then is strictly logarithmically convex. However, the converse is false: It is possible that is strictly logarithmically convex and that, for some , we have f''(x)f(x) = f'(x)^2. For example, if f(x) = \exp(x^4), then is strictly logarithmically convex, but f''(0)f(0) = 0 = f'(0)^2. Furthermore, f\colon I \to (0, \infty) is logarithmically convex if and only if e^{\alpha x}f(x) is convex for all \alpha\in\mathbb R. ==Sufficient conditions==