GATE 2024 CS (CS1) – Question 11
Let $f:\mathbb{R}\to\mathbb{R}$ be a function such that $f(x)=\max\{x,x^3\}$, $x\in\mathbb{R}$, where $\mathbb{R}$ is the set of all real numbers. The set of all points where $f(x)$ is NOT differentiable is
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (D) $\{-1,0,1\}$
Explanation
$x$ and $x^3$ intersect at -1, 0, 1. The max switches between the two curves with different slopes at each crossing, creating corners at -1, 0, 1.