The Maths You Actually NeedLesson 25 of 76

Module 3 · Change, slopes and the walk downhill

Curvature, and what the optimisers are actually doing

In this lesson

  • 10 min read
  • 9 reading sections
  • Knowledge check
  • Lesson 7 of 9 in this chapter

This chapter’s goalCompute a partial derivative and a chain-rule derivative by hand, trace a gradient backwards through a two-layer network and say where the memory goes, and diagnose from a loss curve and a gradient-norm plot whether the learning rate, the curvature or a vanishing gradient is the cause.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 10Free · no account needed
Lesson steps

The second derivative, in one line

The first derivative says which way is downhill. The second says how the slope itself is changing: whether the surface curves sharply or gently. In many dimensions the second derivatives form a matrix called the Hessian, one entry for every pair of parameters.

You will never compute a Hessian for a real model. For 7 billion parameters it would have 49 × 10^18 entries. But you need one number from it, and it is the one that explains most optimisation trouble.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Stuck on something?Ask Funke, your AI tutor

How to cite: Addaly (2026) ‘Curvature, and what the optimisers are actually doing’, in The Maths You Actually Need. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/maths-you-need/curvature-momentum-and-adam (Accessed: 29 November 2026).