© 2026 Neckpinch · www.neckpinch.com · All rights reserved.
Course 2Book 2B: Spaces, Functions and ChangeChapter 8
Calculus in Several Variables
The derivative as a linear map, done rigorously, and the Hessian at a maximum.
Read with Tao, Analysis II, chapter "Several variable differential calculus", sections "Linear transformations" through "Double derivatives and Clairaut's theorem". (The section "The contraction mapping theorem" was read with 2B.2 Completeness and Contraction; the last two sections go with 2B.9 The Inverse and Implicit Function Theorems.) Munkres, Analysis on Manifolds, chapter "Differentiation", is a good second voice.
In this chapter · 9 sections
- 8.1Propagating uncertainty
- 8.2Linear maps and their size
- 8.3The derivative
- 8.3.1Partial and directional derivatives
- 8.4The chain rule and the mean value inequality
- 8.4.1Convex functions
- 8.5Second derivatives
- 8.5.1The Hessian depends on the coordinates
- 8.6Critical points and the Hessian
- 8.7The Laplacian at a maximum
- 8.7.1The Laplacian as a comparison with the neighbours
- 8.8History
- 8.9Exercises
- ↗Free resources
Course 1 met derivatives of several variables as computations: gradients, Jacobian matrices, Hessians (1A.7 The Derivative as a Linear Approximation, 1A.8 Gradient, Jacobian and Hessian). This chapter makes them rigorous. The central definition is the one stated informally in Course 1: the derivative of a map at a point is the best linear approximation to the map near that point. In one variable, a linear map is multiplication by a number, so the derivative could be treated as a number. In several variables it is a linear map, a matrix, and treating it as one is what makes everything work.
The second half of the chapter is about second derivatives. The Hessian, the matrix of second partial derivatives, is symmetric under a mild hypothesis, and so it is a quadratic form: the spectral theorem of 1A.6 Symmetric Matrices and the Spectral Theorem diagonalises it, and its eigenvalues decide whether a critical point is a peak, a pit or a pass. This is the first link of thread Q, which leads to the Ricci tensor. And at an interior maximum, the Hessian is negative semidefinite, so its trace, the Laplacian, is at most zero. That single observation is the seed of every maximum principle for the heat equation, and of Hamilton's maximum principle for Ricci flow.
By the end of this chapter you will be able to:
- define the derivative of a map between Euclidean spaces as a linear map, and compute it as the Jacobian matrix;
- give examples where partial derivatives exist but the function isn't differentiable, and prove that continuous partials are enough;
- prove and use the chain rule and the mean value inequality, and compute with them, for example the Laplacian of a radial function;
- prove Clairaut's theorem on mixed partials, and write the second-order Taylor expansion with the Hessian;
- classify critical points by the eigenvalues of the Hessian, and prove that at an interior maximum.
Propagating uncertainty
You measure a rectangular room as m by m, each with a standard uncertainty of m. The area is m². How uncertain is it?
The international Guide to the Expression of Uncertainty in Measurement (the GUM, published by the Joint Committee for Guides in Metrology as JCGM 100:2008) answers with its law of propagation of uncertainty (clause 5.1.2). For a quantity computed from independent inputs with standard uncertainties , the combined standard uncertainty is
The partial derivatives are called sensitivity coefficients. For the room, and , so
The formula comes from replacing near the measured values by its best linear approximation: small input errors produce an output error , and independent errors add in quadrature. The GUM itself notes that when is significantly nonlinear over the range of the uncertainties, higher-order terms of the Taylor expansion must be included. Both halves of that advice are this chapter: the first-order term is the derivative, and the next one is the Hessian.
Linear maps and their size
A linear map is given by an matrix. Its operator norm
is the largest factor by which stretches a vector, so for every . It is finite: if has entries , Cauchy–Schwarz gives . Hence every linear map between Euclidean spaces is Lipschitz, and so continuous: .
The operator norm is a norm on the space of matrices. only for ; ; and gives the triangle inequality. It is also submultiplicative: , so . That was used to make the matrix exponential converge in 2B.6 Power Series, Exponentials and Bump Functions. For a symmetric matrix, is the largest absolute value of an eigenvalue (expand in an orthonormal eigenbasis), which is how operator norms are usually computed in practice. (In infinite dimensions linear maps can be unbounded, and that is the starting point of functional analysis, 4A.1 Banach Spaces and Bounded Operators.)
For a matrix that is not symmetric, the eigenvalues can be misleading, and the right quantity is different. Since and is symmetric with non-negative eigenvalues, is the square root of the largest eigenvalue of , the largest singular value of . Geometrically, maps the unit circle to an ellipse, whose semi-axes are the singular values, and is the longest semi-axis. The shear shows the difference. Both its eigenvalues are , so it stretches no eigenvector at all; but has largest eigenvalue , so , the golden ratio. A shear stretches vectors that are not eigenvectors, and the operator norm sees that.
The derivative
Throughout, is an open subset of , and is the Euclidean norm.
A map is differentiable at if there is a linear map such that
Then is the derivative of at , written or .
The error must be small compared with , as from every direction at once. The derivative is unique: if and both work, then ; taking with gives for every . Differentiable maps are continuous at , since .
Let for a symmetric matrix . Then , and , which is . So ; as a row vector, , and the gradient is .
Let and . Expand: with ,
The middle bracket is linear in : it is with . Each term of the last bracket is at most a constant times for (since ), so it is . Hence , the row of partial derivatives. For polynomials this "expand and keep the linear part" method always works; for other functions, Theorem 8.5 below does the job.
Partial and directional derivatives
The directional derivative of at in direction is , if it exists. The partial derivatives are the directional derivatives along the coordinate directions . If is differentiable, then (take in the definition), so the matrix of has the partial derivatives as its entries: it is the Jacobian matrix.
Reading a Jacobian. The -th column of is , the velocity of the image when moves along the -th coordinate direction at unit speed. So the Jacobian says where sends a tiny coordinate grid near : a small square with sides and goes, to first order, to the parallelogram spanned by and . Its area is , so the determinant of the Jacobian is the factor by which scales small areas or volumes near (1A.3 Determinants and Volume), and its sign says whether preserves or reverses orientation. For polar coordinates, , the Jacobian has determinant (Exercise 8.17): a small rectangle becomes a curved patch of area about , which is the area element of polar coordinates, and at the whole -direction is crushed to a point.
Some Jacobians have a special shape, and the shape is information. The map , which is in complex notation, has Jacobian , a scaling combined with a rotation. A map whose derivative at every point is a rotation and scaling preserves angles, and these are exactly the complex-differentiable functions of Book 5A (5A.1 Holomorphic Functions Are Conformal).
The converse fails, and badly.
Let for and . On the axes , so both partial derivatives exist at the origin and equal . But along the ray at angle , is constant, so near the origin takes every value in (Figure 8.2). It is not even continuous at , let alone differentiable.
Even having every directional derivative is not enough. For (and ), every directional derivative at exists (Exercise 8.18), but along the parabola , so is not continuous at . Differentiability is a statement about all ways of approaching the point at once, not about straight lines.
What rescues the situation is continuity of the partials.
If all partial derivatives exist on and are continuous at , then is differentiable at .
Proof. It suffices to treat each component, so let be real-valued, and take to keep the notation light (the general case changes one coordinate at a time in the same way). Write and split the increment into a horizontal and a vertical step:
where . By the one-variable mean value theorem (2A.10 Derivatives), the brackets equal and for some . The evaluation points tend to as , so by continuity of the partials these are .
A map whose partial derivatives exist and are continuous on is called continuously differentiable, or . In practice nearly every map we differentiate is , and the theorem says that for them the Jacobian matrix is the derivative.
The chain rule and the mean value inequality
If is differentiable at and is differentiable at , then is differentiable at and
Proof. Write and , where , , , and , (set ). With , we have , so and stays bounded. Then
and dividing by gives something that tends to .
With the chain rule, the familiar rules follow quickly. Sums and constant multiples: and , straight from the definition. Products: for real-valued and , , by the chain rule applied to , whose second map has derivative at (Example 8.3's method). A map is differentiable exactly when each of its components is, with having the derivatives of the components as its rows.
Derivatives of maps between spaces of matrices are computed the same way, by expanding and keeping the linear part, and two of them are used again and again in geometry.
The inverse. On the open set of invertible matrices, let . For small , , and the geometric series of 2B.6 Power Series, Exponentials and Bump Functions gives for . So
For matrices this is ; for matrices, the two factors of must sit on either side of , because matrices don't commute.
The determinant. First at the identity. In the expansion of as a sum over permutations, the identity permutation contributes , and every other permutation moves at least two indices, so its term contains at least two off-diagonal entries and is . Hence . At an invertible , write , to get Jacobi's formula
Read it: to first order, a small change changes volumes by the factor . The trace measures expansion. For a family of matrices it gives .
This is the computation behind the evolution of volume under Ricci flow. The volume element of a metric is in coordinates, and if , Jacobi's formula gives , the scalar curvature: volume shrinks where scalar curvature is positive (8A.7 Tensors and Index Notation, 11A.2 How Curvature Evolves).
A neural network is a long composition of simple maps, , each depending on parameters, followed by a single number, the loss, measuring how wrong the network's output is. Training adjusts the parameters downhill, which needs the gradient of the loss with respect to millions of parameters. By the chain rule, the derivative of a composition is the product of the Jacobians,
and the only question is in which order to multiply. Multiplying from the right builds full Jacobian matrices at every stage. Multiplying from the left starts with the row vector , and every subsequent product is a row vector times a matrix, which is far cheaper. That is reverse-mode automatic differentiation: one backward sweep through the composition computes the whole gradient at a cost comparable to a few evaluations of the network itself. Seppo Linnainmaa described the method in 1970, and David Rumelhart, Geoffrey Hinton and Ronald Williams popularised it for neural networks in 1986 under the name backpropagation. Every modern machine-learning system trains by it. Its mathematics is the chain rule of this section, together with the associativity of matrix multiplication.
Many functions in geometry depend only on the distance from the origin: the Gaussian of the heat kernel, the potential of a soliton, a cutoff (2B.6 Power Series, Exponentials and Bump Functions). For with twice differentiable and , the chain rule computes everything.
First derivatives. (differentiate : ). So , and : the gradient points radially, with size .
Second derivatives. By the product rule,
Summing over and using ,
For example, (with ) has : it is harmonic away from the origin, the fundamental solution of 6A.2 Harmonic Functions. And the factor is the mean curvature of the sphere of radius , which is how this formula reappears on Riemannian manifolds as the Laplacian comparison theorem (9B.1 Laplacian Comparison).
Two consequences of the chain rule are used constantly.
The gradient is perpendicular to level sets. For real-valued , the derivative is a row vector, and its transpose is the gradient , so that . If is a curve in a level set with , then , and the chain rule gives . Among unit vectors , is largest for (Cauchy–Schwarz), so the gradient points in the direction of steepest ascent. 2B.9 The Inverse and Implicit Function Theorems shows that, when , the level set really is a smooth hypersurface near .
Let be , and suppose the segment from to lies in . Then
Proof. Let (if there is nothing to prove) and , a real function on . By the chain rule and the mean value theorem, . Divide by .
There is no mean value equality for vector-valued maps (the circle returns to its start, but its derivative never vanishes), and the inequality is the correct replacement. It is what turns a bound on into a Lipschitz bound, and so into a contraction, in the proof of the inverse function theorem (2B.9 The Inverse and Implicit Function Theorems). It also proves the fact promised in 2B.4 Connectedness: a map with on a connected open set is constant. On each ball it is constant by the inequality, so the set where equals its value at a chosen point is open, and it is closed by continuity.
Convex functions
A function on a convex open set is convex if its graph lies below every chord: for and . For functions there is a test by the Hessian, and the test explains why convex problems are the easy ones.
Let be on a convex open set with positive semidefinite at every . Then for all ,
the graph lies above each of its tangent planes, and is convex. In particular every critical point of is a global minimum.
Proof. Let on . Taylor's theorem with Lagrange remainder (2A.10 Derivatives) gives for some , where and . That is the tangent-plane inequality. For convexity, apply it twice with base point : and ; multiply by and and add, and the gradient terms cancel because . If , the tangent-plane inequality says for every .
For a general function the second-derivative test is local, and finding a global minimum means comparing all the local ones. For a convex function there is nothing to compare: a point where the gradient vanishes is the answer, and any method that walks downhill reaches it. That is why so much of applied optimisation consists of recognising or arranging convexity. In the route, convexity returns as the source of entropy inequalities (3A.7 Lᵖ Spaces and Jensen’s Inequality) and in Hamilton's maximum principle for systems, where the curvature conditions preserved by Ricci flow are convex sets (2B.10 Ordinary Differential Equations, 11A.7 Maximum Principles under Ricci Flow).
Second derivatives
If the partial derivatives are themselves differentiable, we get second partials . A function whose partials up to order exist and are continuous is , and (smooth) if this holds for every .
If is on , then .
Proof. Only two variables are involved, so take and . Consider the second difference
With , by the mean value theorem, and by the mean value theorem again. So for some point within of . Doing the same with the roles of the variables swapped gives with . Let and use continuity of both mixed partials.
The second difference treats the two variables symmetrically, which is why the order doesn't matter in the limit. Without continuity it can matter: for (and ), but (Exercise 8.19).
For a function , the Hessian at is the symmetric matrix , or equivalently the symmetric bilinear form . Its trace is the Laplacian, .
If is near , then
Proof. Let . By the chain rule and . Taylor's theorem in one variable with Lagrange remainder (2A.10 Derivatives) gives for some . The difference is at most , which is by continuity of the second partials.
The proof gives more than the limit statement: it gives a bound. If on the segment from to , then the same argument applied to first order (Taylor with remainder after the linear term) shows
The error of the linear approximation is at most half the size of the second derivative times the square of the step. This is the quantitative content of "differentiable", and it is how the derivative is used in practice. It says how large a step can be before the tangent plane stops being trustworthy, which is the question behind the GUM's warning in the opening example, behind the quadratic convergence of Newton's method, and behind the size of the neighbourhood in the inverse function theorem (2B.9 The Inverse and Implicit Function Theorems). For vector-valued maps the same bound holds component by component, or, applying the mean value inequality to , which bounds the error by , the supremum over the segment.
The Hessian depends on the coordinates
The first derivative of a function transforms simply under a change of coordinates: if , the chain rule gives . The second derivative does not. Differentiating once more with the product rule,
The first term is what one would hope for, the Hessian of fed the transformed vectors. The second term involves the second derivatives of the coordinate change itself, and it is multiplied by the gradient of .
A simple example shows that the second term is real. The function is linear, and its Hessian is . In polar coordinates it becomes , with , and : a non-zero matrix of second partials for a function whose graph is a flat plane. The curvature that appears is the curvature of the polar coordinate lines, not of the function.
At a critical point, though, and the second term disappears. There the Hessian transforms as a quadratic form should, , and by Sylvester's law of inertia the numbers of positive, negative and zero eigenvalues do not depend on the coordinates. That is why the second-derivative test and the index of a critical point make sense on a manifold, where there are no preferred coordinates (7A.13 Morse Theory). Away from critical points, a coordinate-free Hessian needs an extra structure that says how to compare tangent vectors at nearby points, a connection; on a Riemannian manifold it is the Levi-Civita connection, and the result is the covariant Hessian that appears in the soliton equation (9A.2 Connections, 11B.1 Ricci Solitons).
Critical points and the Hessian
A critical point of is a point where . At a local maximum or minimum in the interior of , every directional derivative vanishes (the one-variable test of 2A.10 Derivatives along each line), so local extrema are critical points. Which critical points are extrema is decided by the Hessian.
Because is symmetric, the spectral theorem (1A.6 Symmetric Matrices and the Spectral Theorem) gives an orthonormal basis of eigenvectors with real eigenvalues . In these coordinates, at a critical point, the Taylor expansion reads
Let be with a critical point at , and let and be the extreme eigenvalues of .
- If all eigenvalues are positive (positive definite), is a strict local minimum.
- If all are negative (negative definite), it is a strict local maximum.
- If there are eigenvalues of both signs (indefinite), it is a saddle: neither a maximum nor a minimum.
- If some eigenvalue is and the others share a sign, the test is inconclusive.
Proof. (1) , so for small . (2) Apply (1) to . (3) Along an eigenvector with , increases for small steps; along one with , it decreases. (4) , and all have Hessian at , and have a minimum, a saddle and neither, respectively.
(a) . Critical points: at and . Hessian : at it is , positive definite, a strict local minimum (value ); at it is , indefinite, a saddle. There is no global minimum, since as : the test is local.
(b) . Critical point: and give . Hessian , with eigenvalues (eigenvector ) and (eigenvector ): positive definite, a strict local minimum, with value . Here the minimum is global, because is a positive definite quadratic plus a linear term, which tends to in every direction. Notice that the Hessian is not diagonal in the original coordinates: the off-diagonal entry means the bowl is tilted, and its principal axes are the eigenvectors.
For a symmetric matrix the signs of the eigenvalues can be read off without computing them: the product is the determinant and the sum is the trace. So and means positive definite; and , negative definite; , indefinite. In (b), and .
In more variables the eigenvalues are harder to find, but definiteness can still be tested without them. Sylvester's criterion says that a symmetric matrix is positive definite exactly when all its leading principal minors, the determinants of its top-left , , …, corners, are positive. (Negative definiteness is positive definiteness of the negative, so the minors must alternate in sign, starting negative.) For , the only critical point is the origin, and the Hessian is
with leading minors , and , all positive. So the origin is a strict minimum, and since the Hessian is constant and positive definite, is convex and the minimum is global (Proposition 8.10). The eigenvalues, and , confirm it.
The number of negative eigenvalues of the Hessian is the index of the critical point: for a minimum, for a maximum, in between for saddles. The quantity is robust: a small perturbation of moves a non-degenerate critical point slightly but doesn't change its index. That robustness is the basis of Morse theory (7A.13 Morse Theory), which reads the topology of a space off the indices of the critical points of a function on it.
On a landscape with elevation , the critical points are the summits, the bottoms of hollows and the passes (cols), the lowest points on the highest routes between valleys. At a summit the Hessian of is negative definite; at a hollow, positive definite; at a pass it is indefinite, curving down along the ridge and up along the route through the pass (Figure 8.3). Mountaineers and hydrologists use the same classification: a pass is where two drainage basins meet, and the routes over a range go through its saddles because along the route the pass is the highest point, but across it, it is the lowest.
On a smooth landscape there is a further relation, a first glimpse of topology constraining analysis. For a generic island (a landscape above sea level on a disc, sloping down to the shore), the counts satisfy
the Euler characteristic of the disc (Exercise 8.23, 7A.8 Smooth Topology). Two summits force at least one pass between them.
To minimise a smooth function of many variables, as in fitting a model to data, Newton's method jumps from to the critical point of the second-order Taylor approximation at :
Near a non-degenerate minimum this converges quadratically, as in one variable (2B.2 Completeness and Contraction). But the step goes to the critical point of the quadratic model, whatever its type. If is indefinite, the model's critical point is a saddle and Newton's method happily walks towards it. This is why practical optimisation software checks whether the Hessian (or its approximation) is positive definite, and modifies the step if it isn't, for instance by adding a multiple of the identity to shift the eigenvalues positive.
The Laplacian at a maximum
Here is the observation that this chapter contributes to thread M.
Let be on an open set , with a local maximum at . Then , the Hessian is negative semidefinite (all eigenvalues ), and so
Proof. For any unit vector , has a local maximum at , so and (2A.10 Derivatives). That is, and for every . Taking to be the eigenvectors shows that every eigenvalue is , and the trace is their sum.
The Laplacian as a comparison with the neighbours
The proposition has a second proof that explains what the Laplacian measures. Average the Taylor expansion of Theorem 8.13 over the sphere of radius about . The linear term averages to zero, by symmetry ( and cancel). For the quadratic term we need the average of over the sphere : it is for , by the symmetry , and for it is , because the averages of are equal by symmetry and add up to the average of . So the average of is , and
Read it: the Laplacian measures how much a function's value falls short of the average of its values nearby. If , the neighbours are on average higher than ; if , lower. At a maximum, every neighbour is at most , so the average is too, and : the proposition again, without eigenvalues.
The heat equation then has a plain meaning: the temperature at a point rises when it is colder than the average of its surroundings and falls when it is warmer, at a rate proportional to the difference. Harmonic functions, , are those equal to their own local averages, a property that becomes exact, the mean value property, in 6A.2 Harmonic Functions. The discrete version is the graph Laplacian of 2B.4 Connectedness: is the number of neighbours of times the difference between and the average of over those neighbours, and on a square grid of spacing in the plane, is the standard approximation to , the five-point stencil of numerical analysis.
The statement is elementary, and its consequences are not. If solves the heat equation , then at a point where is largest, : the maximum can't increase. Made rigorous with Hamilton's trick from 2A.10 Derivatives, this is the weak maximum principle for the heat equation (6A.5 Maximum Principles). On a ring, 2B.7 Fourier Series and the First Heat Equation proved it from a formula; this argument needs no formula, and works on any domain and, with the Laplacian of a Riemannian metric, on any closed manifold.
Two extensions of Proposition 8.16 will be needed. First, for an operator with a positive semidefinite coefficient matrix , the same conclusion holds at a maximum: (Exercise 8.22). This is what makes the maximum principle work for every elliptic and parabolic equation in Course 6, and for the DeTurck–Ricci flow. Second, in 11A.7 Maximum Principles under Ricci Flow Hamilton applies the argument not to a function but to a symmetric 2-tensor, the Ricci tensor or the curvature operator, at a point and in a direction where its smallest eigenvalue is attained. The Hessian, as a quadratic form whose eigenvalues carry the geometry, is the prototype: in 9A.4 Curvature and What It Means the Riemann curvature appears as the failure of second covariant derivatives to commute (a Clairaut theorem that fails), and in 11B.1 Ricci Solitons a gradient Ricci soliton is defined by the equation , a Hessian set equal to a curvature.
History
The symmetry of mixed partial derivatives was used by Euler and by Clairaut in the 1730s and 1740s; Hermann Amandus Schwarz gave a rigorous proof in 1873, and the counterexample appeared in Giuseppe Peano's 1884 edition of Angelo Genocchi's calculus lectures. The modern definition of the derivative as a linear approximation appears in Otto Stolz's calculus text of 1893 and was championed by W. H. Young (1910) and Maurice Fréchet (1911), whose name it carries in infinite dimensions. Its advantage, that it treats all directions at once and makes the chain rule a product of matrices, is why every later book in this guidebook uses it.
The derivative of a map at a point is the linear map that approximates it to first order, represented by the Jacobian matrix. Partial derivatives alone don't guarantee it, but continuous partials do. The chain rule multiplies derivatives, and the mean value inequality turns derivative bounds into Lipschitz bounds. For functions, mixed partials commute, the Hessian is a symmetric matrix, and the second-order Taylor expansion lets its eigenvalues classify critical points. At an interior maximum the Hessian is negative semidefinite and , the seed of the maximum principle. 2B.9 The Inverse and Implicit Function Theorems uses the derivative and the contraction principle together to decide when a nonlinear equation can be solved.
Exercises
Compute for (a) ; (b) polar coordinates ; (c) on ; (d) on . Where is (b) not invertible?
Solution
(a) . (b) , with determinant : singular at . (c) . (d) .
For (with ), show that exists for every , and compute it. Show that , so is not continuous at .
Solution
For with : . For , , so . On : .
For (with ), show that and . Deduce and . Which hypothesis of Clairaut's theorem fails?
Solution
For , ; also . Similarly . So and . The second partials exist but are not continuous at .
Let . Show that is a critical point with Hessian , so the second-derivative test says nothing. Show that takes both signs in every neighbourhood of (so is not an extremum), and that changes sign six times on a small circle around : it has three "downhill valleys", one more than an ordinary saddle, room for a monkey's tail.
Solution
and , both at the origin. In polar coordinates , which changes sign six times as goes round.
A pendulum's period gives the gravitational acceleration by . With m and s (standard uncertainties), compute and its combined standard uncertainty by the law of propagation of uncertainty. Which input contributes more?
Solution
m/s². The relative sensitivities are for and for , so , so m/s². The period contributes about four times as much variance, because it enters squared.
Let be a symmetric positive semidefinite matrix and a symmetric negative semidefinite one. Show that . (Diagonalise with , and compute .) Deduce that if has an interior local maximum at and is positive semidefinite, then .
Solution
By the spectral theorem, with orthonormal and . Then , using . Each and each , so the sum is . At an interior maximum, is negative semidefinite (Proposition 8.16), and since both matrices are symmetric.
On the closed unit disc, let be smooth with on the boundary circle, inside, and only non-degenerate critical points inside. (a) Check the formula for and for a landscape with two summits joined by a ridge through one pass. (b) Explain, using the intermediate value theorem along a path from one summit to another, why two summits force the existence of a point on every such path that is the lowest point of the path, and why this suggests (but doesn't prove) the existence of a pass. A proof uses the mountain pass theorem, a min–max argument (10A.11 Min–Max and Width).
Solution
(a) has one critical point, a maximum at , and no saddles or minima: . Two summits joined through one pass, with no pits: . (b) Along any path from summit to summit , is continuous on , so it attains a minimum (the maximum principle of 2A.9 Continuous Functions, rather than the intermediate value theorem, gives the lowest point). Call its value , the height of the lowest point of that route. The best route makes as large as possible; a pass is where such a best route crosses the ridge. At its lowest point the best route is "as high as possible among routes, and as low as possible along the route", which is exactly the saddle condition. Making "the best route exists" rigorous needs compactness for a space of paths, which is the content of the mountain pass theorem.
Let (with ). Show that is continuous at and that every directional derivative exists there, with for a unit vector . Show that is not linear, and deduce that is not differentiable at .
Solution
(as ), so is continuous at . For a unit vector, . If were differentiable, would be linear in . But on the axes , so linearity would force for all , while gives .
Let be , and . Show that and , and deduce . (A second differentiation gives , which reduces to Example 8.8 with when doesn't depend on .)
Solution
By the chain rule, , which is the two formulas. Then , because the cross terms cancel and .
Find and classify the critical points of .
Solution
, zero when and , so : the points , , . Hessian . At : , a saddle. At : , and trace , strict local minima, with value (in fact global minima, since in every direction).
Let on . (a) Show that , , and . (b) Show that , and hence . (c) Check that (take on trust until 3A.5 Product Measures and Change of Variables).
In 11B.1 Ricci Solitons the flat metric on with this is the Gaussian shrinking soliton: its Ricci tensor is , so the soliton equation reduces to (a). The identities in (b) and (c) are exactly the normalisations in Perelman's -entropy at (12A.3 The 𝓦-Entropy), where the Gaussian is the case of equality: the flat Gaussian has entropy , and every other shrinker has less.
Solution
(a) , , trace . (b) , and . (c) The integral factors into one-dimensional integrals, each .
Free resources for this chapter
Chosen for what this chapter covers, and all free to read or watch. Links checked Nov 6, 2026.
Read
- Book §8.3 The derivativeJiří Lebl, Basic Analysis I & II (free textbook)The derivative of a map between vector spaces as a linear map.
- Book §8.6 Higher order derivativesJiří Lebl, Basic Analysis I & II (free textbook)Second derivatives and when mixed partials commute.
- Notes Lecture 3: The Derivative of a Map between Vector SpacesMIT OpenCourseWare 18.965 Geometry of Manifolds (Fall 2004)The same definition as the starting point of manifold theory.
Watch 3 lectures and talks
- Video Day 22: Directional Derivatives and DifferentiabilityTed Shifrin, Multivariable Mathematics lectures (University of Georgia, Math 3500/3510)The derivative of a map ℝⁿ → ℝᵐ as a linear map, and why partial derivatives alone are not enough.
- Video Day 29: Arclength & Higher-Order Partial DerivativesTed Shifrin, Multivariable Mathematics lectures (University of Georgia, Math 3500/3510)Higher-order partial derivatives and the symmetry of mixed partials.
- Video Local linearity for a multivariable functionGrant Sanderson, Khan Academy Multivariable CalculusAnimated: zooming in until a nonlinear map looks linear.
© 2026 Neckpinch (www.neckpinch.com). All content in the guidebook (text, mathematics, figures and exercises) is protected by copyright. All rights reserved. No part may be copied, republished or redistributed without written permission.