Calculus I · When You Can’t Solve It, Chase It
The two methods were the same idea all along
We learned Newton’s method to find where a function is zero, and gradient descent to find where a function is smallest. Now watch them collapse into one.
A minimum of is a place where . But “find where is zero” is a root-finding problem — it is exactly the job Newton’s method does, applied to the function instead of . So take Newton’s formula and replace with (which means replacing with , the derivative of the derivative — the curvature from Chapter 7):
Now line up the two ways to hunt for a minimum:
They are the same shape. Both step against the slope . The only difference is the step size in front. Gradient descent uses a fixed number that you pick and hope is good. Newton’s method uses — it reads the curvature off the function and sets its own step size automatically, taking small steps where the valley is sharply curved and big steps where it is gently curved. That is why Newton is so fast: it is not guessing the step size, it is computing the right one.
This even explains the magic from a moment ago. For the curvature is , so Newton’s automatic step size is — exactly the that jumped to the answer in one step. Gradient descent with the perfect hand-tuned rate is Newton’s method, for that function.
So why does AI use the slow one?
Here is the honest payoff, and it is one of the central facts about how modern AI is actually built. If Newton’s method is so much faster — picks its own step size, converges in a handful of iterations — why does essentially every neural network on the planet get trained with plain gradient descent and its fixed, fiddly learning rate?
Because of what becomes when is not a single number but a list of millions or billions of numbers — which is exactly the situation for a neural network, whose “position” is the gigantic list of all its adjustable parameters. With one variable, is one number. With variables, the “curvature” is no longer a number; it becomes a square table with rows and columns — entries. For a model with a billion parameters, that table has a billion squared — a billion billion — entries. You cannot store it. You certainly cannot do the division (which becomes something far more expensive than ordinary division). Newton’s method, the fast one, becomes physically impossible at the scale that matters.
Gradient descent only ever needs the slope — which, for parameters, is just numbers, one downhill direction per parameter. That you can compute, even for a billion parameters. So the field made a trade it did not exactly choose: give up Newton’s speed and self-tuning, accept a learning rate you have to babysit, in exchange for a method that is cheap enough to actually run. That trade — fast-but-impossible second-order versus slow-but-affordable first-order — is why “tuning the learning rate” is a phrase every person who trains models knows in their bones. You now know why it exists, from a parabola you analyzed with Chapter 1’s geometric sequences.