Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Ingeniero Gelogo
Csar Menndez
Integracin Numrica
Planificacin:
Materiales:
Conocimientos previos:
Integracin Numrica
Anlisis Numrico
Objetivos
Temario
Bibliografa
f x dx
valores
i f de
xi los coeficientes
Obtencin
de los
a
i 0
Determinacin del
error cometido
Anlisis Numrico
Integracin Numrica
Objetivos
Descripcin
Objetivos
Temario
Bibliografa
Integracin Numrica
Anlisis Numrico
Introduccin
Descripcin
Objetivos
Teorema
Temario
Introduccin
NC Reglas simples
NC Compuestas
Cuadratura Gausiana
Int. Romberg
Int. Adaptativa
Bibliografa
f x g x dx f c g x dx
b
Definicin
FN f ,[a, b] orden n
b
Pn x : Pn x dx FN Pn ,[a, b] 0
a
Anlisis Numrico
Integracin Numrica
Descripcin
Objetivos
Temario
Introduccin
NC Reglas simples
NC Compuestas
Cuadratura Gausiana
Int. Romberg
Int. Adaptativa
Bibliografa
de Newton-Cotes
de cuadratura (gausiana)
de coeficientes indeterminados
Plantean un sistema de ecuaciones, dependiendo del orden de la frmula, cuya resolucin obtiene los coeficientes
Integracin Numrica
Anlisis Numrico
Bibliografa
f x 1 1dx 1 01 11 21
0
1
0 0.25 1 0.5 2 0.75
0
2
1
1
2
2
2
2
f x x x 2 dx 0 0.25 1 0.5 2 0.75
0
3
1
f x x xdx
Integracin Numrica
Anlisis Numrico
Objetivos
Temario
Introduccin
NC Reglas simples
NC Compuestas
Cuadratura Gausiana
Int. Romberg
Int. Adaptativa
Bibliografa
0.25
0.252
0.75
0.752
1
0.5
0.52
1 0 23
1
1
1
2
3
1
2
3
2 3
Orden de la frmula
1?2
1
2
1
3
3
3
f x x x dx 0.25 0.5 0.75
0
4 3
3
3
4
3
1?2
1
2
37
4
4
4
f x x x dx 0.25 0.5 0.75
0
5 3
3
3
192
4
Frmula de orden 3
Anlisis Numrico
Integracin Numrica
Bibliografa
n
n
P
x
f
x
L
x
:
L
i
i
i x
n
i 0
f x Pn x En x
n 1
n
f
x
E x
x xk
n
n 1 ! k 0
f x dx
Pn x dx e x e x E x dx
a
Integracin Numrica
Anlisis Numrico
Descripcin
Interpolante de grado 0
Objetivos
f x dx f a dx
Temario
a b
f
x
dx
f
dx
a
a 2
a f a2b , x x a2b dx f a2b b a f 13
b a
como f x, x0 f x, x0 , x1 x x1 f x0 , x1 y
a b
2
a b
2
, x x a 2 b dx f
a
b
x a 2 b
, , x1
a b
2
x dx =0
b
a b
2
, x, x1 x x1 x a 2 b dx x1
a b
2
3 b
Interpolante de grado 1
f x dx P x dx f x a x b dx
b
f x a dx f a b a f
b a
Introduccin
NC Reglas simples
- Cerradas
- Abiertas
- Ejemplos
NC Reglas Compuestas
Cuadratura Gausiana
Int. Romberg
Int. Adaptativa
Bibliografa
1
2
1
2
P1 x dx f a
b xa
f a f b
xb
dx f b
dx
b a
a ba
a b
2
f x a x b dx
1
2
f x a x b
a
b a
dx
12
Integracin Numrica
Anlisis Numrico
Interpolante de grado 2
Objetivos
Temario
Introduccin
NC Reglas simples
- Cerradas
- Abiertas
NC Reglas Compuestas
Cuadratura Gausiana
Int. Romberg
Int. Adaptativa
f x dx P2 x dx
1
3!
a
a b
f x a x
x b dx
2
RT
RPM
RT 2 RPM
Bibliografa
RSimpson
P a P2 b
b a P
P2 x dx 2
b a
2
2
12
3
P2 x dx P2
ab
2
b a
b a
P2
2
1
3
ba
P2 a 4 P2 a 2 b P2 b
2
ba
f x dx
f a 4 f a 2 b f b
3 P2 x dx
a
como f x, a, a 2 b , b f x, a, a 2 b , b, x3 x x3 f a, a 2 b , b, x3 y
1
a 3!
10
x a x x b dx =0
b
a b
2
f x a x a 2 b x b dx f x, a , a 2 b , b, a 2 b x a 2 b x a x a 2 b x b dx
a
f iv 2 b a
6 30 2
Integracin Numrica
Anlisis Numrico
Reglas cerradas
Descripcin
Objetivos
Temario
Introduccin
NC Reglas simples
- Cerradas
- Abiertas
NC Reglas Compuestas
Cuadratura Gausiana
Int. Romberg
Int. Adaptativa
Bibliografa
f x dx i f xi
i 0
x0 a , xn b xk x0 kh h
ba
n
0
n 2 !
a, b
n 2 n 1
h f
n s s 1 L s n ds n impar
n 1 ! 0
11
h
2
h3
f x0 f x1
f
12
h
3
h5 4
f x0 4 f x1 f x2
f
90
Regla de Simpson
3h
8
3h5 4
f x0 3 f x1 3 f x2 f x3
f
80
2h
45
8h 7 6
7 f x0 32 f x1 12 f x2 32 f x3 7 f x4
f
945
Integracin Numrica
Anlisis Numrico
Ejemplo (I)
Descripcin
cos x dx sin x
Objetivos
Temario
Introduccin
NC Reglas simples
- Cerradas
- Abiertas
NC Reglas Compuestas
Cuadratura Gausiana
Int. Romberg
Int. Adaptativa
Bibliografa
2 puntos (Trapecio)
cos 0 cos
f x f x 2
2
2
0
h
Error
f 2
0.3230
h
2
1 0
0.7854
12
12
3 puntos (Simpson)
h
3
Error
12
h iv
f
90
90
0.0033
1.0023
Anlisis Numrico
Integracin Numrica
Ejemplo (II)
Descripcin
f x0 3 f x1 3 f x2 f x3
3
6 cos 0 3cos 3cos 2 cos
6
6
2
8
3h
8
Objetivos
Temario
Introduccin
NC Reglas simples
- Cerradas
- Abiertas
NC Reglas Compuestas
Cuadratura Gausiana
Int. Romberg
Int. Adaptativa
Bibliografa
1.001
3h5 iv
Error
f
80
80
5 puntos
7 f x0 32 f x1 12 f x2 32 f x3 7 f x4
2
8 7 cos 0 32 cos 12 cos 32 cos 3 7 cos
8
4
8
2
45
2h
45
8h 7 vi
Error
f
845
13
3
6 0.0015
8
8
845
1.2192 105
1.000
Integracin Numrica
Anlisis Numrico
Reglas abiertas
Descripcin
Introduccin
NC Reglas simples
- Cerradas
- Abiertas
NC Reglas Compuestas
Cuadratura Gausiana
Int. Romberg
Int. Adaptativa
Bibliografa
f x dx i f xi
Objetivos
Temario
i 0
n 1 !
n 1
n2
n 1
s 2 s 1 L s n ds
n 1
s s 1 L s n ds
n par
a, b
n impar
14
ba
n2
x0 a h, xn b h xk x0 kh h
h3
2hf x0
f
3
3h
2
3h3
f x0 f x1
f
4
4h
3
14h5 4
2 f x0 f x1 2 f x2
f
45
5h
24
95h5 4
11 f x0 f x1 f x2 11 f x3
f
144
Integracin Numrica
Anlisis Numrico
Ejemplo (I)
Descripcin
cos x dx sin x
Objetivos
Temario
Introduccin
NC Reglas simples
- Cerradas
- Abiertas
NC Reglas Compuestas
Cuadratura Gausiana
Int. Romberg
Int. Adaptativa
Bibliografa
1 punto
2hf x0 2
4
Error
h
3
f 4
2 puntos
3h
2
cos
4
1.1107
0.1615
6 cos cos 2
f x0 f x1
6
6
2
3
3h3
6
Error
f
4
4
15
0.1077
1.0729
Integracin Numrica
Anlisis Numrico
Ejemplo (II)
Descripcin
Objetivos
Temario
Introduccin
NC Reglas simples
- Cerradas
- Abiertas
NC Reglas Compuestas
Cuadratura Gausiana
Int. Romberg
Int. Adaptativa
Bibliografa
3 puntos
4h
3 2 f x0 f x1 2 f x2
4
3
3h iv
6
Error
f
80
80
0.9980
0.0029
4 puntos
11 f x0 f x1 f x2 11 f x3
5
10 11cos
cos 2
cos 3
11cos 4
10
10
10
10
24
5h
24
95
10 0.0020
5
Error
16
95h iv
f
144
144
0.9986
Integracin Numrica
Anlisis Numrico
Reglas Compuestas
Descripcin
Objetivos
Bibliografa
f x dx f x dx
b
Temario
Introduccin
NC Reglas simples
NC Reglas Compuestas
- Trapecio y Simpson
- Control del error
- Estabilidad
Cuadratura Gausiana
Int. Romberg
Int. Adaptativa
i 1 I i
Reglas ms habituales
Regla del
trapecio compuesta
n
n
f x dx
b
i 1
xi
xi 1
f x dx
i 1
h
2
h3
f xi 1 f xi
f i
12
n 1
f x0 2 f xi f xn
i 1
h
2
f x dx
b
i 1
x2 i
x2 i 1
f x dx
i 1
h
3
b a h2
12
h5 4
f x
4
f
x
f
x
2
i
1
2
i
i
2 i 1
90
n 1
f x0 4 f x2i 1 2 f x2i f xn
i 1
i 1
h
3
17
b a h4
180
f 4
Integracin Numrica
Anlisis Numrico
Descripcin
f x dx
a
Temario
f x0 2 f xi f xn
i 1
3 intervalos (4 puntos)
f 0 2 f 6 f 3 f
2
12
4 intervalos
(5 puntos)
3
b a h2
a , b
Bibliografa
18
n 1
cos x dx sin x
2 intervalos (3 puntos)
f 0 2 f 4 f 2 8 1.0 2 0.7071+0.0 0.9481
2
Objetivos
Introduccin
NC Reglas simples
NC Reglas Compuestas
- Trapecio y Simpson
- Control del error
- Estabilidad
Cuadratura Gausiana
Int. Romberg
Int. Adaptativa
Regla
h
2
2 intervalos
3 intervalos
4 intervalos
2 0 4
M 0.0807
12
2 0 6
12
2 0 8
12
f x dx RT
a
M 0.0359
f x dx RT
M 0.0202
f x dx RT
1 0.9481 0.0519
1 0.9770 0.0230
1 0.9871 0.0129
Integracin Numrica
Anlisis Numrico
Descripcin
Objetivos
f x dx
a
Temario
Bibliografa
12
2 i 1
12
2 f
2 i
12
i 1
4 intervalos
(9 puntos)
4
3
f 0 4 f
i 1
2 i 1
16
2 f
2 i
16
i 1
b a h4
180
f 2
f 2
24
32
a , b
19
3 intervalos
(7 puntos)
3
2
i 1
16
f x0 4 f x2 i 1 2 f x2i f xn
i 1
i 1
f 0 4 f
cos x dx sin x
n 1
2 intervalos (5 puntos)
f 0 4 f 8 f 3 8 2 f 2 8 f
Introduccin
NC Reglas simples
NC Reglas Compuestas
- Trapecio y Simpson
- Control del error
- Estabilidad
Cuadratura Gausiana
Int. Romberg
Int. Adaptativa
Regla
h
3
2 int.
3 int.
4 int.
12
h 16
2 0 8
180
2 0 12
M 2.07 104
4
M 4.1 105
180
2 0 16
180
M 4.1 105
f x dx RT
a
f x dx RT
a
f x dx RT
a
1 1.00013 1.3 10 4
Integracin Numrica
Anlisis Numrico
Objetivos
Temario
Introduccin
NC Reglas simples
NC Reglas Compuestas
- Trapecio y Simpson
- Control del error
- Estabilidad
Cuadratura Gausiana
Int. Romberg
Int. Adaptativa
Bibliografa
Trapecio
b a h2 M
con M 2 sup f
Simpson
b a h4 M
con M 4 sup f iv
12
180
a , b
a , b
Ejemplo
h 106 h
2
12
24
2 0 h2 M
Simpson
2 0 h4 M h4 106 h
4
180
360
24
10
0.0028 n
568.31 569
20
4 360
6
0.1035 n
10
2h
7.59 8
Integracin Numrica
Anlisis Numrico
Descripcin
Objetivos
f x dx
a
Temario
Bibliografa
21
12
3 intervalos
(7 puntos)
3
2
i 1
2 i 1
12
2 f
2 i
12
i 1
4 intervalos
(9 puntos)
4
3
f 0 4 f
16
f x0 4 f x2 i 1 2 f x2i f xn
i 1
i 1
f 0 4 f
n 1
2 intervalos (5 puntos)
f 0 4 f 8 f 3 8 2 f 2 8 f
Introduccin
NC Reglas simples
NC Reglas Compuestas
- Trapecio y Simpson
- Control del error
- Estabilidad
Cuadratura Gausiana
Int. Romberg
Int. Adaptativa
Regla
h
3
i 1
2 i 1
16
2 f
2 int.
3 int.
4 int.
i 1
2 i
16
b a h4
180
f 2
f 2
24
32
Integracin Numrica
Anlisis Numrico
Introduccin y definicin
Descripcin
Objetivos
Bibliografa
f x dx f x
1
i 0
f x dx 1f
3
3
coef.
indeter
1 f
f x 1
f x x
2
f x x
f x x3
3
3
2 01 11
0 0 x0 1 x1
2 0 x02 1 x1 2
0 0 x03 1 x13
0 1
1
1
x0 3 3
x1
3
3
Polinomios ortogonales
Base de polinomios
x , x ,L x ,L / grado x n
0
22
Temario
Introduccin
NC Reglas simples
NC Reglas Compuestas
Cuadratura Gausiana
- Introduccin
- Polin. Ortogonales
- Ejemplos
Int. Romberg
Int. Adaptativa
Ejemplo
Integracin Numrica
Anlisis Numrico
Propiedades
Relacin de recurrencia
b
2
xw
x
dx
0 x 1 1 x x B1 B1 a b
2
a w x 0 x dx
Descripcin
Objetivos
Bibliografa
k 1
Temario
Introduccin
NC Reglas simples
NC Reglas Compuestas
Cuadratura Gausiana
- Introduccin
- Polin. Ortogonales
- Ejemplos
Int. Romberg
Int. Adaptativa
xw x x dx
B
w x x dx
x x B x C x
xw x x x dx
C
w x x dx
Orden de las frmulas y error
k
k 1
k 1
k 2
k 1
k 2
k 2
P2 n 1 x n x Pn 1 x Rn 1 x y
P2 n 1 k n k Pn 1 k Rn 1 k Rn 1 k
w x P2 n 1 x dx w x n x Pn 1 x dx w x Rn 1 x dx
n
w x Rn 1 x dx P2 n 1 k w x Lkn1 x dx
b
23
f x dx
Rn 1 x dx
i 1
b w x n x
i
a
2n !
i 0
2n
dx
Anlisis Numrico
Integracin Numrica
Nombre
[a,b]
w(x)
Notas
Legendre
[-1,1]
1 x y 2 xy n n 1 y 0
2
Temario
Introduccin
NC Reglas simples
NC Reglas Compuestas
Cuadratura Gausiana
- Introduccin
- Polin. Ortogonales
- Ejemplos
Int. Romberg
Int. Adaptativa
Bibliografa
Tchebishev
1 x2
Hermite
(-,)
Laguerre
[0,)
e x
Laguerre
24
[-1,1]
x2
1 x y xy
2
y0
Integracin Numrica
Anlisis Numrico
Polinomios de Legendre
Descripcin
L1 x x
Temario
Bibliografa
L2 x
1
2
L3 x
1
2
L4 x
1
8
L5 x
1
8
3x 1
5 x 3x
35x 30 x
63x 70 x
Races
15 x
3
4
5
1
2n 1 xPn x nPn1 x
n 1
Norma
1
Races y coeficientes
Relacin de recurrencia
Pn 1 x
25
L0 x 1
Objetivos
Introduccin
NC Reglas simples
NC Reglas Compuestas
Cuadratura Gausiana
- Introduccin
- Polin. Ortogonales
- Ejemplos
Int. Romberg
Int. Adaptativa
Polinomios
Pn x Pn x dx
1
2n 1
Coeff.
Integracin Numrica
Anlisis Numrico
Polinomios de Tchebishev
Descripcin
Objetivos
Temario
Introduccin
NC Reglas simples
NC Reglas Compuestas
Cuadratura Gausiana
- Introduccin
- Polin. Ortogonales
- Ejemplos
Int. Romberg
Int. Adaptativa
Bibliografa
26
Polinomios
1, x, 3x 1 , 5x
1
2
3 x , 81 35 x 4 30 x 2 3 , 81 63 x 5 70 x3 15 x , L
Relacin de recurrencia
Pm x Pn x dx
Pn 1 x
1
2
Races
1
mn
2n 1
1
2n 1 xPn x nPn1 x
n 1
Integracin Numrica
Anlisis Numrico
Bibliografa
f x dx f x0 2 f xi f xn k1h 2 k2 h 4 k3h 6 L
i 1
h
2
n 1
2 N
4k N k 1 h
4 1
k
k 1
N k 1
2
h
2 N
N k 1 h
k 1
4k 1
N o h1
h
21
h
22
No
27
f a 2 f f b N h h f a h
f a 2 f 2 f 2 f f b
h1
2
a b
2
h2
2
3a b
4
1
2
a b
2
a 3b
4
12 N o h1 h2 f a h2 f a 3h2
Integracin Numrica
Anlisis Numrico
N o h0 b a
Objetivos
N o h1
h
21
Temario
No
h
22
N o h3
h
23
Introduccin
NC Reglas simples
NC Reglas Compuestas
- Trapecio
- Simpson
- Estabilidad
Cuadratura Gausiana
Int. Romberg
Int. Adaptativa
Bibliografa
28
h
2
f a f b
1
2
N o h0 h1 f a h1
1
2
N o h1 h2 f a h2 f a 3h2
1
2
f a h3 f a 3h3
N o h2 h3
f a 5h f a 7h
3
3
f a h4 f a 3h4
N o h4
N o hk
h
24
h
2k
f a 5h4 f a 7h4
1
2 N o h3 h4
f
a
9
h
f
a
11
h
4
4
f a 13h f a 15h
4
4
2k 1
1
2
N o hk 1 hk f a 2i 1 hk
i 1
Integracin Numrica
Anlisis Numrico
Ejemplo
Descripcin
Objetivos
Temario
Introduccin
NC Reglas simples
NC Reglas Compuestas
- Trapecio
- Simpson
- Estabilidad
Cuadratura Gausiana
Int. Romberg
Int. Adaptativa
Bibliografa
29
cos x dx sin x
41 N 0 h2 N 0 h
4 1
1
42 N1
N1 h
h
2
2
4 1
43 N 2 h2 N 2 h
4 1
3
4 0.9480594 0.7853982
1.0022799
3
16 1.0001346 1.0022799
0.9999916
15
64 0.9999999 0.9999916
1.0000000
63
N0(h)
N1(h)
N2(h)
N3(h)
/2
0.7853982
/4
0.9480594
1.0022799
/8
0.9871158
1.0001346
0.9999916
/16
0.9967852
1.0000083
0.9999999
1.0000000
16
/32
0.9991967
1.0000005
1.0000000
1.0000000
N4(h)
1.0000000
Integracin Numrica
Anlisis Numrico
Motivacin
Descripcin
Objetivos
Temario
Introduccin
Reglas simples
Reglas Compuestas
- Trapecio
- Simpson
- Estabilidad
Cuadratura Gausiana
Int. Romberg
Int. Adaptativa
Bibliografa
h5 4
f x dx S a, b
f con h
90
a b
2
f x dx ab f x dx S a,
b
a b
2
ba
2
a b
2
y S a, b h3 f a 4 f
a2 b f b
1 h5 4
,b
f %
16 90
Igualando y tomando f 4 %
f 4
1 h5 4
h5 4
S a, S , b
f %
S a, b f
16 90
90
h5 4
16 a b
a b
f S a,
S
,
b
S
(
a
,
b
)
90
15
2
2
a b
2
a b
2
30
1
a b
a b
a b
a b
f ( x)dx S a,
S
,
b
S
(
a
,
b
)
S
a
,
, b
2
2
15
2
2
Integracin Numrica
Anlisis Numrico
Proceso
Descripcin
Objetivos
1.
2.
3.
Temario
Introduccin
Reglas simples
Reglas Compuestas
- Trapecio
- Simpson
- Estabilidad
Cuadratura Gausiana
Int. Romberg
Int. Adaptativa
Bibliografa
31
a 2 b , b , Is Ia Id
cos x 4 dx 0.470355208182252L
Representacin de la funcin
Integracin Numrica
Anlisis Numrico
Ejemplo: resultados
Descripcin
Objetivos
Temario
Introduccin
Reglas simples
Reglas Compuestas
- Trapecio
- Simpson
- Estabilidad
Cuadratura Gausiana
Int. Romberg
Int. Adaptativa
Bibliografa
32
18
4
4
4
3 1
Is I 1.2292
4
4
4
8
8
a b
Ii S a, 2
cos 1 8 4 cos 2 8 cos 3 8 0.5715
Is Ia Id
>15
6
5 3
0.9526
4
4
4
Id S a 2 b , b 8 8 cos 3 8 4 cos 4 8 cos 5 8 0.3812
I S ( a, b)
[a,b]
Ii
Id
Is
|I-Is|
tol
(4,20) /32
-0.2766
0.5715
0.3812
0.9526
1.2292
0.0100
(4,12) /32
0.5715
0.3861
0.1947
0.5808
0.0094
0.0050
(12,20) /32
0.3812
-0.1969
-0.2272
-0.4240
0.8052
0.0050
(12,16) /32
-0.1969
-0.1568
0.0011
-0.1557
0.0412
0.0025
(12,14) /32
-0.1568
-0.0622
-0.0947
-0.1569
0.0001
0.0013
(14,16) /32
0.0011
-0.0523
0.0555
0.0032
0.0021
0.0013
(16,20) /32
-0.2272
0.0136
0.0646
0.0781
0.3053
0.0025
(16,18) /32
0.0136
0.0715
-0.0635
0.0081
0.0055
0.0013
(18,20) /32
0.0646
-0.0083
0.0462
0.0379
0.0266
0.0013
(18,19) /32
-0.0083
-0.0295
0.0217
-0.0078
0.0005
0.0006
(19,20) /32
0.0462
0.0448
-0.0000
0.0447
0.0015
0.0006
0.4721
Anlisis Numrico
Integracin Numrica
Bibliografa
33