# 3.6 The chain rule

 Page 1 / 6
• State the chain rule for the composition of two functions.
• Apply the chain rule together with the power rule.
• Apply the chain rule and the product/quotient rules correctly in combination when both are necessary.
• Recognize the chain rule for a composition of three or more functions.
• Describe the proof of the chain rule.

We have seen the techniques for differentiating basic functions $\left({x}^{n},\text{sin}\phantom{\rule{0.1em}{0ex}}x,\text{cos}\phantom{\rule{0.1em}{0ex}}x,\text{etc}.\right)$ as well as sums, differences, products, quotients, and constant multiples of these functions. However, these techniques do not allow us to differentiate compositions of functions, such as $h\left(x\right)=\text{sin}\left({x}^{3}\right)$ or $k\left(x\right)=\sqrt{3{x}^{2}+1}.$ In this section, we study the rule for finding the derivative of the composition of two or more functions.

## Deriving the chain rule

When we have a function that is a composition of two or more functions, we could use all of the techniques we have already learned to differentiate it. However, using all of those techniques to break down a function into simpler parts that we are able to differentiate can get cumbersome. Instead, we use the chain rule    , which states that the derivative of a composite function is the derivative of the outer function evaluated at the inner function times the derivative of the inner function.

To put this rule into context, let’s take a look at an example: $h\left(x\right)=\text{sin}\phantom{\rule{0.1em}{0ex}}\left({x}^{3}\right).$ We can think of the derivative of this function with respect to x as the rate of change of $\text{sin}\left({x}^{3}\right)$ relative to the change in $x.$ Consequently, we want to know how $\text{sin}\left({x}^{3}\right)$ changes as $x$ changes. We can think of this event as a chain reaction: As $x$ changes, ${x}^{3}$ changes, which leads to a change in $\text{sin}\phantom{\rule{0.1em}{0ex}}\left({x}^{3}\right).$ This chain reaction gives us hints as to what is involved in computing the derivative of $\phantom{\rule{0.2em}{0ex}}\text{sin}\left({x}^{3}\right).$ First of all, a change in $x$ forcing a change in ${x}^{3}$ suggests that somehow the derivative of ${x}^{3}$ is involved. In addition, the change in ${x}^{3}$ forcing a change in $\text{sin}\left({x}^{3}\right)$ suggests that the derivative of $\text{sin}\left(u\right)$ with respect to $u,$ where $u={x}^{3},$ is also part of the final derivative.

We can take a more formal look at the derivative of $h\left(x\right)=\text{sin}\phantom{\rule{0.1em}{0ex}}\left({x}^{3}\right)$ by setting up the limit that would give us the derivative at a specific value $a$ in the domain of $h\left(x\right)=\text{sin}\phantom{\rule{0.1em}{0ex}}\left({x}^{3}\right).$

${h}^{\prime }\left(a\right)=\underset{x\to a}{\text{lim}}\frac{\text{sin}\phantom{\rule{0.1em}{0ex}}\left({x}^{3}\right)-\text{sin}\left({a}^{3}\right)}{x-a}.$

This expression does not seem particularly helpful; however, we can modify it by multiplying and dividing by the expression ${x}^{3}-{a}^{3}$ to obtain

${h}^{\prime }\left(a\right)=\underset{x\to a}{\text{lim}}\frac{\text{sin}\phantom{\rule{0.1em}{0ex}}\left({x}^{3}\right)-\text{sin}\left({a}^{3}\right)}{{x}^{3}-{a}^{3}}·\frac{{x}^{3}-{a}^{3}}{x-a}.$

From the definition of the derivative, we can see that the second factor is the derivative of ${x}^{3}$ at $x=a.$ That is,

$\underset{x\to a}{\text{lim}}\frac{{x}^{3}-{a}^{3}}{x-a}=\frac{d}{dx}\left({x}^{3}\right)=3{a}^{2}.$

However, it might be a little more challenging to recognize that the first term is also a derivative. We can see this by letting $u={x}^{3}$ and observing that as $x\to a,u\to {a}^{3}\text{:}$

$\begin{array}{cc}\hfill \underset{x\to a}{\text{lim}}\frac{\text{sin}\phantom{\rule{0.1em}{0ex}}\left({x}^{3}\right)-\text{sin}\phantom{\rule{0.1em}{0ex}}\left({a}^{3}\right)}{{x}^{3}-{a}^{3}}& =\underset{u\to {a}^{3}}{\text{lim}}\frac{\text{sin}\phantom{\rule{0.1em}{0ex}}u-\text{sin}\phantom{\rule{0.1em}{0ex}}\left({a}^{3}\right)}{u-{a}^{3}}\hfill \\ & =\frac{d}{du}{\left(\text{sin}\phantom{\rule{0.1em}{0ex}}u\right)}_{u={a}^{3}}\hfill \\ & =\text{cos}\phantom{\rule{0.1em}{0ex}}\left({a}^{3}\right).\hfill \end{array}$

Thus, ${h}^{\prime }\left(a\right)=\text{cos}\left({a}^{3}\right)·3{a}^{2}.$

