Q5: Is continuous and differentiable at and ?
If , then which of the following is correct ?
(A) is both continuous and differentiable, at and .
(B) is differentiable but not continuous, at and .
(C) is continuous but not differentiable, at and .
(D) is neither continuous nor differentiable, at and .
Why?
Each modulus changes its formula where its inside is 0: at and at . Use for , and for . Then add on each interval:
At : LHL , RHL , .
At : LHL , RHL , .
So f is continuous at and .
Why?
f is continuous at a point when LHL = RHL = the value there. The LHL uses the piece on the left of the point, and the RHL the piece on the right.
At : left piece , right piece 1.
At : left piece 1, right piece .
This also follows at once: and are continuous everywhere, and a sum of continuous functions is continuous.
At , with :
Why?
The one-sided derivatives at are
with . Since , use : . For small h, h lies in , so .
The h cancels before the limit is taken, so the limits are and 0.
At :
Why?
Here and . For small h, lies in , so . And , so use :
LHD RHD at both points, so f is not differentiable at and .
Why?
Watch out: continuous does not mean differentiable. The graph has no break at 0 or 1, but it has sharp corners there: the slope jumps from to 0 at , and from 0 to 2 at .
Answer: (C) is continuous but not differentiable, at and .
Chapter 5, Continuity and Differentiability: Continuity and differentiability of |x| + |x − 1|.
Question type: Is continuous at the joint? Compare three numbers + Is differentiable at a point? Compare LHD and RHD (combines 2 types)
How to spot it: click to see
Type 1. Is continuous at the joint? Compare three numbers
Spot it: is given in pieces, and you are asked where it is continuous, or where it breaks.
Here: First, rewrite in three pieces, with joints at 0 and 1. At each joint LHL, RHL and are all 1, so is continuous there.
Type 3. Is differentiable at a point? Compare LHD and RHD
Spot it: a modulus such as , or a function in pieces, and the word "differentiable".
Here: Then the slopes: at 0, LHD is and RHD is 0; at 1, LHD is 0 and RHD is 2. They differ, so neither point is differentiable: option (C).
Tell us if something on this page is wrong or unclear. Send feedback on this question →
Continuity and Differentiability in past papers: question 3 of 35 · see them all