Thomas’ Calculus · Chapter 14 · Section 14.9
By Muhammad Abdullah Athar · SymPy Verified
Taylor's Formula for Two Variables
Read this page the way you would a book: first the notes, then the key ideas, then every worked example in order — each step explains not only what to do, but why it works.
Part One
Section Notes
Section 14.9: Taylor's Formula for Two Variables
Taylor polynomials approximate multivariable functions near a base point using higher-order partial derivatives.
1. Second-Order Taylor Polynomial at
In vector notation with :
where is the symmetric Hessian matrix:
Part Two
Key Ideas to Remember
2 essential statements for this section, each with a plain-words explanation.
Taylor's Formula for Two Variables
If f and its partial derivatives through order n+1 are continuous on an open disk centered at (a, b), then f can be approximated near (a, b) by its n-th degree Taylor polynomial with remainder term.
Conditions: f has continuous partial derivatives through order n+1
Remember — Enables quadratic and higher-order polynomial approximations of multivariable surfaces.
Quadratic (Second-Order) Taylor Polynomial
The quadratic Taylor polynomial Q(x, y) of f about (0, 0) matches the value, gradient, and Hessian matrix of f at the origin.
Conditions: Continuous second partial derivatives
Remember — The Hessian quadratic form dictates local surface concavity and extrema.
Part Three
Worked Examples
5 exercises, solved in full. Every answer has been checked symbolically with SymPy before printing.
Example 01(Section 14.9, Exercise 1)
Core practiceProblem. Find the second-order Taylor polynomial P_2(x, y) for f(x, y) = exp(x) cos(y) about (0, 0).
Step-by-Step Derivation (3 steps)
Compute Partial Derivatives Through Order 2 at (0, 0)
Evaluate value and first-order partials.
Evaluate Second-Order Partials at (0, 0)
Differentiate to obtain all second partial derivatives.
Assemble Taylor Polynomial
Combine into quadratic polynomial.
Answer:
✓ Verified by SymPy CAS
Example 02(Section 14.9, Exercise 2)
Warm-upProblem. Find the quadratic Taylor polynomial for f(x, y) = sin(x) sin(y) about (0, 0).
Step-by-Step Derivation (2 steps)
Evaluate Single Variable Series Products
Multiply the single-variable Maclaurin series.
Truncate to Degree <= 2
The only term of degree <= 2 is the cross-product term xy.
Answer:
✓ Verified by SymPy CAS
Example 03(Section 14.9, Exercise 3)
Core practiceProblem. Find the quadratic Taylor polynomial for f(x, y) = 1 / (1 - x - y) about (0, 0).
Step-by-Step Derivation (2 steps)
Apply Geometric Series Formula
Set u = x + y for |x + y| < 1.
Expand and Collect Terms Through Degree 2
Expand the square (x + y)^2 = x^2 + 2xy + y^2.
Answer:
✓ Verified by SymPy CAS
Example 04(Section 14.9, Exercise 4)
Core practiceProblem. Compute the Hessian determinant H = f_{xx} f_{yy} - (f_{xy})^2 for the quadratic form f(x, y) = x^2 + 3xy + 2y^2 and determine its definiteness.
Step-by-Step Derivation (2 steps)
Compute Second Partial Derivatives
Differentiate quadratic terms.
Calculate Hessian Determinant
Evaluate discriminant D = 8 - 9 = -1.
Answer:
✓ Verified by SymPy CAS
Example 05(Section 14.9, Exercise 5)
ChallengeProblem. For f(x, y) = cos(x + y), linear approximation at (0, 0) is P_1(x, y) = 1. Bound the absolute approximation error for |x| <= 0.1 and |y| <= 0.1.
Step-by-Step Derivation (2 steps)
Bound Second Derivatives
All second partial derivatives are bounded by M = 1 in absolute value.
Apply Remainder Formula
Evaluate Taylor remainder upper bound.
Answer:
✓ Verified by SymPy CAS