In other words, if $h\left(x\right)=\text{sin}\phantom{\rule{0.1em}{0ex}}\left({x}^{3}\right),$ then ${h}^{\prime }\left(x\right)=\text{cos}\phantom{\rule{0.1em}{0ex}}\left({x}^{3}\right)·3{x}^{2}.$ Thus, if we think of $h\left(x\right)=\text{sin}\left({x}^{3}\right)$ as the composition $\left(f\circ g\right)\left(x\right)=f\left(g\left(x\right)\right)$ where $f\left(x\right)=$ sin $x$ and $g\left(x\right)={x}^{3},$ then the derivative of $h\left(x\right)=\text{sin}\left({x}^{3}\right)$ is the product of the derivative of $g\left(x\right)={x}^{3}$ and the derivative of the function $f\left(x\right)=\text{sin}\phantom{\rule{0.1em}{0ex}}x$ evaluated at the function $g\left(x\right)={x}^{3}.$ At this point, we anticipate that for $h\left(x\right)=\text{sin}\phantom{\rule{0.1em}{0ex}}\left(g\left(x\right)\right),$ it is quite likely that ${h}^{\prime }\left(x\right)=\text{cos}\left(g\left(x\right)\right){g}^{\prime }\left(x\right).$ As we determined above, this is the case for $h\left(x\right)=\text{sin}\phantom{\rule{0.1em}{0ex}}\left({x}^{3}\right).$

find the integral of tan
Differentiate each from the first principle. y=x,y=1/x
I need help with calculus. Anyone help me.
yes
Hi
Usman
beautiful name usman
Fund
really
Usman
Hi guys
Macquitasha
Hello everyone here
abdulazeez
good day!
joel
hii
Shreya
You are welcome
abdulazeez
shreya
ashif
thanks
joel
hello Sar aapse Kuchh calculate ke sawal poochhne Hain
Sumit
integration seems interesting
it's like a multiple oparation in just one.
Efrain
Definitely integration
tangent line at a point/range on a function f(x) making f'(x)
Luis
Principles of definite integration?
ROHIT
For tangent they'll usually give an x='s value. In that case, solve for y, keep the ordered pair. then find f(x) prime. plug the given x value into the prime and the solution is the slope of the tangent line. Plug the ordered pair into the derived function in y=mx+b format as x and y to solve for B
Anastasia
parcing an area trough a function f(x)
Efrain
Find the length of the arc y = x^2 over 3 when x = 0 and x = 2.
integrate x ln dx from 1 to e
application of function
how i can need help
what ?
Bunyim
defination of math
azam
application of function
azam
azam
what is a circle
Ronnie
math is the science, logic, shape and arrangement
a circle is a hole shape
Jianna
a whole circumference have equal distance from one point
azam
please tell me books which write on function
azam
HE is a Nigerian, wrote the book INTEGRATED MATHEMATICS...CHECK IT OUT!!
Agboke
Woah this is working again
Bruce
show that the f^n f(x)=|x-1| is not differentiable at x=1.
is there any solution manual to calculuse 1 for Gilbert Strang ?
I am beginner
Abdul
I am a beginner
ephraim
l am also beginner
just began, bois!!
Luis
Hello
abdulazeez
abdulazeez
Hey
Bonface
Hi
Jianna
what is mathematics
logical usage of numbers
Leo
thanks
Henry
you welcome
Leo
what's career can one specialize in by doing pure maths
Lucy
Lucy Omollo...... The World is Yours by specializing in pure math. Analytics, Financial engineering ,programming, education, combinatorial mathematics, Game Theory. your skill-set will be like water a necessary element of survival.
David
***onetonline.org/find/descriptor/result/1.A.1.c.1
Bruce
mathematics seems to be anthropocentric deductive reasoning and a little high order logic. I only say this because I can only find two things going on which is infinitely smaller than 0 and anything over 1
David
More comprehensive list here: ***onetonline.org/find/descriptor/result/1.A.1.c.1?a=1
Bruce
so how can we differentiate inductive reasoning and deductive reasoning
Henry
thanks very much Mr David
Henry
hi everyone
Sabir
is there anyone who can guide me in learning the mathematics easily
Sabir
Hi Sabir first step of learning mathematics is by falling in love with it and secondly, watch videos on simple algebra then read and solved problems on it
Leo
yes sabir just do every time practice that is the solution
Henry
it will be work over to you ,u know how mind work ,it prossed the information easily when u are practising regularly
Henry
in calculas,does a self inverse function exist
Lucy
I'm lost in all functions need help
Jonathan
hello i need help in rate of change
Moises
***questioncove.com/invite/QzOQGp
Bruce
Hello
hassan
hi
MJ
hi
Masaniel
so difficult
Masaniel
hello my name is Charles Christian
Hello Charles
Jianna
Hi! I am Dante
Dante
Hi! I'm ashwini
ashwini
halĺo
Roben
Hi
Leo
hello leo
Agboke
can anyone prove why AU(BnC)=(AUB)n(AUC)
Agboke
this one it can't be proven these are assumption
Henry
hello agboke there is no proof for such
Leo
Hi
hi this is wasim
wasim
can anybody put me through flowchart and algorithm here
Agboke
Leo
Luis
music while you math
Luis
dy/dx= 1-cos4x/sin4x
what is the derivatives of 1-cos4x/sin4x
Alma
what is the derivate of Sec2x
Johar
d/dx(sec(2 x)) = 2 tan(2 x) sec(2 x)
AYAN
who knows more about mathematical induction?
Agboke
who know anything about the whole calculus thing 🤔 its killing me 😶
matbakh
Yes
hii
Gagan        By Sebastian Sieczko...  