GATE CS 1998 · Differentiability

MCQ · 1 mark · Problem EM-DIFF-0003

Consider the function \(y=|x|\) in the interval \([-1, 1]\). In this interval, the function is
  1. A
    continuous and differentiable
  2. B
    continuous but not differentiable
  3. C
    differentiable but not continuous
  4. D
    neither continuous nor differentiable

Solve it on GATE DA practice →More Differential Calculus problems

Show the worked solution\[\boxed{f'(0^-)=\lim_{h\to0^-}\frac{|h|}{h}=-1,\qquad f'(0^+)=\lim_{h\to0^+}\frac{|h|}{h}=1}\]\(|x|\) is continuous everywhere: \(\lim_{x\to0}|x|=0=|0|\).At \(x=0\) the one-sided derivatives differ (\(-1\ne 1\)), so \(|x|\) is not differentiable at \(0\), which lies in \([-1,1]\).So it is continuous but not differentiable.Answer: B

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