Jacobian of Composite Functions
📂Vector AnalysisJacobian of Composite Functions
Theorem
Let’s assume we have two functions f:Rn→Rm and g:Rm→Rk. We denote the Jacobian of f as J(f). Then, the following holds.
J(g∘f)=J(g)J(f)
Explanation
Since the Jacobian is the most generalized derivative, the above theorem is a generalization of the chain rule.
Proof
By definition of the Jacobian,
J(g∘f)=∂x1∂(g∘f)1⋮∂x1∂(g∘f)k⋯⋱⋯∂xn∂(g∘f)1⋮∂xn∂(g∘f)k=∂x1∂g1⋮∂x1∂gk⋯⋱⋯∂xn∂g1⋮∂xn∂gk
Given gi=gi(f1(x),…,fm(x))),
∂xj∂gi=ℓ=1∑m∂fℓ∂gi∂xj∂fℓ
Therefore,
J(g∘f)=== ℓ=1∑m∂fℓ∂g1∂x1∂fℓ⋮ℓ=1∑m∂fℓ∂gk∂x1∂fℓ⋯⋱⋯ℓ=1∑m∂fℓ∂g1∂xn∂fℓ⋮ℓ=1∑m∂fℓ∂gk∂xm∂fℓ ∂f1∂g1⋮∂f1∂gk⋯⋱⋯∂fm∂g1⋮∂fm∂gk∂x1∂f1⋮∂x1∂fm⋯⋱⋯∂xn∂f1⋮∂xn∂fm J(g)J(f)
■