the L1 norm is not differentiable at zero

Absolute value's kink makes it non-differentiable at zero

Image: Public domain, via Wikimedia Commons

the L1 norm is not differentiable at zero

Absolute value's kink makes it non-differentiable at zero

Imagine you're measuring the distance from your home to a friend's house. You want to know how fast you're getting closer as you walk.

The distance changes smoothly until you reach your friend's house, but there's a sudden stop at the exact point of arrival. This stop is like the kink in the absolute value function at zero.

Example

As you walk towards your friend, the distance decreases smoothly until you reach them. At that exact moment, there's an abrupt halt in the distance change.

Remember this

The absolute value function's kink at zero makes it non-differentiable there.

Related concepts

Swipe through 100 ML concepts daily

Open Pocket Polymath