Professional Documents
Culture Documents
Maths4ml MVC Formulae
Maths4ml MVC Formulae
Multivariate Calculus
Formula sheet
Dr Samuel J. Cooper
Prof. David Dye
Dr A. Freddie Page
- Product Rule:
A(x) = f (x)g(x) - Jacobian:
A0 (x) = f 0 (x)g(x) + f (x)g 0 (x)
∂f ∂f ∂f
Jf = , ,
∂x ∂y ∂z
- Chain Rule:
If h = h(p) and p = p(m) - Hessian:
dh dh dp
then = ×
dm dp dm ∂2f ∂2f ∂2f
∂x2 ∂x∂y ∂x∂z
Hf = ∂2f ∂2f ∂2f
- Total derivative:
∂y∂x ∂y 2 ∂y∂z
For the function f (x, y, z, ...), where each variable
∂2f ∂2f ∂2f
is a function of parameter t, the total derivative is ∂z∂x ∂z∂y ∂z 2
df ∂f dx ∂f dy ∂f dz
= + + + ...
dt ∂x dt ∂y dt ∂z dt
1
Taylor Series - Directional Gradient:
- Univariate:
1 ∇f.r̂
f (x) = f (c) + f 0 (c)(x − c) + f 00 (c)(x − c)2 + ...
2
X∞ (n)
f (c) - Gradient Descent:
= (x − c)n
n=0
n!
sn+1 = sn − γ∇f
- Multivariate:
f (x) = f (c) + Jf (c)(x − c) + ... - Lagrange Multipliers λ:
1
(x − c)t Hf (c)(x − c) + ...
2 ∇f = λ∇g