GATE / CS ARCHIVE

GATE CSE 2007 / QUESTION 1

Continuity and differentiability of absolute value

Engineering Mathematics & Other Topics · Calculus · Full GATE CSE 2007 paper

GATE 2007, Q1 1 mark · MCQ
Report issue

Calculus

Question 1, GATE 2007: For f(x)=|x|, consider P: f is continuous for every real x; Q: f is differentiable for every real x. Which statement is true?
Options:
(A) P true, Q false
(B) P false, Q true
(C) Both true
(D) Both false
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

1. Approach. Write |x| as -x for x<0 and x for x≥0. The values from both sides approach zero at the joining point, but the slopes differ there.

2. Derivation and interpretation. The absolute-value function is continuous everywhere. At 0 its left derivative is −1 and right derivative +1, so it is not differentiable there. Thus P is true and Q false, A.

Original paper, page 2