What is the multivariable chain rule?

Jenn, Founder Calcworkshop®, 15+ Years Experience (Licensed & Certified Teacher)
And is it different than the chain rule we learned back in calculus 1?
Well, truth be told, there are several versions of the chain rule, but they are all extremely similar and super easy to use.
Chain Rule Of Differentiation
We learned that the chain rule allows us to differentiate a composite function in single variable calculus.
Recall, a composite function is a function that is inside another function. Similar to how the milk chocolate is encompassed, or inside, the candy-coating shell of an M&M.
So, if
But this formula, in its current form, only works for single variable functions.
Partial Derivative Chain Rule
Therefore, we will need something similar but a bit more robust for multivariable functions.
Thankfully, we can take our current formula and make a pivotal adjustment to our notation!
Why is this important?
Consider the following…
If
Cool!
Example – Single Variable Calculus VS Multivariable Calculus
Let’s look at the implications of this new form as it applies to the following problem.
Suppose
Well, we can use two different methods. Both are equally great, but I hope to convince you that the second method will be the preferred choice, especially when more variables become involved.
Let’s take a look.
Method #1 – Single Variable
Apply the chain rule, as was done in single-variable calculus.
If
, , , then Thus…
Method #2 – Multivariable
Apply the chain rule for multivariable where we take partial derivatives.
If
where , , then:
Next, we have to plug into the formula and simplify.
As you can see, both methods yield the same result and can be used to check the validity of our answer.
But if there are two ways to find the derivative of a composite function, why do we need the multivariable chain rule?
Great question!
But the answer lies in asking another question…
…what would we do if our function has three, four, or more variables?
Ahh, and this is where method #2 (shown above) really shines, and cements its necessity into our ever expanding mathematical loving hearts.
Multivariable Chain Rule
Now let us consider the situation when
This means that
Ergo, we do the following to help make things easier.
If
Example – Chain Rule For Two Independent Variables
For instance, assume
First, we will find our partial derivatives.
Next, all we have to do is plug into the respective formulas and simplify.
And
And that’s it! Using partial derivatives helps to keep things neat and straightforward.
General Formula
Now, this brings us to a more general version of the chain rule so that we can handle functions of any number of variables.
Suppose that
Don’t worry.
This formula may seem strange, but it’s quite easy to use. We’ll look at several examples in the following video, and I’m confident that you’ll be wielding its power in no time!
Implicit Function Theorem
But we need to discuss one more version of the chain rule, and it involves implicit differentiation!
The Implicit Function Theorem allows us to calculate the derivative implicitly all while using partial derivatives. And the greatest part is that it’s super easy to use!
Implicit Function Theorem for a function
Implicit Function Theorem for a function
Example
Let’s look at an example to see how this works by finding
As before, let’s compare our two methods – single variable vs. multivariable.
First, we will implicitly take the derivative using our single variable calculus techniques.
Differentiate Implicitly – Product Rule
But now, let’s find the derivative of this same function, using the Implicit Function Theorem.
First, we will need to collect all terms on one side, so the function is set equal to zero.
Now, we will find our partial derivatives.
Lastly, we drop our partial derivatives into our formula and simplify to find our solution.
Now, wasn’t our new method of using the Implicit Function Theorem pretty awesome and easy?
Yep! I think so too.
Together we will learn how you can apply the multivariable chain rule to the function of two or more variables and evaluate at a point, and how we can take our knowledge of partial derivatives and apply it implicit differentiation.
It’s going to be great, so let’s get to it.
Video Tutorial w/ Full Lesson & Detailed Examples (Video)
Get access to all the courses and over 450 HD videos with your subscription
Monthly and Yearly Plans Available
Still wondering if CalcWorkshop is right for you?
Take a Tour and find out how a membership can take the struggle out of learning math.