Está en la página 1de 7

Desarrollo

1. Use la interpolación de Lagrange para encontrar el polinomio que pasa por los
puntos:

a. (0,1) (2,3) (3,0)


b. (-1,0) (2,1) (3,1) (5,2)
c. (0,-2) (2,1) (4,4)

2. Utilice las diferencias divididas de Newton para encontrar los polinomios de


interpolación de los puntos del ejercicio, luego compruebe su concordancia con el
polinomio de Lagrange.

3. Dada la tabla:

X 0 1 4

Y(x) 1 -3 5

Realizar la interpolación lineal, una cuadrática y luego calcular los valores para
x=0,2 y x=3. A continuación, utilice un programa libre para dibujar la nueva
curva.

4. Considere la siguiente tabla que muestra el número de empleados de cierta


industria productora de televisores LED en Estados Unidos en el periodo de 1980
a 1995.

Años 1980 1985 1990 1995

Empleado 24 30 38 43

Calcular mediante el polinomio de interpolación cuadrática, el número de


empleados que tuvo la empresa para el año 2000.

Desarrollo

1) A.

f ( A )=f (2)
X 0=0 f ( X 0 )=1
X 1=2 f ( X 1 ) =3
X 2=3 f ( X 2 )=0

( X−X 1)(X −X 2)
L 0 ( X )=
( X 0−X 1)(X 0−X 2)
( X−2)( X −3) X 2−5 X +6
L 0 ( X )= =
(0−2)(0−3) −6

( X− X 0)( X− X 2)
L 1 ( X )=
( X 1− X 0)( X 1−X 2)
( X −0)( X −3) X 2 −3 X
L 1 ( X )= =
(2−0)(2−3) −2

(X− X 0)( X− X 1)
L 2 ( X )=
(X 2− X 0)( X 2−X 1)
(X −0)( X −2) X 2−2 X
L 2 ( X )= =
(3−0)(3−2) 3

P ( x ) =f ( X 0 ) L 0 ( X ) +f ( X 1 ) L1 ( X ) + f ( X 2 ) L 2 ( X )
2 2 2
1∗X −5 X+ 6 3∗X −3 X 0∗X −2 X
P ( x) = + +
−6 −2 3

P ( x ) =−1,66 X 2 +3,66 X +1
2
P ( 0,2 )=−1,66∗0,2 +3,66∗0,2+1
P ( 0,2 )=1,68

B.

f ( A )=f (2)
X 0=−1 f ( X 0 )=0
X 1=2 f ( X 1 ) =1
X 2=3 f ( X 2 )=1
X 3=5 f ( X 2 )=2

( X−X 1)( X −X 2)( X−X 3)


L 0 ( X )=
( X 0−X 1)(X 0−X 2)( X 0−X 3)
( X−2)(X −3)( X−5)
L 0 ( X )=
( 0−2)(0−3)( 0−5)

( X−X 3)(X −X 2)( X− X 0)


L 1 ( X )=
(X 1− X 3)( X 1−X 2)( X 1−X 0)
(X −5)( X−3)( X−−1)
L 1 ( X )=
(2−5)(2−3) ¿ ¿

L 2 ( X )=( X− X 3)(X −X 1)¿ ¿


( X −5)( X−2)( X−−1)
L 2 ( X )=
(3−5)(3−2)(3−−1)
( X −X 2)( X− X 1)( X −X 0)
L 3 ( X )=
( X 3−X 2)(X 3− X 1)(X 3− X 0)
( X−3)( X −2)( X−−1)
L 3 ( X )=
(5−3)(5−2)(5−−1)

P ( x ) =f ( X 0 ) L 0 ( X ) f ( X 1 ) L 1 ( X )+ f ( X 2 ) L2 ( X ) + f ( X 3 ) L 3 ( X )

P ( x ) =0,0416 X 3 −0,25 X 2 +0,458 X +0,75


P ( 0,2 )=0,0416∗4 3 −0,25∗4 2+ 0,458∗4+0,75
P ( 0,2 )=¿ 1,25

C.

f ( A )=f (2)
X 0=0 f ( X 0 )=−2
X 1=2 f ( X 1 ) =1
X 2=4 f ( X 2 )=4

( X−X 1)(X −X 2)
L 0 ( X )=
( X 0−X 1)(X 0−X 2)
( X−2)( X −4) X 2−6 X +6
( )
L0 X = =
( 0−2)(0−4) −8

