← overview

Gradient Descent · why −∇f points downhill

use x and y  ·  functions: sin, cos, sqrt, exp, log, abs  ·  constants: pi, e  ·  ^ for power, * for multiply
contour map

Gradient Descent · −∇f

ball (x, y, z) = —
∇f = ⟨—⟩
|∇f| = —
step # 0
Click "Drop" or click the surface to place the ball.
ball rolling downhill
−∇f direction (where it will go)
surface height (blue low → gold high)
drag to rotate · click surface to place ball