Skip to content
Miscellaneous Exercise · Q11

Q.Find the absolute maximum and minimum values of the function ff given by f(x)=cos⁡2x+sin⁡x,x∈[0,π]f(x) = \cos^2 x + \sin x, x \in [0, \pi]

Uttarakhand UbseTextbookSubjective· 3mImportance★★★★★est
60% · 113/188 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

On [0,π][0,\pi], f(x)=cos⁡2x+sin⁡xf(x)=\cos^2x+\sin x has absolute maximum 54\tfrac54 (at x=π6,5π6x=\tfrac{\pi}{6},\tfrac{5\pi}{6}) and absolute minimum 11 (at x=0,π2,πx=0,\tfrac{\pi}{2},\pi).

The method

ff is continuous on the closed interval [0,π][0,\pi], so by the closed-interval method the absolute maximum and minimum each occur either at a critical point (where f′=0f'=0) or at an endpoint. We find all such points and compare the values of ff.

Step 1 — A helpful simplification

Use cos⁡2x=1−sin⁡2x\cos^2x=1-\sin^2x:

f(x)=1−sin⁡2x+sin⁡x.f(x)=1-\sin^2x+\sin x.

Let t=sin⁡xt=\sin x. On [0,π][0,\pi], sin⁡x\sin x runs from 00 up to 11 and back to 00, so t∈[0,1]t\in[0,1], and

g(t)=−t2+t+1.g(t)=-t^2+t+1.

This is a downward parabola with vertex at t=−b2a=12t=-\dfrac{b}{2a}=\dfrac12, which lies in [0,1][0,1].

Step 2 — Critical points via f′f'

Equivalently, differentiate directly:

f′(x)=−2cos⁡xsin⁡x+cos⁡x=cos⁡x (1−2sin⁡x).f'(x)=-2\cos x\sin x+\cos x=\cos x\,(1-2\sin x).

Set f′(x)=0f'(x)=0:

  • cos⁡x=0⇒x=π2\cos x=0\Rightarrow x=\dfrac{\pi}{2};
  • 1−2sin⁡x=0⇒sin⁡x=12⇒x=π6, 5π61-2\sin x=0\Rightarrow \sin x=\dfrac12\Rightarrow x=\dfrac{\pi}{6},\ \dfrac{5\pi}{6} (both in [0,π][0,\pi]).

Step 3 — Evaluate at critical points and endpoints

f(0)=cos⁡20+sin⁡0=1+0=1,f(0)=\cos^2 0+\sin 0=1+0=1,

f ⁣(π6)=(32)2+12=34+12=54,f\!\left(\tfrac{\pi}{6}\right)=\left(\tfrac{\sqrt3}{2}\right)^2+\tfrac12=\tfrac34+\tfrac12=\tfrac54,

f ⁣(π2)=0+1=1,f\!\left(\tfrac{\pi}{2}\right)=0+1=1, …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.