Skip to main content

Differentiation MCQ: Function f(x) = | x - 1 | + | x - 2 |,x ∈ R is

JEE · Mathematics · Differentiation

1 Hard +4 | -1 Analyzing
Function f(x)=∣x−1∣+∣x−2∣,x∈Rf\left( x \right) = \left| {x - 1} \right| + \left| {x - 2} \right|,x \in R is
View answer and explanation
Correct option: B
Except x=1x = 1 and x=2x = 2 differentiable everywhere in RR
Option B (Except x = 1 and x = 2 differentiable everywhere in R) is correct because the function is not differentiable at x=1 and x=2 due to the absolute value functions.
Solution approach
  1. Correct Answer + Core Reason: Except x=1x = 1 and x=2x = 2 differentiable everywhere in RR. The function is not differentiable at x=1 and x=2 due to the absolute value functions.

    Step-by-Step Solution:

    Step 1: Rewrite the function without absolute values: f(x)=∣x−1∣+∣x−2∣={(1−x)+(2−x)=3−2x,x<1(x−1)+(2−x)=1,1≤x<2(x−1)+(x−2)=2x−3,x≥2f(x) = |x-1| + |x-2| = \begin{cases} (1-x) + (2-x) = 3-2x, & x < 1 \\ (x-1) + (2-x) = 1, & 1 \le x < 2 \\ (x-1) + (x-2) = 2x-3, & x \ge 2 \end{cases}

    Step 2: Find the derivative of each piece: f′(x)={−2,x<10,1<x<22,x>2f'(x) = \begin{cases} -2, & x < 1 \\ 0, & 1 < x < 2 \\ 2, & x > 2 \end{cases}

    Step 3: Check differentiability at x=1x=1. LHD: f′(1−)=−2f'(1^-) = -2. RHD: f′(1+)=0f'(1^+) = 0. Since LHD ≠\ne RHD, f(x)f(x) is not differentiable at x=1x=1.

    Step 4: Check differentiability at x=2x=2. LHD: f′(2−)=0f'(2^-) = 0. RHD: f′(2+)=2f'(2^+) = 2. Since LHD ≠\ne RHD, f(x)f(x) is not differentiable at x=2x=2.

    Step 5: Therefore, f(x)f(x) is differentiable everywhere in RR except at x=1x=1 and x=2x=2.

    Why other options are wrong:
    - Option A: Differentiable everywhere in RR. This is incorrect because the function is not differentiable at x=1x=1 and x=2x=2.
    - Option C: Not continuous at x=1x = 1 and x=2x = 2. The function is continuous at x=1x=1 and x=2x=2.
    - Option D: Increasing in RR. The function is not increasing in RR because it is constant between x=1x=1 and x=2x=2.

    Key Concepts:
    - Differentiability of a function
    - Absolute value function
    - Left-hand derivative and right-hand derivative

    Memory Aids:
    - The absolute value function ∣x∣|x| is not differentiable at x=0x=0.

    Quick Tips:
    - When dealing with absolute value functions, rewrite the function without absolute values by considering different cases.
    - Check differentiability at the points where the absolute value expressions change sign.

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.