In single-variable calculus, the chain rule is, for some and :
In multivariable calculus, we extend the idea somewhat. It’s easiest to draw a tree diagram branching out from our main function . We traverse the tree and sum the products of our derivatives: Note that for one independent variable, where , then we accordingly take full derivatives as followed:
We extend the functionality of chain rule with implicit differentiation.
Generalisation
For , , and two maps , , if and , then:
In more succinct notation:
where the term in the brackets is the Jacobian matrix of .