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

CLCULO NUMRICO DEPARTAMENTO DE MATEMTICA

REN ZIGA FLORES UNIVERSIDAD DE ANTOFAGASTA



1
INTRODUCCIN A LA DERIVADA

Teorema 1:
Si F es una funcin continua sobre un intervalo cerrado | | ; a b , entonces existen nmeros
1
x
y
2
x tales que | |
1
; x a b e , | |
2
; x a b e y
| |
1
( ) ( ) ; F x F x cuando x a b > e
y
| |
2
( ) ( ) ; F x F x cuando x a b s e

La grfica siguiente muestra lo que dice este teorema.

a
b 1
x
2
x
x
1
( ) F x
2
( ) F x
( ) F x
( ) y F x =


Este teorema nos dice que si una funcin F es continua sobre un intervalo cerrado, entonces
( ) F x alcanza un valor mximo y un valor mnimo en el intervalo.

Teorema 2: (Teorema de Rolle)
Sea F una funcin tal que:
i) F es continua sobre un intervalo cerrado | | ; a b
ii) F es derivable sobre el intervalo abierto ( ) ; a b
iii) ( ) ( ) 0 F a F b = =
Entonces existe un nmero c tal que a c b < < y '( ) 0 F c =
Grficamente este teorema se ve as:

a
b
c
( ) y F x =


CLCULO NUMRICO DEPARTAMENTO DE MATEMTICA
REN ZIGA FLORES UNIVERSIDAD DE ANTOFAGASTA

2
Teorema 3: (Teorema del valor medio para derivadas)

Sea F una funcin con las propiedades de que:
i) F sea continua sobre un intervalo cerrado | | ; a b
ii) F sea derivable sobre el intervalo abierto ( ) ; a b
Entonces existe un nmero c tal que:
a c b < <
y

( ) ( )
'( )
F b F a
F c
b a



Una variante del teorema del valor medio es el siguiente teorema.

