Find the local maximum and local minimum values for the function $f(x) = \sin x - \cos x$ where $0 < x < 2\pi$.

Vedclass pdf generator app on play store
Vedclass iOS app on app store
Given $f(x) = \sin x - \cos x$ for $0 < x < 2\pi$.
First,find the derivative $f'(x) = \cos x + \sin x$.
Set $f'(x) = 0$ to find critical points: $\cos x + \sin x = 0 \Rightarrow \tan x = -1$.
In the interval $(0, 2\pi)$,$\tan x = -1$ at $x = \frac{3\pi}{4}$ and $x = \frac{7\pi}{4}$.
Now,find the second derivative $f''(x) = -\sin x + \cos x$.
Evaluate at $x = \frac{3\pi}{4}$: $f''(\frac{3\pi}{4}) = -\sin(\frac{3\pi}{4}) + \cos(\frac{3\pi}{4}) = -\frac{1}{\sqrt{2}} - \frac{1}{\sqrt{2}} = -\sqrt{2} < 0$. Thus,$x = \frac{3\pi}{4}$ is a point of local maxima.
The local maximum value is $f(\frac{3\pi}{4}) = \sin(\frac{3\pi}{4}) - \cos(\frac{3\pi}{4}) = \frac{1}{\sqrt{2}} - (-\frac{1}{\sqrt{2}}) = \sqrt{2}$.
Evaluate at $x = \frac{7\pi}{4}$: $f''(\frac{7\pi}{4}) = -\sin(\frac{7\pi}{4}) + \cos(\frac{7\pi}{4}) = -(-\frac{1}{\sqrt{2}}) + \frac{1}{\sqrt{2}} = \sqrt{2} > 0$. Thus,$x = \frac{7\pi}{4}$ is a point of local minima.
The local minimum value is $f(\frac{7\pi}{4}) = \sin(\frac{7\pi}{4}) - \cos(\frac{7\pi}{4}) = -\frac{1}{\sqrt{2}} - \frac{1}{\sqrt{2}} = -\sqrt{2}$.

Explore More

Similar Questions

Suppose the cubic $x^3 - px + q$ has three distinct real roots where $p > 0$ and $q > 0$. Then which one of the following holds?

In the interval $(-4, 4)$,the function $f(x) = \int_{-10}^x (t^4 - 4)e^{-4t} dt$ has:

Difficult
View Solution

The number of points of local maxima of the function $f(x) = x + \sin x$ is-

Let $f(x) = 1 + 2x^2 + 2^2x^4 + \dots + 2^{10}x^{20}$. Then $f(x)$ has:

Difficult
View Solution

If $f(x)=3 \sqrt[3]{x^2}-x^2$, then

Vedclass Products

For Students

Vedclass Test Series

Mock tests in real JEE/NEET style with performance analysis. 5-day free trial.

Start Free Trial
For Teachers

Exam Paper Generator

Generate Set A/B/C/D exam papers from 7.5L+ questions in 2 minutes. 3 chapters free.

Try Free
For Institutes

Online Exam Module

Live online exams with unlimited students, 360° analytics & white-label branding.

See Demo