Log inStart free
LESSON 2.10 · 6 STAGES · 2 CONTROLS · 3 CHECKSPRO · PREVIEW

Jacobians and Hessians

Zoom in on a curved map until it looks like a matrix.


Pro lesson. Stage 1 is free to watch. Pro opens all 6 stages, 2 controls and 3 checks, in this lesson and every other.

Go Pro · $8.25/mo
EXPLAINER · 2.10 · JACOBIAN BAYOUTPUT (0.33, 0.75) · PATCH 1 WIDE
01
Stage 1 of 6 · Map a patch
F maps a point (x, y) to two numbers, f₁ and f₂. It bends the square around p.
Explain it simply

Think of F as a machine that moves every point of a flat sheet. On the left is a small square of points around p. On the right is where F sends them, zoomed in. The straight grid lines come out curved, so F is not a matrix.

A 5 by 5 grid of points around p (1, −0.5), 1 wide. F maps it to a curved grid around F(p) (0.33, 0.75).

point p, the patch, the nudgesF's outputs, slices of f₁derivatives: J, ∇f₁, H, the errorstep h, eigenvectors, λcontours of f₁
F and its derivativesinput: the patch around pF(p + d) − F(p), zoom 1/hpx 0.381.63y −1.120.13the patch: 2h = 1 wideF(p) (0.33, 0.75)f₁ = x³/3 − x + (y − x/2)²f₂ = x² − y²p = (1, −0.5) h = 0.5F(p) = (0.33, 0.75)FF and its derivativesinput: the patch around pF(p + d) − F(p), zoom 1/hpx 0.381.63y −1.120.13the patch: 2h = 1 wideF(p) (0.33, 0.75)f₁ = x³/3 − x + (y − x/2)²f₂ = x² − y²p = (1, −0.5) h = 0.5F(p) = (0.33, 0.75)F
Toy: one map F from the plane to the plane · a 5 × 5 patch around p · numbers to 2 decimals
STAGE 1 / 6
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
F(p)=(f1(p), f2(p))\sy{F}{out}{F}(\sy{p}{data}{p}) = \big(f_1(p),\ f_2(p)\big)
F(1−0.5)=(0.330.75)F\begin{pmatrix}1\\-0.5\end{pmatrix} = \begin{pmatrix}0.33\\0.75\end{pmatrix}

F sends one point to two numbers.

Common mix-ups

MYTHJ·d predicts F well for any step size.

The fix, and 1 more mix-up with the diagram to show them, come with Pro.

Predict, then reveal
3 CHECKS · PRO
Q01If h drops from 0.5 to 0.1, how much does the error of J·d fall?

Make your guess, then test it in the diagram. All 3 checks come with Pro.

PRO LESSON · YOU WATCHED STAGE 1 OF 6
Unlock the full explainer
  • 5 more stages and 2 live controls
  • 2 mix-up cards and 3 predict-then-reveal checks
  • Watch it as a narrated video, in three voices
  • Every Pro lesson and capstone · 656 in total

$99 a year, or $15 a month. Cancel any time.