( X− X 0)( X− X 2)
L 1 ( X )=
( X 1− X 0)( X 1−X 2)
(X −0)(X −4) X 2−4 X
( )
L1 X = =
(2−0)(2−4) −4

(X− X 0)( X− X 1)
L 2 ( X )=
(X 2− X 0)( X 2−X 1)
(X −0)( X −2) X 2−2 X
( )
L2 X = =
( 4−0)(4−2) 8

P ( x ) =f ( X 0 ) L 0 ( X ) +f ( X 1 ) L1 ( X ) + f ( X 2 ) L 2 ( X )
2 2 2
( ) −2∗X −6 X +6 1∗X −4 X 4∗X −2 X
P x= + +
−8 −4 8

P ( x ) =1,5 X−2
P ( 3 )=1,5∗3−2
P ( 0,2 )=2,5

2) A.
J X F(X)

0 0 1 a0

1 2 3 1 a1

2 3 0 -3 -1,333 a2

P ( x ) =a 0+ a1(x −x 0)+a 2(x−x 0)(x−x 1)

P ( x ) =1+ 1 ( x−0 )−1,33( x−0)( x −2)


P ( x ) =1+ x−1,33( x 2−2 x)
2
P ( x ) =−1,33 x +3,667 x +1

B.

J X F(X)

0 -1 0 a0

1 2 1 0,333 a1

2 3 1 0 -0,08325
a2

3 5 2 0,5 0,16667 0,042 a3

P ( x ) =a 0+ a1 ( x−x 0 ) +a 2 ( x −x 0 ) ( x−x 1 ) + a3 ( x−x 0 ) ( x−x 1 ) (x−x 2)

P ( x ) =0+0,333 ( x+ 1 )−0,084 ( x +1 ) ( x −2 )+ 0,042 ( x +1 ) ( x −2 ) (x−3)


P ( x ) =0+0,333 ( x+ 1 )−0,084 ( x 2−x−2 )+ 0,042 ( x 3 −3 x 2−2 x 2+ 6 x+ x 2−2 x 2+ 6 )

P ( x ) =0,0416 X 3 −0,25 X 2 +0,458 X +0,75


C.

J X F(X)

0 0 -2 a0

1 2 1 1,5 a1

2 4 4 1,5 0 a2
P ( x ) =a 0+ a1(x −x 0)+a 2( x−x 0)( x−x 1)

P ( x ) =−2+1,5 ( x−0 ) +0( x −0)( x−2)


P ( x ) =1,5 x −2

Como se puede observar los resultados utilizando los dos métodos son iguales,

3)

X0 X1 X2

X 0 1 4

Y 1 -3 5

Y0 Y1 Y2

Interpolación lineal

Para x=0,2

y 1− y 0
y ( x ) = y 0+ ( x−x 0)
x 1−x 0

−3−1
y ( x ) =1+ (x)
1−0

−3−1
y ( 0,2 )=1+ (0,2)
1−0

y ( 0,2 )=0,2

Para x=3
5−−3
y ( x ) =−3+ (x−1)
4−1

5−−3
y ( 3 )=−3+ (3−1)
4−1

y ( 3 )=2,33

Interpolación cuadrática

y ( x ) =a 0+ a1(x −x 0)+a 2(x−x 0)(x−x 1)

1=a+b ( x−0 )+ c( x−0)( x−1)

−3=a+b ( x−0 ) +c ( x−0)(x−1)

5=a+b ( x−0 )+ c ( x−0)(x−1)


2
y ( x ) =1,6667 x −5,6667+1
y ( 3 )=−1
y ( 0,2 )=−0,07
y ( x ) =a 0+ a1(x −x 0)+a 2(x−x 0)(x−x 1)+a 3(x −x 0)( x−x 1)(x−x 2)
24=a 0+ a 1( x−1980)+ a 2( x−1980)( x−1985)+a 3(x −1980)( x −1985)( x−1995)
30=a 0+a 1(x−1980)+a 2(x−1980)( x−1985)+a 3(x −1980)( x −1985)( x−1995)
38=a 0+a 1(x−1980)+a 2(x−1980)( x−1985)+a 3(x −1980)( x −1985)( x−1995)
43=a 0+ a 1( x−1980)+ a 2(x−1980)( x−1985)+a 3( x −1980)( x −1985)( x−1995)

−1 3 1987 2 1184426
y ( x) = x+ x− x+ 52296840
150 50 15

−1 1987 1184426
y ( 2000 )= 20003 + 20002 − 2000+52296840
150 50 15

y ( 2000 )=40

En el año 2000 tuvo 40 empleados

También podría gustarte