Professional Documents
Culture Documents
Math2000 Formulas
O.D.E.s
1 Order ODE’s
st
2nd Order ODE’s
𝑑𝑦 𝑦̈ + 𝑝(𝑥)𝑦̇ + 𝑞(𝑥)𝑦 = 𝑟(𝑥)
𝑃(𝑥, 𝑦) + 𝑄(𝑥, 𝑦) =0
𝑑𝑥 𝑦 = 𝑦ℎ + 𝑦𝑝
𝜕𝑄 𝜕𝑃
Exact if =
𝜕𝑥 𝜕𝑦
Therefore 𝑓(𝑥, 𝑦) = ∫ 𝑃(𝑥, 𝑦) ∙ 𝑑𝑥 + 𝑔(𝑦)
Variation of Parameters (2nd order only) Roots General solution
𝑦𝑝 = 𝑢𝑦1 + 𝑣𝑦2
Real distinct 𝜆+ , 𝜆− 𝑦 = 𝐴𝑒 𝜆+ 𝑥 + 𝐵𝑒 𝜆− 𝑥
𝑊 = 𝑦1 𝑦2′ – 𝑦1′ 𝑦2
𝑦2 𝑟(𝑥) Single real 𝜆 = 𝛼 𝑦 = (𝐴 + 𝐵𝑥)𝑒 𝛼𝑥
𝑢=− ∫
𝑊
𝑦1 𝑟(𝑥) Complex 𝜆± = 𝛽 ± 𝑖𝜔 𝑦 = 𝑒 𝛽𝑥 𝐴 cos 𝜔𝑥 + 𝑒 𝛽𝑥 𝐵 sin 𝜔𝑥
𝑣=∫
𝑊
Where 𝑦ℎ = 𝐴𝑦1 + 𝐵𝑦2
𝒓(𝒙) 𝒈(𝒙) 𝒓(𝒙) 𝒈(𝒙)
γx γx
𝑘𝑒 𝑎𝑒 𝑘 cos 𝜔𝑥 𝑎 sin 𝜔𝑥 + 𝑏 cos 𝜔𝑥
𝑘 sin 𝜔𝑥
𝑘𝑥 𝑖 𝑎𝑥 𝑖 𝑘𝑒 𝛼𝑥 cos 𝜔𝑥 𝑒 αx (𝑎 sin 𝜔𝑥 + 𝑏 cos 𝜔𝑥)
𝑘𝑒 𝛼𝑥 sin 𝜔𝑥
HYPERBOLIC FUNCTIONS
Definitions Derivatives
𝑒 𝑥 + 𝑒 −𝑥 𝑑
cosh(𝑥) = cosh(𝑥) = sinh(𝑥)
2 𝑑𝑥
𝑒 𝑥 − 𝑒 −𝑥 𝑑
sinh(𝑥) = sinh(𝑥) = cosh(𝑥)
2 𝑑𝑥
Other
NOTE: cosh2 (𝑥) − sinh2 (𝑥) = 1
sinh(𝑥) 1 − 𝑒 −2𝑥
cosh(𝑥) = 1 tanh(𝑥) = =
sinh(𝑥) = 0 cosh(𝑥) 1 + 𝑒 −2𝑥
cosh(𝑥) 1 + 𝑒 −2𝑥
coth(𝑥) = =
sinh(𝑥) 1 − 𝑒 −2𝑥
DOUBLE AND TRIPLE INTEGRALS
Polar Coordinates Cylindrical Coordinates Spherical Coordinates
𝑥 = 𝑟 cos(𝜃) 𝑥 = 𝑟 cos(𝜃) 𝑥 = 𝑟 cos(𝜃) sin(𝜙)
𝑦 = 𝑟 sin(𝜃) 𝑦 = 𝑟 sin(𝜃) 𝑦 = 𝑟 sin(𝜃) sin(𝜙)
𝑧=𝑧 𝑧 = 𝑟 cos(𝜙)
Jacobian: 𝑟 Jacobian: 𝑟 Jacobian: 𝑟 2 sin(𝜙)
0 ≤ 𝜃 ≤ 2𝜋 0 ≤ 𝜃 ≤ 2𝜋 0 ≤ 𝜃 ≤ 2𝜋, 0 ≤ 𝜙 ≤ 𝜋
NOTE: 𝜙 = 0 at north pole
1
2
VECTOR CALCULUS
Conservative Vector Field Relationship
∫ 𝑭 ∙ 𝒅𝒓
If 𝐹 is conservative:
𝑪
Is C closed? Yes; Green’s Theorem ∇𝑓 = 𝐹
𝑑𝐹1 𝑑𝐹2
No; =
𝑑𝑦 𝑑𝑥
Is F conservative? Yes; FTC Path independent
No;
∮𝐶 𝐹 ∙ 𝑑𝑟 = 0
Parametrisation
𝐶𝑢𝑟𝑙(𝐹) = 0
Line Integral Flux Integral 2D
1. Parametrise curve C to get 𝑟(𝑡) 1. Parametrise curve C to get 𝑟(𝑡)
2. Differentiate to find 𝑑𝑟 2. Differentiate to find 𝑟 ′ (𝑡)
3. Sub 𝑟(𝑡) into original 𝐹 𝐹(𝑡) 3. Cross product with 𝑘̂ to get ±𝑛̂ 𝑑𝑆 (outwards)
4. 𝐹(𝑡) ∙ 𝑑𝑟 4. Sub 𝑟(𝑡) into original 𝐹 𝐹(𝑡)
𝑏
5. 𝑊𝑜𝑟𝑘 = ∫𝐶 𝐹 ∙ 𝑑𝑟 = ∫𝑎 (𝐹(𝑡) ∙ 𝑑𝑟) 𝑑𝑡 5. 𝐹(𝑡) ∙ 𝑑𝑟
6. 𝐹𝑙𝑢𝑥 = ∫ 𝐹 ∙ 𝑛̂ 𝑑𝑆 = ∫ (𝐹(𝑡) ∙ (𝑟 ′ (𝑡) × 𝑘̂)) 𝑑𝑡
𝐶 𝑐
2
3
LINEAR ALGEBRA
Row Echelon Form Determinant
1 2 3 Diagonal product of R.E.F.
𝐴 = [0 4 5] a.k.a upper triangular form In LU or PLU Decompositions;
0 0 6 |𝐴| = 𝑁(−1)|𝑈|
NOTE: |𝐴| = product of diagonal entries Where 𝑁 is the number of row swaps
LU Decomposition PLU Decomposition
Process of reducing a matrix to row echelon form. Same as LU, but P is the permutation matrix.
L is row operations + I Row swap of row 2 and 3:
U is the leftovers 1 0 0
2 1 1 1 0 0 2 1 1 𝑃 = 𝑃2,3 = (0 0 1), such that:
𝐴 = [2 2 1] : 𝐿 = [1 1 0] , 𝑈 = [0 1 0] 0 1 0
4 2 3 2 0 1 0 0 1 𝑃𝐴 = 𝐿𝑈 → 𝐴 = 𝑃 −1 𝐿𝑈
NOTE: P is in reverse order of row swaps.
LU System Solving PLU System Solving
To solve 𝐴𝑥 = 𝑏: To solve 𝐴𝑥 = 𝑏:
𝐿𝑦 = 𝑏 → 𝑈𝑥 = 𝑦 𝐿𝑦 = 𝑃−1 𝑏 → 𝑈𝑥 = 𝑦
3
4
Quadratic Formula
−𝑏 ± √𝑏 2 − 4𝑎𝑐
𝑥=
2𝑎
For ln(𝑥), Integrate by parts For ln(𝑥), derive via chain rule
− cos(𝑥) sin(𝑥) cos(𝑥)
sin(𝑥) cos(𝑥) − sin(𝑥)
− ln|𝑐𝑜𝑠(𝑥)| tan(𝑥) sec 2 (𝑥)
− ln|𝑐𝑠𝑐(𝑥) + 𝑐𝑜𝑡(𝑥)| csc(𝑥) − csc(𝑥) cot(𝑥)
ln|𝑠𝑒𝑐(𝑥) + 𝑡𝑎𝑛(𝑥)| sec(𝑥) sec(𝑥) tan(𝑥)
ln|𝑠𝑖𝑛(𝑥)| cot(𝑥) − csc 2(𝑥)
1
𝑥 𝑎𝑟𝑐𝑠𝑖𝑛(𝑥) + √1 − 𝑥 2 arcsin(𝑥) √1−𝑥 2
−1
𝑥 arccos(𝑥) − √1 − 𝑥 2 arccos(𝑥) √1−𝑥 2
1 1
𝑥 arctan(𝑥) − ln(1 + 𝑥 2 ) arctan(𝑥)
2 1+𝑥 2