A function f(x) is defined as\[f(x)=\left\{\begin{matrix} e^{x}, & x \lt 1\\ lnx+ax^{2}+bx & x\geq 1 \end{matrix}\right. \; where\; x\in \mathbb{R}\].
Which one of the following statements is TRUE?
A
f(x) is NOT differentiable at x=1 for any values of a and b.
B
f(x) is differentiable at x = 1 for the unique values of a and b
C
f(x) is differentiable at x = 1 for all values of a and b such that a + b = e
D
f(x) is differentiable at x = 1 for all values of a and b.
Show the worked solution\[f(x)=\left\{\begin{matrix} e^x & x \lt 1\\ \ln x+ax^2+bx & x \gt 1 \end{matrix}\right.\]At x=1,
L.H.S=R.H.S
e=a+b ...(i)
At x=1, f'(x) exists\[f'(x)=\left\{\begin{matrix} e^x & x \lt 1\\ \frac{1}{x}+20x+b & x \gt 1 \end{matrix}\right.\]At x=1,
L.H.S=R.H.S
e=1+2a+b
2a+b=e-1 ...(ii)
From equation (i) and (ii),
a=-1
b=e+1
f(x) is differentiable at x=1 for unique value of a and b.
GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com