Question
Question: If the function \(g\left( x \right)=\left\\{ \begin{aligned} & k\sqrt{x+1}\text{ }0\le x\le 3 \\...
If the function g\left( x \right)=\left\\{ \begin{aligned}
& k\sqrt{x+1}\text{ }0\le x\le 3 \\\
& mx+2\text{ }3< x\le 5 \\\
\end{aligned} \right. is differentiable, then the value of k+m is:
(a) 2
(b) 516
(c) 310
(d) 4
Solution
We know that a function is differentiable at a point if and only if it is continuous as well as differentiable at that point. For f(x) to be continuous at x=a, the value of the function at x=a must be equal to x→a−limf(x) and x→a+limf(x) and for being differentiable the left hand derivative and right hand derivative must be equal. So, form two equations in k and m and solve the equation to get the values of k and m.
Complete step-by-step answer:
We know that a function is differentiable at a point if and only if it is continuous as well as differentiable at that point. For f(x) to be continuous at x=a, the value of the function at x=a must be equal to x→a−limf(x) and x→a+limf(x) .
Therefore, checking the continuity of the function g\left( x \right)=\left\\{ \begin{aligned}
& k\sqrt{x+1}\text{ }0\le x\le 3 \\\
& mx+2\text{ }3< x\le 5 \\\
\end{aligned} \right. . at x=3.
First, finding the right-hand limit of the given function.
x→3+limg(x)=x→3+lim(mx+2)
Now, if we put the limit, we get:
x→3+limg(x)=3m+2
Next, finding the left hand limit.
x→3−limg(x)=x→3−lim(kx+1)
Now, if we put the limit, we get:
x→3−limg(x)=k3+1=2k
Now, we know that the function g(x) is differentiable in its domain, so it is differentiable at 3 as well. So, LHL=RHL.
x→3−limg(x)=x→3+limg(x)
⇒2k=3m+2...............(i)
We also know that for being differentiable the left hand derivative and right hand derivative must be equal.
dxd(mx+2)=dxd(kx+1) at x=3.
The derivative of x is 1 and that of x+1=2x+11 .
m=2x+1k
Putting x=3, we get
m=23+1k
⇒m=4k...........(i)
If we substitute m in equation (i), we get
2k=3m+2
⇒2k=43k+2
⇒45k=2
⇒k=58
If we substitute k in in equation (ii), we get
m=4k=5×48=52
So, the value of k+m is:
k+m=58+52=510=2
So, the correct answer is “Option a”.
Note: If you have noticed we have not completely used the condition that for f(x) to be continuous at x=a, the value of the function at x=a must be equal to x→a−limf(x) and x→a+limf(x). We have only used LHL=RHL but not used LHL=RHL=exact value, because LHL and the exact value would be the same for the above case, i.e., equal to 2k. However, in some of the questions it might be helpful in getting an additional equation if needed.