JEE Main 2015 Mathematics question — Differentiability at a point
If the function g(x)={kx+1,mx+2,0≤x≤33<x≤5 is differentiable, then the value of k+m is
SOLUTION
The function g(x) is defined piecewise and is differentiable. For differentiability, the function must be continuous at every point, including at x=3 where the definition changes. Additionally, the derivatives from the left and right must be equal at x=3.
First, ensure continuity at x=3. The left-hand limit (LHL) as x approaches 3 from the left uses the first piece: g(x)=kx+1. So, LHL = k3+1=k4=2k. The right-hand limit (RHL) as x approaches 3 from the right uses the second piece: g(x)=mx+2. So, RHL = m⋅3+2=3m+2. The value of the function at x=3 is g(3)=k3+1=2k. For continuity, LHL = RHL = g(3), so:
2k=3m+2(equation 1)
Next, ensure differentiability at x=3. The left-hand derivative (LHD) at x=3 comes from the first piece. Differentiate g(x)=kx+1=k(x+1)1/2:
g′(x)=k⋅21(x+1)−1/2⋅1=2x+1k
So, LHD at x=3 is:
23+1k=2⋅2k=4k
The right-hand derivative (RHD) at x=3 comes from the second piece. Differentiate g(x)=mx+2:
g′(x)=m
So, RHD at x=3 is m. For differentiability, LHD = RHD:
4k=m(equation 2)
Now solve the system of equations. Substitute equation 2 into equation 1:
2k=3(4k)+2
Simplify:
2k=43k+2
Multiply both sides by 4 to eliminate the denominator: