Skip to content
NCERT Exemplar · Q73

Q.If f(x)=∣cos⁡x∣f(x) = |\cos x|, then f′(π4)=f'\left(\dfrac{\pi}{4}\right) = __________.

CBSEShort· 1mImportance★★★★★
90% · 253/281 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 →

The derivative of ∣cos⁡x∣|\cos x| at x=π/4x = \pi/4 is found by first noting that cos⁡(π/4)>0\cos(\pi/4) > 0, so the absolute value can be dropped locally. Differentiating cos⁡x\cos x gives −sin⁡x-\sin x, and evaluating at π/4\pi/4 yields −12-\frac{1}{\sqrt{2}}.

The key to differentiating an absolute value function like f(x)=∣cos⁡x∣f(x) = |\cos x| is understanding where the expression inside the absolute value is positive, negative, or zero. The absolute value function ∣u∣|u| has derivative u′u' when u>0u > 0, derivative −u′-u' when u<0u < 0, and is not differentiable when u=0u = 0 (unless u′u' is also zero, which is a special case).

Here, u=cos⁡xu = \cos x. At x=π/4x = \pi/4, we have cos⁡(π/4)=12>0\cos(\pi/4) = \frac{1}{\sqrt{2}} > 0. So near x=π/4x = \pi/4, the absolute value does nothing — ∣cos⁡x∣=cos⁡x|\cos x| = \cos x locally. That means the derivative at that point is simply the derivative of cos⁡x\cos x.

Let’s work through it step by step.

  1. Check the sign of cos⁡x\cos x at x=π/4x = \pi/4.

    cos⁡(π/4)=22>0\cos(\pi/4) = \frac{\sqrt{2}}{2} > 0. Since cos⁡x\cos x is continuous, it remains positive in a small interval around π/4\pi/4. Therefore, in that neighbourhood, f(x)=∣cos⁡x∣=cos⁡xf(x) = |\cos x| = \cos x.

  2. Differentiate the simplified function.

    For xx near π/4\pi/4, f(x)=cos⁡xf(x) = \cos x, so f′(x)=−sin⁡xf'(x) = -\sin x.

  3. Evaluate at x=π/4x = \pi/4.

    f′(π/4)=−sin⁡(π/4)=−22f'(\pi/4) = -\sin(\pi/4) = -\frac{\sqrt{2}}{2}. …

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.