Detailed Explanation
To find local maxima and minima of a differentiable function, we first find its critical points, where the first derivative equals zero. These are the candidates for maxima or minima. We then use the second derivative test: if \( h''(c) < 0 \) at a critical point \( c \), the function has a local maximum there; if \( h''(c) > 0 \), it has a local minimum. We must also make sure the critical point lies inside the given open interval \( 0 < x < \dfrac{\pi}{2} \).
Formula Used
Critical points: \( h'(x) = 0 \). Second derivative test: \( h''(c) < 0 \Rightarrow \) local maximum, \( h''(c) > 0 \Rightarrow \) local minimum.
Solution
- Step 1: We are given \( h(x) = \sin x + \cos x \) for \( 0 < x < \dfrac{\pi}{2} \). Differentiate with respect to \( x \): \[ h'(x) = \cos x - \sin x \]
- Step 2: To find the critical points, set the first derivative equal to zero: \[ \cos x - \sin x = 0 \] This gives \[ \cos x = \sin x \] which means \[ \tan x = 1 \]
- Step 3: In the interval \( 0 < x < \dfrac{\pi}{2} \), the solution of \( \tan x = 1 \) is \[ x = \dfrac{\pi}{4} \] So the only critical point inside the interval is \( x = \dfrac{\pi}{4} \).
- Step 4: Apply the second derivative test. Differentiate \( h'(x) \) again: \[ h''(x) = -\sin x - \cos x \] Now evaluate at \( x = \dfrac{\pi}{4} \): \[ h''\left(\dfrac{\pi}{4}\right) = -\sin\dfrac{\pi}{4} - \cos\dfrac{\pi}{4} = -\dfrac{1}{\sqrt{2}} - \dfrac{1}{\sqrt{2}} = -\sqrt{2} \]
- Step 5: Since \( h''\left(\dfrac{\pi}{4}\right) = -\sqrt{2} < 0 \), the function has a local maximum at \( x = \dfrac{\pi}{4} \).
- Step 6: Find the local maximum value by substituting \( x = \dfrac{\pi}{4} \) into \( h(x) \): \[ h\left(\dfrac{\pi}{4}\right) = \sin\dfrac{\pi}{4} + \cos\dfrac{\pi}{4} = \dfrac{1}{\sqrt{2}} + \dfrac{1}{\sqrt{2}} = \sqrt{2} \]
Final Answer
The function has a local maximum at \( x = \dfrac{\pi}{4} \), and the local maximum value is \( \sqrt{2} \). There is no local minimum in the open interval \( 0 < x < \dfrac{\pi}{2} \).
Common Mistake
A common mistake is to consider other solutions of \( \tan x = 1 \) (such as \( x = \dfrac{5\pi}{4} \)) that lie outside the given interval \( 0 < x < \dfrac{\pi}{2} \). Only critical points inside the interval should be tested.