Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Tema6 PDF
Tema6 PDF
TEMA 6: DERIVACION
NUMERICA
1 INTRODUCCION
o equivalentemente:
n
X
Ai xki = 0, 0 ≤ k ≤ ν − 1,
i=0
n
X
Ai xki = k(k − 1) . . . (k − ν + 1)αk−ν , ν ≤ k ≤ n.
i=0
162
Ejemplo 1 .- Partimos de la tabla de valores:
xi 1 2 3 4
f (xi) 7 2 0 −1
Entonces, para:
x0 = 1, x1 = 2, x2 = 3, x3 = 4
se busca:
f 00(α) ' A0f (x0) + A1f (x1) + A2f (x2) + A3f (x3)
= 7A0 + 2A1 − A3.
Por tanto:
f 00(5) ' 7.(−2) + 2.7 − 3 = −3.
163
Teorema 2 .- (Fórmula para el error de derivación)
Si f ∈ C n+1([a, b]), donde [a, b] es un intervalo que
contiene los nodos x0, x1, . . . , xn, entonces se tiene
que el error cometido para la primera derivada en los
nodos verifica la acotación:
0 |f (n+1(ζ)|
|f (xi)−Pn0 (xi)| ≤ { sup }|xi−x0| . . . |xi−xn|
ζ∈[a,b] (n + 1)!
164
2. Modificación por homotecias:
Si n
(ν X
f (α) ' Ai f (xi)
i=0
n
X
f (ν (aα) ' Bi f (axi)
i=0
Ai
entonces Bi = , ∀i = 0, . . . , n.
aν
3. Simetrı́a:
Si los nodos están dispuestos simétricamente respecto
del punto α, es decir:
α − xi = xn−i − α, i = 0, . . . , n,
entonces los coeficientes de la fórmula
n
X
(ν
f (α) ' Ai f (xi)
i=0
verifican Ai = (−1)ν An−i, ∀i = 0, . . . , n.
(Ası́, si n es par y ν impar, se tiene A n2 = 0.)
165
1. Progresivas:
A partir del desarrollo de Taylor:
0h2 00
f (x + h) = f (x) + hf (x) + f (x) + . . .
2
se deduce:
f (x + h) − f (x) h 00
f 0(x) = − f (x) + . . .
h 2
f (x + h) − f (x)
= + O(h).
h
f (xj+1) − f (xj )
f 0(xj ) ' .
h
2. Regresivas:
A partir del desarrollo de Taylor:
0h2 00
f (x − h) = f (x) − hf (x) + f (x) + . . .
2
se deduce:
f (x) − f (x − h) h 00
f 0(x) = + f (x) + . . .
h 2
f (x) − f (x − h)
= + O(h).
h
166
Entonces, para x = xj , se tiene la fórmula:
f (xj ) − f (xj−1)
f 0(xj ) ' .
h
3. Centrales:
Restando los desarrollos de Taylor:
h2 00
0 h3 000
f (x+h) = f (x)+hf (x)+ f (x)+ f (x)+. . .
2 6
h2 00
0 h3 000
f (x−h) = f (x)−hf (x)+ f (x)− f (x)+. . .
2 6
se deduce:
0 f (x + h) − f (x − h) h2 000
f (x) = − f (x) + . . .
2h 6
f (x + h) − f (x − h)
= + O(h2).
2h
Entonces, para x = xj , se tiene la fórmula:
f (xj+1) − f (xj−1)
f 0(xj ) ' .
2h
167
4 DERIVADAS DE ORDEN SUPERIOR
00 f 0(xj+1) − f 0(xj )
f (xj ) '
h
f (xj+2 )−f (xj+1 ) f (xj+1 )−f (xj )
h − h
'
h
f (xj+2) − 2f (xj+1) + f (xj )
= .
h2
168
Por ejemplo, considerando las fórmulas centrales se
tiene:
00 f 0(xj+1) − f 0(xj−1)
f (xj ) '
2h
f (xj+2 )−f (xj ) f (x )−f (x )
2h − j 2h j−2
'
2h
f (xj+2) − 2f (xj ) + f (xj−2)
= .
4h2
00 f 0(xj+1) − f 0(xj−1)
f (xj ) '
2h
f (xj+2 )−f (xj+1 ) f (xj−1 )−f (xj−2 )
h − h
'
2h
f (xj+2) − f (xj+1) − f (xj−1) + f (xj−2)
= .
2h2
169
.
170