Está en la página 1de 4

TEMA V DERIVACIÓN NUMERICA

Derivación numérica

La derivación numérica es una técnica de análisis numérico para calcular


una aproximación a la derivada de una funcion en un punto utilizando
valores y propiedades de la misma.

Donde los elementos actuantes en la diferenciación, podemos usar los


métodos de Taylor para obtener las aproximaciones de diferencias divididas,
aplicando las diferenciaciones con alta exactitud, utilizando el término h y
generando las diferentes derivadas con las ecuaciones de adelante,
centrada y detrás, como se muestran a continuación:

• Fórmulas de diferencias divididas hacia adelante:


Primera derivada error
𝑓(𝑥 + ℎ) − 𝑓(𝑥)
𝑓 , (𝑥𝑖 ) = 𝑂(ℎ)

−𝑓(𝑥 + 2ℎ) + 4𝑓(𝑥 + ℎ) − 3𝑓(𝑥)
𝑓 , (𝑥𝑖 ) = 𝑂(ℎ2 )
2ℎ
Segunda derivada
𝑓(𝑥 + 2ℎ) − 2𝑓(𝑥 + ℎ) + 𝑓(𝑥)
𝑓 ,, (𝑥𝑖 ) = 𝑂(ℎ)
ℎ2
−𝑓(𝑥 + 3ℎ) + 4𝑓(𝑥 + 2ℎ) − 5𝑓(𝑥 + ℎ) + 2𝑓(𝑥)
𝑓 ,, (𝑥𝑖 ) = 𝑂(ℎ2 )
ℎ2
Tercera derivada

UNIDAD CURRICULAR: CALCULO NUMERICO.PROF.ING.GILBERTO ISEA DELMORAL MSc.


Gilbertoisea760@gmail.com
TEMA V DERIVACIÓN NUMERICA

𝑓(𝑥 + 3ℎ) − 3𝑓(𝑥 + 2ℎ) + 3𝑓(𝑥 + ℎ) − 𝑓(𝑥)


𝑓 ,,, (𝑥𝑖 ) = 𝑂(ℎ)
ℎ2
−3𝑓(𝑥 + 4ℎ) + 14𝑓(𝑥 + 3ℎ) − 24𝑓(𝑥 + 2ℎ) + 18𝑓(𝑥 + ℎ) − 5𝑓(𝑥)
𝑓 ,,, (𝑥𝑖 ) = 𝑂(ℎ2 )
ℎ2

• Fórmulas de diferencias divididas hacia atrás.

Primera derivada error


𝑓(𝑥) − 𝑓(𝑥 + ℎ)
𝑓 , (𝑥𝑖 ) = 𝑂(ℎ)

3𝑓(𝑥) − 4𝑓(𝑥 − ℎ) + 𝑓(𝑥 − 2ℎ)
𝑓 , (𝑥𝑖 ) = 𝑂(ℎ2 )
2ℎ
Segunda derivada
𝑓(𝑥) − 2𝑓(𝑥 − ℎ) + (𝑥 − 2ℎ)
𝑓 ,, (𝑥𝑖 ) = 𝑂(ℎ)
ℎ2
2𝑓(𝑥)5𝑓(𝑥 − ℎ) + 4𝑓(𝑥 − 2ℎ) − 𝑓(𝑥 − 3ℎ)
𝑓 ,, (𝑥𝑖 ) = 𝑂(ℎ2 )
ℎ2
Tercera derivada
𝑓(𝑥) − 3𝑓(𝑥 − ℎ) + 3𝑓(𝑥 − 2ℎ) − 𝑓(𝑥 − 3ℎ)
𝑓 ,,, (𝑥𝑖 ) = 𝑂(ℎ)
ℎ3
5𝑓(𝑥) − 18𝑓(𝑥 − ℎ) + 24𝑓(𝑥 − 2ℎ) − 14𝑓(𝑥 − 3ℎ) + 3𝑓(𝑥 − 4ℎ)
𝑓 ,,, (𝑥𝑖 ) = 𝑂(ℎ2 )
ℎ3

• Fórmulas de diferencias divididas centradas.


Primera derivada error
𝑓(𝑥 + ℎ) − 𝑓(𝑥 − ℎ)
𝑓 , (𝑥𝑖 ) = 𝑂(ℎ2 )
2ℎ
−𝑓(𝑥 + 2ℎ) + 8𝑓(𝑥 + ℎ) − 8𝑓(𝑥 − ℎ) + 𝑓(𝑥 − 2ℎ)
𝑓 , (𝑥𝑖 ) = 𝑂(ℎ4 )
12ℎ
Segunda derivada
𝑓(𝑥 + ℎ) − 2𝑓(𝑥) + 𝑓(𝑥 − ℎ)
𝑓 ,, (𝑥𝑖 ) = 𝑂(ℎ2 )
ℎ2
−𝑓(𝑥 + 2ℎ) + 16𝑓(𝑥 + ℎ) − 30𝑓(𝑥) + 16𝑓(𝑥 − ℎ) − 𝑓(𝑥 − 2ℎ)
𝑓 ,, (𝑥𝑖 ) = 𝑂(ℎ4 )
12ℎ2
Tercera derivada
𝑓(𝑥 + 2ℎ) − 2𝑓(𝑥 + ℎ) + 2𝑓(𝑥 − ℎ) − 𝑓(𝑥 − 2ℎ)
𝑓 ,,, (𝑥𝑖 ) = 𝑂(ℎ2 )
2ℎ3