Teorema 4:
Supongamos que { } ( , ) / ( ) F x y y F x = = es una funcin continua en el intervalo cerrado
| | ; a b y que '( ) F x existe en el intervalo abierto ( ) ; a b entonces existe un nmero c tal que
a c x < < y
( | ( ) ( ) ( ) '( ), ; F x F a x a F c x a b = + e

Para realizar una extensin del teorema del valor medio, consideremos el caso de una funcin
polinmica en la forma siguiente:
Supongamos que ( ) F x es un polinomio de grado n, lo que podemos en la forma siguiente:


2 3
0 1 2 3
( ) ( ) ( ) ( ) ( )
n
n
F x c c x a c x a c x a c x a = + + + + +

Donde
0 1 2 3
, , , , ,
n
c c c c c son nmeros reales y 0
n
c = . Si derivamos obtenemos los siguientes
resultados para las n primeras derivadas de ( ) F x .

2 2 1
1 2 3 1
'( ) 2 ( ) 3 ( ) ( 1) ( ) ( )
n n
n n
F x c c x a c x a n c x a nc x a

= + + + + +
( )
3 2
2 3 1
''( ) 2 2 3 ( ) ( 2) 1 ( ) ( 1) ( )
n n
n n
F x c c x a n n c x a n nc x a

= + + + +
(3) 4 3
3 1
( ) 2 3 ( 3)( 2)( 1) ( ) ( 2)( 1) ( )
n n
n n
F x c n n n c x a n n nc x a

= + + +
.
.
.
( ) ( )
( )
( ) 2 3 4 5 2 1
n
n
F x n n nc =

Si evaluamos ( ) F x y sus n para x a = se obtienen los siguientes resultados:
(1) (2) (3) (4)
0 1 2 3 4
( 1) ( )
1
( ) ; ( ) ; ( ) 2! ; ( ) 3! ; ( ) 4!
( ) ( 1)! ; ( ) !
n n
n n
F a c F a c F a c F a c F a c
F a n c F a n c

= = = = =
= =


De estas igualdades podemos obtener los coeficientes del polinomio, es decir,
(1) (2) (3) ( )
0 1 2 3
1 1 1
( ), ( ), ( ), ( ), , ( )
2! 3! !
n
n
c F a c F a c F a c F a c F a
n
= = = = =
CLCULO NUMRICO DEPARTAMENTO DE MATEMTICA
REN ZIGA FLORES UNIVERSIDAD DE ANTOFAGASTA

3
Si sustituimos estos valores en ( ) F x se obtiene:
( ) ( ) ( )
2
(1) (2) (3) 3 ( )
1 1 1
( ) ( ) ( ) ( ) ( )( ) ( )
2! 3! !
n
n
F x F a F a x a F a x a F a x a F a x a
n
= + + + + +
Este resultado da lugar al siguiente teorema:
Teorema 5:
Si { } ( , ) / ( ) F x y y F x = = es una funcin polinmica de grado n, entonces para cualquier
nmero real a se tiene:
( ) ( ) ( )
2
(1) (2) (3) 3 ( )
1 1 1
( ) ( ) ( ) ( ) ( )( ) ( )
2! 3! !
n
n
F x F a F a x a F a x a F a x a F a x a
n
= + + + + +
Teorema 6:
Si { } ( , ) / ( ) F x y y F x = = es una funcin tal que
( )
( )
n
F a existe y si { } ( , ) / ( )
n n
P x y y P x = = es
una funcin polinmica de grado n tal que:


( ) ( )
( ) ( ), ( ) , 1, 2, 3, ,
i i
n n n
P a F a P a F i n = = =
entonces
( ) ( ) ( )
2
(1) (2) (3) 3 ( )
1 1 1
( ) ( ) ( ) ( ) ( )( ) ( )
2! 3! !
n
n
n
P x F a F a x a F a x a F a x a F a x a
n
= + + + + +
Ejemplo 1:
Verifique que:

2 3
( ) 1
2! 3! !
n
n
x x x
P x x
n
= + + + + +
es un polinomio de Taylor de grado n de ( )
x
F x e = en 0 x =
Ejemplo 2:
Encuentre el polinomio de Taylor de grado n de ( ) sin( ) F x x = en
6
x
t
=
Solucin:
Analicemos los siguientes clculos.
( ) sin( ) F x x =
1
sin
6 6 2
F
t t | | | |
= =
| |
\ . \ .



(1)
( ) cos( ) F x x =
(1)
1
3 sin
6 2 6 2
F
t t t | | | |
= = +
| |
\ . \ .



(2)
( ) sin( ) F x x =
(2)
1 2
sin
6 2 6 2
F
t t t | | | |
= = +
| |
\ . \ .



(3)
( ) cos( ) F x x =
(3)
1 3
3 sin
6 2 6 6
F
t t t | | | |
= = +
| |
\ . \ .



(4)
( ) sin( ) F x x =
(4)
1 4
sin
6 2 6 2
F
t t t | | | |
= = +
| |
\ . \ .

. .
. .
. .

CLCULO NUMRICO DEPARTAMENTO DE MATEMTICA
REN ZIGA FLORES UNIVERSIDAD DE ANTOFAGASTA

4

( )
( ) sin
2
n
n
F x x
t | |
= +
|
\ .

( )
sin
6 6 2
n
n
F
t t t | | | |
= +
| |
\ . \ .

Por tanto
( ) ( ) ( )
2
(1) (2) (3) 3 ( )
1 1 1
( ) ( ) ( ) ( ) ( )( ) ( )
2! 3! !
n
n
n
P x F a F a x a F a x a F a x a F a x a
n
= + + + + +
2
(1) (2) ( )
1 1
( )
6 6 6 2! 6 6 ! 6 6
n
n
n
P x F F x F x F x
n
t t t t t t t | | | || | | || | | || |
= + + + +
| | | | | | |
\ . \ .\ . \ .\ . \ .\ .

2 3
sin
1 1 1 1 6 2
( ) 3 3
2 2 6 4 6 12 6 ! 6
n
n
n
P x x x x x
n
t t
t t t t
| |
+
|
| | | | | | | |
\ .
= + + +
| | | |
\ . \ . \ . \ .


Supongamos que ( )
n
P x es un polinomio de Taylor de grado n de ( ) F x en a. Una pregunta
importante es: Qu tanto se aproxima ( )
n
P x a ( ) F x para valores de x diferente de a?. Esto es,
cul es el valor de
1 1
( ) ( )
n
F x P x , para
1
x a = ?. Debemos esperar que
1 1
( ) ( )
n
F x P x sea pequeo
para
1
x prxima a a. El siguiente teorema nos soluciona este problema con respecto a esta
diferencia
Teorema 7: (Teorema de Taylor con residuo)
Si { } ( , ) / ( ) F x y y F x = = es una funcin con la propiedad de que n es un entero positivo,
( ) n
F es continua en el intervalo cerrado | | ; a b y si
( 1)
( )
n
F x
+
existe en el intervalo abierto
( ) ; a b , entonces para | | ; x a b e existe un nmero z tal que a z x < < y
( ) ( ) ( )
2
(1) (2) (3) 3 ( )
1
1 1 1
( ) ( ) ( ) ( ) ( )( ) ( ) ( )
2! 3! !
n
n
n
F x F a F a x a F a x a F a x a F a x a R x
n
+
= + + + + + +
donde
( )
( 1)
1
1
( )
( )
( 1)!
n
n
n
F z
R x x a
n
+
+
+
=
+
para x a = y
1
( ) 0
n
R x
+
= para x a =
Ejemplo 3:
Desarrolle ( ) sin( ) F x x = en potencias de
6
x
t
aplicando el teorema anterior (7).
Solucin:
Utilizando el resultado del ejemplo 2 se tiene:
2 3
1
sin
1 1 1 1 6 2
sin( ) 3 3 ( )
2 2 6 4 6 12 6 ! 6
n
n
n
x x x x x R x
n
t t
t t t t
+
| |
+
|
| | | | | | | |
\ .
= + + + +
| | | |
\ . \ . \ . \ .


donde,
( )
( )
( )
1
( 1)
1
1
1
sin
2 ( )
( ) ;
( 1)! 1 ! 6 6
n
n
n
n
n
z
F z
R x x a x z x
n n
t
t t
+
+
+
+
+ | |
+
|
| |
\ .
= = < <
|
+ +
\ .


Como se puede observar este resultado es vlido para
6
x
t
> dado que por las condiciones del
teorema
( ) n
F es continua y adems
( 1)
( )
n
F x
+
existe.
CLCULO NUMRICO DEPARTAMENTO DE MATEMTICA
REN ZIGA FLORES UNIVERSIDAD DE ANTOFAGASTA

5
Ejemplo 4:
Utilizando el resultado del ejemplo 3 calcular una aproximacin del valor de ( ) sin 31
Solucin:
Como
31 31
31 sin(31 ) sin
180 180
t t | |
=
|
\ .

2
1
sin
31 1 1 31 1 31 31 31 6 2
sin 3
180 2 2 180 6 4 180 6 ! 180 6 180
n
n
n
R
n
t t
t t t t t t t t
+
| |
+
|
| | | | | | | | | |
\ .
= + + + +
| | | | |
\ . \ . \ . \ . \ .


2 3
1
sin
31 1 1 1 1 31 6 2
sin 3 3
180 2 2 180 4 180 12 180 ! 180 180
n
n
n
R
n
t t
t t t t t t
+
| |
+
|
| | | | | | | | | | | |
\ .
= + + + +
| | | | | |
\ . \ . \ . \ . \ . \ .


donde;


( )
( )
1
1
1
sin
2 31 31 31
;
180 1 ! 180 6 6 180
n
n
n
z
R z
n
t
t t t t t
+
+
+ | |
+
|
| | | |
\ .
= < <
| |
+
\ . \ .


Como sin( ) 1 u s , entonces podemos deducir que:


( )
1
1
31 1 31
180 1 ! 180 6
n
n
R
n
t t t
+
+
| | | |
s
| |
+
\ . \ .


Si por ejemplo tomamos 4 n = , entonces

2 3 4
5
31 1 1 1 1 1 31
sin 3 3
180 2 2 180 4 180 12 180 240 180 180
R
t t t t t t | | | | | | | | | | | |
= + + +
| | | | | |
\ . \ . \ . \ . \ . \ .

5
31 31
sin 0, 5150380749
180 180
R
t t | | | |
= +
| |
\ . \ .


donde


5
11
1
31 1
1,3496 10
180 5! 180
n
R
t t

+
| | | |
s =
| |
\ . \ .


sin(31 ) 0, 515038075 = , este valor es correcto al menos hasta la novena cifra decimal.

Como podemos observar
1
( )
n
R x
+
representa el error cometido cuando el polinomio ( )
n
P x se usa
para aproximar ( ) F x para cualquier valor permitido de x . En algunos casos es posible para un valor
dado
1
x de x escoger a y n de tal manera que si
1
a z x < < entonces el valor absoluto de
1
( )
n
R x
+

CLCULO NUMRICO DEPARTAMENTO DE MATEMTICA
REN ZIGA FLORES UNIVERSIDAD DE ANTOFAGASTA

6
es menor que un error permitido o un nmero especificado c . Supongamos que existe un nmero
positivo M tal que
( 1)
1
( )
n
F x M
+
s entonces la expresin del residuo nos quedara as:

( )
1
1 1 1
( )
1 !
n
n
M
R x x a
n
+
+
s
+

Si podemos escoger a n de tal manera que

( )
1
1
1 !
n M
x a
n
c
+
<
+


entonces
1
( )
n
P x aproxima
1
( ) F x de tal manera que

1 1
( ) ( )
n
P x F x c <
es decir que
1
( )
n
P x difiere de
1
( ) F x por una cantidad menor que c


Derivacin Numrica

Las frmulas para la derivacin numrica se pueden deducir a travs del Teorema de Taylor con
resto, que a continuacin se enuncia.

Teorema 1. (Teorema de Taylor con resto)
Si la funcin f y sus ( ) 1 n +

primeras derivadas son continuas en el intervalo cerrado | | ; a b ,
entonces
( ) ( ) ( ) ( )
2 3
(3) ( )
1 1 1
( ) ( ) '( ) ''( ) ( ) ( ) ( )
2! 3! !
n
n
n
f x f a f a x a f a x a f a x a f a x a R x
n
= + + + + + +
donde;

( )
( ) ( )
1
( 1)
1
( ) ( ) ; ;
1 !
n
n
n
R x f c x a c a b
n
+
+
= e
+

Si el soporte es { }
0 1 2
, , , ,
n
x x x x , donde los ( ) 1 n + puntos son igualmente espaciados con
0 n
b a x x
h
n n

= = , es decir,
0 i
x x ih = + con sus respectivas imgenes
0 1
( ), ( ), , ( )
n
f x f x f x




Para el punto ( )
i
x h + el desarrollo de Taylor nos queda as
( )
2 (3) 3 ( )
1 1 1
( ) ( ) '( ) ''( ) ( ) ( ) ( ) (1)
2! 3! !
n n
i i i i i i n i
f x h f x f x h f x h f x h f x h R x
n
+ = + + + + + +
para 0, 1, 2, , 1 i n =
Dividiendo (1) por h , considerando slo dos trminos en la serie de Taylor y despejando '( ) f x se
tiene
( ) ( ) ( ) ( ) ( )
2
1 1
1
' '' , ;
2!
i i i i i
f x h f x f x h f c h c x x h + = + + e +
para 0, 1, 2, , 1 i n =
( ) ( )
1
'( ) ; 0,1, 2, , 1
i i i
f x f x h f x i n
h
~ + = (


0
x
1
x
2
x
3
x
1 i
x
i
x
1 i
x
+ 1 n
x
n
x
b a
h h h h h h
0
x
1
x
2
x
3
x
1 i
x
i
x
1 i
x
+ 1 n
x
n
x
b a
hh hh hh hh hh hh
CLCULO NUMRICO DEPARTAMENTO DE MATEMTICA
REN ZIGA FLORES UNIVERSIDAD DE ANTOFAGASTA

7
El error cometido por este procedimiento es ( )
1
1
''
2
f c h . Como no se conoce exactamente el valor de
1
c , en la practica esta frmula para el error no es de utilidad, por lo que slo se dice que el error es
proporcional a h , que se denotar por ( ) O h .
Para un valor en particular por ejemplo si 0 i = se tiene:

( ) ( ) ( ) ( )
0 0 0 1 0
1 1
'( ) f x f x h f x f x f x
h h
~ + = ( (



Tambin en forma similar se obtiene para el punto ( )
i
x h el desarrollo de Taylor

( )
2 (3) 3 ( )
1 1 1
( ) ( ) '( ) ''( ) ( ) ( ) ( ) (2)
2! 3! !
n n
i i i i i i n i
f x h f x f x h f x h f x h f x h R x
n
= + + +

Dividiendo (2) por h , considerando slo dos trminos en la serie de Taylor y despejando '( ) f x se
tiene
( ) ( ) ( ) ( ) ( )
2
2 2
1
' '' , ; (2)
2!
i i i i i
f x h f x f x h f c h c x h x = + e

para 1, 2, 3, , i n =

( ) ( )
1
'( ) ; 1, 2, 3, ,
i i i
f x f x f x h i n
h
~ = (



Para un valor en particular por ejemplo si 1 i = se tiene:

( ) ( ) ( ) ( )
1 1 1 1 0
1 1
'( ) f x f x f x h f x f x
h h
~ = ( (



Sin embargo una mejor aproximacin para '( ) f x se obtiene si se consideran 3 trminos de la serie de
Taylor en la forma siguiente.


( ) ( )
( ) ( )
2 (3) 3
1 1
2 (3) 3
2 2
1 1
( ) ( ) '( ) ''( ) ( ) ; ; (3)
2! 3!
1 1
( ) ( ) '( ) ''( ) ( ) ; ; (4)
2! 3!
i i i i i i
i i i i i i
f x h f x f x h f x h f c h c x x h
f x h f x f x h f x h f c h c x h x
+ = + + + e +
= + e


Dividiendo (3) y (4) por h y luego restando (4) de (3) y despejando '( ) f x se obtiene:

( ) ( )
2
1
'( ) ; 1, 2, 3, , 1; ( )
2
i i i
f x f x h f x h i n O h
h
~ + = (



Usando los desarrollos de Taylor de ( ) f x h + y ( 2 ) f x h + se encuentra la llamada frmula de
diferencia adelantada de tres puntos que es:

CLCULO NUMRICO DEPARTAMENTO DE MATEMTICA
REN ZIGA FLORES UNIVERSIDAD DE ANTOFAGASTA

8
| |
2
1
'( ) 3 ( ) 4 ( ) ( 2 ) '''( )
2 3
h
f x f x f x h f x h f c
h
= + + +
Reemplazando h por h en la expresin anterior se obtiene la frmula de diferencia retrasada de
tres puntos
| |
2
1
'( ) 3 ( ) 4 ( ) ( 2 ) '''( )
2 3
h
f x f x f x h f x h f c
h
= + + +

De todas estas, la frmula de diferencia centrada es la que tiene, en principio, menor error de
truncacin y la que requiere menos evaluaciones de la funcin, siendo por lo tanto ms eficiente
desde el punto de vista computacional.

Utilizando el valor de la funcin en ms puntos se construyen frmulas ms precisas para las
derivadas. Alguna de ellas se muestra en la tabla siguiente junto con las que hemos deducido ya.
| |
| |
| |
2
2
4
Frmulas para calcular primeras derivadas
( ) ( )
1. '( ) ( )
1
2. '( ) 3 ( ) 4 ( ) ( 2 ) ( )
2
1
3. '( ) 3 ( ) 4 ( ) ( 2 ) ( )
2
1
4. '( ) ( 2 ) 8 ( ) 8 ( ) ( 2 ) ( )
12
f x h f x
f x O h
h
f x f x f x h f x h O h
h
f x f x f x h f x h O h
h
f x f x h f x h f x h f x h O h
h
+
= +
= + + + +
= + +
= + + + +


Como ejemplo, si aplicamos estas frmulas al problema de encontrar la derivada de
( ) arctan( ) f x x = en 2 x = y comparar as su funcionamiento en un caso prctico con 0,1 h = , se
encuentran los siguientes resultados y comparando con el valor exacto el cual es
1
'( 2)
3
f =

Puntos
Tipo
Dos puntos
Adelantada
Tres puntos
adelantada
Tres puntos
retrasada
Cinco puntos
centrada
Resultado 0,318220 0,33220 0,331994 0,3333330608
Error
2
1,5 10


3
1,1 10


3
1,3 10


7
2, 7 10



Para obtener una aproximacin de la segunda derivada ''( )
i
f x , consideremos la serie de Taylor con
cuatro trminos, obteniendo
( ) ( )
2 (3) 3 (4) 4
1 1
1 1 1
( ) ( ) '( ) ''( ) ( ) ( ) ; ; (5)
2! 3! 4!
i i i i i i i
f x h f x f x h f x h f x h f c h c x x h + = + + + + e +

( ) ( )
2 (3) 3 (4) 4
1 1
1 1 1
( ) ( ) '( ) ''( ) ( ) ( ) ; ; (6)
2! 3! 4!
i i i i i i i
f x h f x f x h f x h f x h f c h c x h x = + + e
Dividiendo (5) y (6) por
2
h , sumando y despejando ''( )
i
f x se obtiene:


| |
2
2
1
''( ) ( ) 2 ( ) ( ) , 1, 2, 3, , 1; ( ) (7)
i i i i
f x f x h f x f x h i n O h
h
~ + + =

CLCULO NUMRICO DEPARTAMENTO DE MATEMTICA
REN ZIGA FLORES UNIVERSIDAD DE ANTOFAGASTA

9
Podemos obtener, de la frmula anterior, una aproximacin para la cuarta derivada
( )
( )
iv
i
f x . Para
esto basta reemplazar f por '' f y '' f por
( ) iv
f en la frmula (7), obteniendo la siguiente
aproximacin:


| |
( )
2
1
( ) ''( ) 2 ''( ) ''( ) , 2, 3, , 1; (8)
iv
i i i i
f x f x h f x f x h i n
h
~ + + =

Procediendo de la misma forma es posible encontrar aproximaciones que usen diferentes puntos y
aproximaciones para derivadas de orden superior. La tabla siguiente presenta algunas de las frmulas
ms comunes para calcular derivadas de orden superior.


| |
| |
| |
2
2
4
2
Frmulas para calcular segundas derivadas
1
1. ''( ) ( 2 ) 2 ( ) ( ) ( )
1
2. ''( ) ( ) 2 ( ) ( ) ( )
1
3. ''( ) ( 2 ) 16 ( ) 30 ( ) 16 ( ) ( 2 ) ( )
12
f x f x h f x h f x O h
h
f x f x h f x f x h O h
h
f x f x h f x h f x f x h f x h O h
h
= + + + +
= + + +
= + + + + +


| |
| |
( )
4
( ) 2
4
Frmulas para calcular cuartas derivadas
1
1. ( 4 ) 4 ( 3 ) 6 ( 2 ) 4 ( ) ( ) ( )
1
2. ( 2 ) 4 ( ) 6 ( ) 4 ( ) ( 2 ) ( )
iv
iv
f f x h f x h f x h f x h f x O h
h
f f x h f x h f x f x h f x h O h
h
= + + + + + + +
= + + + + +


Aplicacin de la Derivada Numrica

Recordemos que la primera, segunda y cuarta derivada aproximada segn el desarrollo de Taylor
son:
1.
| |
1
'( ) ( ) ( ) ; 1, 2, 3, , 1
2
i i
f x f x h f x h i n
h
~ + =
2.
| |
2
1
''( ) ( ) 2 ( ) ( ) ; 1, 2,3, , 1
i i i
f x f x h f x f x h i n
h
~ + + =
3.
| |
( )
2
1
( ) ''( ) 2 ''( ) ''( ) ; 1, 2, 3, , 1
iv
i i i
f x f x h f x f x h i n
h
~ + + =

En ingeniera es frecuente encontrar problemas cuya solucin est expresada en un problema de
contorno dado por:

''( ) ( ) '( ) ( ) ( ) ( ) (1) y x p x y x q x y x f x + + =

Con las condiciones de frontera

0 0
( ) ; ( )
n n
y x y y x y = =
CLCULO NUMRICO DEPARTAMENTO DE MATEMTICA
REN ZIGA FLORES UNIVERSIDAD DE ANTOFAGASTA

10
Donde
0
,
n
y y son datos conocidos, las funciones ( ), ( ), ( ) p x q x f x son continuas en | |
0
;
n
x x . Para
resolver este tipo de problema podemos estimar los valores de ( )
i
y x para 1, 2, 3,..., 1 i n = , en la
forma siguiente, hacemos
0 i
x x ih = + y luego aproximamos ''( )
i
y x por
1 1
2
2
''( )
i i i
y y y
y x
h
+
+
~ ,
para 1, 2, 3,...., 1 i n = .
Tambin podemos estimar
1 1
'( )
2
i i
i
y y
y x
h
+

~ , reemplazando estas aproximaciones en la ecuacin


(1) se obtiene:

( ) ( ) ( )
2 2
1 1
2 4 2 2 2 ; 1, 2, 3,... 1
i i i i i i i
hp y h q y hp y h f i n
+
+ + + + = =


Ejemplo 1:

Para los siguientes problemas de contorno, escriba, no resuelva, el sistema de ecuaciones que
permite hallar las soluciones numricas.
a)

2
''( ) '( ) ( ) 2
(0) 2 '(0) 0
1
(1) '(1) 1 Use
5
y x xy x y x x
y y
y y h
+ = +
+ =
= =

b)

2
''( ) 2 '( ) ( ) 5 10
(0) '(0) 1
1
(1) '(1) 7 Use
5
y x xy x y x x
y y
y y h
+ + = +
+ =
+ = =

Solucin:
a) Como
0 0
( ) (0) 0 ; ( ) (1) 1
n n
y x y x a y x y x b = = = = = = , luego el intervalo es
| | 0 ; 1 I = , adems
1 0
5
1
5
b a
h n
n

= = = , luego el soporte tiene 1 n + puntos, los cuales
estn dados por

0
1 1
0 0, 2 ; 0,1, 2, 3, 4, 5
5 5
i
x x ih i i i i
| | | |
= + = + = = =
| |
\ . \ .

El soporte ser
1 2 3 4
0, , , , 1
5 5 5 5

`
)

Las condiciones de frontera nos quedan as:

' 1 1 0
0 0 0 0
( ) (0) ; '( ) '(0)
i i
y y y y
y x y y y x y y
h h
+

= = = = = =


' 1 1
( ) (1) ; '( ) '(1)
i i n n
n n n n
y y y y
y x y y y x y y
h h


= = = = = =
Del problema las condiciones de frontera son:

CLCULO NUMRICO DEPARTAMENTO DE MATEMTICA
REN ZIGA FLORES UNIVERSIDAD DE ANTOFAGASTA

11

1 0
0 0 1
5 4
5 4 5
(0) 2 '(0) 0 2 0 9 10 0
1
5
(1) '(1) 1 1 5 4 1
1
5
y y
y y y y y
y y
y y y y y
| |
|

+ = + = + =
|
|
\ .

= = =

El resto de las ecuaciones se calculan en la forma siguiente:

( ) ( ) ( )
2 2
1 1
2 4 2 2 2 ; 1, 2,3, 4
i i i i i i i
hp y h q y hp y h f i
+
+ + + + = =

Adems ( )
i i i
p x p x = = , ( ) 1
i i
q x q = = y
2
( ) 2
i i i
f x f x = = +
Si
1
1
1
5
i x = =

( )
2 2 2
0 1 2
0 1 2 0 1 2
1 1 1 1 1 1 1
2 4 2 1 2 2 2
5 5 5 5 5 5 5
51 98 49 102 102
51 98 49
25 25 25 625 25
y y y
y y y y y y
| | | |
| | | | | || | | | | || | | | | |
+ + + + = + | |
| | | | | | | | |
| |
\ .\ . \ . \ .\ . \ . \ . \ . \ .
\ . \ .
+ = + =


Si
1
2
2
5
i x = =

( )
2 2 2
1 2 3
1 2 3 1 2 3
1 2 1 1 2 1 2
2 4 2 1 2 2 2
5 5 5 5 5 5 5
52 98 48 108 108
52 98 48
25 25 25 625 25
y y y
y y y y y y
| | | |
| | | | | || | | | | || | | | | |
+ + + + = + | |
| | | | | | | | |
| |
\ .\ . \ . \ .\ . \ . \ . \ . \ .
\ . \ .
+ = + =

Si
1
3
3
5
i x = =

( )
2 2 2
2 3 4
2 3 4 2 3 4
1 3 1 1 3 1 3
2 4 2 1 2 2 2
5 5 5 5 5 5 5
53 98 47 118 118
53 98 47
25 25 25 625 25
y y y
y y y y y y
| | | |
| | | | | || | | | | || | | | | |
+ + + + = + | |
| | | | | | | | |
| |
\ .\ . \ . \ .\ . \ . \ . \ . \ .
\ . \ .
+ = + =

Si
1
4
4
5
i x = =

( )
2 2 2
3 4 5
3 4 5 3 4 5
1 4 1 1 4 1 4
2 4 2 1 2 2 2
5 5 5 5 5 5 5
54 98 46 132 132
54 98 46
25 25 25 625 25
y y y
y y y y y y
| | | |
| | | | | || | | | | || | | | | |
+ + + + = + | |
| | | | | | | | |
| |
\ .\ . \ . \ .\ . \ . \ . \ . \ .
\ . \ .
+ = + =


Por tanto el sistema pedido nos queda en la forma siguiente:

CLCULO NUMRICO DEPARTAMENTO DE MATEMTICA
REN ZIGA FLORES UNIVERSIDAD DE ANTOFAGASTA

12

0 1 2
1 2 3
2 3 4
3 4 5
0 1
4 5
102
51 98 49
25
108
52 98 48
25
118
53 98 47
25
132
54 98 46
25
9 10 0
5 4 1
y y y
y y y
y y y
y y y
y y
y y
+ =
+ =
+ =
+ =
+ =
=


Escrito en forma matricial nos queda en la forma siguiente:


0
1
2
3
4
5
51 98 49 0 0 0 4, 08
0 52 98 48 0 0 4,32
0 0 53 98 47 0 4, 72
0 0 0 54 98 46 5, 28
9 10 0 0 0 0 0
0 0 0 0 5 4 1
y
y
y
y
y
y
( ( (
(
( (

(
( (
(
( (
=
(
( (

(
( (
( ( (

( ( (

(





b)

2
''( ) 2 '( ) ( ) 5 10
(0) '(0) 1
1
(1) '(1) 7 Use
5
y x xy x y x x
y y
y y h
+ + = +
+ =
+ = =

Solucin:
Como
0 0
( ) (0) 0 ; ( ) (1) 1
n n
y x y x a y x y x b = = = = = = , luego el intervalo es
| | 0 ; 1 I = , adems
1 0
5
1
5
b a
h n
n

= = = , luego el soporte tiene 1 n + puntos, los cuales
estn dados por

0
1 1
0 0, 2 ; 0,1, 2, 3, 4, 5
5 5
i
x x ih i i i i
| | | |
= + = + = = =
| |
\ . \ .

El soporte ser
1 2 3 4
0, , , , 1
5 5 5 5

`
)

Las condiciones de frontera nos quedan as:

' 1 1 0
0 0 0 0
( ) (0) ; '( ) '(0)
i i
y y y y
y x y y y x y y
h h
+

= = = = = =


' 1 1
( ) (1) ; '( ) '(1)
i i n n
n n n n
y y y y
y x y y y x y y
h h


= = = = = =
Del problema las condiciones de frontera son:
CLCULO NUMRICO DEPARTAMENTO DE MATEMTICA
REN ZIGA FLORES UNIVERSIDAD DE ANTOFAGASTA

13


1 0
0 0 1
5 4
5 4 5
(0) '(0) 1 1 4 5 1
1
5
(1) '(1) 7 7 5 6 7
1
5
y y
y y y y y
y y
y y y y y
| |
|

+ = + = + =
|
|
\ .

+ = + = + =

El resto de las ecuaciones se calculan en la forma siguiente:

( ) ( ) ( )
2 2
1 1
2 4 2 2 2 ; 1, 2,3, 4
i i i i i i i
hp y h q y hp y h f i
+
+ + + + = =

Adems ( ) 2
i i i
p x p x = = , ( ) 1
i i
q x q = = y
2
( ) 5 10
i i i
f x f x = = +
Si
1
1
1
5
i x = =

( )
2 2 2
0 1 2
0 1 2 0 1 2
1 1 1 1 1 1 1
2 2 4 2 1 2 2 2 5 10
5 5 5 5 5 5 5
48 98 52 270 270
48 98 52
25 25 25 625 25
y y y
y y y y y y
| | | |
| | | | | || | | | | || | | | | |
+ + + + = + | |
| | | | | | | | |
| |
\ .\ . \ . \ .\ . \ . \ . \ . \ .
\ . \ .
+ = + =


Si
1
2
2
5
i x = =

( )
2 2 2
1 2 3
1 2 3 1 2 3
1 2 1 1 2 1 2
2 2 4 2 1 2 2 2 5 10
5 5 5 5 5 5 5
46 98 54 330 330
46 98 54
25 25 25 625 25
y y y
y y y y y y
| | | |
| | | | | || | | | | || | | | | |
+ + + + = + | |
| | | | | | | | |
| |
\ .\ . \ . \ .\ . \ . \ . \ . \ .
\ . \ .
+ = + =

Si
1
3
3
5
i x = =

( )
2 2 2
2 3 4
2 3 4 2 3 4
1 3 1 1 3 1 3
2 2 4 2 1 2 2 2 5 10
5 5 5 5 5 5 5
44 98 56 430 430
44 98 56
25 25 25 625 25
y y y
y y y y y y
| | | |
| | | | | || | | | | || | | | | |
+ + + + = + | |
| | | | | | | | |
| |
\ .\ . \ . \ .\ . \ . \ . \ . \ .
\ . \ .
+ = + =

Si
1
4
4
5
i x = =

( )
2 2 2
3 4 5
3 4 5 3 4 5
1 4 1 1 4 1 4
2 2 4 2 1 2 2 2 5 10
5 5 5 5 5 5 5
42 98 58 570 570
42 98 58
25 25 25 625 25
y y y
y y y y y y
| | | |
| | | | | || | | | | || | | | | |
+ + + + = + | |
| | | | | | | | |
| |
\ .\ . \ . \ .\ . \ . \ . \ . \ .
\ . \ .
+ = + =


Por tanto el sistema pedido nos queda en la forma siguiente:

CLCULO NUMRICO DEPARTAMENTO DE MATEMTICA
REN ZIGA FLORES UNIVERSIDAD DE ANTOFAGASTA

14

0 1 2
1 2 3
2 3 4
3 4 5
0 1
4 5
270
48 98 52
25
330
46 98 54
25
430
44 98 56
25
570
42 98 58
25
4 5 1
5 6 7
y y y
y y y
y y y
y y y
y y
y y
+ =
+ =
+ =
+ =
+ =
=


Escrito en forma matricial nos queda en la forma siguiente:


0
1
2
3
4
5
48 98 52 0 0 0 10,8
0 46 98 54 0 0 13, 2
0 0 44 98 56 0 17, 2
0 0 0 42 98 58 22,8
4 5 0 0 0 0 1
0 0 0 0 5 6 7
y
y
y
y
y
y
( ( (
(
( (

(
( (
(
( (
=
(
( (

(
( (
( ( (

( ( (

(





Integracin Numrica

En este tema se pretende dar una aproximacin numrica del valor de una integral ( )
b
a
f x
}
en los
distintos problemas que se presentan en la prctica, como son:
Conocida una primitiva ( ) F x de la funcin ( ) f x sabemos que
- ( ) ( ) ( )
b
a
f x F b F a =
}

pero necesitamos aproximar el valor de ( ) ( ) F b F a
Ejemplo 2:
| |
2
2
1
1
1
ln( ) ln(2) ln(1) ln(2) dx x
x
= = =
}
, pero se debe aproximar el valor de ln(2)
- Si se conoce la funcin ( ) f x , pero no se conoce ninguna primitiva, se busca otra funcin
( ) g x que aproxime la funcin ( ) f x de la cual si se conocen las primitivas
Ejemplo 3:

2
1
x
e
dx
x
}
, se desarrolla en serie de potencias

2
1 1
1
2! !
( ) ( ) 1 ( ) ( ) ( )
2 !
n
x n
x x
x
e x x
n
f x x x g x x
x x x n
c c c
+ + + +
= = + = + + + + + = +


para obtener
2 2 2
1 1 1
( ) ( ) ( ) f x dx g x dx x dx c = +
} } }
en donde habr que evaluar
2
1
( ) x dx c
}

CLCULO NUMRICO DEPARTAMENTO DE MATEMTICA
REN ZIGA FLORES UNIVERSIDAD DE ANTOFAGASTA

15
- Slo se conocen los valores de ( ) f x en el soporte { }
0 1 2
, , , ,
n
x x x x , en este caso, se
interpola la funcin (por ejemplo mediante la interpolacin polinmica)

( )
( )
( 1)
0
( )
( ) ( )
1 !
( ) ( ) ( )
n
n b b b
i
a a a
i
b b b
a a a
f c
f x dx P x dx x x dx
n
f x dx P x dx x dx c
+
=
= +
+
= +
[
} } }
} } }



Si realizamos la interpolacin de Lagrange, y llamamos
0 1
( ) ( )( ) ( )
n
z x x x x x x x = , el
polinomio de interpolacin viene dado por
0 0 1 1
( ) ( ) ( ) ( )
n n n
P x y L x y L x y L x = + + + en donde los
polinomios de Lagrange ( )
i
L x pueden expresarse de la forma


( )
( )
( )
'( )
i
i i
z x
L x
x x z x
=


Adems,

0 0 0
( ) ( ) ( )
n n n
b b b
n i i i i i i
a a a
i i i
P x dx y L x dx y L x dx a y
= = =
= = =

} } }


Donde los coeficientes ( )
b
i i
a
a L x dx =
}
no dependen de la funcin, sino slo del soporte.
Adems, si f es un polinomio de grado no superior a n, ( ) 0 x c = , por lo que para polinomios es

0
( ) ( )
n
b
i i
a
i
P x dx a P x
=
=

}


Las formas ms generalizadas de aproximacin de la integral de una funcin ( ) f x se realizan
mediante uno de los dos siguientes procesos.
- Dando un soporte (generalmente regular) y los valores de la funcin en los puntos del
soporte. Frmulas de Newton-Ctes.

- Dando diferentes soportes y buscando el polinomio ( ) P x que hace ms pequea la integral
| |
( ) ( )
b
a
f x P x dx
}

Frmulas de Gauss que no se vern en este curso.











CLCULO NUMRICO DEPARTAMENTO DE MATEMTICA
REN ZIGA FLORES UNIVERSIDAD DE ANTOFAGASTA

16
Frmula del trapecio

Corresponde sta al caso en que la funcin f se aproxima en cada subintervalo | |
1
,
i i
x x

,
1, 2, 3, , i n = , como se muestra en la figura siguiente

0
x
1
x
2
x
3
x
1 i
x
i
x
1 n
x
n
x
1
A
2
A
3
A
i
A
n
A


Para calcular el rea en forma aproximada debemos calcular el rea de n trapecios que se forman de
la siguiente manera:

0 1
1
1 2
2
2 3
3
1
1
( ) ( )
2
( ) ( )
2
( ) ( )
2
( ) ( )
2
( ) ( )
2
i i
i
n n
n
f x f x
A h
f x f x
A h
f x f x
A h
f x f x
A h
f x f x
A h

+ | |
=
|
\ .
+ | |
=
|
\ .
+ | |
=
|
\ .
+ | |
=
|
\ .
+ | |
=
|
\ .


Sumando estas reas se obtiene:

( )
1
0
1 1
2 ( ) ( )
2
n n
T i i n
i i
h
A A f x f x f x

= =
(
= = + +
(




Por tanto el rea bajo la curva en forma aproximada ser:

CLCULO NUMRICO DEPARTAMENTO DE MATEMTICA
REN ZIGA FLORES UNIVERSIDAD DE ANTOFAGASTA

17

0
1
0
1
( ) ( ) ( ) 2 ( )
2
n
n
x
n i
x
i
h
f x dx f x f x f x

=
(
(
~ + +
(

}


Esta frmula se conoce como la Regla del Trapecio cuando se considera n impar.
El error que se comete cuando se aplica esta regla es dado por:

( )
0
3
0
2
; ''( )
12 n
n
x x x
x x M
E M mx f x
n
s s

s =

Frmula de Simpson

Para determinar el rea bajo la curva consideremos tres puntos,
0 1 2
, , P P P como se muestra en la
figura siguiente:

La curva que pasa por estos tres puntos es una parbola de la forma
2
( ) K x Ax Bx C = + + , por tanto
el rea bajo la curva es dada por:

( )
3 2
2
2
( )
3 2
( ) 2 6
3
h h
x h
x h
h h
h
h
Ax Bx
K x dx Ax Bx C dx Cx
h
K x dx Ah C
=
=

= + + = + +
( = +

} }
}

Por otra parte si evaluamos cada uno de estos puntos se obtiene lo siguiente:
CLCULO NUMRICO DEPARTAMENTO DE MATEMTICA
REN ZIGA FLORES UNIVERSIDAD DE ANTOFAGASTA

18
Para ( )
2
0 0 0
, P h y y Ah Bh C = + (1)
Para
1 1 1
(0, ) P y y C = (2)
Para
2
2 2 2
( , ) P h y y Ah Bh C = + + (3)
Si multiplicamos (2) por cuatro y sumamos estas tres igualdades se obtiene:


2
0 1 2
4 2 6 y y y Ah C + + = +

Por tanto el rea la podemos expresar como:
| |
2
0 1 2
( ) 2 6 4
3 3
h
h
h h
K x dx Ah C y y y

( = + = + +

}

En forma anloga podemos calcular el rea entre los puntos
2 3 4
, , P P P , obteniendo:

| |
2 3 4
4
3
h
y y y + +
Por tanto el rea aproximada de:

| |
0
0
0 1 2 2 3 4 2 1
2 1
0
( ) ( 4 ) ( 4 ) ( 4 )
3
( ) 2
3
n
n
x
n n n
x
n n
x
n i i
x
i par i impares
h
f x dx y y y y y y y y y
h
f x dx y y y y


= =
~ + + + + + + + + +
(
(
~ + + +
(

}

}



Regla de Simpson para n par

0
2 1
0
2 1
( ) 2 4
3
n
n n
x
n i i
x
i i
i par i impar
h
f x dx f f f f

= =
(
(
~ + + +
(
(
(


}

Error de la regla de Simpson:


( )
0
5
0 ( )
4
; ( )
180 n
n iv
x x x
x x M
E M mx f x
n
s s

s =



Ejemplo 4:
Un arquitecto planea utilizar un arco de forma parablica, dada por
2
3 0,1 y x x = metros, donde
y es la altura desde el piso y x est dada en metros.

a) Usando la regla de Simpson con 10 n = , calcular la longitud total del arco.

b) Usando la Regla del Trapecio, con 10 n = , calcular la longitud total del arco.

Usar: ( )
2
1 '( )
b
a
L y x dx = +
}

CLCULO NUMRICO DEPARTAMENTO DE MATEMTICA
REN ZIGA FLORES UNIVERSIDAD DE ANTOFAGASTA

19
Solucin:

Observemos la grfica de la ecuacin dada.
Calculemos la interseccin con el eje X
2
0 3 0,1 0 0 30 y x x x x = = = v =
La derivada de y es dada por
( )
2
2
'( ) 3 0, 2 '( ) 9 1, 2 0, 04 y x x y x x x = = +
Por tanto la longitud del arco es:
30
2
0
10 1, 2 0, 04 L x x dx = +
}

Como
30 0
10 3
10
b a
n h
n

= = = = ,
adems
0
0 3 3 ; 0,1, 2,....10
i i
x x ih i x i i = + = + = = , podemos construir la siguiente tabla.


i Xi f(Xi)
0 0 3,16227766
1 3 2,6 2,6
2 6 2,05912603 2,05912603
3 9 1,56204994 1,56204994
4 12 1,16619038 1,16619038
5 15 1 1
6 18 1,16619038 1,16619038
7 21 1,56204994 1,56204994
8 24 2,05912603 2,05912603
9 27 2,6 2,6
10 30 3,16227766
22,099288 6,45063281 9,32409987


a) Aplicando el mtodo de Simpson se tiene:

0
2 1
0
2 1
( ) 2 4
3
n
n n
x
n i i
x
i i
i par i impar
h
f x dx f f f f

= =
(
(
~ + + +
(
(
(


}


| |
30
0
3
( ) 3,16227766 3,16227766 2(6, 45063281) 4(9,3240998)
3
56,52222014
f x dx
L
~ + + +
~
}


Luego la longitud del arco es aproximadamente 56,52222014 metros.

b) Aplicando el mtodo del Trapecio


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

}

CLCULO NUMRICO DEPARTAMENTO DE MATEMTICA
REN ZIGA FLORES UNIVERSIDAD DE ANTOFAGASTA

20

| |
30
0
3
( ) 3,16227766 3,16227766 2(22, 099288)
2
75, 78469698
f x dx
L
~ + +
~
}


El valor exacto de
30
2
0
10 1, 2 0, 04 56,52639720 L x x dx = + =
}




Ejemplo 5:
Dada la tabla de valores




Calcular
( )
2 2
( ) 9
R
g x x y dydx +
}}
, donde R es la limitada por las curvas x y = , 1 x = . Para la
integral en la variable y , usar el mtodo de Simpson con 6 n = y para la variable x aproximar la
integral la integral usando el mtodo del trapecio con una precisin de
3
5 10

(para aproximar la
derivada usar 0,1 h = )
Solucin:
a) La grafica de la Regin R se muestra en la figura adjunta
Sea

( )
( )
2 2
1
2 2
0
( ) 9
( ) 9
R
x
x
I g x x y dydx
I g x x y dy dx

= +
| |
= + |
|
\ .
}}
} }



Sea

( )
2 2
1
9
6
6 3
; 0,1, 2,...., 6
3
x
x
i
I x y dy
x x x
n h
x
y x i i

= +
+
= = =
| |
= + =
|
\ .
}


Formemos la siguiente tabla:

x 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0
( ) f x 0.001 0.011 0.014 0.019 0.026 0.035 0.046 0.059 0.074 0.091 0.108
y x =
y x =
1 x =
y x =
y x =
1 x =
CLCULO NUMRICO DEPARTAMENTO DE MATEMTICA
REN ZIGA FLORES UNIVERSIDAD DE ANTOFAGASTA

21



2 1
0
2 1
2 2 2 2
1
2 3
1
( ) 2 ( , 4 ( , )
3
10 10 2(4 ) 4(11 )
9
72 8
9
n n
x
n i i
x
i i
i par i impar
h
f x dx f f f x y f x y
x
I x x x x
x
I x x

= =
(
(
~ + + +
(
(
(

( ~ + + +

( ~ =


}

Luego

( )
1 1
2 2 3
0 0
( ) 9 8 ( )
x
x
I g x x y dy dx x g x dx

| |
= + = |
|
\ .
} } }

b)
Sea

1
3
2
0
8 ( ) I x g x dx =
}

Para la precisin
3
5 10 c

= , el error del mtodo del trapecio es:


( )
0
3
0
2
; ''( )
12 n
n
x x x
x x M
E M mx f x
n
s s

s =

( )
0
3
3 3
2
1 0
''( ) 5 10 ; ( ) ( )
12 n
x x x
E mx f x f x x g x
n

s s

s < ~
Para calcular la aproximacin de ''( ) f x con 0,1 h = de la tabla dada se tiene:

0,0 0,001 0,000000
0,1 0,011 0,000011 0,009
0,2 0,014 0,000112 0,030
0,3 0,019 0,000513 0,075
0,4 0,026 0,001664 0,156
0,5 0,035 0,004375 0,285
0,6 0,046 0,009936 0,474
0,7 0,059 0,020237 0,735
0,8 0,074 0,037888 1,080
0,9 0,091 0,066339 1,321
1,0 0,108 0,108000
i
x
( )
i
g x ( )
3
( )
i i
f x x g x =
''( )
i
f x

i
i
y ( , )
i
f x y
0 x
2
10x
1 2 / 3 x
2
5x
2 1 / 3 x
2
2x
3 0
2
x
4 / 3 x
2
2x
5 2 / 3 x
2
5x
6 x
2
10x
CLCULO NUMRICO DEPARTAMENTO DE MATEMTICA
REN ZIGA FLORES UNIVERSIDAD DE ANTOFAGASTA

22
( ) ( ) ( )
1 1
2
1
''( ) 2 ; 1, 2, 3,....,9
i i i i
f x f x f x f x i
h
+
( ~ + =



0 1
''( ) 1,321
x
mx f x
s s
~
Por tanto

( )
( )
0
3
3 3 2
2 2 3
3
1 0 1 1,321
''( ) 5 10 1,321 5 10
12 12 12 5 10
1,321 10
4, 6921 5
12 5
n
x x x
mx f x n
n n
n n

s s

< < >


> = =


Para calcular
1
3
2
0
8 ( ) I x g x dx =
}
, con 5 n = , entonces
{ }
1 0 1
0, 2 0; 0, 2; 0, 4; 0, 6; 0,8; 1, 0
5 5
h

= = =
Formando la siguiente tabla de valores se tiene:

0 0,0 0,001 0,000000
1 0,2 0,014 0,000112 0,000112
2 0,4 0,026 0,001664 0,001664
3 0,6 0,046 0,009936 0,009936
4 0,8 0,074 0,037888 0,037888
5 1,0 0,108 0,108000
0,049600
i
i
x
( )
3
( )
i i
f x x g x = ( )
i
g x

Segn el mtodo del trapecio se tiene:


| |
1
3
2 0
0
1
1
3
2
0
8 ( ) 2
2
0, 2
8 ( ) 0 0,108 2(0, 0496) 0, 02072
2
n
n i
i
h
I x g x dx f f f
I x g x dx
=
(
(
= ~ + +
(

= ~ + + =

}
}

Por ltimo el valor pedido es:


( )
1
2 2
2
0
( ) 9 8 8 0, 02072 0,16576
x
x
I g x x y dy dx I

| |
~ + = = = |
|
\ .
} }

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