1.1.1. (PS1) Some basic counterexamples.
1.1.1.a
Solution.
Consider the function \(u(x) = \cos x\) on the interval \([-\pi/2,\pi/2]\text{.}\) Then \(u \in C^2((-\pi/2,\pi/2))\cap C^0([\pi/2,\pi/2])\) and \(Lu
\equiv 0\text{,}\) but \(u\) achieves its maximum over \([-\pi/2,\pi/2]\) at the interior point \(0\text{.}\)
Comment 1.
Remember that
\begin{gather*}
Lu = \left(\frac{d^2}{dx^2} + 1\right) u
= u'' + u\text{.}
\end{gather*}
In particular, \(Lu\) is not \(u''+1\text{.}\)
Comment 2.
Of course this counterexample is in no way unique. Some other counterexamples that appeared on the sheets in previous years include
- \(u=2-\frac 12 x^2\) on \([-1,1]\text{,}\)
- \(u=9-4(x-1/2)^2\) on \([0,1]\text{,}\)
- \(u=\sin x\) on \([0,\pi]\text{.}\)
Note that the first two are solutions of differential inequality \(Lu \ge
0\) rather than the ODE \(Lu=0\text{.}\)
1.1.1.b
Solution.
Consider the function \(u(x) = -\cosh x\) on the interval \([-1,1]\text{.}\) Then \(u \in C^2((-1,1))\cap C^0([-1,1])\) and \(Lu \equiv 0\text{,}\) but \(u\) achieves its maximum over \([-1,1]\) at the interior point \(0\text{.}\)
Comment 1.
Remember that
\begin{gather*}
Lu = \left(\frac{d^2}{dx^2} - 1\right) u
= u'' - u\text{.}
\end{gather*}
In particular, \(Lu\) is not \(u''-1\text{.}\)
Comment 2.
Again this counterexample is in no way unique. Some other counterexamples that appeared on the sheets in previous years include
- \(u=-2-\frac 12 x^2\) on \([-1,1]\text{,}\)
- \(u=-9-4(x-1/2)^2\) on \([0,1]\text{,}\)
- \(u=-e^x-e^{-x}\) on \([-1,1]\text{,}\)
- \(u=-(e^x+e^{1-x})\) on \([0,1]\text{.}\)
If you came up with a counterexample involving exponentials, it can be an interesting exercise to try and come up with one using polynomials instead, and conversely.
A solution from a few years ago which I particularly liked, from a pedagogical point of view, went as follows. Consider functions of the form \(u=-x^2+a\) on \([-1,1]\) where \(a \in \R\) is a constant ‘to be determined’. The \(-x^2\) guarantees that the maximum of \(u\) occurs at the interior point \(0\text{,}\) and also that \(u\) is non-constant, which is a good start. It remains to show that by picking \(a\) appropriately we can ensure the inequality \(Lu \ge 0\) holds on \((-1,1)\text{.}\)