FORMULAS FOR EXAM
Natural logarithm rules along with exponential rules:
1. ln(𝑒 ) = 𝑥
2. 𝑒 ( )=𝑥
3. ln(0) = 𝑢𝑛𝑑𝑒𝑓𝑖𝑛𝑒𝑑
4. ln(1) = 0
5. lim ln(𝑎) = ∞
→
6. ln(𝑒) = 1
7. ln(𝑎𝑏) = ln(𝑎) + ln(𝑏) (Product rule)
8. ln(𝑎𝑏𝑐) = ln(𝑎) + ln(𝑏) + ln(𝑐)
9. ln = ln(𝑎) − ln(𝑏) (Quotient rule)
10. ln = − ln(𝑥) (Reciprocal rule)
11. ln 𝑎 = b ln(𝑎) (Product rule)
12. ∫ ln(𝑥) 𝑑𝑥 = 𝑥𝑙𝑛(𝑥) − 𝑥, where u=lnx and dv=dx, du=1/x dx and v=x
Exponential Rules
Formulas Para Ecuaciones Diferenciales
∫𝑒 sin(𝑏𝑥) 𝑑𝑥 = (asin(𝑏𝑥) − 𝑏𝑐𝑜𝑠(𝑏𝑥) + 𝑐
∫𝑒 cos(𝑏𝑥) 𝑑𝑥 = (acos(𝑏𝑥) + 𝑏𝑠𝑖𝑛(𝑏𝑥) + 𝑐
∫ 𝑑𝑥 = 𝑡𝑎𝑛 (𝑥)
∫ 𝑑𝑥 = 𝑥 − 𝑡𝑎𝑛 (𝑥)
∫ 𝑑𝑥 = ln(1 + 𝑥 )
∫ cos(2𝑥) = sin(2𝑥)
cos(2𝑥) 𝑑𝑥 = −2sin(2𝑥)
∫ sin(2𝑥) = − cos(2𝑥)
sin(2𝑥)𝑑𝑥 = 2cos(2𝑥)
𝑠𝑖𝑛 (𝑥)𝑑𝑥 = 𝑠𝑖𝑛(2𝑥)
𝑐𝑜𝑠 (𝑥)𝑑𝑥 = −𝑠𝑖𝑛(2𝑥)
( )
∫ 𝑐𝑜𝑠 (𝑥) = ∫ 𝑑𝑥, using trig identities
∫𝑒 = 𝑒
∫ ln(𝑥) 𝑑𝑥 = 𝑥𝑙𝑛(𝑥) − 𝑥, where u=lnx and dv=dx, du=1/x dx and v=x
( )
𝑒∫ =𝑒 ( ) ( )
= (𝑥 + 1) + (𝑥 − 1) =
( )
Ecuaciones homogeneas y no homogéneas
Superposicion:
Soluciones particulares de prueba
G(x) Forma de 𝑦 (𝑥)
𝐴𝑛𝑦 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡 𝐴
5𝑥 + 7 𝐴𝑥 + 𝐵
3𝑥 − 2 𝐴𝑥 + 𝐵𝑥 + 𝐶
𝑥 −𝑥+1 𝐴𝑥 + 𝐵𝑥 + 𝐶𝑥 + 𝐸
𝑆𝑖𝑛(4𝑥) 𝐴𝑐𝑜𝑠(4𝑥) + 𝐵𝑠𝑖𝑛(4𝑥)
cos(4𝑥) 𝐴𝑐𝑜𝑠(4𝑥) + 𝐵𝑠𝑖𝑛(4𝑥)
𝑒 𝐴𝑒
(9𝑥 − 2)𝑒 (𝐴𝑥 + 𝐵0)𝑒
𝑥 𝑒 (𝐴𝑥 + 𝐵𝑥 + 𝐶)𝑒
𝑒 sin(4𝑥) 𝐴𝑒 cos(4𝑥) + 𝐵𝑒 sin(4𝑥)
5𝑥 sin(4𝑥) (𝐴𝑥 + 𝐵𝑥 + 𝐶) cos(4𝑥) + (𝐸𝑥 + 𝐹𝑥 + 𝐺) sin(4𝑥)
𝑥𝑒 (𝐴𝑥 + 𝐵)𝑒 cos(4𝑥) + (𝐶𝑥 + 𝐸)𝑒 sin(4𝑥)
Caso de Parametros
Caso 1: 𝑦 = 𝐶 𝑒 +𝐶 𝑒
Caso 2: 𝑦 = 𝐶 𝑒 + 𝐶 𝑥𝑒 , m=m1=m2
Caso 3: 𝑦 = 𝑒 [𝐶 cos(𝛽𝑥) + 𝐶 sin(𝛽𝑥)]
variación de parámetros
𝑦(𝑥) = 𝑦 + 𝑦 donde, 𝑦 = 0 y 𝑦 = 𝑢 𝑦 + 𝑢 𝑦
𝑢 =
𝑢 =
𝑦 𝑦
𝑊= 𝑦 𝑦
0 𝑦
𝑊 =
𝑓(𝑥) 𝑦
𝑦 0
𝑊 =
𝑦 𝑓(𝑥)
±√
Quadra c eqau on: 𝑚 =
Cauchy-Euler
𝑎𝑚 + (𝑏 − 𝑎)𝑚 + 𝑐 = 0
Caso 1: 𝑦 = 𝐶 𝑥 + 𝐶 𝑥
Caso 2: 𝑦 = 𝐶 𝑥 + 𝐶 𝑥 ln(𝑥), m=m1=m2
Caso 3: 𝑦 = 𝑥 [𝐶 cos(𝛽𝑙𝑛𝑥) + 𝐶 sin(𝛽𝑙𝑛𝑥)]
Transformada de Derivadas
𝐹(𝑠) = ℒ{𝑓(𝑡)}
ℒ{𝑓 (𝑡)} = −𝑓(0) + 𝑠𝐹(𝑠)
ℒ{𝑓 (𝑡)} = −𝑓 (0) − 𝑠𝐹(0) + 𝑠 𝐹(𝑠)
Table for Numerical Methods
Cuadratura de Guass
𝑓(𝑥)𝑑𝑥 ≈ 𝐶 𝑓(𝑥 ) → 𝑓(𝑧) 𝑑𝑧 = 𝐶 𝑓(𝑧 ) + 𝐶 𝑓(𝑧 ) + ⋯
2𝑥 − (𝑎 ± 𝑏)
𝑧=
𝑏−𝑎
Número de Coeficientes Ci Nodos Zi
Puntos
2 𝐶 =𝐶 =1 −√3
𝑍 =
3
√3
𝑍 =
3
3 𝐶 = 𝐶 = 0.555555 𝑍 = −0.7745966692
𝐶 = 0.888888 𝑍 = 0.7745966692
𝑍 =0
4 𝐶 = 𝐶 = 0.3478548451 𝑍 = −0.8611363116
𝐶 = 𝐶 = 0.6521451549 𝑍 = −0.3399810436
𝑍 = 0.8611363116
𝑍 = 0.3399810436
5 𝐶 = 𝐶 = 0.2369268851 𝑍 = −0.9061798459
𝐶 = 𝐶 = 0.4786286705 𝑍 = −0.5384693101
𝐶 = 0.5688888888 𝑍 =0
𝑍 = 0.5384693101
𝑍 = 0.9061798459
6 𝐶 = 𝐶 = 0.1713244924 𝑍 = −0.9324695142
𝐶 = 𝐶 = 0.3607615730 𝑍 = −0.6612093865
𝐶 = 𝐶 = 0.4679139346 𝑍 = −0.2386191861
𝑍 = 0.2386191861
𝑍 = 0.6612093865
𝑍 = 0.9324695142
Formulas Para Métodos Numéricos
Diferencias Divididas (polinomio interpolador de newton 2 orden)
( ) ( )
o Primer diferencia dividida: 𝑓 (𝑥) ≈
X F(X) 1er Diferencia dividida 2da diferencia dividida
𝑥 𝐹(𝑥 ) 𝑓(𝑥 ) − 𝑓(𝑥 ) 𝑓(𝑥 , 𝑥 ) − 𝑓(𝑥 , 𝑥 )
𝐹(𝑥 , 𝑥 ) = 𝐹(𝑥 , 𝑥 , 𝑥 ) =
𝑥 −𝑥 𝑥 −𝑥
𝑥 𝐹(𝑥 ) 𝑓(𝑥 ) − 𝑓(𝑥 )
𝐹(𝑥 , 𝑥 ) =
𝑥 −𝑥
𝑥 𝐹(𝑥 ) 𝑓(𝑥 ) − 𝑓(𝑥 ) 𝑓(𝑥 , 𝑥 ) − 𝑓(𝑥 , 𝑥 )
𝐹(𝑥 , 𝑥 ) = 𝐹(𝑥 , 𝑥 , 𝑥 ) =
𝑥 −𝑥 𝑥 −𝑥
𝑥 𝐹(𝑥 ) 𝑓(𝑥 ) − 𝑓(𝑥 ) 𝑓(𝑥 , 𝑥 ) − 𝑓(𝑥 , 𝑥 )
𝑥 𝐹(𝑥 ) 𝐹(𝑥 , 𝑥 ) = 𝐹(𝑥 , 𝑥 , 𝑥 ) =
𝑥 −𝑥 𝑥 −𝑥
3cer diferencia dividida 4ta diferencia dividida
𝑓(𝑥 , 𝑥 , 𝑥 ) − 𝑓(𝑥 , 𝑥 , 𝑥 ) 𝑓(𝑥 , 𝑥 , 𝑥 , 𝑥 ) − 𝑓(𝑥 , 𝑥 , 𝑥 , 𝑥 )
𝐹(𝑥 , 𝑥 , 𝑥 , 𝑥 ) = 𝐹(𝑥 , 𝑥 , 𝑥 , 𝑥 , 𝑥 ) =
𝑥 −𝑥 𝑥 −𝑥
𝑓(𝑥 , 𝑥 , 𝑥 ) − 𝑓(𝑥 , 𝑥 , 𝑥 )
𝐹(𝑥 , 𝑥 , 𝑥 , 𝑥 ) =
𝑥 −𝑥
Interpolación de Newton usando la tabla de diferencias divididas
o 𝑃(𝑥) = 𝑎 + (𝑥 − 𝑥 )𝑎 + (𝑥 − 𝑥 )(𝑥 − 𝑥 )𝑎 + (𝑥 − 𝑥 )(𝑥 − 𝑥 )(𝑥 − 𝑥 )𝑎
o 𝑎 = 𝐹(𝑥0 )
o 𝑎 = 𝐹(𝑥0 , 𝑥1 )
o 𝑎 = 𝐹(𝑥0 , 𝑥1 , 𝑥2 , )
o 𝑎 = 𝐹(𝑥0 , 𝑥1 , 𝑥2 , 𝑥3 )
Aproximación polinomial por mínimos cuadradas
o 1er grado: 𝑃(𝑥) = 𝑎 + 𝑎 𝑥, m=is the number of xi
𝑥 𝑓(𝑥 ) 𝑥 𝑓(𝑥 )𝑥
𝑥 𝑓(𝑥 ) 𝑥 𝑓(𝑥 )𝑥
∑ ( )∑ ∑ ∑ ( )
𝑎 =
∑ (∑ )
∑ ( ) ∑ ( )∑
𝑎 =
∑ (∑ )
o 2do grado: 𝑃(𝑥) = 𝑎 + 𝑎 𝑥 + 𝑎 𝑥 , this will solved using system of
equations.
𝑚𝑎 + 𝑎 ∑ 𝑥 + 𝑎 ∑ 𝑥 = ∑ 𝑓(𝑥 )
∑ 𝑥 𝑎 + 𝑎 ∑ 𝑥 + 𝑎 ∑ 𝑥 = ∑ 𝑥 𝑓(𝑥 )
∑ 𝑥 𝑎 + 𝑎 ∑ 𝑥 + 𝑎 ∑ 𝑥 = ∑ 𝑥 𝑓(𝑥 )
𝑥 𝑓(𝑥 ) 𝑥 𝑥 𝑥 𝑓(𝑥 )𝑥 𝑥 𝑓(𝑥 )
𝑥 𝑓(𝑥 ) 𝑥 𝑥 𝑥 𝑓(𝑥 )𝑥 𝑥 𝑓(𝑥 )
Derivacion Numerica formula de los n+1 puntos
o Formulas de 5 y 3:
o Formula de los 3 puntos del punto extremo:
𝑓 (𝑥 ) = [−3𝑓(𝑥 ) + 4𝑓(𝑥 + ℎ) − 𝑓(𝑥 + 2ℎ)]
o Formula de los 3 puntos del punto medio:
𝑓 (𝑥 ) = [−𝑓(𝑥 − ℎ) + 𝑓(𝑥 + ℎ)]
o Formula de los 5 puntos del punto medio:
𝑓 (𝑥 ) = [𝑓(𝑥 − 2ℎ) − 8𝑓(𝑥 − ℎ) + 8𝑓(𝑥 + ℎ) − 𝑓(𝑥 + 2ℎ)]
o Formula de los 5 puntos del punto extremo:
𝑓 (𝑥 ) = [−25𝑓(𝑥 ) + 48𝑓(𝑥 + ℎ) − 36𝑓(𝑥 + 2ℎ) + 16𝑓(𝑥 + 3ℎ) − 3𝑓(𝑥 + 4ℎ)]
o Segunda Derivada Formula del punto medio:
𝑓 (𝑥 ) = [𝑓(𝑥 − ℎ) − 2𝑓(𝑥 ) + 𝑓(𝑥 + ℎ)]
o Using the table with (x, y) or (x, f(x)), where X0= is given and h=is the
difference between x1-x2-x3…
o 𝑥 +ℎ=𝑥
o 𝑥 + 2ℎ = 𝑥
o 𝑥 + 3ℎ = 𝑥
o 𝑥 −ℎ=𝑥
o 𝑥 − 2ℎ = 𝑥
Intergracion Numerica:
Regla de Simpson
o ∫ 𝑓(𝑥) 𝑑𝑥 ≈ [𝑓(𝑥 ) + 4𝑓(𝑥 ) + 𝑓(𝑥 )]
( )( ) ( )( )
o ∫ 𝑓(𝑥) 𝑑𝑥 ≈ ∫ ( )( )
𝑓(𝑥 ) + ( )( )
𝑓(𝑥 ) +
( )( )
𝑓(𝑥 )
( )( )
o 𝑥 =𝑎
o 𝑥 =𝑥 +ℎ
o If n, 𝑥 = 𝑥 +ℎ
o 𝑥 =𝑏
o ℎ= =
o then to find function 𝑓(𝑥 ), input x0 into function
Regla de Trapecio
o ∫ 𝑓(𝑥) 𝑑𝑥 ≈ [𝑓(𝑥 ) + 𝑓(𝑥 )]
o 𝑥 =𝑎
o 𝑥 =𝑏
o ℎ =𝑏−𝑎 =𝑥 −𝑥
Regla compuesta del Trapecio, remember to find f(x) of each x value.
𝐼 ≈ [𝑓(𝑥 ) + 2 ∑ 𝑓(𝑥 ) + 𝑓(𝑥 )], 𝑎 = 𝑥 , 𝑏 = 𝑥 , ℎ = ,
o 𝑥 = 𝑥 + ℎ, 𝑥 = 𝑥 + ℎ ….
Regla compuesta de Simpson
ℎ
𝐼≈ 𝑓(𝑥 ) + 4 𝑓(𝑥 ) + 2 𝑓(𝑥 ) + 𝑓(𝑥 )
3
∆ ∆
ℎ
≈ [𝑓(𝑥 ) + 4𝑓(𝑥 ) + 4𝑓(𝑥 ) + 2𝑓(𝑥 ) + 2𝑓(𝑥 ) + 𝑓(𝑥 )]
3
Soluciones numéricas a PVI
o Método de Euler: 𝑦 = 𝑦 + ℎ𝑓(𝑥 , 𝑦 ) → 𝑦 = 𝑦 + ℎ ∗ 𝑓(𝑥 , 𝑦 )
Para buscar h o N: ℎ =
Para buscar Xi: 𝑥 = 𝑎 + 𝑖ℎ → 𝑥 = 𝑎 + 4ℎ
Remember that: = 𝑓(𝑥, 𝑦)
o Método de Taylor:
o 𝑦 = 𝑦 + ℎ𝑇 ( ) (𝑥 , 𝑦 )
o 𝑤ℎ𝑒𝑟𝑒, 𝑇 ( )
= 𝑓(𝑥 , 𝑦 ) + 𝑓 (𝑥 , 𝑦 ) + ⋯ + 𝑓( )
(𝑥 , 𝑦 )
!
o 𝑥 =𝑎
o 𝑥 =𝑥 +ℎ
o Always start with i=0
o Metodo de Runge Kutta de Cuarto orden
1
𝑦 = 𝑦 + (𝑘 + 2𝑘 + 2𝑘 + 𝑘 )
6
𝑘 = ℎ𝑓(𝑥 , 𝑦 )
ℎ 1
𝑘 = ℎ𝑓(𝑥 + , 𝑦 + 𝑘 )
2 2
ℎ 1
𝑘 = ℎ𝑓(𝑥 + , 𝑦 + 𝑘 )
2 2
𝑘 = ℎ𝑓(𝑥 + ℎ, 𝑦 + 𝑘 ), para cada i=0,1, 2,…, N-1
o 𝑥 =𝑎
o 𝑥 = 𝑥 + ℎ ….