Vous êtes sur la page 1sur 1

ACTIVIDAD OBLIGATORIA N 4 INTERPOLACION DE POLINOMIOS

Peirone Mayra
En la actividad obligatoria nmero tres, el alumno deber encontrar un polinomio a partir de una
serie de puntos.
Ejercicio N1
Encontrar el polinomio que pasa por los siguientes puntos utilizando interpolacin de Lagrange.
Punto N1: X1 = -2
Punto N2: X2 = 0
Punto N3: X3 = 2
Punto N4: X4 = -6

Y1 = -18
Y2 = 2
Y3 = -10
Y4 = -6

L0 ( x ) =

( x0 ) ( x 2 )( x +6 )
( x0)(x2)(x+ 6) (x0)(x2)(x+ 6)
=
=
32
(20 )(22 ) (2+6 )
(2 ) (4 ) 4

L1 ( x ) =

( x+ 2 )( x2 ) ( x+ 6 ) ( x +2 ) ( x2 ) ( x +6 ) (x+2)(x2)( x +6)
=
=
24
( 0+ 2 )( 02 ) ( 0+6 )
2 (2 ) 6

L2 ( x ) =

( x+ 2 )( x0 )( x +6 ) ( x+ 2 )( x0 )( x +6 ) ( x+ 2 )( x0 )( x +6 )
=
=
4.2.8
64
( 2+2 ) ( 20 ) ( 2+6 )

L3 ( x ) =

( x+ 2 )( x0 )( x2 )
( x +2)(x0)(x2) (x +2)(x 0)( x2)
=
=
192
(6+2 ) (60 ) (62 )
(4 )(6)(8)

P ( x )=18

] [

] [

] [

( x0 ) ( x2 ) ( x+6 )
( x+ 2 )( x2 ) ( x+ 6 )
( x+ 2 )( x0 )( x +6 )
( x +2 ) ( x0 ) ( x2 )
+2
10
6
32
24
64
192

P ( x )=

9 2
( x 2 x ) ( x+ 6 ) 1 ( x 22 x+2 x4 ) 5 ( x 2+2 x ) ( x +6 )+ 1 ( x 2+2 x)( x 2)
16
12
32
32

P ( x )=

9 3
( x +6 x 22 x 212 x ) 1 ( x24 ) 5 ( x 3 +6 x 2+2 x 2+ 12 x ) + 1 (x 32 x 2+ 2 x 24 x)
16
12
32
32

P ( x )=

9 3 9 2 27
1
1 5
5
15
1
1
x x + x x 2+ x 3 x 2 x+ x 3 x
16
4
4
12
3 32
4
8
32
8

P ( x )=

11 3 43 2 19
1
x x + x+
16
12
4
3

Vous aimerez peut-être aussi