# 4.5 The chain rule

 Page 1 / 9
• State the chain rules for one or two independent variables.
• Use tree diagrams as an aid to understanding the chain rule for several independent and intermediate variables.
• Perform implicit differentiation of a function of two or more variables.

In single-variable calculus, we found that one of the most useful differentiation rules is the chain rule, which allows us to find the derivative of the composition of two functions. The same thing is true for multivariable calculus, but this time we have to deal with more than one form of the chain rule. In this section, we study extensions of the chain rule and learn how to take derivatives of compositions of functions of more than one variable.

## Chain rules for one or two independent variables

Recall that the chain rule for the derivative of a composite of two functions can be written in the form

$\frac{d}{dx}\left(f\left(g\left(x\right)\right)\right)=f\prime \left(g\left(x\right)\right)g\prime \left(x\right).$

In this equation, both $f\left(x\right)$ and $g\left(x\right)$ are functions of one variable. Now suppose that $f$ is a function of two variables and $g$ is a function of one variable. Or perhaps they are both functions of two variables, or even more. How would we calculate the derivative in these cases? The following theorem gives us the answer for the case of one independent variable.

## Chain rule for one independent variable

Suppose that $x=g\left(t\right)$ and $y=h\left(t\right)$ are differentiable functions of $t$ and $z=f\left(x,y\right)$ is a differentiable function of $x\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}y.$ Then $z=f\left(x\left(t\right),y\left(t\right)\right)$ is a differentiable function of $t$ and

$\frac{dz}{dt}=\frac{\partial z}{\partial x}·\frac{dx}{dt}+\frac{\partial z}{\partial y}·\frac{dy}{dt},$

where the ordinary derivatives are evaluated at $t$ and the partial derivatives are evaluated at $\left(x,y\right).$

## Proof

The proof of this theorem uses the definition of differentiability of a function of two variables. Suppose that f is differentiable at the point $P\left({x}_{0},{y}_{0}\right),$ where ${x}_{0}=g\left({t}_{0}\right)$ and ${y}_{0}=h\left({t}_{0}\right)$ for a fixed value of ${t}_{0}.$ We wish to prove that $z=f\left(x\left(t\right),y\left(t\right)\right)$ is differentiable at $t={t}_{0}$ and that [link] holds at that point as well.

Since $f$ is differentiable at $P,$ we know that

$z\left(t\right)=f\left(x,y\right)=f\left({x}_{0},{y}_{0}\right)+{f}_{x}\left({x}_{0},{y}_{0}\right)\left(x-{x}_{0}\right)+{f}_{y}\left({x}_{0},{y}_{0}\right)\left(y-{y}_{0}\right)+E\left(x,y\right),$

where $\underset{\left(x,y\right)\to \left({x}_{0},{y}_{0}\right)}{\text{lim}}\frac{E\left(x,y\right)}{\sqrt{{\left(x-{x}_{0}\right)}^{2}+{\left(y-{y}_{0}\right)}^{2}}}=0.$ We then subtract ${z}_{0}=f\left({x}_{0},{y}_{0}\right)$ from both sides of this equation:

$\begin{array}{cc}\hfill z\left(t\right)-z\left({t}_{0}\right)& =f\left(x\left(t\right),y\left(t\right)\right)-f\left(x\left({t}_{0}\right),y\left({t}_{0}\right)\right)\hfill \\ & ={f}_{x}\left({x}_{0},{y}_{0}\right)\left(x\left(t\right)-x\left({t}_{0}\right)\right)+{f}_{y}\left({x}_{0},{y}_{0}\right)\left(y\left(t\right)-y\left({t}_{0}\right)\right)+E\left(x\left(t\right),y\left(t\right)\right).\hfill \end{array}$

Next, we divide both sides by $t-{t}_{0}\text{:}$

$\frac{z\left(t\right)-z\left({t}_{0}\right)}{t-{t}_{0}}={f}_{x}\left({x}_{0},{y}_{0}\right)\left(\frac{x\left(t\right)-x\left({t}_{0}\right)}{t-{t}_{0}}\right)+{f}_{y}\left({x}_{0},{y}_{0}\right)\left(\frac{y\left(t\right)-y\left({t}_{0}\right)}{t-{t}_{0}}\right)+\frac{E\left(x\left(t\right),y\left(t\right)\right)}{t-{t}_{0}}.$

