GATE 2018 EE – Question 21
Let $f$ be a real-valued function of a real variable defined as $f(x)=x^2$ for $x\ge0$, and $f(x)=-x^2$ for $x<0$. Which one of the following statements is true?
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (D) $f(x)$ is differentiable but its first derivative is not differentiable at $x=0$.
Explanation
$f'(x)=2|x|$, which is continuous and equals 0 at $x=0$, so $f$ is differentiable there. But $2|x|$ has a corner at $0$, so $f'$ is not differentiable.