UNIDAD CURRICULAR: CALCULO NUMERICO.PROF.ING.GILBERTO ISEA DELMORAL MSc.


Gilbertoisea760@gmail.com
TEMA V DERIVACIÓN NUMERICA

−𝑓(𝑥 + 3ℎ) + 8𝑓(𝑥 + 2ℎ) − 13𝑓(𝑥 + ℎ) + 13𝑓(𝑥 − ℎ) − 8𝑓(𝑥 − 2ℎ) + 𝑓(𝑥 − 3ℎ)
𝑓 ,,, (𝑥𝑖 ) = 𝑂(ℎ4 )
8ℎ3

Ejemplo.
Evalúe y encuentre la primera derivada centrada, delante y detrás de la
3𝑥 2 −5
siguiente funcion: 𝑓(𝑥) = 3𝑒 2𝑥
en 𝑥 = 2 ,ℎ = 0.1 cuyo valor real es 0.012210
Solución:
Se evalúan las siguientes funciones:
𝒙 2 𝒇(𝒙) 0.042736
𝒙+𝒉 2.1 𝒇(𝒙 + 𝒉) 0.041138
𝒙−𝒉 1.9 𝒇(𝒙 − 𝒉) 0.043474
𝒙 + 𝟐𝒉 2.2 𝒇(𝒙 + 𝟐𝒉) 0.038960
𝒙 − 𝟐𝒉 1.8 𝒇(𝒙 − 𝟐𝒉) 0.042989

Aplicando la tabla de fórmulas, se procede a sustituir los valores de la


tabla anterior según el caso, siempre que sea la primera derivada.
• Centrada:
𝑓(𝑥 + ℎ) − 𝑓(𝑥 − ℎ) (0.041138) − (0.043474)
𝑓 , (𝑥𝑖 ) = = = −0.01168
2ℎ 2(0.1)
−𝑓(𝑥 + 2ℎ) + 8𝑓(𝑥 + ℎ) − 8𝑓(𝑥 − ℎ) + 𝑓(𝑥 − 2ℎ)
𝑓 , (𝑥𝑖 ) =
12ℎ
−(0.03896) + 8(0.04114) − 8(0.043474) + (0.042989)
= = 0.0122025
12(0.1)
• Delante:

𝑓(𝑥 + ℎ) − 𝑓(𝑥) (0.04114) − (0.04274)


𝑓 , (𝑥𝑖 ) = = = −0.016
ℎ 0.1
−𝑓(𝑥 + 2ℎ) + 4𝑓(𝑥 + ℎ) − 3𝑓(𝑥) −(0.03896) + 4(0.04114) − 3(0.04274)
𝑓 , (𝑥𝑖 ) = =
2ℎ 2(0.1)
= −0.0131
• Detrás.
𝑓(𝑥) − 𝑓(𝑥 + ℎ) (0.04274) − (0.043474)
𝑓 , (𝑥𝑖 ) = = = 7.34𝑥10−3
ℎ 0.1
3𝑓(𝑥) − 4𝑓(𝑥 − ℎ) + 𝑓(𝑥 − 2ℎ) 3(0.04274) − 4(0.043474) + (0.042989)
𝑓 , (𝑥𝑖 ) = =
2ℎ 2(0.1)
= −0.013435
UNIDAD CURRICULAR: CALCULO NUMERICO.PROF.ING.GILBERTO ISEA DELMORAL MSc.
Gilbertoisea760@gmail.com
TEMA V DERIVACIÓN NUMERICA

Ejercicios propuestos.
1. Encuentre la primera derivada y sus respectivas posiciones (detrás,
centrada y delante) y su respectivo error de las siguientes funciones
y sus datos:

• 𝑓(𝑥) = 𝑒 𝑥 sin(4𝑥), 𝑥 = 𝜋⁄2 ; ℎ = 0.1, 𝑉𝑟 = 19,241909

• 𝑓(𝑥) = 0.1𝑥 4 − 0.15𝑥 3 − 0.5𝑥 2 − 0.25𝑥 + 1.2 , 𝑥 = 0.5, ℎ = 0.25, 𝑉𝑟 = −0.9125


4𝑥+2
• 𝑓(𝑥) = 𝑥+6
,𝑥 = 1.5, ℎ = 0.20, 𝑉𝑟 = −0.5
2. Encuentre las tres primeras derivadas y sus respectivas posiciones
(detrás, centrada y delante) y su respectivo error de las siguientes
funciones y sus datos:
• 𝑓(𝑥) = 𝑒 2𝑥 + 2𝑥, 𝑥 = 4, ℎ = 0.1, 𝑉𝑟 = −0.28357
2𝑥 2 +5𝑥−3
• 𝑓(𝑥) = 𝑥+3
, 𝑥 = 2.5 , ℎ = 0.8, 𝑉𝑟 = 0.50

• 𝑓(𝑥) = √𝑥 + 3, 𝑥 = 1.2 , ℎ = 0.1 , 𝑉𝑟 = −3


Nota: usar el modo radianes en la calculadora cuando se trate de
funciones trigonométricas.

UNIDAD CURRICULAR: CALCULO NUMERICO.PROF.ING.GILBERTO ISEA DELMORAL MSc.


Gilbertoisea760@gmail.com

También podría gustarte