Then we take the limit as $t$ approaches ${t}_{0}\text{:}$

$\begin{array}{cc}\hfill \underset{t\to {t}_{0}}{\text{lim}}\frac{z\left(t\right)-z\left({t}_{0}\right)}{t-{t}_{0}}& ={f}_{x}\left({x}_{0},{y}_{0}\right)\underset{t\to {t}_{0}}{\text{lim}}\left(\frac{x\left(t\right)-x\left({t}_{0}\right)}{t-{t}_{0}}\right)+{f}_{y}\left({x}_{0},{y}_{0}\right)\underset{t\to {t}_{0}}{\text{lim}}\left(\frac{y\left(t\right)-y\left({t}_{0}\right)}{t-{t}_{0}}\right)\hfill \\ & \phantom{\rule{0.5em}{0ex}}+\underset{t\to {t}_{0}}{\text{lim}}\frac{E\left(x\left(t\right),y\left(t\right)\right)}{t-{t}_{0}}.\hfill \end{array}$

The left-hand side of this equation is equal to $dz\text{/}dt,$ which leads to

$\frac{dz}{dt}={f}_{x}\left({x}_{0},{y}_{0}\right)\frac{dx}{dt}+{f}_{y}\left({x}_{0},{y}_{0}\right)\frac{dy}{dt}+\underset{t\to {t}_{0}}{\text{lim}}\frac{E\left(x\left(t\right),y\left(t\right)\right)}{t-{t}_{0}}.$

The last term can be rewritten as

$\begin{array}{cc}\hfill \underset{t\to {t}_{0}}{\text{lim}}\frac{E\left(x\left(t\right),y\left(t\right)\right)}{t-{t}_{0}}& =\underset{t\to {t}_{0}}{\text{lim}}\left(\frac{E\left(x,y\right)}{\sqrt{{\left(x-{x}_{0}\right)}^{2}+{\left(y-{y}_{0}\right)}^{2}}}\phantom{\rule{0.2em}{0ex}}\frac{\sqrt{{\left(x-{x}_{0}\right)}^{2}+{\left(y-{y}_{0}\right)}^{2}}}{t-{t}_{0}}\right)\hfill \\ & =\underset{t\to {t}_{0}}{\text{lim}}\left(\frac{E\left(x,y\right)}{\sqrt{{\left(x-{x}_{0}\right)}^{2}+{\left(y-{y}_{0}\right)}^{2}}}\right)\underset{t\to {t}_{0}}{\text{lim}}\left(\frac{\sqrt{{\left(x-{x}_{0}\right)}^{2}+{\left(y-{y}_{0}\right)}^{2}}}{t-{t}_{0}}\right).\hfill \end{array}$

As $t$ approaches ${t}_{0},$ $\left(x\left(t\right),y\left(t\right)\right)$ approaches $\left(x\left({t}_{0}\right),y\left({t}_{0}\right)\right),$ so we can rewrite the last product as

$\underset{\left(x,y\right)\to \left({x}_{0},{y}_{0}\right)}{\text{lim}}\left(\frac{E\left(x,y\right)}{\sqrt{{\left(x-{x}_{0}\right)}^{2}+{\left(y-{y}_{0}\right)}^{2}}}\right)\underset{\left(x,y\right)\to \left({x}_{0},{y}_{0}\right)}{\text{lim}}\left(\frac{\sqrt{{\left(x-{x}_{0}\right)}^{2}+{\left(y-{y}_{0}\right)}^{2}}}{t-{t}_{0}}\right).$

Since the first limit is equal to zero, we need only show that the second limit is finite:

