Continuity & DifferentiabilityhardFree

Value of k Making a Piecewise Quadratic-Modulus Function Differentiable

JEE Maths question with a full step-by-step solution.

Question
Let
f(x)={a+(xb)2for xbkc+xbfor xb>kf(x) = \begin{cases} a+(x-b)^{2} & \text{for } |x-b| \le k \\ c+|x-b| & \text{for } |x-b| > k \end{cases}
then the positive value of kk so that f(x)f(x) becomes differentiable at x=bkx = b-k and x=b+kx = b+k is
A32\dfrac32
B12\dfrac12correct
C11
D22
Solution
Step 1: Unfold the moduli so the three pieces are explicit. The condition xbk|x-b| \le k means bkxb+kb-k \le x \le b+k, and outside that xb|x-b| is bxb-x on the left and xbx-b on the right:
f(x)={c+bxx<bka+(xb)2bkxb+kc+xbx>b+kf(x) = \begin{cases} c+b-x & x < b-k \\ a+(x-b)^{2} & b-k \le x \le b+k \\ c+x-b & x > b+k \end{cases}
Step 2: Differentiate each piece.
f(x)={1x<bk2(xb)bk<x<b+k+1x>b+kf'(x) = \begin{cases} -1 & x < b-k \\ 2(x-b) & b-k < x < b+k \\ +1 & x > b+k \end{cases}
Step 3: Match the derivatives at the right-hand join x=b+kx = b+k.
2(xb)x=b+k=2kmust equal+1.2(x-b)\Big|_{x=b+k} = 2k \qquad \text{must equal} \qquad +1 .
Step 4: Solve.
2k=1    k=12.2k = 1 \implies k = \frac12 .
Step 5: Check the left-hand join x=bkx = b-k gives the same value.
2(xb)x=bk=2kmust equal1    k=12.2(x-b)\Big|_{x=b-k} = -2k \qquad \text{must equal} \qquad -1 \implies k = \frac12 .
Step 6: (Consistency.) Continuity at x=b+kx = b+k then forces a+k2=c+ka+k^{2} = c+k, which fixes a relation between aa and cc but does not affect kk. So the answer depends only on the slopes. Answer: (2).
Still stuck on this question?Ask your doubt on WhatsApp
Similar questions

Solve more, learn faster

Sign up free to solve more JEE Maths questions and explore doMath — timed drills, mastery sprints, bookmarks, and chapter-wise progress tracking.