A tangent plane matches a surface’s height and tilt at one point, but it cannot see whether the surface curves up like a bowl or bends like a saddle. Adding second derivatives fixes that. The resulting quadratic model is the natural next step when a linear approximation is too crude, and it is the tool behind the second derivative test for extrema. The same idea continues to cubic and higher models, and Taylor’s theorem says how large the error can be.
Key terms
Symmetry of mixed partials
Definition Let be defined on an open set . If the second partial derivatives and exist and are continuous on , then
This is Clairaut’s theorem. In particular it holds for every of class on , and for of class on every partial derivative of order at most is independent of the order of differentiation. Without continuity the mixed partials can differ.
In plain words For well behaved functions it does not matter whether you differentiate in first or in first. The continuity hypothesis is not decoration, it is what makes the result true.
Example For both orders give . Now take for and . A direct computation gives and . Differentiating the first in gives at the origin, and differentiating the second in gives . The two mixed partials disagree, and indeed they are not continuous at .
Hessian
Definition Let have all second partial derivatives at a point of an open set . The Hessian matrix of at is the matrix
For two variables,
When is on , Clairaut’s theorem makes a symmetric matrix.
In plain words The Hessian collects all the second derivatives in one table. It plays the role that plays in one variable.
Example For the second partials are , and . At
Quadratic forms
Definition A quadratic form on is a function , where is a symmetric matrix and is a column vector. In coordinates . For and
the two off diagonal entries contribute equally, and
In plain words A quadratic form is a polynomial in which every term has degree exactly two. The factor in front of the mixed term comes from the two equal entries above and below the diagonal.
Example Take
The four entries give , which combines to . At the value is .
Second-order Taylor polynomial
Definition Let be on an open set containing , and write . The second-order Taylor polynomial of centered at is
For two variables with , and , the quadratic part is
with all derivatives taken at . It is the only polynomial of degree at most whose value and first and second partial derivatives at agree with those of .
In plain words Start with the height at the center, add the tangent plane, then add a quadratic correction that bends the model the way the surface bends. Always write the powers of and , never of and , unless the center is the origin.
Example Take centered at . Here , and the Hessian is the one above, so
At the model gives , while the true value is .
Multi-index notation
Definition A multi-index is an -tuple of nonnegative integers. Its order is , and for in
The partial derivative differentiates times in for each . If is on an open set containing , the Taylor polynomial of order centered at is
In plain words A multi-index records how many times you differentiate in each variable. Each mixed derivative appears once in the sum, and dividing by accounts for all the orders in which the same derivatives could be taken.
Example Find the cubic model of at the origin. The nonzero coefficients come from , , and , with derivatives at the origin, so
For we have , which gives the . The same answer comes from multiplying by and keeping terms of degree at most . For the formula agrees with the Hessian version, because has and so carries the full mixed term .
Remainder
Definition Let be on an open set containing the segment from to . Then there is a number with such that , where
This is Taylor’s theorem with the Lagrange form of the remainder. For it reads .
In plain words The error looks like the next term of the series, except that the derivatives are evaluated at some unknown point on the segment instead of at the center.
Example For at the origin, . Every second partial is , so
At the actual error is . The formula gives , which matches for , a number strictly between and as promised.
Approximation error
Definition There are two kinds of error statements. The asymptotic one says that if is on an open set containing , then
It describes how fast the error shrinks but gives no number for a particular . The quantitative one follows from the remainder. Assume is on an open set containing the segment from to . If at every point of the segment for every with , then
In plain words The first statement says the model gets very good very fast as you approach the center. The second gives an actual guaranteed error, once you bound the next derivatives along the segment you use.
Example For and its quadratic model at , the third partials are , , and . On the segment to we have and , so all of them are at most . With ,
The actual error found earlier is about , safely inside the bound.
Check yourself
- Find the second-order Taylor polynomial of centered at the origin.
Show the answer
At the origin and . Every second partial is times , or , so the Hessian at the origin is
Therefore
- Write as a polynomial and evaluate it at , where
Show the answer
The form is , with the coming from the two entries equal to . At it equals .
- Use the remainder to show that the linear model of at the origin is off by at most at .
Show the answer
The function is on , and its second partials are times , and . The remainder formula with gives, for some number between and ,
Since , the error is at most . The actual error is .