Skip to main content

Differentiation MCQ: If f(x)=| cos x- sin x|, then f^'(π / 4) is equal to

JEE · Mathematics · Differentiation

1 Easy +4 | -1 Application
If f(x)=∣cos⁡x−sin⁡x∣f(x)=|\cos x-\sin x|, then f′(π/4)f^{\prime}(\pi / 4) is equal to
View answer and explanation
Correct option: D
None of these
The correct answer is None of these because the left-hand derivative and right-hand derivative at x=π/4 are not equal, meaning the function is not differentiable at that point.
Solution approach
  1. Correct Answer + Core Reason: None of these. The function is not differentiable at x=π4x = \frac{\pi}{4} because the left-hand derivative (LHD) and right-hand derivative (RHD) are not equal.

    Step-by-Step Solution:

    Step 1: Define the function f(x)=∣cos⁡x−sin⁡x∣f(x) = |\cos x - \sin x|.

    Step 2: Determine the intervals where cos⁡x−sin⁡x\cos x - \sin x is positive and negative.
    cos⁡x−sin⁡x>0\cos x - \sin x > 0 when cos⁡x>sin⁡x\cos x > \sin x, which occurs for 0<x<π40 < x < \frac{\pi}{4}.
    cos⁡x−sin⁡x<0\cos x - \sin x < 0 when cos⁡x<sin⁡x\cos x < \sin x, which occurs for π4<x<π2\frac{\pi}{4} < x < \frac{\pi}{2}.

    Step 3: Rewrite the function as a piecewise function:\nf(x) = \begin{cases}\cos x - \sin x, & for 0 < x ≤ π4\frac{π}{4} \\sin x - \cos x, & for π4\frac{π}{4} < x < π2\frac{π}{2}\end{cases}

    Step 4: Calculate the left-hand derivative (LHD) at x=π4x = \frac{\pi}{4}:\nLHD = lim⁡h→0−f(π4+h)−f(π4)h=lim⁡h→0−cos⁡(π4+h)−sin⁡(π4+h)−0h=(−sin⁡x−cos⁡x)x=π4=−sin⁡(π4)−cos⁡(π4)=−22−22=−2\lim_{{h \to 0^-}} \frac{f(\frac{\pi}{4} + h) - f(\frac{\pi}{4})}{h} = \lim_{{h \to 0^-}} \frac{\cos(\frac{\pi}{4} + h) - \sin(\frac{\pi}{4} + h) - 0}{h} = (-\sin x - \cos x)_{{x = \frac{\pi}{4}}} = -\sin(\frac{\pi}{4}) - \cos(\frac{\pi}{4}) = -\frac{\sqrt{2}}{2} - \frac{\sqrt{2}}{2} = -\sqrt{2}

    Step 5: Calculate the right-hand derivative (RHD) at x=π4x = \frac{\pi}{4}:\nRHD = lim⁡h→0+f(π4+h)−f(π4)h=lim⁡h→0+sin⁡(π4+h)−cos⁡(π4+h)−0h=(cos⁡x+sin⁡x)x=π4=cos⁡(π4)+sin⁡(π4)=22+22=2\lim_{{h \to 0^+}} \frac{f(\frac{\pi}{4} + h) - f(\frac{\pi}{4})}{h} = \lim_{{h \to 0^+}} \frac{\sin(\frac{\pi}{4} + h) - \cos(\frac{\pi}{4} + h) - 0}{h} = (\cos x + \sin x)_{{x = \frac{\pi}{4}}} = \cos(\frac{\pi}{4}) + \sin(\frac{\pi}{4}) = \frac{\sqrt{2}}{2} + \frac{\sqrt{2}}{2} = \sqrt{2}

    Step 6: Compare LHD and RHD. Since LHD ≠\neq RHD, the function is not differentiable at x=π4x = \frac{\pi}{4}.

    Why other options are wrong:
    - Option A: This is the value of the RHD, but the function is not differentiable.
    - Option B: This is the value of the LHD, but the function is not differentiable.
    - Option C: This would be the derivative if the function was constant, but it is not.
    - Option D: This is the correct answer because the function is not differentiable at the given point.

    Key Concepts:
    - Differentiability of absolute value functions
    - Left-hand derivative (LHD)
    - Right-hand derivative (RHD)
    - Piecewise functions

    Memory Aids:
    - A function is differentiable at a point if and only if the LHD and RHD are equal at that point.

    Quick Tips:
    - When dealing with absolute value functions, consider rewriting them as piecewise functions to handle the different cases.

More Questions from Differentiation

Practice all chapter MCQs →
Type at least 2 characters or jump directly:

Save your learning progress

Sign in with a free account to save your practice answers and quiz results, then return to them when you revise.

Scan to install TopAll Pro

Point your Android or iPhone camera at this code to open TopAll Pro. Try 2 chapters and 25 AI credits free first.

Question image

Use + and − to zoom, arrow keys or drag to pan, Escape to close.