x|x|: a smooth join
Two pieces of a road joined so well that a car drives over the joint without a bump: same height, same direction.
x|x| y = x abs(x)|x| y = abs(x)
Drag to move · pinch or scroll to zoom · tap to read a point
slope from the right1
slope from the left1
Step by step
- For x ≥ 0, x|x| = x². For x < 0, x|x| = −x². Two pieces.
- Move h towards 0. Both slopes go to 0.
- The left and right slopes agree, so x|x| is differentiable at 0, with slope 0.
- Compare |x| (second curve): its two slopes stay 1 and −1, a corner.
Try this
- What is the slope of x|x| at x = 1?
- Is x|x| ever decreasing?
- Make your own smooth join on Type your own.
Practise this
Problems on Continuity and Differentiability with checks, marks and help from Sir are on the exam site (sign in). Practise Continuity and Differentiability on the exam site →