The two-variable calculus of the Year 1 volume matures into the differential calculus of maps between normed spaces: the differential as the best linear approximation, the chain rule in full generality, Schwarz’s symmetry theorem proved, Taylor formulas, and the complete second-order analysis of extrema. The inverse function theorem, crown of the theory, is stated with its proof strategy — a Banach fixed point — made explicit.
Throughout, U is an open subset of Rn (or a normed space; the finite-dimensional case carries all the ideas), f:U→Rm.
15.1 The differential
Definition 15.1
f is differentiable at a when there is a (continuous) linear map dfa:Rn→Rm with
f(a+h)=f(a)+dfa(h)+o(∥h∥)(h→0).
The map dfa, the differential of f at a, is unique; its matrix in the canonical bases is the Jacobian matrixJf(a)=(∂xj∂fi(a)). Differentiability implies continuity and the existence of all directional derivatives dfa(v)=limt→0tf(a+tv)−f(a); the converse fails (Exercise 15.2). For m=1, dfa(h)=⟨∇f(a),h⟩: the gradient of Year 1, now understood as the vector representing the differential.
Proof. Component by component (m=1 suffices). The Year 1 proof for two variables — move one coordinate at a time, apply the one-variable mean value theorem on each leg, and use continuity of the partials at a — generalizes verbatim to n legs:
where h(j) freezes the first j coordinates of h and ξj lies on the j-th leg; continuity turns each ∂xj∂f(ξj) into ∂xj∂f(a)+o(1), and the error is o(∥h∥). ∎
and both error terms are o(∥h∥): the first since dgb is continuous and ε1→0; the second since ∥k∥≤C∥h∥ (bounded linear map plus small term) and ε2(k)→0 as h→0. ∎
Example 15.4(Radial functions, once and for all)
Let r(x)=∥x∥2 on Rn∖{0} and f=g∘r with g a C1 function of one variable. First, r is differentiable away from 0: from r2=∑xi2,
∂xi∂r=rxi,i.e.∇r(x)=∥x∥x,
the unit radial vector (differentiate r2 and divide — or apply the chain rule to ⋅). Then the chain rule gives, for every radial function,
∇f(x)=g′(∥x∥)∥x∥x.
Worked instance: g(r)=r1 yields ∇∥x∥1=−∥x∥3x, the inverse-square field of gravitation and electrostatics — direction radial, magnitude ∥x∥21. Closing insight: gradients of radial functions are radial because the level sets are spheres and the gradient is orthogonal to level sets; at x=0, by contrast, r is notdifferentiable (no candidate linear map matches ∥h∥ from all directions) — smooth radial profiles need g′(0)=0 to cross the origin gracefully.
Theorem 15.5(Mean value inequality)
Let f be differentiable on U and let the segment [a,b]={a+t(b−a)} lie in U. Then
Proof. The function φ(t)=f(a+t(b−a)) is differentiable on [0,1] with φ′(t)=dfa+t(b−a)(b−a) (chain rule), of norm≤M∥b−a∥ with M the displayed sup. For R-valued f the one-variable mean value inequality concludes; for vector values apply it to t↦⟨u,φ(t)⟩ with u the unit vector along f(b)−f(a). Constancy: locally constant (segments in balls) plus connectedness (the set where f equals a given value is open and closed: Chapter 4). ∎
Example 15.6(A Lipschitz constant from the MVI)
Is f(x,y)=sinxsinyLipschitz on R2, and with which constant? Its gradient is ∇f=(cosxsiny,sinxcosy), of squared norm
cos2xsin2y+sin2xcos2y≤sin2y+cos2y⋅1=1
(bound cos2x and sin2x by 1 separately), so df(x,y)=∥∇f∥≤1 everywhere, and Theorem 15.5 on the segment between any two points gives
∣f(b)−f(a)∣≤∥b−a∥2:
f is 1-Lipschitz, and the constant is sharp (near the origin, f(x,2π)=sinx has slope 1). Closing insight: the mean value inequality converts a pointwise bound on the differential into a global modulus of continuity — the standard route to Lipschitz estimates in every dimension, and the engine inside Exercise 15.12.
15.2 Second derivatives
Theorem 15.7(Schwarz)
If f is C2 on U (all second partials exist and are continuous), then for all i,j:
∂xi∂xj∂2f=∂xj∂xi∂2f.
Proof. Two variables suffice (x=xi, y=xj, others frozen). Consider the second difference
Δ(h)=f(a+h,b+h)−f(a+h,b)−f(a,b+h)+f(a,b).
Fix h and set φ(x)=f(x,b+h)−f(x,b): then Δ(h)=φ(a+h)−φ(a), and two applications of the mean value theorem give
with ξ∈(a,a+h), η∈(b,b+h). By continuity, h2Δ(h)→∂y∂x∂2f(a,b) as h→0. The same computation with the roles of the variables exchanged (freeze the second variable first) gives h2Δ(h)→∂x∂y∂2f(a,b): the two limits of the same quantity coincide. ∎
Example 15.8(Why C2 is needed: Peano’s counterexample)
Let f(x,y)=x2+y2xy(x2−y2), f(0,0)=0. Away from the origin f is C∞; at the origin all first and second partials exist, but the mixed ones disagree. Compute along the axes: f(x,0)=f(0,y)=0, and for y=0,
the two mixed partials exist and differ. No contradiction with Theorem 15.7: the second partials of f are not continuous at 0 (test along y=tx). Closing insight: Schwarz’s theorem is a genuine theorem about continuity, not a formal identity — and the hypothesis “C2” in Taylor–Young below is doing real work.
Theorem 15.9(Taylor–Young at order 2)
Let f:U→R be C2 and a∈U. Then, as h→0,
f(a+h)=f(a)+⟨∇f(a),h⟩+21⟨Hah,h⟩+o(∥h∥2),
where Ha=(∂xi∂xj∂2f(a)) is the (symmetric, by Schwarz) Hessian matrix.
Proof. Apply the one-variable Taylor–Young theorem (Year 1 volume) to φ(t)=f(a+th) on [0,1]: by the chain rule, φ′(t)=⟨∇f(a+th),h⟩ and φ′′(t)=⟨Ha+thh,h⟩, both continuous in t. Then φ(1)=φ(0)+φ′(0)+21φ′′(θ) (Taylor–Lagrange) with θ∈(0,1), and continuity of the second partials converts φ′′(θ)=φ′′(0)+o(1)⋅∥h∥2-uniformly: the displayed expansion. ∎
Example 15.10(An expansion two ways)
Expand f(x,y)=excosy at the origin to order 2. By composition of one-variable expansions:
By partial derivatives:fx=excosy, fy=−exsiny, so ∇f(0)=(1,0); and fxx=f, fyy=−f, fxy=−exsiny give H0=diag(1,−1): Theorem 15.9 reproduces 1+x+21(x2−y2). The two computations agree, and the composition route was faster — no second partials at all. Closing insight: the origin is not a critical point (∇f=0), so despite the indefinite Hessian there is no saddle to declare: the linear term rules, and the second-order test only ever speaks at critical points.
Theorem 15.11(Second-order extremum test, proved)
Let f be C2 near a critical point a (∇f(a)=0), with Hessian H=Ha.
If H is positive definite, a is a strict local minimum (negative definite: maximum).
If H has eigenvalues of both signs, a is a saddle: no extremum.
If H is singular (and semidefinite), no conclusion.
The Year 1 “rt−s2” test is the case n=2: detH=rt−s2, tr-sign read off r.
(2) Along an eigenvectorv+ with λ+>0: f(a+tv+)−f(a)=2λ+t2+o(t2)>0 for small t; along v− with λ−<0 the difference is negative: both signs occur in every neighborhood.
(3) f(x,y)=x2+y4, x2−y4, x2+y3 share the same singular semidefinite Hessian at 0 with three different behaviors. ∎
Example 15.12(A complete classification, global included)
Classify all extrema of f(x,y)=x4+y4−4xy on R2. Critical points:∇f=(4x3−4y,4y3−4x)=0 gives y=x3 and x=y3=x9, so x(x8−1)=0: the real solutions are (0,0), (1,1), (−1,−1). Hessians:H=(12x2−4−412y2). At (±1,±1): (12−4−412), eigenvalues8 and 16: positive definite, strict local minima with f=−2. At (0,0): (0−4−40), eigenvalues±4: a saddle. Globality: from 2∣xy∣≤x2+y2,
f is coercive, so it attains a global minimum (compactness of sublevel sets), necessarily at a critical point: the value −2, at both (1,1) and (−1,−1), is the global minimum; there is no maximum (f unbounded above). Closing insight: the local test classifies candidates, but only a growth argument turns “local” into “global” — the two-step pattern of every optimization proof in this book.
Method 15.13(Classifying the extrema of f:Rn→R)
Solve ∇f=0 (all critical points; on a domain with boundary, treat the boundary separately as in Exercise 15.7).
At each critical point, compute the Hessian and its eigenvalue signs — in dimension 2, just detH and trH: det<0 saddle; det>0 extremum, of the type given by the sign of the trace; det=0: the test is silent, study f along curves.
For global statements, add a compactness or coercivity argument (f→+∞ at infinity, or a compact constraint set), then compare the critical values.
15.3 The inverse function theorem
Theorem 15.14(Inverse function theorem)
Let f:U→Rn be C1 and a∈U with dfainvertible. Then there are open neighborhoods V∋a, W∋f(a) such that f:V→W is a bijection with C1 inverse, and
d(f−1)f(x)=(dfx)−1(x∈V).
Proof.Admitted at this level.∎
Remark 15.15(Why it is true: the fixed-point strategy)
Solving f(x)=y near a rewrites as the fixed-point equation x=x+dfa−1(y−f(x))=:Φy(x); the map Φy has differentialid−dfa−1dfx, small near a by continuity of df, so Φy is a contraction on a small closed ball and the Banach fixed point theorem (Theorem 4.12) provides the unique local solution x=f−1(y). Continuity and differentiability of the inverse then follow from the estimates in the contraction. The full bookkeeping is carried out in Year 3; the strategy — and the statement — are used freely from now on. The companion implicit function theorem (solving F(x,y)=0 for y(x) when ∂y∂F is invertible) follows by applying the theorem to (x,y)↦(x,F(x,y)).
Example 15.16(Polar coordinates)
Φ(r,θ)=(rcosθ,rsinθ) has Jacobian
JΦ=(cosθsinθ−rsinθrcosθ),detJΦ=r:
invertible for r=0, so Φ is a local C1 diffeomorphism away from the origin — the licence to “change to polar coordinates”, renewed for the multiple integrals of Chapter 20.
Example 15.17(Local everywhere, global nowhere)
Let f(x,y)=(excosy,exsiny) on R2. Its Jacobian,
Jf=(excosyexsiny−exsinyexcosy),detJf=e2x>0,
never vanishes: by Theorem 15.14, f is a local C1 diffeomorphism at every point of the plane. Yet f is far from injective: f(x,y+2π)=f(x,y), so every value is taken infinitely often; and it is not surjective either, since ∥f(x,y)∥=ex>0 misses the origin. Closing insight: the inverse function theorem is irreducibly local — invertibility of every dfa yields a patchwork of local inverses that need not assemble into one. (Readers who know complex numbers will recognize z↦ez; the patchwork is the family of logarithm branches.) Compare Exercise 15.12, where a quantitative global hypothesis does force one global inverse.
Remark 15.18(Common pitfalls)
(i) Directional derivatives are cheap, differentials are not: all directional derivatives may exist — and even fail to depend linearly on the direction — without differentiability (Exercise 15.2); only the C1 criterion (Theorem 15.2) upgrades partials to a differential. (ii) Critical does not mean extremal: saddles (Example 15.12) and the silent singular case (Theorem 15.11 (3)) both hide behind ∇f=0. (iii) No vector-valued mean value equality: only the inequality of Theorem 15.5 survives (Exercise 15.9); never write f(b)−f(a)=dfc(b−a) for f with values in Rm, m≥2. (iv) Local invertibility is not injectivity:Example 15.17. (v) The gradient belongs to the inner product:∇f is the vector representing dfa in a chosen inner product; change the product (as in the weighted example of the quadratic-forms chapter) and the gradient rotates, while the differential — the intrinsic object — does not move.
Remark 15.19(Where this is used)
Everything downstream of this chapter is differential calculus applied: the differential-equations chapter linearizes flows and uses Liouville’s determinant formula (proved in this chapter’s weekend problem); the chapters on curves and surfaces study level sets and parametrizations through the implicit function theorem; multiple integrals change variables through Jacobians. The weekend problem develops the calculus on the space of matrices itself — differential of the determinant, of the inverse, the matrix exponential, and the orthogonal group as a smooth level set — the Year 2 shadow of what the Year 3 volume formalizes as manifolds and Lie groups.
15.4 Exercises
Exercise 15.1★
Compute the Jacobian matrices of f(x,y)=(x2−y2,2xy) and of Φ(r,θ,z)=(rcosθ,rsinθ,z); where are the differentials invertible?
Solution
Solution of Exercise 15.1.
Jf=(2x2y−2y2x), detJf=4(x2+y2): invertible away from the origin. (This f is z↦z2 in complex disguise.)
JΦ=cosθsinθ0−rsinθrcosθ0001, det=r: invertible for r=0 (cylindrical coordinates).
Exercise 15.2★
Let f(x,y)=x2+y2x3 (f(0,0)=0). Prove that all directional derivatives of f at 0 exist, but that f is not differentiable at 0(the map v↦ directional derivative is not linear).
Solution
Solution of Exercise 15.2.
For v=(a,b)=0: tf(tv)−0=t⋅t2(a2+b2)t3a3=a2+b2a3: every directional derivative exists, with value Dv=a2+b2a3. But v↦Dv is not linear (D(1,0)=1, D(0,1)=0, D(1,1)=21=1): no linear map can produce these values, so f is not differentiable at 0 (the differential would have to be v↦Dv).
Exercise 15.3★
Find and classify the critical points of f(x,y)=x3+y3−3xy using Theorem 15.11, and of g(x,y)=x4+y4−2(x−y)2.
Solution
Solution of Exercise 15.3.
f=x3+y3−3xy: critical points (0,0) and (1,1) (Year 1 computation). Hessians: H=(6x−3−36y). At (0,0): eigen-signs mixed (det=−9<0): saddle. At (1,1): det=27>0, trace >0: positive definite, strict local minimum — now justified by Theorem 15.11 rather than decreed.
g=x4+y4−2(x−y)2: ∇g=(4x3−4(x−y),4y3+4(x−y)); critical points (0,0), (2,−2), (−2,2) (Year 1). At (±2,∓2): H=(12⋅2−44420)=(204420): positive definite (diagonally dominant; eigenvalues24,16): strict local minima. At (0,0): H=(−444−4), singular negative semidefinite: the test is silent; the directional study (g(x,x)=2x4>0, g(x,−x)=2x4−8x2<0 small) shows a saddle-like point — no extremum.
Exercise 15.4★★
Let f:Rn→R be C1 and homogeneous of degree p: f(tx)=tpf(x) for t>0. Prove Euler’s identity
⟨∇f(x),x⟩=pf(x),
and its converse for C1 functions on Rn∖{0}.
Solution
Solution of Exercise 15.4.
Differentiate t↦f(tx) at t=1: by the chain rule, ⟨∇f(x),x⟩; by homogeneity the same function is tpf(x), of derivative pf(x) at t=1: Euler’s identity.
Converse: fix x=0 and let φ(t)=f(tx)−tpf(x) on t>0. Then φ′(t)=⟨∇f(tx),x⟩−ptp−1f(x)=t1(⟨∇f(tx),tx⟩−ptpf(x)). The hypothesis — Euler’s identity at the point tx — evaluates the bracket as pf(tx)−ptpf(x)=pφ(t). So φ′=tpφ with φ(1)=0: the linear ODE’s unique solution is φ≡0 (Year 1 uniqueness), i.e. f(tx)=tpf(x).
Exercise 15.5★★
Let A be symmetric and f(x)=21⟨Ax,x⟩−⟨b,x⟩. Compute ∇f and Hf; when is f convex? Assuming A positive definite, show that f has a unique global minimum at the solution of Ax=b — gradient descent’s raison d’être.
Solution
Solution of Exercise 15.5.
Expanding f(x+h)−f(x)=⟨Ax−b,h⟩+21⟨Ah,h⟩ (symmetry of A): ∇f(x)=Ax−b and Hf=A everywhere. f is convex iff A is positive semidefinite (the Hessian test, global here since H is constant: the second-order Taylor formula is exact). If A is positive definite: the unique critical point is x∗=A−1b, and f(x∗+h)−f(x∗)=21⟨Ah,h⟩≥2λmin∥h∥2>0 for h=0: strict global minimum.
Exercise 15.6★★
(Lagrange multiplier, one constraint, proved by hand) Let f,g be C1 on R2, and suppose f attains, at a, a local extremum on the level set {g=0}, with ∇g(a)=0. Prove that ∇f(a)=λ∇g(a) for some λ. (Parametrize the level set near a by the implicit function theorem and differentiate t↦f(γ(t)).) Application: extrema of f(x,y)=xy on the circle x2+y2=1.
Solution
Solution of Exercise 15.6.
Since ∇g(a)=0, one partial, say ∂y∂g(a)=0: the implicit function theorem (Theorem 15.14’s companion) parametrizes {g=0} near a=(a1,a2) as γ(t)=(t,y(t)) with yC1, y′(t)=−∂yg∂xg(γ(t)) (differentiate g(t,y(t))=0). The one-variable function t↦f(γ(t)) has a local extremum at t=a1:
the vectors ∇f(a) and ∇g(a) have proportional coordinates: ∇f(a)=λ∇g(a) with λ=∂yg(a)∂yf(a).
Application: on the circle, ∇(xy)=(y,x) parallel to (2x,2y) forces y2=x2; with the constraint, the candidates are ±(21,21) (value 21) and ±(21,−21) (value −21): max 21, min −21 (attained: the circle is compact).
Exercise 15.7★★
Determine the extrema of f(x,y)=x2+y2−xy+x−y on R2, then its maximum and minimum on the closed triangle with vertices (0,0), (1,0), (0,1)(interior critical points, then the three edges, then the vertices).
Solution
Solution of Exercise 15.7.
∇f=(2x−y+1,2y−x−1)=0: solving, x=−31, y=31. Hessian (2−1−12), positive definite: global minimum of the quadratic f, value f(−31,31)=−31.
On the triangle T: the interior critical point (−31,31)∈/T (negative x). Edges: on y=0, x∈[0,1]: f=x2+x, increasing: extremes 0 and 2. On x=0: f=y2−y, minimum −41 at y=21, values 0 and 0 at the ends. On x+y=1: substitute y=1−x, f=x2+(1−x)2−x(1−x)+x−(1−x)=3x2−x; on [0,1]: minimum −121 at x=61, values 0 (at x=0) and 2 (at x=1). Vertices: f(0,0)=0, f(1,0)=2, f(0,1)=0. Global on T: minimum −41 at (0,21), maximum 2 at (1,0).
Exercise 15.8★★★
Let f:R2→R2, f(x,y)=(x+y2,y+x2). Show that f is a local diffeomorphism near 0, compute d(f−1)(0,0), and find the largest r such that df is invertible on the ball ∥(x,y)∥2<r(compute detJf).
Solution
Solution of Exercise 15.8.
Jf=(12x2y1), detJf=1−4xy. At 0: det=1=0: local diffeomorphism (Theorem 15.14), with
d(f−1)(0,0)=(Jf(0))−1=I2.
Invertibility on a ball: need 4∣xy∣<1 throughout; on ∥(x,y)∥2<r, ∣xy∣≤2x2+y2<2r2, so r=21 works; and it is largest: at (x,y)=(21,21), of norm21, detJf=0.
Exercise 15.9★★★
(Rolle fails, mean value survives) Give f:R→R2, C1, with f(0)=f(2π) but f′(t)=0 for all t (no vector-valued Rolle). Then verify on your example the mean value inequality of Theorem 15.5.
Solution
Solution of Exercise 15.9.
f(t)=(cost,sint): f(0)=f(2π)=(1,0), yet f′(t)=(−sint,cost) has norm1, never zero: no point where the derivative vanishes — Rolle has no vector analogue. The mean value inequality holds comfortably: ∥f(2π)−f(0)∥=0≤2π⋅sup∥f′∥=2π.
Exercise 15.10★
Compute the differential and the gradient of f(x)=∥x∥22 and of g(x)=⟨Ax,x⟩ on Rn (A a square matrix, not assumed symmetric), and the Hessian of each. For which A is g convex?
Solution
Solution of Exercise 15.10.
f(x+h)−f(x)=2⟨x,h⟩+∥h∥2: dfx=2⟨x,⋅⟩, ∇f(x)=2x, Hessian 2I (constant). For g:
so ∇g(x)=(A+AT)x and Hg=A+AT, constant. By Exercise 15.11, g is convex iff A+AT is positive semidefinite — only the symmetric part of A matters, as indeed g(x)=⟨2A+ATx,x⟩.
Exercise 15.11★★
Let f:Rn→R be C2. Prove that f is convex if and only if its Hessian Hx is positive semidefinite at every x(reduce to one variable: t↦f(a+t(b−a)); use Taylor–Lagrange in one direction, and for the converse evaluate φ′′).
Solution
Solution of Exercise 15.11.
f is convex iff its restriction to every segment is convex, i.e. iff every φ(t)=f(a+tv) is convex. By the chain rule φ′′(t)=⟨Ha+tvv,v⟩.
If all Hessians are positive semidefinite: φ′′≥0, so each φ is convex (Year 1 volume) and f is convex. Conversely if f is convex, each φ is convex, so φ′′(0)≥0: ⟨Hav,v⟩≥0 for every a and every direction v: all Hessians are positive semidefinite.
Exercise 15.12★★★
(A global inverse theorem) Let g:Rn→Rn be C1 with ∣∣∣dgx∣∣∣≤k<1 for all x, and f=id+g.
Show ∥f(x)−f(y)∥≥(1−k)∥x−y∥: f is injective, with continuous inverse on its image.
Show that for each y∈Rn the map x↦y−g(x) is a contraction of the complete space Rn, and conclude by the Banach fixed point theorem (Theorem 4.12) that f is surjective.
Conclude that f is a bijection of Rn with (1−k)−1-Lipschitz inverse — a global counterpart of Theorem 15.14 (which, by contrast, is purely local).
Solution
Solution of Exercise 15.12.
By the mean value inequality (Theorem 15.5) applied to g: ∥g(x)−g(y)∥≤k∥x−y∥, so
∥f(x)−f(y)∥≥∥x−y∥−∥g(x)−g(y)∥≥(1−k)∥x−y∥:
f is injective and f−1 (defined on the image) is 1−k1-Lipschitz.
Fix y; T(x)=y−g(x) satisfies ∥T(x)−T(x′)∥=∥g(x′)−g(x)∥≤k∥x−x′∥: a contraction of the complete space Rn. Banach (Theorem 4.12) gives a fixed point x∗=y−g(x∗), i.e. f(x∗)=y: f is surjective.
f is thus a bijection of Rn with 1−k1-Lipschitz inverse: a global inverse theorem, where the smallness of dg everywhere replaces the local invertibility hypothesis of Theorem 15.14.
15.5 Problem: The calculus of matrices — Jacobi, exponential, and the orthogonal group
Problem 15.1
The cleanest playground for differential calculus is the space Mn(R)≃Rn2 itself: its most natural maps — product, inverse, determinant, exponential — have differentials of striking elegance. This problem computes them all: the Neumann series, the differential of the inverse, Jacobi’s formula for the determinant with Liouville’s formula as dividend, the matrix exponential with deteA=etrA, and finally the orthogonal group On as a smooth level set with the antisymmetric matrices as tangent space — differential geometry in embryo. Throughout, ∣∣∣⋅∣∣∣ is the operator norm subordinate to ∥⋅∥2, and ⟨X,Y⟩=tr(XTY) the Frobenius inner product.
Part I — The Neumann series.
Prove submultiplicativity, ∣∣∣AB∣∣∣≤∣∣∣A∣∣∣∣∣∣B∣∣∣, and deduce that polynomial maps of A (matrix products, determinant, trace) are continuous on Mn(R).
For ∣∣∣X∣∣∣<1, show that ∑k≥0Xk converges absolutely in Mn(R) (Theorem 5.21), that its sum is (I−X)−1, and that
Deduce that GLn(R) is open: if A is invertible and ∣∣∣H∣∣∣<∣∣∣A−1∣∣∣1, then A+H is invertible. Deduce also that GLn(R) is dense in Mn(R)(perturb A by εI: det(A+εI) is a nonzero polynomial in ε).
Show that the inversion map Φ(A)=A−1 is continuous on GLn(R).
Show that the squaring map A↦A2 is differentiable with differentialH↦AH+HA, and more generally that A↦Ak has differentialH↦∑i=0k−1AiHAk−1−i. Why can one not write kAk−1H in general?
(write (A+H)−1=(I+A−1H)−1A−1 and expand by question 2). Check the formula against the scalar case n=1.
For a C1 curve t↦A(t)∈GLn(R), deduce (A(t)−1)′=−A−1A′A−1, and expand t↦(I+tB)−1 to first order at t=0.
Compute the differential of f(A)=tr(Ak) and identify its gradient for the Frobenius inner product:
dfA(H)=ktr(Ak−1H),∇f(A)=k(Ak−1)T.
Same questions for f(A)=tr(ATA)=∥A∥F2: differential, gradient, and the (constant) Hessian; conclude that ∥⋅∥F2 is strictly convex.
Part III — Jacobi’s formula.
Prove
det(I+H)=1+trH+O(∣∣∣H∣∣∣2)
(expand det(e1+h1,…,en+hn) by multilinearity in the columns: terms with at least two h-columns are O(∣∣∣H∣∣∣2)): d(det)I=tr.
For A invertible, deduce
d(det)A(H)=det(A)tr(A−1H).
Show that for everyA (invertible or not), ∂aij∂det(A)=Cij, the (i,j) cofactor (Laplace expansion along row i), so that with the adjugate adjA=com(A)T:
d(det)A(H)=tr(adj(A)H),∇(det)(A)=com(A),
recovering question 11 when A is invertible (adjA=det(A)A−1). This is Jacobi’s formula: (detA(t))′=tr(adj(A(t))A′(t)).
(Liouville’s formula) Let A(t) be a C1 curve of matrices satisfying the linear differential equation A′(t)=M(t)A(t). Prove
Show that eA=∑k≥0k!Ak converges absolutely for every A, normally on every ball, with eA≤e∣∣∣A∣∣∣; and that eA depends continuously on A.
Prove that AB=BA implies eA+B=eAeB(Cauchy product, legitimate by absolute convergence); deduce that eA is always invertible, with inverse e−A: exp maps Mn(R) into GLn(R).
Show that t↦etA is C1 (indeed C∞) with
dtdetA=AetA=etAA
(differentiate the series term by term on segments: the derived series converges normally).
Prove the identity
det(eA)=etrA
(apply Liouville’s formula, question 13, to A(t)=etA). Sanity checks: n=1; nilpotent A; and the trace-zero matrices land in SLn(R).
Show eH=I+H+O(∣∣∣H∣∣∣2), so exp is differentiable at 0 with d(exp)0=id; conclude with the inverse function theorem (Theorem 15.14) that exp is a C1 diffeomorphism from a neighborhood of 0 onto a neighborhood of I: every matrix close to the identity has a logarithm.
Show that exp maps symmetric matrices to symmetricpositive definite matrices, bijectively (diagonalize; the inverse is the spectral logarithm).
Part V — The orthogonal group as a level set.
Let F(A)=ATA, from Mn(R) to the symmetric matrices Sn. Compute dFA(H)=ATH+HTA and show that at every A∈On=F−1(I) this differential is surjective onto Sn(given S∈Sn, try H=21AS): On is a smooth level set, of dimension n2−2n(n+1)=2n(n−1).
Show that every C1 curve A(t)∈On with A(0)=I has an antisymmetric velocity A′(0), and conversely that for antisymmetric K the curve etK stays in On: the tangent space of On at I is exactly the antisymmetric matrices.
Show deteK=1 for antisymmetric K (question 18): the exponential curve lives in the rotation group SOn. Compute it fully for n=2: with J=(01−10), prove
eθJ=(cosθsinθ−sinθcosθ):
the matrix exponentialis the rotation by θ, and the series definitions of cosine and sine reappear inside a matrix.
(The density trick) Using the density of GLn(R) (question 3) and continuity, extend from invertible to all matrices the identity
adj(AB)=adj(B)adj(A)
(for invertible A,B both sides equal det(AB)(AB)−1; both sides are polynomial in the entries).
Synthesis. In one sentence each: (i) which earlier chapters provided the engine of each Part (completeness and normed algebras; the spectral theorem; the inverse function theorem); (ii) which formula of this problem the differential-equations chapter will lean on, and where; (iii) what d(det)I=tr and deteA=etrA say about trace and determinant as “infinitesimal and global volume”; (iv) what the Year 3 volume makes of questions 21–23 (Lie groups and their Lie algebras).
Solution
Solution of Problem 15.1.
1.∥ABx∥≤∣∣∣A∣∣∣∥Bx∥≤∣∣∣A∣∣∣∣∣∣B∣∣∣∥x∥: take the sup over ∥x∥=1. Matrix products, det and tr are polynomial functions of the entries, hence continuous (Mn(R)≃Rn2, all norms equivalent: Theorem 5.13).
2.∑Xk≤∑∣∣∣X∣∣∣k<∞: the series converges absolutely, hence converges (Theorem 5.21). From (I−X)∑k≤NXk=I−XN+1→I: the sum is (I−X)−1. Norm: ≤∑∣∣∣X∣∣∣k=1−∣∣∣X∣∣∣1; and
3.A+H=A(I+A−1H) with A−1H≤A−1∣∣∣H∣∣∣<1: invertible by question 2: the open ball of radius A−1−1 around A lies in GLn(R). Density: det(A+εI) is a degree-n polynomial in ε with leading coefficient 1: it has finitely many roots, so there are εk→0 with A+εkI invertible, converging to A.
4. For ∣∣∣H∣∣∣<2∣∣∣A−1∣∣∣1:
(A+H)−1−A−1=[(I+A−1H)−1−I]A−1,
of norm at most 1−∣∣∣A−1H∣∣∣∣∣∣A−1H∣∣∣A−1≤2A−12∣∣∣H∣∣∣→0: Φ is continuous at every A∈GLn(R).
5.(A+H)2=A2+AH+HA+H2: the map H↦AH+HA is linear and the error H2 is O(∣∣∣H∣∣∣2). Expanding (A+H)k and sorting by the number of H-factors: the linear part is ∑i=0k−1AiHAk−1−i, and the terms with ≥2 factors H are bounded by (2k)-many products of norm≤∣∣∣A∣∣∣k−2∣∣∣H∣∣∣2-scale: O(∣∣∣H∣∣∣2). One cannot collapse the sum to kAk−1H because H and A need not commute — the sum is the correct noncommutative derivative.
dΦA(H)=−A−1HA−1, linear in H. For n=1: d(1/a)(h)=−h/a2, the familiar derivative.
7. Chain rule along the curve: (A(t)−1)′=dΦA(t)(A′(t))=−A(t)−1A′(t)A(t)−1. At A(t)=I+tB, t=0: (I+tB)−1=I−tB+O(t2).
8. By question 5 and cyclic invariance of the trace:
dfA(H)=tr(i=0∑k−1AiHAk−1−i)=ktr(Ak−1H).
Against the Frobenius product, dfA(H)=tr((∇f)TH) requires (∇f)T=kAk−1: ∇f(A)=k(Ak−1)T.
9.f(A+H)−f(A)=2tr(ATH)+tr(HTH): the differential is H↦2tr(ATH)=2⟨A,H⟩, so ∇f(A)=2A; the second-order term is exactly ∥H∥F2: the Hessian is twice the identity quadratic form, positive definite and constant, so ∥⋅∥F2 is strictly convex (the Taylor formula is exact here).
10. By multilinearity in the columns, det(I+H)=∑S⊆{1,…,n}det(MS) where MS has column hj for j∈S and ej otherwise. S=∅ gives 1; S={j} gives the determinant of I with column j replaced by hj, namely its j-th entry hjj, summing to trH; each term with ∣S∣≥2 is a determinant with at least two columns of size O(∣∣∣H∣∣∣), hence O(∣∣∣H∣∣∣2) (multilinear maps on a finite-dimensional space are bounded), and there are finitely many. So det(I+H)=1+trH+O(∣∣∣H∣∣∣2): d(det)I=tr.
11.det(A+H)=detAdet(I+A−1H)=detA(1+tr(A−1H)+O(∣∣∣H∣∣∣2)): the differential is H↦det(A)tr(A−1H).
12. Laplace expansion along row i: detA=∑jaijCij, and the cofactors Cij do not involve row i: ∂aij∂det=Cij. Hence
For invertible A, adjA=det(A)A−1 recovers question 11. Along a C1 curve, the chain rule reads (detA(t))′=tr(adj(A(t))A′(t)): Jacobi’s formula.
13. With A′=MA and adj(A)A=det(A)I:
(detA)′=tr(adj(A)MA)=tr(Aadj(A)M)=detAtrM
(cyclicity; AadjA=det(A)I as well). The scalar linear ODE y′=tr(M(t))y has the unique solution y(t)=y(0)exp(∫0ttrM) (Year 1): Liouville’s formula.
14. At A∈SLn(R), take H=n1A: d(det)A(n1A)=n1det(A)tr(A−1A)=n1⋅1⋅n=1=0: the differential is a nonzero linear form, hence surjective onto R at every point of the level set: SLn(R) is a smooth level set (of dimension n2−1).
15.∑kAk/k!≤∑∣∣∣A∣∣∣k/k!=e∣∣∣A∣∣∣: absolute convergence (question 2’s completeness argument), with normal convergence on every ball ∣∣∣A∣∣∣≤R (bound Rk/k! independent of A). Each partial sum is continuous (polynomial); the uniform limit on balls is continuous: A↦eA is continuous, with eA≤e∣∣∣A∣∣∣.
the binomial identity requiring AB=BA. With B=−A: eAe−A=e0=I: every eA∈GLn(R).
17. The series ∑tkAk/k! and its derived series ∑tk−1Ak/(k−1)!=A∑tk−1Ak−1/(k−1)! converge normally on every segment ∣t∣≤T (bounds Tk∣∣∣A∣∣∣k/k!): the differentiation theorem for series (Theorem 10.11, applied entry by entry) gives dtdetA=AetA; factoring A on the right instead gives etAA. Iterating: C∞.
18.A(t)=etA satisfies A′(t)=AA(t): Liouville’s formula (question 13) with constant M=A gives detetA=ettrA (value 1 at t=0); at t=1, deteA=etrA. Checks: n=1 is the exponential itself; a nilpotent A has trA=0 and eA unipotent of determinant1; trA=0 gives deteA=1: the trace-zero matrices are sent into SLn(R).
19.eH−I−H=∑k≥2Hk/k!, of norm≤∣∣∣H∣∣∣2e∣∣∣H∣∣∣=O(∣∣∣H∣∣∣2): d(exp)0=id, invertible. Moreover exp is C1: by question 5, the differential candidate H↦∑kk!1∑iAiHAk−1−i is a normally convergent series of linear maps depending continuously on A (bounds ∣∣∣A∣∣∣k−1/(k−1)! on balls), so the partials exist and are continuous (Theorem 15.2 and the series transfer theorem). The inverse function theorem (Theorem 15.14) applies at 0: exp is a C1 diffeomorphism of a neighborhood of 0 onto a neighborhood of I — matrices near I have logarithms.
20. For symmetricS=PDPT (spectral theorem): eS=PeDPT is symmetric with eigenvalueseλi>0: positive definite. Surjectivity: a positive definite Q=Pdiag(μi)PT (μi>0) is eS for S=Pdiag(lnμi)PT. Injectivity: eS determines its eigenspaces, which are exactly those of S (on each eigenspace of S for λ, eS acts as eλ; distinct λ give distinct eλ), and taking ln of the eigenvalues recovers S. So exp is a bijection from symmetric matrices onto positive definite ones.
21.F(A+H)=ATA+ATH+HTA+HTH: dFA(H)=ATH+HTA (values in Sn; error O(∣∣∣H∣∣∣2)). At A∈On and for S∈Sn, the choice H=21AS gives
AT⋅21AS+21(AS)TA=21S+21ST=S:
surjective. On=F−1(I) is a smooth level set of dimension n2−dimSn=2n(n−1).
22. Differentiating A(t)TA(t)=I at t=0 (with A(0)=I): A′(0)T+A′(0)=0: antisymmetric. Conversely, for KT=−K: (etK)TetK=etKTetK=e−tKetK=I (transpose the series termwise; the exponents commute): the curve stays in On, with velocity K at t=0. Tangent space at I= the antisymmetric matrices, of the expected dimension 2n(n−1).
23.trK=0 for antisymmetric K, so deteK=e0=1 (question 18): the exponential lands in SOn. For n=2: J2=−I, so J2m=(−1)mI, J2m+1=(−1)mJ, and
the rotation by θ: the sine and cosine series live inside the matrix exponential.
24. For invertible A,B: adj(AB)=det(AB)(AB)−1=det(B)det(A)B−1A−1=adj(B)adj(A). Both sides of the identity are polynomial (hence continuous) maps of the entries of (A,B); they agree on the dense subset GLn×GLn of Mn×Mn (question 3: approximate each factor), so they agree everywhere.
25. (i) Part I ran on completeness of finite-dimensional normed spaces (absolutely convergent series converge), Part IV on the same plus the spectral theorem for question 20, Part V’s local logarithm on the inverse function theorem. (ii) The differential-equations chapter leans on Liouville’s formula (question 13) for the Wronskian of linear systems, and on dtdetA=AetA (question 17), which is the statement that etA solves X′=AX. (iii) d(det)I=tr says the trace is the infinitesimal rate of volume change, and deteA=etrA integrates that statement globally. (iv) The Year 3 volume names the structures: On and SLn(R) are Lie groups, their tangent spaces at I (antisymmetric and trace-zero matrices) are Lie algebras, and exp is the bridge between them.