GATE CS 2024 · Set 1 · Differentiability

MCQ · 1 mark · Problem EM-DIFF-0007

Let $f: \mathbb{R} \rightarrow \mathbb{R}$ be a function such that $f(x)=\max \left\{x, x^3\right\}, 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
  1. A
    \(\{-1,1,2\}\)
  2. B
    \(\{-2,-1,1\}\)
  3. C
    \(\{0,1\}\)
  4. D
    \(\{-1,0,1\}\)

Solve it on GATE DA practice →More Differential Calculus problems

Show the worked solution\[\boxed{x=x^3 \iff x\in\{-1,0,1\}}\]\(x^3-x=x(x-1)(x+1)\) changes sign at \(-1,0,1\), so\[f(x)=\begin{cases}x, & x\le -1\\ x^3, & -1\le x\le 0\\ x, & 0\le x\le 1\\ x^3, & x\ge 1\end{cases}\]At \(x=-1\): left slope \(1\), right slope \(3x^2=3\). Not differentiable.At \(x=0\): left slope \(3x^2=0\), right slope \(1\). Not differentiable.At \(x=1\): left slope \(1\), right slope \(3\). Not differentiable.Elsewhere \(f\) is locally \(x\) or \(x^3\), hence differentiable. The set is \(\{-1,0,1\}\).Answer: D

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com