$\begin{array}{cc}\hfill \underset{\left(x,y\right)\to \left({x}_{0},{y}_{0}\right)}{\text{lim}}\left(\frac{\sqrt{{\left(x-{x}_{0}\right)}^{2}+{\left(y-{y}_{0}\right)}^{2}}}{t-{t}_{0}}\right)& =\underset{\left(x,y\right)\to \left({x}_{0},{y}_{0}\right)}{\text{lim}}\left(\sqrt{\frac{{\left(x-{x}_{0}\right)}^{2}+{\left(y-{y}_{0}\right)}^{2}}{{\left(t-{t}_{0}\right)}^{2}}}\right)\hfill \\ & =\underset{\left(x,y\right)\to \left({x}_{0},{y}_{0}\right)}{\text{lim}}\left(\sqrt{{\left(\frac{x-{x}_{0}}{t-{t}_{0}}\right)}^{2}+{\left(\frac{y-{y}_{0}}{t-{t}_{0}}\right)}^{2}}\right)\hfill \\ & =\sqrt{{\left(\underset{\left(x,y\right)\to \left({x}_{0},{y}_{0}\right)}{\text{lim}}\left(\frac{x-{x}_{0}}{t-{t}_{0}}\right)\right)}^{2}+{\left(\underset{\left(x,y\right)\to \left({x}_{0},{y}_{0}\right)}{\text{lim}}\left(\frac{y-{y}_{0}}{t-{t}_{0}}\right)\right)}^{2}}.\hfill \end{array}$

where we get a research paper on Nano chemistry....?
nanopartical of organic/inorganic / physical chemistry , pdf / thesis / review
Ali
what are the products of Nano chemistry?
There are lots of products of nano chemistry... Like nano coatings.....carbon fiber.. And lots of others..
learn
Even nanotechnology is pretty much all about chemistry... Its the chemistry on quantum or atomic level
learn
da
no nanotechnology is also a part of physics and maths it requires angle formulas and some pressure regarding concepts
Bhagvanji
hey
Giriraj
Preparation and Applications of Nanomaterial for Drug Delivery
revolt
da
Application of nanotechnology in medicine
what is variations in raman spectra for nanomaterials
I only see partial conversation and what's the question here!
what about nanotechnology for water purification
please someone correct me if I'm wrong but I think one can use nanoparticles, specially silver nanoparticles for water treatment.
Damian
yes that's correct
Professor
I think
Professor
Nasa has use it in the 60's, copper as water purification in the moon travel.
Alexandre
nanocopper obvius
Alexandre
what is the stm
is there industrial application of fullrenes. What is the method to prepare fullrene on large scale.?
Rafiq
industrial application...? mmm I think on the medical side as drug carrier, but you should go deeper on your research, I may be wrong
Damian
How we are making nano material?
what is a peer
What is meant by 'nano scale'?
What is STMs full form?
LITNING
scanning tunneling microscope
Sahil
how nano science is used for hydrophobicity
Santosh
Do u think that Graphene and Fullrene fiber can be used to make Air Plane body structure the lightest and strongest. Rafiq
Rafiq
what is differents between GO and RGO?
Mahi
what is simplest way to understand the applications of nano robots used to detect the cancer affected cell of human body.? How this robot is carried to required site of body cell.? what will be the carrier material and how can be detected that correct delivery of drug is done Rafiq
Rafiq
if virus is killing to make ARTIFICIAL DNA OF GRAPHENE FOR KILLED THE VIRUS .THIS IS OUR ASSUMPTION
Anam
analytical skills graphene is prepared to kill any type viruses .
Anam
Any one who tell me about Preparation and application of Nanomaterial for drug Delivery
Hafiz
what is Nano technology ?
write examples of Nano molecule?
Bob
The nanotechnology is as new science, to scale nanometric
brayan
nanotechnology is the study, desing, synthesis, manipulation and application of materials and functional systems through control of matter at nanoscale
Damian
Is there any normative that regulates the use of silver nanoparticles?
what king of growth are you checking .?
Renato
What fields keep nano created devices from performing or assimulating ? Magnetic fields ? Are do they assimilate ?
why we need to study biomolecules, molecular biology in nanotechnology?
?
Kyle
yes I'm doing my masters in nanotechnology, we are being studying all these domains as well..
why?
what school?
Kyle
biomolecules are e building blocks of every organics and inorganic materials.
Joe
how did you get the value of 2000N.What calculations are needed to arrive at it
Privacy Information Security Software Version 1.1a
Good
can you provide the details of the parametric equations for the lines that defince doubly-ruled surfeces (huperbolids of one sheet and hyperbolic paraboloid). Can you explain each of the variables in the equations?