Skip to content
LoveToCalc

Definition — what does that mean?

Second-order Taylor polynomial in two variables

The tangent plane, with the three second-order terms added: a quadratic surface that follows f(x, y) more closely near (a, b).

In Swedish: Taylorpolynom av grad 2 i två variabler

Second-order Taylor polynomial in two variables

The relation

P2=f(a, b)+fx(x−a)+fy(y−b)+fxx(x−a)²+2fxy(x−a)(y−b)+fyy(y−b)²2

Near (a, b), f(x, y) is approximated by f(a, b) + ∂f/∂x·h + ∂f/∂y·k + ½(∂²f/∂x²·h² + 2·∂²f/∂x∂y·h·k + ∂²f/∂y²·k²), with h = x − a and k = y − b: the tangent plane plus the second-order terms.

Solve for

P2=5.0625

P 2 equals ((4 plus (12 times (1.1 minus 1))) plus (4 times (1.95 minus 2))) plus ((((24 times (1.1 minus 1) squared) plus ((2 times 12) times ((1.1 minus 1) times (1.95 minus 2)))) plus (2 times (1.95 minus 2) squared)) divided by 2), equals ((4 plus (12 times 0.1)) plus (4 times (−0.05))) plus ((((24 times 0.1 squared) plus (24 times (0.1 times (−0.05)))) plus (2 times (−0.05) squared)) divided by 2), equals ((4 plus 1.2) plus (−0.2)) plus ((((24 times 0.01) plus (24 times (−0.005))) plus (2 times 0.0025)) divided by 2), equals (5.2 plus (−0.2)) plus (((0.24 plus (−0.12)) plus 0.005) divided by 2), equals 5 plus ((0.12 plus 0.005) divided by 2), equals 5 plus (0.125 divided by 2), equals 5 plus 0.0625, equals 5.0625

Working8 steps

Practice questions

You are given

  • f(a, b)=2
  • fx=1
  • x=1
  • a=0
  • fy=1
  • y=1
  • b=3
  • fxx=6
  • fxy=-2
  • fyy=2

The formula

Here h = x − a and k = y − b are the steps from the centre, and all six numbers, f(a, b), the two first partials and the three second partials, are taken at (a, b). The first three terms are the tangent plane. The card takes the six numbers, the centre (a, b) and the point (x, y), and returns P2. Along a line where y stays at b, k is 0 and the formula is the Taylor polynomial of degree 2 of one variable.

The cross term has a 2 because fxy stands for two mixed partials, fxy and fyx, which are equal when they are continuous (mixed partial derivatives). The second-order part is the quadratic form of the Hessian matrix, the matrix of second partials, in the step (h, k); see quadratic form.

Holds when f has continuous second partial derivatives near (a, b) and (x, y) is close to (a, b). The error is then small compared with the square of the distance, and with continuous third partials it is at most a constant times the cube of the distance.

Worked example: x³y² near (1, 2)

For f(x, y) = x³y² the numbers at (1, 2) are f = 4, fx = 3x²y² = 12, fy = 2x³y = 4, fxx = 6xy² = 24, fxy = 6x²y = 12 and fyy = 2x³ = 2. Read at (1.1, 1.95), the steps are h = 0.1 and k = −0.05, and the polynomial comes to 5.0625:

The function itself is 1.1³ · 1.95² ≈ 5.0611. The tangent plane misses by about 0.061 and the second-order polynomial by about 0.0014. Halving both steps divides that remaining error by about eight.

A second example: a function that is its own polynomial

For f(x, y) = xy about (0, 0) the numbers are f = 0, fx = fy = 0, fxx = fyy = 0 and fxy = 1. Everything comes from the cross term: P2 = ½ · 2 · 1 · h · k = hk, so P2(3, 2) = 6, exactly xy. A function that is already a polynomial of degree at most two equals its second-order polynomial about any centre, which is a way to test the formula.

Common mistakes

Frequently asked questions

How does this differ from the tangent plane? The tangent plane has the right value and the right slopes at (a, b). The polynomial on this page also has the right curvature in every direction, so it stays close to the surface over a larger neighbourhood.

What is it used for? At a stationary point the first-order terms are 0 and only the second-order part is left, which is why the second-derivative test for two variables classifies the point by the Hessian determinant.

Is there a third-order term? Yes, with the third partials fxxx, fxxy, fxyy and fyyy and the coefficients 1, 3, 3, 1 over 6. This page stops at degree 2.

Looking for another letter? The formula solved for each one
Solved for each letter
Solve forRearrangedWith the numbersComes to
P2f(a, b)+fx(x−a)+fy(y−b)+fxx(x−a)²+2fxy(x−a)(y−b)+fyy(y−b)²24+12(1.1−1)+4(1.95−2)+24(1.1−1)²+2·12(1.1−1)(1.95−2)+2(1.95−2)²25.0625
f(a, b)P2−fx(x−a)−fy(y−b)−fxx(x−a)²+2fxy(x−a)(y−b)+fyy(y−b)²25.0625−12(1.1−1)−4(1.95−2)−24(1.1−1)²+2·12(1.1−1)(1.95−2)+2(1.95−2)²24
fxP2−f(a, b)−fy(y−b)−fxx(x−a)²+2fxy(x−a)(y−b)+fyy(y−b)²2x−a5.0625−4−4(1.95−2)−24(1.1−1)²+2·12(1.1−1)(1.95−2)+2(1.95−2)²21.1−112
fyP2−f(a, b)−fx(x−a)−fxx(x−a)²+2fxy(x−a)(y−b)+fyy(y−b)²2y−b5.0625−4−12(1.1−1)−24(1.1−1)²+2·12(1.1−1)(1.95−2)+2(1.95−2)²21.95−24
fxx2(P2−(f(a, b)+fx(x−a)+fy(y−b)))−2fxy(x−a)(y−b)−fyy(y−b)²(x−a)²2(5.0625−(4+12(1.1−1)+4(1.95−2)))−2·12(1.1−1)(1.95−2)−2(1.95−2)²(1.1−1)²24
fxy2(P2−(f(a, b)+fx(x−a)+fy(y−b)))−fxx(x−a)²−fyy(y−b)²2(x−a)(y−b)2(5.0625−(4+12(1.1−1)+4(1.95−2)))−24(1.1−1)²−2(1.95−2)²2(1.1−1)(1.95−2)12
fyy2(P2−(f(a, b)+fx(x−a)+fy(y−b)))−fxx(x−a)²−2fxy(x−a)(y−b)(y−b)²2(5.0625−(4+12(1.1−1)+4(1.95−2)))−24(1.1−1)²−2·12(1.1−1)(1.95−2)(1.95−2)²2

Last reviewed November 8, 2026 ·How pages are reviewed

CalculusAll formulas

Put this formula on your site

Copy the code into your page where the formula card should appear. It loads from lovetocalc.com, so it stays current on its own — all we ask is that the credit line comes with it.