2 problems found
A function \(\f(x)\) is said to be concave for \(a< x < b\) if \[ \ t\,\f(x_1) +(1-t)\,\f(x_2) \le \f\big(tx_1+ (1-t)x_2\big) \, ,\] for \(a< x_1 < b\,\), \(a< x_2< b\) and \(0\le t \le 1\,\). Illustrate this definition by means of a sketch, showing the chord joining the points \(\big(x_1, \f(x_1)\big) \) and \(\big(x_2, \f(x_2)\big) \), in the case \(x_1 < x_2\) and \(\f(x_1)< \f(x_2)\,\). Explain why a function \(\f(x)\) satisfying \(\f''(x)<0\) for \(a< x < b\) is concave for \(a< x < b\,\).
Solution:
A function \(\f(x)\) is said to be concave on some interval if \(\f''(x)<0\) in that interval. Show that \(\sin x\) is concave for \(0< x < \pi\) and that \(\ln x\) is concave for \(x > 0\). Let \(\f(x)\) be concave on a given interval and let \(x_1\), \(x_2\), \(\ldots\), \(x_n\) lie in the interval. Jensen's inequality states that \[ \frac1 n \sum_{k=1}^n\f(x_k) \le \f \bigg (\frac1 n \sum_{k=1}^n x_k\bigg) \] and that equality holds if and only if \(x_1=x_2= \cdots =x_n\). You may use this result without proving it.
Solution: \begin{align*} && f(x) &= \sin x \\ \Rightarrow && f''(x) &= -\sin x \end{align*} which is clearly negative on \((0,\pi)\) since \(\sin\) is positive on this interval. \begin{align*} && f(x) &= \ln x \\ \Rightarrow && f''(x) &= -1/x^2 \end{align*} which is clearly negative for \(x > 0\)