Question
Question: The function \(f(x) = \left\{ \begin{matrix} mx^{2},x \leq 1 \\ 2x,x > 1 \end{matrix} \right.\ \) is...
The function f(x)={mx2,x≤12x,x>1 is
A
Continuous everywhere but not differentiable at x=1
B
Continuous and differentiable everywhere
C
Not continuous at f(x)={(cosx)1/x,x=0k,x=0
D
None of these
Answer
Continuous everywhere but not differentiable at x=1
Explanation
Solution
We have,

Clearly, f(x) is continuous and differentiable for all non-zero x.
Now, limx→0−f(x)=limx→0ex= 1 and limx→0+f(x)=limx→0e−x=1
Also, f(0)=e0=1
So, f(x) is continuous for all x.
(LHD at x=0) = (dxd(ex))x=0=[ex]x=0=e0=1
(RHD at x=0) = (dxd(e−x))x=0=[−e−x]x=0=−1
So, f(x) is not differentiable at x=0.
Hence, is everywhere continuous but not
differentiable at This fact is also evident from the graph of the function.