Вы находитесь на странице: 1из 6

Teorema de Taylor

Para funciones suaves de una variable f : R R, el teorema de Taylor asegura que


f(x) = f(a) + f

(a)(x a) +
f

(a)
2!
(x a)
2
+ . . . +
f
k
(a)
k!
(x a)
k
+ R
k
(x, a)
donde R
k
(x, a) =
_
x
a
(x t)
k
k!
f
k+1
(t)dt es el residuo de x cerca de a, este error R
k
(x, a) es peque no de
orden k. Esto signica que
R
k
(x, a)
(x a)
k
0 cuando x a
Ahora si tenemos f : R
n
R diferenciable en x
0
y denimos R
1
(x, x
0
) = f(x) f(x
0
) [Df(x
0
)](xx
0
)
de modo que f(x) = f(x
0
)+[Df(x
0
)](xx
0
)+R
1
(x, x
0
) y como f es diferenciable en x
0
,
|R
1
(x, x
0
)|
|x x
0
|
0
cuando x x
0
, tomando h = x x
0
y R
1
(x, x
0
) = R
1
(h, x
0
) se obtiene la formula de Taylor 1
er
Orden
f(x
0
+ h) = f(x
0
) +
n

i=1
h
i
f
x
i
(x
0
) + R
1
(h, x
0
) donde
R
1
(h, 0)
h
0 si h 0
Ejemplo: Hallar la aproximacion de taylor de 1
er
orden para la funcion f(x, y) = sen(xy) con el punto
(x
0
, y
0
) = (1,

2
), tenemos que
f(x
0
, y
0
) = sen(x
0
y
0
) = sen(1

2
) = 1
f
x
(x
0
, y
0
) = y
0
cos(x
0
y
0
) =

2
cos(1

2
) = 0
f
y
(x
0
, y
0
) = x
0
cos(x
0
y
0
) = 1cos(1

2
) = 0
As, la aproximacion de primer orden es
L(x, y) = f(x
0
, y
0
) + f
x
(x
0
, y
0
)(x x
0
) + f
y
(x
0
, y
0
)(y y
0
) = 1 + 0 + 0 = 1
1
F ormula de Taylor de segundo orden
Sea f : u R R
n
con derivadas parciales continuas hasta tercer orden.
Entonces podemos escribir
f(x
0
+ h) = f(x
0
) +
n

i=1
h
i
f
x
i
(x
0
) +
1
2
n

i,j=1
h
i
h
j

2
t
x
i
x
j
(x
0
) + R
2
(h, x
0
)
donde
R
2
(h, x
0
)
h
2
0 cuando h 0 y la segunda suma es sobre todas las i y j entre 1 y n.
Dem: Si g(t) = f(x
0
+ th) aplicamos el Teorema de taylor de una variable.
g(1)f(x
0
+ h)
g(0) = f(x
0
) g(1) = g(0) + g

(0) +
g

(0)
2!
+ R
2
donde R
2
=
_
1
0
(t 1)
2
2!
g

(t)dt
ahora por la regla de la cadena g

(t) =
n

i=1
f
x
i
(x
0
+ th)h
i
y g

(t) =
n

i,j=1

2
t
x
i
x
j
(x
0
+ th)h
i
h
j
g

(t) =
n

i,j,k=1

3
t
x
i
x
j
x
k
(x
0
+ th)h
i
h
j
h
k
y escribiendo R
2
= R
2
(h, x
0
) tenemos que
f(x
0
+ h) = f(x
0
) + h
i
n

i=1
f
x
i
(x
0
) +
1
2
n

i,j

2
t
x
i
x
j
(x
0
)h
i
h
j
+ R
2
(h, x
0
) donde
R
2
(h, x
0
) =
n

i,j,k=1
_
1
0
(t 1)
3
3


3
x
i
x
j
x
k
(x + th)h
i
h
j
h
k
. El integrando es una funcion continua de t
y por lo tanto esta acotado en una vecindad peque na de x
0
, tambien notese que |h
j
| h para h
peque na y as |R
2
(h
1
x
0
)| h
3
M en particular
R
2
(h, x
0
)
h
2
hM 0 cuando h 0
Ejemplo: Calcular la formula de taylor de segundo orden para f(x, y) = sen(x+2y) alrededor del punto
x
0
= (0, 0)
tenemos que f(0, 0) = sen(0 + 2(0)) = 0
f
x

(0,0)
= cos(x + 2y)|
(0,0)
= cos(0 + 2 0) = 1
f
y

(0,0)
= cos(x + 2y) 2|
(0,0)
= 2

2
f
x
2

(0,0)
= sen(x + 2y)|
(0,0)
= 0

2
f
y
2

(0,0)
= sen(x + 2y) 4|
(0,0)
= 0

2
f
yx

(0,0)
= sen(x + 2y) 2|
(0,0)
= 0
2

2
f
xy

(0,0)
= 2sen(x + 2y)|
(0,0)
= 0
la aproximacion de taylor de 2
do
orden queda f(h) = f(0) + h
1
(1) + 2h
2
+ 0 + 0 + R
2
(h, 0)
= h
1
+ 2h
2
+ R(h, 0)
Ejemplo: Determinar la formula de taylor de 2
do
orden para f(x, y) = (x + y)
2
si x
0
= 0 = y
0
tenemos que f(0, 0) = 0
f
x

(0,0)
= 2(x + y)|
(0,0)
= 0
f
y

(0,0)
= 2(x + y)|
(0,0)
= 0

2
f
x
2

(0,0)
= 2|
(0,0)
= 2

2
f
y
2

(0,0)
= 2|
(0,0)
= 2

2
f
yx

(0,0)
= 2|
(0,0)
= 2

2
f
xy

(0,0)
= 2|
(0,0)
= 2
la aproximacion de taylor de 2
do
orden es
f(h) = 0 +
2(h
1
)
2
2
+
2(h
2
)
2
2
+
1
2
h
1
h
2
+
1
2
h
1
h
2
+ R
2
(h, 0) = (h
1
)
2
+ (h
2
)
2
+ 2h
1
h
2
+ R
2
(h, 0)
Ejemplo: Determinar taylor para f(x, y) = e
x+y
con x
0
= 0 = y
0
tenemos que f(0, 0) = 1
f
x

(0,0)
= e
x+y
|
(0,0)
= 1
f
y

(0,0)
= e
x+y
|
(0,0)
= 1

2
f
x
2

(0,0)
= e
x+y
|
(0,0)
= 1

2
f
y
2

(0,0)
= e
x+y
|
(0,0)
= 1

2
f
yx

(0,0)
= e
x+y
|
(0,0)
= 1

2
f
xy

(0,0)
= e
x+y
|
(0,0)
= 1
la aproximacion de 2
do
orden de taylor es
f(h) = 1 + 1(h
1
) + 1(h
2
) +
(h
1
)
2
2
+
(h
2
)
2
2
+ h
1
h
2
+ R
2
(h, 0)
Ejemplo: Calcular la formula de taylor de segundo orden para f(x, y) = e
x
cosy con x
0
= 0 = y
0
tenemos que f(0, 0) = 1
f
x

(0,0)
= e
x
cosy|
(0,0)
= 1
f
y

(0,0)
= e
x
seny|
(0,0)
= 0

2
f
x
2

(0,0)
= e
x
cosy|
(0,0)
= 1

2
f
y
2

(0,0)
= e
x
cosy|
(0,0)
= 1

2
f
yx

(0,0)
= 0

2
f
xy

(0,0)
= 0
la aproximacion de 2
do
orden de taylor es
f(h) = 1 + h
1
+
1
2
h
1
+
1
2
(h
1
)
2
+
1
2
+ (h
2
)
2
+ R
2
(h, 0) donde
R
2
(h, 0)
h
2
0 si h 0
3
Ejemplo: Calcular la formula de taylor de segundo orden para f(x, y) = e
x
cosy alrrededor x
0
= 0 = y
0
f(0, 0) = e
0
cos(0) = 1
f
x
(0, 0) = e
x
cosy|
(0,0)
= e
0
cos(0) = 1
f
y
(0, 0) = e
x
seny|
(0,0)
= 0
f
xx
(0, 0) = e
x
cosy|
(0,0)
= 1
f
yy
(0, 0) = e
x
cosy|
(0,0)
= 1
f
xy
(0, 0) = 0
f(h) = 1 + h
1
+
1
2
(h
1
)
2

1
2
(h
2
)
2
+ R
2
(h, 0) donde
R
2
(h, 0)
h
2
0 cuando h 0
Ejemplo: Calcular la formula de taylor de segundo orden para f(x, y) = sen(xy) + cos(xy) alrrededor
x
0
= 0 = y
0
f(0, 0) = 1
f
x
(0, 0) = cos(xy) y sen(xy) y|
(0,0)
= 0
f
y
(0, 0) = cos(xy) x sen(xy) x|
(0,0)
= 0
f
xx
(0, 0) = sen(xy) y
2
cos(xy) y
2

(0,0)
= 0
f
yy
(0, 0) = sen(xy) x
2
cos(xy) x
2

(0,0)
= 0
f
xy
(0, 0) = y(sen(xy)y + y
2
(sen(xy)) (y
2
cos(xy) + ysen(xy))

(0,0)
= 0
f
yx
(0, 0) = x(sen(xy)x + cos(xy)1 x(cos(xy)x (sen(xy)1)|
(0,0)
= 1
f(h) = 1 + h
1
h
2
+ R
2
(h, 0)
La formula de taylor de 2
d
o orden se puede escribir como
f( x + x) = f( x) + f( x)x +
1
2
xH( xx
T
+ r(x)
f(x
0
+ h) = f(x
0
) +
n

i=1
f
x
1
(x
0
)h
i
+
1
2
n

i,j=0

2
t
x
j
x
j
(x
0
)h
i
h
j
+ R
2
(h, x
0
)
f
x
i
(x
0
) f h =
_
f
x
i
(x
0
), . . . ,
f
x
n
(x
0
)
_
[h
1
. . . , h
n
]
Tambien se puede escribir
_
f
x
i
(x
0
), . . . ,
f
x
n
_
_
_
_
h
1
.
.
.
h
n
_
_
_
4
Para el termino
1
2!
n

i,j=1

2
t
x
i
x
j
(x
0
)h
i
h
j
escribimos, si f : R
3
R
(h1, h2, h3)
_

2
f
x
2

2
f
yx

2
f
zx

2
f
xy

2
f
y
2

2
f
zy

2
f
xz

2
f
yz

2
f
z
2
_

_
. .
_
_
_
h
1
.
.
.
h
n
_
_
_
Matriz Hessiana (Hessiano)
Ejemplo: Considere la funcion f(x, y) = e
2x+3y
f[(0, 0) + (x, y)] = f(0, 0) + f(0, 0) (x, y) +
1
2
[xy]H(0, 0)
_
x
y
_
+ r
2
(x, y)
donde lm
(x,y)(0,0)
r(x, y)
x
2
+ y
2
= 0
f =
_
f
x
,
f
y
_
= (2e
2x+3y
, 3e
2x+3y
) f(0, 0) = (2, 3)
H(x, y) =
_

2
f
x
2

2
f
yx

2
f
xy

2
f
y
2
_

_
=
_
4e
2x+3
6e
2x+3y
6e
2x+3y
9e
2x+3y
_
H(0, 0) =
_
4 6
6 9
_
As f(x, y) = f(0, 0) + (2, 3) (x, y) +
1
2
[xy]
_
4 6
6 9
__
x
y
_
+ r(x, y)
e
2x+3y
= 1 + 2x + 3y + 2x
2
+ 6xy
9
2
y
2
+ r(x, y)
Ejemplo: considere la funcion f : R
2
R dada por f(x, y, z) = senx + seny + senz sen(x + y + z).
Tomemos el punto P = (

2
,

2
,

2
) y escribimos la formula de taylor para f en P.
f(

2
,

2
,

2
) = sen(

2
) + sen(

2
) + sen(

2
) sen(

2
+

2
+

2
) = 4
f =
_
f
x
,
f
y
,
f
z
_
= [cosx cos(x + y + z), cosy cos(x + y + z), cosz cos(x + y + z)]
f(

2
,

2
,

2
) = [0, 0, 0]
5
H =
_

2
f
x
2

2
f
yx

2
f
zx

2
f
xy

2
f
y
2

2
f
zy

2
f
xz

2
f
yz

2
f
z
2
_

_
=
_
_
senx + sen(x + y + z) sen(x + y + z) sen(x + y + z)
sen(x + y + z) seny + sen(x + y + z) sen(x + y + z)
sen(x + y + z) sen(x + y + z) senz + sen(x + y + z)
_
_
y H(

2
,

2
,

2
) =
_
_
2 1 1
1 2 1
1 1 2
_
_
f((

2
,

2
,

2
) + (x, y, z)) = f(

2
,

2
,

2
) + f(

2
,

2
,

2
) (x, y, z) +
1
2
[x y z]
H(

2
,

2
,

2
)
_
_
x
y
x
_
_
+ r(x, y, z)
sen(

2
+ x) + sen(

2
+ y) + sen(

2
+ z) sen(
3
2
+ x + y + z) =
4 x
2
y
2
z
2
xy xz yz + r(x, y, z) donde lm
(x,y,z)(0,0,0)
r(x, y, z)
x
2
+ y
2
+ z
2
= 0
Ejemplo: Hallar las aproximaciones lineal y cuadratica para
(3,98 1)
2
(5,97 3)
2
y comparar con el valor exacto
Sol. Sea f(x, y, z) =
(x 1)
2
(y 3)
2
. La expres on deseada esta cerca de f(4, 6) = 1
f
x
=
2(x 1)
(y 3)
2
f
y
=
2(x 1)
2
(y 3)
2
f
xx
=
2
(y 3)
2
f
yy
=
6(x 1)
2
(y 3)
2
en(4, 6)
f
x
=
2
3
f
y
=
2
3
f
xy
= f
yx
=
4
9
f
xx
=
2
9
f
yy
=
2
3
Entonces la aproximacion lineal es
1 +
2
3
(0,02)
2
3
(0,03) = 1,00666
y la aproximacion cuadratica es
1 +
2
3
(0,02)
2
3
(0,03) +
2
9
(0,002)
2

4
9
(0,02)(0,03) +
2
3
(0,03)
2
= 1,00674
y el valor exacto es 1,00675
6

Вам также может понравиться