Extend calculus to functions of several variables and use it to optimise them. Learn the multivariable chain rule, the gradient, directional derivatives and tangent planes. Then use the Hessian and convexity to find and classify critical points.
No account needed to read a lesson · 30-day money-back guarantee
See the full learning path10
lessons
112
practice questions
111
prerequisite lessons
2 of the 10 lessons here are free to preview - the whole explanation and worked example, with no account and no email.
Free preview
Steepest ascent and descent
Learn how the rate of change depends on the angle to the gradient, find the directions in which a function rises and falls fastest and how fast, and read the direction of the gradient off a contour plot.
Free preview
Tangent planes and linear approximation
Learn how to write the equation of the tangent plane to a surface at a point from the height and the two partial derivatives there, and how to use it to estimate values of a function of two variables near that point.
Live, not a screenshot
Lesson 06 · Steepest ascent and descent
Move the slider to turn the unit direction
Here
The diagram from the lesson itself, running live.
10 lessons you can take today, and 5 more being written. Expand any one to see what it covers. Each unlocks when its own prerequisites are passed.
01
The multivariable chain rule
12 questions
Learn how to draw a dependency diagram for a function whose inputs each depend on one further variable, read the multivariable chain rule from it, and write the chain rule equation for functions given by formulas.
Covers
Dependency diagrams
The multivariable chain rule
Writing the chain rule for given functions
02
Computing with the multivariable chain rule
12 questions
Learn how to compute with the multivariable chain rule when the functions are given as formulas, first with one independent variable and then with two, where every derivative is partial.
Covers
One independent variable
Two independent variables
Computing both partial derivatives
03
The gradient vector
6 questions
Learn how to find the gradient of a function of two or more variables by collecting its first partial derivatives into a single column vector, and how to evaluate it at a point.
Covers
Computing the gradient
04
Rates of change along a line
14 questions
Learn how to find the point reached by stepping along a line in a unit direction, and how fast a function of two variables changes as you move along that line.
Covers
The point reached after a step
How direction and position affect the rate
Computing the rate at a point
05
Directional derivatives
13 questions
Learn how to find the rate of change of a function in any direction as the dot product of its gradient with a unit vector, normalise a direction that is not a unit vector, and interpret what the value tells you about the function.
Covers
The directional derivative
Computing a directional derivative
Interpreting a directional derivative
06
Steepest ascent and descent
13 questions
Learn how the rate of change depends on the angle to the gradient, find the directions in which a function rises and falls fastest and how fast, and read the direction of the gradient off a contour plot.
Covers
The rate as
Steepest ascent is along the gradient
The gradient on a contour plot
07
Tangent planes and linear approximation
8 questions
Learn how to write the equation of the tangent plane to a surface at a point from the height and the two partial derivatives there, and how to use it to estimate values of a function of two variables near that point.
Covers
The tangent plane to a surface
Linear approximation in two variables
08
Critical points of a function of two variables
14 questions
Learn why every local maximum or minimum of a function of two variables occurs at a critical point, and how to find the critical points by solving for where the gradient is zero, including systems that split into cases.
Covers
The gradient at a local extremum
Finding critical points
Critical points when an equation factors
09
Convex functions
9 questions
Learn what it means for a function of one or two variables to be convex, by comparing its graph with its secant lines.
Covers
What convex means
Convexity in two variables
10
Minimising convex functions
11 questions
Learn why a local minimum of a convex function is its global minimum, and how to find the global minimum of a convex function of one or two variables by solving for where its derivative or gradient is zero.
Covers
A local minimum of a convex function is global
Finding the global minimum at a critical point
—
The Hessian matrix
In drafting
—
Second directional derivatives
In drafting
—
Classifying critical points
In drafting
—
Convexity and the Hessian
In drafting
—
Gradient descent
In drafting
This unit is part of our Essential Calculus for ML learning path, which contains 192 lessons. Every one of them is drawn below.
The diagnostic test lets you skip any lesson you already know, including the ones in this unit.
Hover any dot to name its lesson.
10 lessons in this unit
111 prerequisite lessons across the unit, counting every step back to the start
71 other lessons in the learning path - after this unit, or alongside it
One subscription covers every learning path, and you can test out of anything you already know.
One subscription covers every learning path · 30-day money-back guarantee
More in Calculus: Limits, Derivatives, Integrals, Partial derivatives, Double integrals