0
$\begingroup$

Find all extrema in the interval $[0, 2\pi]$ for $y=\sin(x) + \cos(x)$

I got MAX:$(0,1), (2\pi, 1)$ / MINI:$(5\pi/4, -\sqrt{2})$

I am not sure about the max points.

$\endgroup$
2
  • 4
    $\begingroup$ A solution is to rewrite this as $\sqrt{2}\left(\frac 1{\sqrt{2}}\sin(x)+\frac 1{\sqrt{2}}\cos(x)\right)$ and recognize $\sqrt{2}\sin(x+?)$. $\endgroup$ Nov 30, 2014 at 0:33
  • $\begingroup$ Even just knowing that it is of the form $\sqrt{2}\sin(x+?)$, you can know it attains its maxima and minima of $\pm \sqrt{2}$, since an entire period is contained in the interval. $\endgroup$ Nov 30, 2014 at 1:29

3 Answers 3

1
$\begingroup$

Your minimum is correct. You must have had a computational error in the maximum or something - but notice that $y(x+\pi)=-y(x)$, which implies that if $\frac{5\pi}4$ is a minimum, then that minus $\pi$ - at $\frac{\pi}4$ must be a maximum (at least locally; you would still want to check it against the endpoints, but it has value $\sqrt{2}$ there, so is greater)

$\endgroup$
1
$\begingroup$

\begin{align*} f(x) & = \cos x + \sin x \\ \Rightarrow f'(x) & = - \sin x + \cos x \\ \Rightarrow f''(x) & = - \cos x - \sin x \end{align*}

So we need $ x \in [0, 2 \pi )$ for which $f'(x) = 0$. Finally, if $ f''(x) < 0$, then $x$ is a local maximum, and likewise if $f''(x) > 0$, then $x$ is a local minimum.

$\endgroup$
1
$\begingroup$

To find the critical points of $f(x) = \sin x + \cos x$ in the interval $[0, 2\pi]$, set $f'(x) = 0$.

$$f'(x) = \cos x - \sin x = 0 \Rightarrow \cos x = \sin x \Rightarrow 1 = \tan x$$

Hence, the critical points occur at $x = \dfrac{\pi}{4}$ and $x = \dfrac{5\pi}{4}$.

line_analysis_for_derivative_of_trigonometric_function

The line analysis shows that the derivative changes from positive to negative at $x = \dfrac{\pi}{4}$ and from negative to positive at $x = \dfrac{5\pi}{4}$. Thus, by the First Derivative Test, the function has a relative maximum at $x = \dfrac{\pi}{4}$ and a relative minimum at $x = \dfrac{5\pi}{4}$.

The absolute extrema could occur at the endpoints of the closed interval. However,

$$f(0) = f(2\pi) = 1 < \sqrt{2} = f\left(\frac{\pi}{4}\right)$$

so the function has an absolute maximum at $x = \dfrac{\pi}{4}$ and

$$f(0) = f(2\pi) = 1 > -\sqrt{2} = f\left(\frac{5\pi}{4}\right)$$

so the function has an absolute minimum at $x = \dfrac{5\pi}{4}$, as you concluded correctly.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .