Académique Documents
Professionnel Documents
Culture Documents
Interpolacin polinmica
Formulacin en diferencias
Ejemplos
Otras formulaciones polinmicas
Interpolacin de Newton-Lagrange
Javier I. Carrero
Departmento de Ingeniera Qumica
Javier I. Carrero
Interpolacin de Newton-Lagrange
Interpolacin polinmica
Formulacin en diferencias
Ejemplos
Javier I. Carrero
Interpolacin de Newton-Lagrange
f x
f x1
f x0
< x < x1
< x1
x
x0
Javier I. Carrero
Interpolacin de Newton-Lagrange
x1
Pendientes iguales en
[x0 ,x1 ] y [x0 ,x ]
f x
f x1
f (x ) = f (x0 )+
f x0
x
x0
x1
x x0
[f (x1 ) f (x0 )]
x1 x0
Javier I. Carrero
Interpolacin de Newton-Lagrange
La interpolacin lineal no
es infalible
Sobre todo si la funcin
cambia mucho en el
intervalo
f x
f x1
f x0
x
x0
Javier I. Carrero
Interpolacin de Newton-Lagrange
x1
Interpolacin polinmica
Formulacin en diferencias
Ejemplos
Javier I. Carrero
Interpolacin de Newton-Lagrange
El objetivo de la interpolacin
x
x0
x
x1
x
x2
f (x )
f (x0 )
f (x )
..
.
< x < x1
1 < x < x2
en general
x < x < x +1
x
f (x1 )
f (x2 )
..
.
Javier I. Carrero
Interpolacin de Newton-Lagrange
Ejemplo de interpolacin
Javier I. Carrero
1
2.7
5
20
30.8
40
56.5
?
113.0
181.0
?
214.5
Interpolacin de Newton-Lagrange
Aproximaciones polinmicas
f (x ) = a0 + a1 x + a2 x 2
Si se llama f a la aproximacin polinmica de grado m de f
m
f1 (x ) = b0 + b1 (x x0 )
f2 (x ) = b0 + b1 (x x0 ) + b2 (x x0 ) (x x1 )
Javier I. Carrero
Interpolacin de Newton-Lagrange
Aproximaciones polinmicas
Para un polinomio de grado 3
f3 (x ) = b0 + b1 (x x0 ) + b2 (x x0 ) (x x1 ) +
b3 (x x0 ) (x x1 ) (x x2 )
y as hasta
f (x ) = b0 + b1 (x x0 ) + b2 (x x0 ) (x x1 ) +
+ b (x x0 ) (x x1 ) . . . (x x
m
Javier I. Carrero
Interpolacin de Newton-Lagrange
1 )
f2 (x ) = b0 + b1 x b1 x0 + b2 x 2 x0 x x1 x + x0 x1
= (b0 b1 x0 ) + b1 x + b2 x0 x1 b2 (x0 + x1 ) x + b2 x 2
= (b0 b1 x0 + b2 x0 x1 ) + (b1 b2 x0 b2 x1 ) x + b2 x 2
= a0 + a1 x + a2 x 2
a0 = b0 b1 x0 + b2 x0 x1
a1 = b1 b2 x0 b2 x1 .
a2 = b2
Javier I. Carrero
Interpolacin de Newton-Lagrange
La formulacin general
Javier I. Carrero
Interpolacin de Newton-Lagrange
f (x ) = b0 + b1 (x x0 )
Si x = x0
luego
f (x0 ) = b0 ,
f (x ) = f (x0 ) + b1 (x x0 )
Javier I. Carrero
Interpolacin de Newton-Lagrange
Al evaluar en x1 :
b1 =
f (x1 ) f (x0 )
x1 x0
En denitiva
Javier I. Carrero
x x0
x1 x0
Interpolacin de Newton-Lagrange
f (x ) = b0 + b1 (x x0 ) + b2 (x x0 ) (x x1 ) .
Igual que en el caso anterior, si x = x0
b0 = f (x0 )
Si x = x1
Interpolacin de Newton-Lagrange
b2 =
..
.
=
b1 (x2 x0 )
f (x2 ) b0
x2 x0
f (x2 ) f (x1 )
x2 x0
+ 1
x2 x1
x1 x0
Javier I. Carrero
f (x1 ) f (x0 )
x2 x1
Interpolacin de Newton-Lagrange
x2 x0 x1 x0 x2 + x0 x1 x2
=
=
x1 x0
x1 x0
x1 x0
para obtener
b2 =
x2 x0
.
x2 x1
x1 x0
Javier I. Carrero
Interpolacin de Newton-Lagrange
Interpolacin polinmica
Formulacin en diferencias
Ejemplos
Javier I. Carrero
Interpolacin de Newton-Lagrange
f (x ) = f [x ]
f (x ) f (x )
f [x , x ] =
x x
f [x , x ] f [x , x ]
f [x , x , x ] =
x x
i
Javier I. Carrero
Interpolacin de Newton-Lagrange
f (x0 ) = f [x0 ] ,
f [x1 , x0 ] =
f [x2 , x1 , x0 ] =
f (x1 ) f (x0 )
x1 x0
f [x2 , x1 ] f [x1 , x0 ]
x2 x0
Javier I. Carrero
Interpolacin de Newton-Lagrange
f [x2 , x1 ] f [x1 , x0 ]
x2 x0
f [x2 , x1 , x0 ] =
En general entonces
f [x , x
m
1 , . . . , x1 , x0 ]
f [x , x
m
1 , . . . , x1 ]
f [x
x x0
1 , xm2 , . . . , x0 ]
Javier I. Carrero
Interpolacin de Newton-Lagrange
f (x )
x0
x1
x2
x3
f
f
f
f
(x0 )
(x1 )
(x2 )
(x3 )
f [, ]
f [, , ]
f [, , ,]
Javier I. Carrero
Interpolacin de Newton-Lagrange
b0 = f (x0 ) = f [x0 ] ,
b1 =
f (x1 ) f (x0 )
= f [x1 , x0 ] ,
x1 x0
x2 x0
x2 x1
x1 x0
f [x2 , x1 ] f [x1 , x0 ]
=
x2 x0
b2 =
Javier I. Carrero
Interpolacin de Newton-Lagrange
b0 = f (x0 )
b1 = f [x1 , x0 ]
b2 = f [x2 , x1 , x0 ]
..
.
b = f [x , x
m
Javier I. Carrero
1 , . . . , x1 , x0 ]
Interpolacin de Newton-Lagrange
f (x ) = b0 + b1 (x x0 ) + b2 (x x0 ) (x x1 ) +
+ b (x x0 ) (x x1 ) . . . (x x
m
1 )
Javier I. Carrero
Interpolacin de Newton-Lagrange
f (x )
x0
x1
x2
x3
f
f
f
f
(x0 )
(x1 )
(x2 )
(x3 )
f [, ]
f [, , ]
f [, , ,]
Javier I. Carrero
Interpolacin de Newton-Lagrange
Interpolacin polinmica
Formulacin en diferencias
Ejemplos
Javier I. Carrero
Interpolacin de Newton-Lagrange
F =m
dv
= mg r
dt
Javier I. Carrero
Interpolacin de Newton-Lagrange
t /s
v / (m/s)
1
8.00
3
23.10
Javier I. Carrero
5
30.90
7
39.40
13
47.55
Interpolacin de Newton-Lagrange
Javier I. Carrero
Interpolacin de Newton-Lagrange
Temas propuestos
Javier I. Carrero
Interpolacin de Newton-Lagrange
Interpolacin polinmica
Formulacin en diferencias
Ejemplos
Javier I. Carrero
Interpolacin de Newton-Lagrange
x +1 x = h
i
as
x1 = x0 + h
x2 = x0 + 2h
..
.
= x0 + mh
f [x1 , x0 ] =
Javier I. Carrero
Interpolacin de Newton-Lagrange
2h 2
2h 2
f (x2 ) 2f (x1 ) + f (x0 )
=
.
2h 2
f [x2 , x1 , x0 ] =
Javier I. Carrero
Interpolacin de Newton-Lagrange
La notacin 4 ...
Se dene para f (x )
f (x ) = f (x + h) f (x )
luego
El operador es recursivo
f (x ) = 1 f (x )
i
Javier I. Carrero
Interpolacin de Newton-Lagrange
La segunda recursin es
2 f (x0 ) = (f (x0 )) = (f (x1 ) f (x0 ))
= f (x1 ) f (x0 )
= f (x2 ) f (x1 ) (f (x1 ) f (x0 ))
= f (x2 ) 2f (x1 ) + f (x0 )
Javier I. Carrero
Interpolacin de Newton-Lagrange
... notacin 4
Por lo tanto
f [x1 , x0 ] =
f [x2 , x1 , x0 ] =
f (x0 )
2 f (x0 )
2h2
y en general
f [x , x
m
1 , . . . , x1 , x0 ] =
Javier I. Carrero
f (x0 )
.
m!h
m
Interpolacin de Newton-Lagrange
Aplicando los 4
f (x ) = f (x0 )+
n
f (x0 )
(x x0 )+
2 f (x0 )
(x x0 ) (x h x0 ) +
2!h 2
3 f (x0 )
(x x0 ) (x h x0 ) (x 2h x0 ) + . . .
3!h3
f (x0 )
+
(x x0 ) (x h x0 ) . . . (x (n 1) h x0 )
n !h
n
Javier I. Carrero
Interpolacin de Newton-Lagrange
x x0
x1 x0
f1 (x ) =
x x1
x x0
f (x0 ) +
f (x )
x0 x1
x1 x0 1
Javier I. Carrero
Interpolacin de Newton-Lagrange
Y tambin, si f (x ) = f2 (x )
(x x1 ) (x x2 )
f (x0 ) +
(x0 x1 ) (x0 x2 )
(x x0 ) (x x2 )
(x x0 ) (x x1 )
f (x1 ) +
f (x2 ) .
(x1 x0 ) (x1 x2 )
(x2 x0 ) (x2 x1 )
f2 (x ) =
Javier I. Carrero
Interpolacin de Newton-Lagrange
f (x ) =
L (x ) f (x )
i
=0
donde L es la productoria
i
L (x ) =
j =0
j 6= i
x x
x x
Interpolacin de Newton-Lagrange