Tangents & Normals

The normal is the tangent flipped, with gradient −1 over the tangent gradient. Drag the point along the curve and watch the two lines and their gradients.

Tangent and normal at P
Curve
Drag P along the curve