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

The equation of motion of a stone,thrown vertically upwards is $s = ut - 6.3t^2$,where the units of $s$ and $t$ are $cm$ and $sec$. If the stone reaches its maximum height in $3$ $sec$,then $u =$ ......... $cm/sec$.

The real number which most exceeds its cube is

Consider a square of side $2 \ cm$. It is cut from one of its corners as shown in the adjacent figure. The maximum value of the sum of the perimeters of the two plane figures thus formed is

Let $f: R \rightarrow R$ be given by $f(x) = |x^2 - 1|$,then

The maximum value of $f(x) = (7-x)^4 (2+x)^5$ is

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