Documentos de Académico
Documentos de Profesional
Documentos de Cultura
6.1 INTRODUCCION
dx dx
O en general
d f ( x) d p ( x )
n n
n
6.1
dx n
dx n
n n
6.2
dx n
dx dx n n
d n R n ( x) d n f ( x) d n p n ( x)
donde es el error que se comete al aproximar por
dx n dx n dx n
Si las abscisas dadas x0, x1, …, xn están espaciadas regularmente por
intervalos de longitud h, entonces pn(x) puede escribirse en términos de diferencias
finitas. Al sustituir f[x0], f[x0, x1] etcétera en la ecuación de diferencias finitas en
términos de diferencias finitas, se obtiene
f [ x 0 ] 2 f [ x 0 ]
p n ( x) f [ x 0 ] ( x x 0 ) ( x x 0 )( x x1 ) ...
h 2! h 2
n f [ x 0 ]
( x x 0 )( x x1 )...( x x n 1 )
n! h n
y se tendrá
f [ x0 ] 2 f [ x0 ]
d (( x x0 ) ) d [( x x0 )( x x1 ) ]
df ( x) dp n ( x) df [ x0 ] h 2! h 2
dx dx dx dx dx
f [ x0 ]
n
d [( x x0 )( x x1 )...( x x n 1 ) ]
n!h n 6.3
...
dx
Se desarrollan algunos de los primeros términos y se tiene
df ( x) dp n ( x) f [ x 0 ] 2 f [ x 0 ]
(2 x x0 x1 )
dx dx h 2!h 2
3 f [ x0 ]
(3x 2 2( x0 x1 x2 ) x ( x0 x1 x0 x 2 x1 x2 )) 6.4
3! h 3
df ( x) 2 x x0 x1 2h 2 x 4 x 2 x1 2h 2 x x0 x1
2
f ( x0 ) 0 2
f ( x1 ) f ( x2 ) 6.6
dx 2h 2h 2h 2
La segunda derivada puede calcularse derivando una vez más con respecto a
x, o sea
d 2 f ( x) d 2 p 2 ( x) 2 f [ x0 ]
2 f [ x0 , x1 , x 2 ]
dx 2 dx 2 h2
d 2 f ( x) 1 2 1
2
2 f ( x0 ) 2 f ( x1 ) 2 f ( x 2 ) 6.7
dx h h h
De igual modo se obtienen las distintas derivadas para n > 2.
Es importante recordar que hay una estrecha relación entre las diferencias
divididas y las derivadas.
Ejemplo 6.1
Calcule ∂P/∂v cuando v = 2300 cm3 y compárelo con el valor de la derivada analítica.
SOLUCION
Al usar la ecuación 6.6 con los puntos (0), (1) y (2) se obtiene
P 2v v0 v1 2h 2v 4v 2v1 2h 2v v0 v1
P0 0 P1 P2 ; con h = 200
v 2h 2
2h 2
2h 2
2 * 2300 2000 2200 2 * 200 2 * 2000 4 * 2300 2 * 2200 2 * 200
2
13.782 12.577
2 * 200 2 * 2002
2 * 2300 2000 2200
11 .565 0.00506
2 * 200 2
La derivada analítica es
P RT 2a 82.1 * 350 2(3.6 x10 6 )
0.005048
v (v b) 2 v 3 (2300 42.8) 2 23003
Ejemplo 6.2
SOLUCION
n n x xj
p n ( x) f ( xi )
De la ecuación i 0 j 0 xi x j se deriva con respecto a x
j i
p n ( x ) n
d n x xj
x
f ( xi )
dx j 0 xi x j
i 0
j i
Se hace
n x xj
y
j 0 xi x j y se toman logaritmos en ambos lados, con lo que se tiene
j i
n x xj n x xj
ln
ln y = ln x j 0 i xj j 0 xi x j
j i j i
Se despeja dy / dx
n
dy 1
y
dx j 0 x x j
j i
y finalmente
dp n ( x) n
n x xj n
1
f ( xi )
dx x xj j 0 x xj
i 0
jj0i i
j i
Obsérvese que esta ecuación no sirve para evaluar la derivada en una de las
abscisas de la tabla, ya que significaría dividir entre cero en la sumatoria dentro del
paréntesis. Sin embargo, manipulado algebraicamente el lado derecho puede
escribirse en la forma
n
dp n ( x ) f ( xi ) n n
n ( x x j ) 6.16
dx i 0
j 0
( xi x j ) kk 0i j jk0,i
j i
La cual ya no tiene la limitante mencionada.
Ejemplo 6.3
T(K)
P (kg/cm2) (T0) 273 (T1) 300 (T2) 325 (T3) 360
1 0.99 0.97 0.96 0.93
2 0.88 0.82 0.79 0.77
8 0.62 0.51 0.48 0.45
15 0.56 0.49 0.46 0.42
20 0.52 0.44 0.41 0.37
SOLUCION
C A
Lo que se busca es en si T , que se puede evaluar con la ecuación 6.16.
T 300 , P 8
2 2 2
dp2 ( x ) f ( xi )
Al desarrollarla para n = 2 se tiene 2 ( x x j )
dx i 0
k 0 j 0
( xi x j )
j 0
k i j k ,i
j i
dp2 ( x ) (( x x2 ) ( x x1 )) f ( x0 ) (( x x2 ) ( x x0 )) f ( x1 ) (( x x1 ) ( x x0 )) f ( x2 )
dx ( x0 x1 )( x0 x2 ) ( x1 x0 )( x1 x2 ) ( x2 x0 )( x2 x1 )
dp 2 ( x) (2 x x1 x 2 ) f ( x0 ) (2 x x0 x 2 ) f ( x1 ) (2 x x0 x1 ) f ( x 2 )
dx ( x0 x1 )( x0 x 2 ) ( x1 x0 )( x1 x 2 ) ( x 2 x0 )( x 2 x1 )
donde f(x) representa a CA y x a T; de tal modo que sustituyendo los tres puntos
enmarcados de la tabla queda
dp 2 ( x) C A (2 * 300 300 325)0.62 (2 * 300 273 325)0.51
dx T T 300 ( 273 300)(273 325) (300 273)(300 325)
P 8
Ejemplo 6.4
SOLUCION
PASO 1. Hacer DP = 0
PASO 2. Hacer I = 0
PASO 3. Mientras I ≤ N, repetir los pasos 4 a 21.
PASO 4. Hacer P = 1
PASO 6. Hacer I = 0
PASO 6. Mientras J ≤ N, repetir los pasos 7 a 8.
PASO 7. Si I <> J Hacer P = P*(X(I) - X(J))
PASO 8. Hacer J = J + 1
PASO 9. Hacer S = 0
PASO 10. Hacer K = 0
PASO 11. Mientras K ≤ N, repetir los pasos 12 a 19.
PASO 12. SI I < > K, realizar los pasos 13 a 18.
PASO 13. Hacer P1 = 1
PASO 14. Hacer J = 0
PASO 16. Mientras J ≤ N, repetir los pasos 16 a 17.
PASO 16. SI J<>I y J<>K Hacer P1 =
P1*(XD - X(J))
PASO 17. Hacer J = J + 1
PASO 18. Hacer S = S + P1
PASO 19. Hacer K = K + 1
PASO 20. Hacer DP = DP + FX(I) / P * S
PASO 21. Hacer l = I + 1
PASO 22. IMPRIMIR DP y TERMINAR.