If the function g(x) = is differentiable, then the value of k + m is
By continuity of functions, we get 2k = 3m + 2 .......(A)
By differentiability of function, we get k = 4m .......(B)
On solving (A) and (B), we get
The function g(x) is defined piecewise and is differentiable. For a piecewise function to be differentiable at the point where the definition changes (here at x=3), it must be both continuous and have the same derivative from both sides at that point.
For g(x) to be continuous at x=3, the left-hand limit (from the first piece) must equal the right-hand limit (from the second piece) and must equal the function value at x=3.
Left-hand limit (x→3⁻):
Right-hand limit (x→3⁺):
For continuity, these must be equal:
(Equation 1)
For g(x) to be differentiable at x=3, the left-hand derivative must equal the right-hand derivative.
First, find the derivative of each piece.
For 0 ≤ x ≤ 3:
Left-hand derivative at x=3:
For 3 < x ≤ 5:
Right-hand derivative at x=3:
For differentiability, these must be equal:
(Equation 2)
We now have two equations with two variables, k and m.
From Equation 2:
Substitute this into Equation 1:
Multiply every term by 4 to eliminate the fraction:
Solve for k:
Now, find m using Equation 2:
The value of k + m is .