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 maximum volume (in cubic units) of the cylinder which can be inscribed in a sphere of radius $12$ units is

If $a_n$ is the greatest term in the sequence $a_n = \frac{n^3}{n^4+147}$,$n = 1, 2, 3, \ldots$,then $n$ is equal to $..........$.

Let $f: R \rightarrow R$ be a polynomial function of degree four having extreme values at $x=4$ and $x=5$. If $\lim _{x \rightarrow 0} \frac{f(x)}{x^2}=5$,then $f(2)$ is equal to:

If $A=\{x : 9x \geq x^2+20\}$ and $f: A \rightarrow R$ is defined by $f(x)=2x^3-15x^2+36x-48$,then the maximum value of $f(x)$ is

The two parts of $100$ for which the sum of double of the first part and the square of the second part is minimum,are

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