






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Linear and quadratic approximation, Taylor’s Theorem for functions.
Typology: Lecture notes
1 / 10
This page cannot be seen from the preview
Don't miss anything!







Consider the function f(x, y). Recall that we can approximate f(x, y) with a linear function in x and y:
f(x, y) ⇡ f(a, b) + f (^) x (a, b) (x a) + f (^) y (a, b) (y b)
Notice that again this is just a linear polynomial in two-variables that does a good job of approximating f near the point (x, y) = (a, b). It’s also exactly the equation of the tangent plane to the surface f at the point (a, b).
Example 53
Find the linear approximation to f(x, y) = xe y^ at the point (0, 0).
We need evaluate the function and its first partial derivatives at the point (0, 0). We have
f = xe y^ f (0, 0) = 0 f (^) x = e y^ f (^) x (0, 0) = 1 f (^) y = xe y^ f (^) y (0, 0) = 0
Then the linear approximation is
f(x, y) ⇡ 0 + (1 · (x 0) + 0 · (y 0)) = x = L(x, y)
Example 54
Use L(x, y) to approximate f(x, y) = xe y^ at the point (0. 05 , 0 .05) and find the error in the approximation.
L(0. 05 , 0 .05) = 0. 05 f(0. 05 , 0 .05) = 0. 05 e 0.^05 = 0. 052564
|E(0. 05 , 0 .05)| = |L(0. 05. 0 .05) f(0. 05 , 0 .05)| = 2. 5 ⇥ 10 ^3
OK, that’s pretty good. But what if we need to do better? The linearization is the best approximation by a linear polynomial of f(x, y) near the point (0, 0). It’s natural to ask if we can get a better approximation if we use a quadratic polynomial.
It turns out that we can. The quadratic approximation of f(x, y) near the general point (a, b) is given by
f(x, y) ⇡ f(a, b) + f (^) x (a, b) (x a) + f (^) y (a, b) (y b) + 1 2
f (^) xx (a, b) (x a) 2 + 2f (^) xy (a, b) (x a) (y b) + f (^) yy (a, b) (y b) 2
Notice that the first three terms in the approximation are just the linearization of f(x, y) about the point (a, b). The additional terms are quadratic in x and y and involve the second partial derivatives of f evaluated at the point (a, b).
Example 55
Find a quadratic approximation to f(x, y) = xe y^ at the point (0, 0).
We already computed the value of the function and it’s first partial derivatives at the point (0, 0) when computing the linearization in the previous example. Now we need the second partials.
f (^) xx = 0 f (^) xx (0, 0) = 0 f (^) xy = e y^ f (^) xy (0, 0) = 1 f (^) yy = xe y^ f (^) yy (0, 0) = 0
Then the quadratic approximation is
f(x, y) ⇡ L (x, y) +
0 · (x 0) 2 + 2 · 1 · (x 0) (y 0) + 0 · (y 0) 2
⇡ x + xy = Q(x, y)
Example 56
Use Q(x, y) to approximate f(x, y) = xe y^ at the point (0. 05 , 0 .05) and find the error in the approximation.
Q(0. 05 , 0 .05) = 0.05 + (0.05) 2 = 0. 0525 f(0. 05 , 0 .05) = 0. 05 e 0.^05 = 0. 052564
|E(0. 05 , 0 .05)| = |Q(0. 05. 0 .05) f(0. 05 , 0 .05)| = 6. 4 ⇥ 10 ^5
Notice that, not surprisingly, the quadratic approximation has a smaller error than the linear approximation.
Taylor’s Theorem for Functions of Two Variables
OK, so how do we do this for functions of two variables? It turns out it’s pretty straightfor- ward and very similar to Taylor’s Theorem for functions of one variable. But to do this we need to introduce some new notation. First, let x = (x a) and y = (y b). Then we define a special operator as follows