UNIHIVE

Study Hub UNIPORT MTH 320

MTH 320 · Real Analysis II

Higher derivatives, mean value theorems and Taylor's theorem

Second partial derivatives and the equality of mixed partials, the mean value theorem in several variables, and Taylor's formula with the Hessian.

Our notes

2 min read

Higher partial derivatives

Second partials: ∂²f/∂x², ∂²f/∂y², and the mixed partials ∂²f/∂x∂y and ∂²f/∂y∂x.
Schwarz's (Clairaut's) theorem: if the mixed partials exist and are continuous near a, they are equal at a.

Worked check of Schwarz's theorem

f(x, y) = x³y² + sin(xy).

  • f_x = 3x²y² + y cos(xy); f_xy = 6x²y + cos(xy) − xy sin(xy).
  • f_y = 2x³y + x cos(xy); f_yx = 6x²y + cos(xy) − xy sin(xy).

Equal, as the theorem predicts.
Without continuity they can differ: the classic f(x, y) = xy(x² − y²)/(x² + y²), f(0, 0) = 0, has f_xy(0, 0) = −1 and f_yx(0, 0) = 1.

The mean value theorem in several variables

If f: ℝⁿ → ℝ is differentiable on an open set containing the segment from a to b, there is c on the segment with
f(b) − f(a) = ∇f(c) · (b − a).
Proof: apply the one-variable mean value theorem to g(t) = f(a + t(b − a)) on [0, 1], using the chain rule g'(t) = ∇f(a + t(b − a)) · (b − a).
Consequence: if ∇f = 0 on a connected open set, f is constant there.
For vector-valued f there is no exact mean value equality, only the inequality ‖f(b) − f(a)‖ ≤ sup ‖Df‖ ‖b − a‖.

Taylor's theorem

For f of class C² near a, with h = (h₁, ..., hₙ):
f(a + h) = f(a) + ∇f(a) · h + ½ hᵀ H(a) h + remainder,
where H is the Hessian matrix of second partials (symmetric under Schwarz's theorem). In two variables:
f(a + h, b + k) ≈ f + h f_x + k f_y + ½(h² f_xx + 2hk f_xy + k² f_yy), all evaluated at (a, b).
The remainder can be written using second (or higher) derivatives at a point on the segment, as in one variable.

Worked example

f(x, y) = eˣ cos y about (0, 0):
f = 1, f_x = 1, f_y = 0, f_xx = 1, f_xy = 0, f_yy = −1 at the origin.
Second-order Taylor polynomial: 1 + x + (x² − y²)/2.
Check: eˣ cos y = (1 + x + x²/2 + ...)(1 − y²/2 + ...) = 1 + x + x²/2 − y²/2 + higher terms.

Why the Hessian matters

At a critical point (∇f = 0), Taylor's formula shows f(a + h) − f(a) ≈ ½ hᵀ H h, so the sign behaviour of the quadratic form decides maxima, minima and saddles (next topic but one).

Exams usually ask

  • State and prove the mean value theorem for functions of several variables.
  • Find the second-order Taylor expansion of a given function about a point.

Common mistake

Forgetting the factor 2 on the mixed term: the quadratic part is h² f_xx + 2hk f_xy + k² f_yy, all multiplied by ½.

Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.

No reading links here yet

Our team adds free books, videos and practice for each topic, and opens every link before it goes up.

All MTH 320 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.