Taylor Expansions in 2d
Taylor Expansions in 2d
Taylor Expansions in 2d
3
1 (3)
F
(t
)t
0
3!
You may have also found a formula for the error introduced
in making this approximation. The error En (t) is defined
by
2
1 00
F
(t
)t
0
2!
(n)
1
(t0 )tn + En (t)
n! F
(n+1)
n+1
1
F
(t
)t
(n+1)!
We now generalize to functions of more than one variable. Suppose we wish to approximate f (x0 + x, y0 + y)
for x and y near zero. The trick is to write
f (x0 +x, y0 +y) = F (1) with F (t) = f (x0 +tx, y0 +ty)
and think of x0 , y0 , x and y as constants so that F is
a function of the single variable t. Then we can apply our
single variable formulae with t0 = 0 and t = 1. To do so
we need to compute various derivatives of F (t) at t = 0, by
applying the chain rule to
F (t) = f x(t), y(t) with x(t) = x0 + tx, y(t) = y0 + ty
d
dt x(t)
Since
(n)
(t) =
n
X
m=0
n n
f
m
nm
m xm y nm (x0 +tx, y0 +ty)x y
n
m
n!
is the standard binomial coefficient.
where
= m!(nm)!
So when t = 0,
t0 =0,t=1
F 0 (0) + 12 F 00 (0)
gives
f (x0 + x, y0 + y)
= f (x0 ,y0 )
+ fx (x0 ,y0 )x + fy (x0 ,y0 )y
+ 12 fxx (x0 ,y0 )x2 + 2fxy (x0 ,y0 )xy + fyy (x0 ,y0 )y 2
3
3
+ O x + y