SlideShare a Scribd company logo
Sec on 2.5
    The Chain Rule
      V63.0121.011: Calculus I
    Professor Ma hew Leingang
           New York University


        February 23, 2011


.
Announcements

   Quiz 2 next week on
   §§1.5, 1.6, 2.1, 2.2
   Midterm March 7 on all
   sec ons in class (covers
   all sec ons up to 2.5)
Objectives
   Given a compound
   expression, write it as a
   composi on of func ons.
   Understand and apply
   the Chain Rule for the
   deriva ve of a
   composi on of func ons.
   Understand and use
   Newtonian and Leibnizian
   nota ons for the Chain
   Rule.
Compositions
See Section 1.2 for review
 Defini on
 If f and g are func ons, the composi on (f ◦ g)(x) = f(g(x)) means “do g first,
 then f.”




                                        .
Compositions
See Section 1.2 for review
 Defini on
 If f and g are func ons, the composi on (f ◦ g)(x) = f(g(x)) means “do g first,
 then f.”



                        x             g(x)
                                g      .
Compositions
See Section 1.2 for review
 Defini on
 If f and g are func ons, the composi on (f ◦ g)(x) = f(g(x)) means “do g first,
 then f.”



                        x             g(x)
                                g      .       f
Compositions
See Section 1.2 for review
 Defini on
 If f and g are func ons, the composi on (f ◦ g)(x) = f(g(x)) means “do g first,
 then f.”



                        x             g(x)              f(g(x))
                                g      .       f
Compositions
See Section 1.2 for review
 Defini on
 If f and g are func ons, the composi on (f ◦ g)(x) = f(g(x)) means “do g first,
 then f.”



                        x
                                g
                                    f g
                                      g(x)
                                      ◦.       f
                                                        f(g(x))
Compositions
See Section 1.2 for review
 Defini on
 If f and g are func ons, the composi on (f ◦ g)(x) = f(g(x)) means “do g first,
 then f.”



                        x
                                g
                                    f g
                                      g(x)
                                      ◦.       f
                                                        f(g(x))




 Our goal for the day is to understand how the deriva ve of the composi on of
 two func ons depends on the deriva ves of the individual func ons.
Outline

 Heuris cs
    Analogy
    The Linear Case

 The chain rule

 Examples
Analogy
      Think about riding a bike. To
      go faster you can either:



                                      .




Image credit: SpringSun
Analogy
      Think about riding a bike. To
      go faster you can either:
           pedal faster


                                      .




Image credit: SpringSun
Analogy
      Think about riding a bike. To
      go faster you can either:
           pedal faster
           change gears

                                      .




Image credit: SpringSun
Analogy
      Think about riding a bike. To
      go faster you can either:
           pedal faster
           change gears

                                                                     .
        The angular posi on (φ) of the back wheel depends on the posi on
        of the front sprocket (θ):
                                            R..
                                              θ
                                    φ(θ) =
                                             r..

Image credit: SpringSun
Analogy
      Think about riding a bike. To
      go faster you can either:
           pedal faster
           change gears

                                       radius of front sprocket      .
        The angular posi on (φ) of the back wheel depends on the posi on
        of the front sprocket (θ):
                                            R..
                                              θ
                                    φ(θ) =
                                             r..

Image credit: SpringSun               radius of back sprocket
Analogy
   Think about riding a bike. To
   go faster you can either:
        pedal faster
        change gears

                                                                                .
        The angular posi on (φ) of the back wheel depends on the posi on
        of the front sprocket (θ):
                                                     R..
                                                       θ
                                             φ(θ) =
                                                      r..
         And so the angular speed of the back wheel depends on the
Image credit: SpringSun ve of this func on and the speed of the front sprocket.
        deriva
The Linear Case
 Ques on
 Let f(x) = mx + b and g(x) = m′ x + b′ . What can you say about the composi on?
The Linear Case
 Ques on
 Let f(x) = mx + b and g(x) = m′ x + b′ . What can you say about the composi on?

 Answer

      f(g(x)) = m(m′ x + b′ ) + b = (mm′ )x + (mb′ + b)
The Linear Case
 Ques on
 Let f(x) = mx + b and g(x) = m′ x + b′ . What can you say about the composi on?

 Answer

      f(g(x)) = m(m′ x + b′ ) + b = (mm′ )x + (mb′ + b)
      The composi on is also linear
The Linear Case
 Ques on
 Let f(x) = mx + b and g(x) = m′ x + b′ . What can you say about the composi on?

 Answer

      f(g(x)) = m(m′ x + b′ ) + b = (mm′ )x + (mb′ + b)
      The composi on is also linear
      The slope of the composi on is the product of the slopes of the two
      func ons.
The Linear Case
 Ques on
 Let f(x) = mx + b and g(x) = m′ x + b′ . What can you say about the composi on?

 Answer

      f(g(x)) = m(m′ x + b′ ) + b = (mm′ )x + (mb′ + b)
      The composi on is also linear
      The slope of the composi on is the product of the slopes of the two
      func ons.


 The deriva ve is supposed to be a local lineariza on of a func on. So there
 should be an analog of this property in deriva ves.
The Nonlinear Case
 Let u = g(x) and y = f(u). Suppose x is changed by a small amount
 ∆x. Then
                            ∆y
                   f′ (u) ≈     =⇒ ∆y ≈ f′ (u)∆u
                            ∆u
 and
                            ∆y
                  g′ (x) ≈      =⇒ ∆u ≈ g′ (x)∆x.
                            ∆x
 So
                                        ∆y
              ∆y ≈ f′ (u)g′ (x)∆x =⇒        ≈ f′ (u)g′ (x)
                                        ∆x
Outline

 Heuris cs
    Analogy
    The Linear Case

 The chain rule

 Examples
Theorem of the day: The chain rule
 Theorem
 Let f and g be func ons, with g differen able at x and f differen able
 at g(x). Then f ◦ g is differen able at x and

                      (f ◦ g)′ (x) = f′ (g(x))g′ (x)

 In Leibnizian nota on, let y = f(u) and u = g(x). Then
                             dy   dy du
                                =
                             dx du dx
Observations
             Succinctly, the deriva ve of a
             composi on is the product
             of the deriva ves




                                              .

Image credit: ooOJasonOoo
Theorem of the day: The chain rule
 Theorem
 Let f and g be func ons, with g differen able at x and f differen able
 at g(x). Then f ◦ g is differen able at x and

                      (f ◦ g)′ (x) = f′ (g(x))g′ (x)

 In Leibnizian nota on, let y = f(u) and u = g(x). Then
                             dy   dy du
                                =
                             dx du dx
Observations
             Succinctly, the deriva ve of a
             composi on is the product
             of the deriva ves
             The only complica on is
             where these deriva ves are
             evaluated: at the same point
             the func ons are

                                              .

Image credit: ooOJasonOoo
Compositions
See Section 1.2 for review
 Defini on
 If f and g are func ons, the composi on (f ◦ g)(x) = f(g(x)) means “do g first,
 then f.”



                        x
                                g
                                    f g
                                      g(x)
                                      ◦.       f
                                                        f(g(x))
Observations
             Succinctly, the deriva ve of a
             composi on is the product
             of the deriva ves
             The only complica on is
             where these deriva ves are
             evaluated: at the same point
             the func ons are
             In Leibniz nota on, the Chain
             Rule looks like cancella on of   .
             (fake) frac ons
Image credit: ooOJasonOoo
Theorem of the day: The chain rule
 Theorem
 Let f and g be func ons, with g differen able at x and f differen able
 at g(x). Then f ◦ g is differen able at x and

                      (f ◦ g)′ (x) = f′ (g(x))g′ (x)

 In Leibnizian nota on, let y = f(u) and u = g(x). Then
                             dy   dy du
                                =
                             dx du dx
Theorem of the day: The chain rule
 Theorem
 Let f and g be func ons, with g differen able at x and f differen able
 at g(x). Then f ◦ g is differen able at x and

                      (f ◦ g)′ (x) = f′ (g(x))g′ (x)

 In Leibnizian nota on, let y = f(u) and u = g(x). Then
                                                 
                                            dy .du
                                               
                                             
                              dy    dy du  dx
                                            du
                                  =
                              dx du dx
Outline

 Heuris cs
    Analogy
    The Linear Case

 The chain rule

 Examples
Example
 Example
              √
 let h(x) =    3x2 + 1. Find h′ (x).
Example
 Example
              √
 let h(x) =    3x2 + 1. Find h′ (x).

 Solu on
 First, write h as f ◦ g.
Example
 Example
              √
 let h(x) =    3x2 + 1. Find h′ (x).

 Solu on
                                       √
 First, write h as f ◦ g. Let f(u) =    u and g(x) = 3x2 + 1.
Example
 Example
              √
 let h(x) =    3x2 + 1. Find h′ (x).

 Solu on
                                     √
 First, write h as f ◦ g. Let f(u) = u and g(x) = 3x2 + 1. Then
 f′ (u) = 1 u−1/2 , and g′ (x) = 6x. So
          2


        h′ (x) = 1 u−1/2 (6x)
                 2
Example
 Example
              √
 let h(x) =    3x2 + 1. Find h′ (x).

 Solu on
                                     √
 First, write h as f ◦ g. Let f(u) = u and g(x) = 3x2 + 1. Then
 f′ (u) = 1 u−1/2 , and g′ (x) = 6x. So
          2

                                                            3x
        h′ (x) = 1 u−1/2 (6x) = 1 (3x2 + 1)−1/2 (6x) = √
                 2              2
                                                           3x2 + 1
Corollary

 Corollary (The Power Rule Combined with the Chain Rule)
 If n is any real number and u = g(x) is differen able, then
                         d n            du
                            (u ) = nun−1 .
                         dx             dx
Does order matter?
 Example
      d                             d
 Find    (sin 4x) and compare it to    (4 sin x).
      dx                            dx
Does order matter?
 Example
      d                             d
 Find    (sin 4x) and compare it to    (4 sin x).
      dx                            dx
 Solu on
      For the first, let u = 4x and y = sin(u). Then

                         dy   dy du
                            =   ·   = cos(u) · 4 = 4 cos 4x.
                         dx   du dx
Does order matter?
 Example
      d                             d
 Find    (sin 4x) and compare it to    (4 sin x).
      dx                            dx
 Solu on
      For the first, let u = 4x and y = sin(u). Then

                         dy   dy du
                            =   ·   = cos(u) · 4 = 4 cos 4x.
                         dx   du dx

      For the second, let u = sin x and y = 4u. Then
                                dy   dy du
                                   =   ·   = 4 · cos x
                                dx   du dx
Order matters!
 Example
      d                             d
 Find    (sin 4x) and compare it to    (4 sin x).
      dx                            dx
 Solu on
      For the first, let u = 4x and y = sin(u). Then

                         dy   dy du
                            =   ·   = cos(u) · 4 = 4 cos 4x.
                         dx   du dx

      For the second, let u = sin x and y = 4u. Then
                                dy   dy du
                                   =   ·   = 4 · cos x
                                dx   du dx
Example
           (√         )2
             x − 2 + 8 . Find f′ (x).
            3 5
Let f(x) =
Example
           (√         )2
             x − 2 + 8 . Find f′ (x).
            3 5
Let f(x) =

Solu on
       d (√ 5     )2  (√       ) d (√      )
            x −2+8 =2    x −2+8      x −2+8
          3            3 5          3 5

       dx                        dx
Example
           (√         )2
             x − 2 + 8 . Find f′ (x).
            3 5
Let f(x) =

Solu on
       d (√ 5     )2    (√       ) d (√        )
            x −2+8 =2      x −2+8        x −2+8
          3              3 5            3 5

       dx                          dx
                        (√       ) d√
                           x −2+8      x −2
                         3 5          3 5
                     =2
                                   dx
Example
           (√         )2
             x − 2 + 8 . Find f′ (x).
            3 5
Let f(x) =

Solu on
       d (√ 5     )2    (√          ) d (√            )
            x −2+8 =2      x −2+8            x −2+8
          3              3 5                3 5

       dx                             dx
                        (√          ) d√
                           x −2+8          x −2
                         3 5             3 5
                     =2
                                      dx
                        (√          )              d
                           x − 2 + 8 1 (x5 − 2)−2/3 (x5 − 2)
                         3 5
                     =2               3
                                                   dx
Example
           (√         )2
             x − 2 + 8 . Find f′ (x).
            3 5
Let f(x) =

Solu on
       d (√ 5     )2    (√          ) d (√              )
            x −2+8 =2      x −2+8            x −2+8
          3              3 5                3 5

       dx                             dx
                        (√          ) d√
                           x −2+8          x −2
                         3 5             3 5
                     =2
                                      dx
                        (√          )                d
                           x − 2 + 8 1 (x5 − 2)−2/3 (x5 − 2)
                         3 5
                     =2               3
                        (√          )               dx
                           x − 2 + 8 1 (x5 − 2)−2/3 (5x4 )
                         3 5
                     =2               3
Example
           (√         )2
             x − 2 + 8 . Find f′ (x).
            3 5
Let f(x) =

Solu on
       d (√ 5     )2    (√          ) d (√              )
            x −2+8 =2      x −2+8            x −2+8
          3              3 5                3 5

       dx                             dx
                        (√          ) d√
                           x −2+8          x −2
                         3 5              3 5
                     =2
                                      dx
                        (√          )                d
                           x − 2 + 8 1 (x5 − 2)−2/3 (x5 − 2)
                         3 5
                     =2               3
                        (√          )               dx
                           x − 2 + 8 1 (x5 − 2)−2/3 (5x4 )
                         3 5
                     =2               3
                           (√
                      10 4 3 5          )
                     = x      x − 2 + 8 (x5 − 2)−2/3
                       3
A metaphor
       Think about peeling an onion:
                           (√                 )2
                            3
           f(x) =                   x5   −2 +8
                                     5

                                    √
                                    3


                                         +8                                                 .
                                          2
                                              (√               )
                                ′
                                                        −2+8       1 5
                                                                          − 2)−2/3 (5x4 )
                                               3
                            f (x) = 2              x5              3 (x


Image credit: photobunny
Combining techniques
 Example
      d ( 3                    )
 Find    (x + 1)10 sin(4x2 − 7)
      dx
Combining techniques
 Example
      d ( 3                    )
 Find    (x + 1)10 sin(4x2 − 7)
      dx
 Solu on
 The “last” part of the func on is the product, so we apply the product rule. Each
 factor’s deriva ve requires the chain rule:
Combining techniques
 Example
      d ( 3                    )
 Find    (x + 1)10 sin(4x2 − 7)
      dx
 Solu on
 The “last” part of the func on is the product, so we apply the product rule. Each
 factor’s deriva ve requires the chain rule:

   d ( 3                        )
      (x + 1)10 · sin(4x2 − 7)
   dx     (               )                           (                )
            d 3                                         d
        =      (x + 1) 10
                            · sin(4x − 7) + (x + 1) ·
                                    2         3    10
                                                           sin(4x − 7)
                                                                 2
            dx                                          dx
Combining techniques
 Example
      d ( 3                    )
 Find    (x + 1)10 sin(4x2 − 7)
      dx
 Solu on
 The “last” part of the func on is the product, so we apply the product rule. Each
 factor’s deriva ve requires the chain rule:

   d ( 3                        )
      (x + 1)10 · sin(4x2 − 7)
   dx     (               )                             (                 )
            d 3                                            d
        =      (x + 1) 10
                            · sin(4x − 7) + (x + 1) ·
                                    2          3     10
                                                             sin(4x − 7)
                                                                    2
            dx                                            dx
                = 10(x3 + 1)9 (3x2 ) sin(4x2 − 7) + (x3 + 1)10 · cos(4x2 − 7)(8x)
Related rates of change in the ocean
        Ques on
        The area of a circle, A = πr2 , changes as its radius
        changes. If the radius changes with respect to me,
        the change in area with respect to me is
                dA
        A.         = 2πr
                dr
                dA         dr
        B.         = 2πr +
                dt         dt
                dA       dr
         C.        = 2πr
                dt       dt
                                                                .
        D. not enough informa on
Image credit: Jim Frazier
Related rates of change in the ocean
        Ques on
        The area of a circle, A = πr2 , changes as its radius
        changes. If the radius changes with respect to me,
        the change in area with respect to me is
                dA
        A.         = 2πr
                dr
                dA         dr
        B.         = 2πr +
                dt         dt
                dA       dr
         C.        = 2πr
                dt       dt
                                                                .
        D. not enough informa on
Image credit: Jim Frazier
Summary
  The deriva ve of a
  composi on is the
  product of deriva ves
  In symbols:
  (f ◦ g)′ (x) = f′ (g(x))g′ (x)
  Calculus is like an onion,
  and not because it makes
  you cry!

More Related Content

PDF
Lesson 10: The Chain Rule
PDF
Lesson 10: The Chain Rule
PDF
Jokyokai20111124
PDF
Wasserstein GAN
PDF
Omiros' talk on the Bernoulli factory problem
PDF
Homomorphism and Anti-homomorphism of Multi-Fuzzy Ideal and Multi-Anti Fuzzy ...
PDF
Dominación y extensiones óptimas de operadores con rango esencial compacto en...
PDF
Research Inventy : International Journal of Engineering and Science
Lesson 10: The Chain Rule
Lesson 10: The Chain Rule
Jokyokai20111124
Wasserstein GAN
Omiros' talk on the Bernoulli factory problem
Homomorphism and Anti-homomorphism of Multi-Fuzzy Ideal and Multi-Anti Fuzzy ...
Dominación y extensiones óptimas de operadores con rango esencial compacto en...
Research Inventy : International Journal of Engineering and Science

What's hot (17)

PDF
B043007014
PDF
Lesson 26: The Fundamental Theorem of Calculus (slides)
PDF
Several Pieces in Graph Theory
PDF
l1-Embeddings and Algorithmic Applications
PDF
Update 2
PDF
Ch06 ssm
PDF
Ch05 ssm
PDF
Pore-scale direct simulation of flow and transport in porous media
PDF
Optimization Approach to Nash Euilibria with Applications to Interchangeability
PDF
Reformulation of Nash Equilibrium with an Application to Interchangeability
PDF
D242228
PDF
Lesson 27: Integration by Substitution (slides)
PDF
Fixed Point Results In Fuzzy Menger Space With Common Property (E.A.)
PDF
Advanced Microeconomics - Lecture Slides
PDF
Lesson 24: Implicit Differentiation
PDF
Using blurred images to assess damage in bridge structures?
PDF
Lesson 27: Evaluating Definite Integrals
B043007014
Lesson 26: The Fundamental Theorem of Calculus (slides)
Several Pieces in Graph Theory
l1-Embeddings and Algorithmic Applications
Update 2
Ch06 ssm
Ch05 ssm
Pore-scale direct simulation of flow and transport in porous media
Optimization Approach to Nash Euilibria with Applications to Interchangeability
Reformulation of Nash Equilibrium with an Application to Interchangeability
D242228
Lesson 27: Integration by Substitution (slides)
Fixed Point Results In Fuzzy Menger Space With Common Property (E.A.)
Advanced Microeconomics - Lecture Slides
Lesson 24: Implicit Differentiation
Using blurred images to assess damage in bridge structures?
Lesson 27: Evaluating Definite Integrals
Ad

Viewers also liked (10)

PDF
CLASSROOM PRESENTATION TIPS IN 5 SLIDES
PPT
Effective PPT
PDF
Lesson 10: The Chain Rule (Section 21 slides)
PPT
Темплейт Power Point_5 fashion
PPT
Poor power points
PPT
power points tips
PPT
power points
PPTX
My Compositional Slide Show
PPTX
Making powerful power points
PDF
Doctor's Orders - Burn Your PowerPoints
CLASSROOM PRESENTATION TIPS IN 5 SLIDES
Effective PPT
Lesson 10: The Chain Rule (Section 21 slides)
Темплейт Power Point_5 fashion
Poor power points
power points tips
power points
My Compositional Slide Show
Making powerful power points
Doctor's Orders - Burn Your PowerPoints
Ad

Similar to Lesson 10: The Chain Rule (slides) (20)

PDF
Lesson 10: The Chain Rule
PDF
Lesson 11: The Chain Rule
PPTX
lesson10-thechainrule034slides-091006133832-phpapp01.pptx
PPTX
2 integration and the substitution methods x
PDF
Ch07
PDF
Evaluating definite integrals
PDF
4.1 Inverse Functions
PDF
4.1 Inverse Functions
PDF
exponen dan logaritma
PDF
Integration material
PDF
Integration
PDF
3.7 Inverse Functions
PPTX
5.1 anti derivatives
PDF
Lesson 15: Inverse Functions and Logarithms
PPTX
Composition and inverse of functions
PDF
Lesson 15: Inverse Functions and Logarithms
PPTX
The chain rule
 
PDF
Partial Derivatives.pdf
PPTX
1 review on derivatives
Lesson 10: The Chain Rule
Lesson 11: The Chain Rule
lesson10-thechainrule034slides-091006133832-phpapp01.pptx
2 integration and the substitution methods x
Ch07
Evaluating definite integrals
4.1 Inverse Functions
4.1 Inverse Functions
exponen dan logaritma
Integration material
Integration
3.7 Inverse Functions
5.1 anti derivatives
Lesson 15: Inverse Functions and Logarithms
Composition and inverse of functions
Lesson 15: Inverse Functions and Logarithms
The chain rule
 
Partial Derivatives.pdf
1 review on derivatives

More from Mel Anthony Pepito (20)

PDF
Lesson 16: Inverse Trigonometric Functions
PDF
Lesson 11: Implicit Differentiation
PDF
Lesson 12: Linear Approximation
PDF
Lesson 13: Related Rates Problems
PDF
Lesson 14: Derivatives of Logarithmic and Exponential Functions
PDF
Lesson 15: Exponential Growth and Decay
PDF
Lesson 17: Indeterminate Forms and L'Hôpital's Rule
PDF
Lesson 21: Curve Sketching
PDF
Lesson18 -maximum_and_minimum_values_slides
PDF
Lesson 19: The Mean Value Theorem
PDF
Lesson 25: The Definite Integral
PDF
Lesson22 -optimization_problems_slides
PDF
Lesson 24: Area and Distances
PDF
Lesson 23: Antiderivatives
PDF
Lesson 26: Evaluating Definite Integrals
PDF
Lesson 27: The Fundamental Theorem of Calculus
PDF
Introduction
PDF
Lesson 28: Integration by Subsitution
PDF
Introduction
PDF
Lesson 3: Limits (Section 21 slides)
Lesson 16: Inverse Trigonometric Functions
Lesson 11: Implicit Differentiation
Lesson 12: Linear Approximation
Lesson 13: Related Rates Problems
Lesson 14: Derivatives of Logarithmic and Exponential Functions
Lesson 15: Exponential Growth and Decay
Lesson 17: Indeterminate Forms and L'Hôpital's Rule
Lesson 21: Curve Sketching
Lesson18 -maximum_and_minimum_values_slides
Lesson 19: The Mean Value Theorem
Lesson 25: The Definite Integral
Lesson22 -optimization_problems_slides
Lesson 24: Area and Distances
Lesson 23: Antiderivatives
Lesson 26: Evaluating Definite Integrals
Lesson 27: The Fundamental Theorem of Calculus
Introduction
Lesson 28: Integration by Subsitution
Introduction
Lesson 3: Limits (Section 21 slides)

Lesson 10: The Chain Rule (slides)

  • 1. Sec on 2.5 The Chain Rule V63.0121.011: Calculus I Professor Ma hew Leingang New York University February 23, 2011 .
  • 2. Announcements Quiz 2 next week on §§1.5, 1.6, 2.1, 2.2 Midterm March 7 on all sec ons in class (covers all sec ons up to 2.5)
  • 3. Objectives Given a compound expression, write it as a composi on of func ons. Understand and apply the Chain Rule for the deriva ve of a composi on of func ons. Understand and use Newtonian and Leibnizian nota ons for the Chain Rule.
  • 4. Compositions See Section 1.2 for review Defini on If f and g are func ons, the composi on (f ◦ g)(x) = f(g(x)) means “do g first, then f.” .
  • 5. Compositions See Section 1.2 for review Defini on If f and g are func ons, the composi on (f ◦ g)(x) = f(g(x)) means “do g first, then f.” x g(x) g .
  • 6. Compositions See Section 1.2 for review Defini on If f and g are func ons, the composi on (f ◦ g)(x) = f(g(x)) means “do g first, then f.” x g(x) g . f
  • 7. Compositions See Section 1.2 for review Defini on If f and g are func ons, the composi on (f ◦ g)(x) = f(g(x)) means “do g first, then f.” x g(x) f(g(x)) g . f
  • 8. Compositions See Section 1.2 for review Defini on If f and g are func ons, the composi on (f ◦ g)(x) = f(g(x)) means “do g first, then f.” x g f g g(x) ◦. f f(g(x))
  • 9. Compositions See Section 1.2 for review Defini on If f and g are func ons, the composi on (f ◦ g)(x) = f(g(x)) means “do g first, then f.” x g f g g(x) ◦. f f(g(x)) Our goal for the day is to understand how the deriva ve of the composi on of two func ons depends on the deriva ves of the individual func ons.
  • 10. Outline Heuris cs Analogy The Linear Case The chain rule Examples
  • 11. Analogy Think about riding a bike. To go faster you can either: . Image credit: SpringSun
  • 12. Analogy Think about riding a bike. To go faster you can either: pedal faster . Image credit: SpringSun
  • 13. Analogy Think about riding a bike. To go faster you can either: pedal faster change gears . Image credit: SpringSun
  • 14. Analogy Think about riding a bike. To go faster you can either: pedal faster change gears . The angular posi on (φ) of the back wheel depends on the posi on of the front sprocket (θ): R.. θ φ(θ) = r.. Image credit: SpringSun
  • 15. Analogy Think about riding a bike. To go faster you can either: pedal faster change gears radius of front sprocket . The angular posi on (φ) of the back wheel depends on the posi on of the front sprocket (θ): R.. θ φ(θ) = r.. Image credit: SpringSun radius of back sprocket
  • 16. Analogy Think about riding a bike. To go faster you can either: pedal faster change gears . The angular posi on (φ) of the back wheel depends on the posi on of the front sprocket (θ): R.. θ φ(θ) = r.. And so the angular speed of the back wheel depends on the Image credit: SpringSun ve of this func on and the speed of the front sprocket. deriva
  • 17. The Linear Case Ques on Let f(x) = mx + b and g(x) = m′ x + b′ . What can you say about the composi on?
  • 18. The Linear Case Ques on Let f(x) = mx + b and g(x) = m′ x + b′ . What can you say about the composi on? Answer f(g(x)) = m(m′ x + b′ ) + b = (mm′ )x + (mb′ + b)
  • 19. The Linear Case Ques on Let f(x) = mx + b and g(x) = m′ x + b′ . What can you say about the composi on? Answer f(g(x)) = m(m′ x + b′ ) + b = (mm′ )x + (mb′ + b) The composi on is also linear
  • 20. The Linear Case Ques on Let f(x) = mx + b and g(x) = m′ x + b′ . What can you say about the composi on? Answer f(g(x)) = m(m′ x + b′ ) + b = (mm′ )x + (mb′ + b) The composi on is also linear The slope of the composi on is the product of the slopes of the two func ons.
  • 21. The Linear Case Ques on Let f(x) = mx + b and g(x) = m′ x + b′ . What can you say about the composi on? Answer f(g(x)) = m(m′ x + b′ ) + b = (mm′ )x + (mb′ + b) The composi on is also linear The slope of the composi on is the product of the slopes of the two func ons. The deriva ve is supposed to be a local lineariza on of a func on. So there should be an analog of this property in deriva ves.
  • 22. The Nonlinear Case Let u = g(x) and y = f(u). Suppose x is changed by a small amount ∆x. Then ∆y f′ (u) ≈ =⇒ ∆y ≈ f′ (u)∆u ∆u and ∆y g′ (x) ≈ =⇒ ∆u ≈ g′ (x)∆x. ∆x So ∆y ∆y ≈ f′ (u)g′ (x)∆x =⇒ ≈ f′ (u)g′ (x) ∆x
  • 23. Outline Heuris cs Analogy The Linear Case The chain rule Examples
  • 24. Theorem of the day: The chain rule Theorem Let f and g be func ons, with g differen able at x and f differen able at g(x). Then f ◦ g is differen able at x and (f ◦ g)′ (x) = f′ (g(x))g′ (x) In Leibnizian nota on, let y = f(u) and u = g(x). Then dy dy du = dx du dx
  • 25. Observations Succinctly, the deriva ve of a composi on is the product of the deriva ves . Image credit: ooOJasonOoo
  • 26. Theorem of the day: The chain rule Theorem Let f and g be func ons, with g differen able at x and f differen able at g(x). Then f ◦ g is differen able at x and (f ◦ g)′ (x) = f′ (g(x))g′ (x) In Leibnizian nota on, let y = f(u) and u = g(x). Then dy dy du = dx du dx
  • 27. Observations Succinctly, the deriva ve of a composi on is the product of the deriva ves The only complica on is where these deriva ves are evaluated: at the same point the func ons are . Image credit: ooOJasonOoo
  • 28. Compositions See Section 1.2 for review Defini on If f and g are func ons, the composi on (f ◦ g)(x) = f(g(x)) means “do g first, then f.” x g f g g(x) ◦. f f(g(x))
  • 29. Observations Succinctly, the deriva ve of a composi on is the product of the deriva ves The only complica on is where these deriva ves are evaluated: at the same point the func ons are In Leibniz nota on, the Chain Rule looks like cancella on of . (fake) frac ons Image credit: ooOJasonOoo
  • 30. Theorem of the day: The chain rule Theorem Let f and g be func ons, with g differen able at x and f differen able at g(x). Then f ◦ g is differen able at x and (f ◦ g)′ (x) = f′ (g(x))g′ (x) In Leibnizian nota on, let y = f(u) and u = g(x). Then dy dy du = dx du dx
  • 31. Theorem of the day: The chain rule Theorem Let f and g be func ons, with g differen able at x and f differen able at g(x). Then f ◦ g is differen able at x and (f ◦ g)′ (x) = f′ (g(x))g′ (x) In Leibnizian nota on, let y = f(u) and u = g(x). Then dy .du dy dy du dx du = dx du dx
  • 32. Outline Heuris cs Analogy The Linear Case The chain rule Examples
  • 33. Example Example √ let h(x) = 3x2 + 1. Find h′ (x).
  • 34. Example Example √ let h(x) = 3x2 + 1. Find h′ (x). Solu on First, write h as f ◦ g.
  • 35. Example Example √ let h(x) = 3x2 + 1. Find h′ (x). Solu on √ First, write h as f ◦ g. Let f(u) = u and g(x) = 3x2 + 1.
  • 36. Example Example √ let h(x) = 3x2 + 1. Find h′ (x). Solu on √ First, write h as f ◦ g. Let f(u) = u and g(x) = 3x2 + 1. Then f′ (u) = 1 u−1/2 , and g′ (x) = 6x. So 2 h′ (x) = 1 u−1/2 (6x) 2
  • 37. Example Example √ let h(x) = 3x2 + 1. Find h′ (x). Solu on √ First, write h as f ◦ g. Let f(u) = u and g(x) = 3x2 + 1. Then f′ (u) = 1 u−1/2 , and g′ (x) = 6x. So 2 3x h′ (x) = 1 u−1/2 (6x) = 1 (3x2 + 1)−1/2 (6x) = √ 2 2 3x2 + 1
  • 38. Corollary Corollary (The Power Rule Combined with the Chain Rule) If n is any real number and u = g(x) is differen able, then d n du (u ) = nun−1 . dx dx
  • 39. Does order matter? Example d d Find (sin 4x) and compare it to (4 sin x). dx dx
  • 40. Does order matter? Example d d Find (sin 4x) and compare it to (4 sin x). dx dx Solu on For the first, let u = 4x and y = sin(u). Then dy dy du = · = cos(u) · 4 = 4 cos 4x. dx du dx
  • 41. Does order matter? Example d d Find (sin 4x) and compare it to (4 sin x). dx dx Solu on For the first, let u = 4x and y = sin(u). Then dy dy du = · = cos(u) · 4 = 4 cos 4x. dx du dx For the second, let u = sin x and y = 4u. Then dy dy du = · = 4 · cos x dx du dx
  • 42. Order matters! Example d d Find (sin 4x) and compare it to (4 sin x). dx dx Solu on For the first, let u = 4x and y = sin(u). Then dy dy du = · = cos(u) · 4 = 4 cos 4x. dx du dx For the second, let u = sin x and y = 4u. Then dy dy du = · = 4 · cos x dx du dx
  • 43. Example (√ )2 x − 2 + 8 . Find f′ (x). 3 5 Let f(x) =
  • 44. Example (√ )2 x − 2 + 8 . Find f′ (x). 3 5 Let f(x) = Solu on d (√ 5 )2 (√ ) d (√ ) x −2+8 =2 x −2+8 x −2+8 3 3 5 3 5 dx dx
  • 45. Example (√ )2 x − 2 + 8 . Find f′ (x). 3 5 Let f(x) = Solu on d (√ 5 )2 (√ ) d (√ ) x −2+8 =2 x −2+8 x −2+8 3 3 5 3 5 dx dx (√ ) d√ x −2+8 x −2 3 5 3 5 =2 dx
  • 46. Example (√ )2 x − 2 + 8 . Find f′ (x). 3 5 Let f(x) = Solu on d (√ 5 )2 (√ ) d (√ ) x −2+8 =2 x −2+8 x −2+8 3 3 5 3 5 dx dx (√ ) d√ x −2+8 x −2 3 5 3 5 =2 dx (√ ) d x − 2 + 8 1 (x5 − 2)−2/3 (x5 − 2) 3 5 =2 3 dx
  • 47. Example (√ )2 x − 2 + 8 . Find f′ (x). 3 5 Let f(x) = Solu on d (√ 5 )2 (√ ) d (√ ) x −2+8 =2 x −2+8 x −2+8 3 3 5 3 5 dx dx (√ ) d√ x −2+8 x −2 3 5 3 5 =2 dx (√ ) d x − 2 + 8 1 (x5 − 2)−2/3 (x5 − 2) 3 5 =2 3 (√ ) dx x − 2 + 8 1 (x5 − 2)−2/3 (5x4 ) 3 5 =2 3
  • 48. Example (√ )2 x − 2 + 8 . Find f′ (x). 3 5 Let f(x) = Solu on d (√ 5 )2 (√ ) d (√ ) x −2+8 =2 x −2+8 x −2+8 3 3 5 3 5 dx dx (√ ) d√ x −2+8 x −2 3 5 3 5 =2 dx (√ ) d x − 2 + 8 1 (x5 − 2)−2/3 (x5 − 2) 3 5 =2 3 (√ ) dx x − 2 + 8 1 (x5 − 2)−2/3 (5x4 ) 3 5 =2 3 (√ 10 4 3 5 ) = x x − 2 + 8 (x5 − 2)−2/3 3
  • 49. A metaphor Think about peeling an onion: (√ )2 3 f(x) = x5 −2 +8 5 √ 3 +8 . 2 (√ ) ′ −2+8 1 5 − 2)−2/3 (5x4 ) 3 f (x) = 2 x5 3 (x Image credit: photobunny
  • 50. Combining techniques Example d ( 3 ) Find (x + 1)10 sin(4x2 − 7) dx
  • 51. Combining techniques Example d ( 3 ) Find (x + 1)10 sin(4x2 − 7) dx Solu on The “last” part of the func on is the product, so we apply the product rule. Each factor’s deriva ve requires the chain rule:
  • 52. Combining techniques Example d ( 3 ) Find (x + 1)10 sin(4x2 − 7) dx Solu on The “last” part of the func on is the product, so we apply the product rule. Each factor’s deriva ve requires the chain rule: d ( 3 ) (x + 1)10 · sin(4x2 − 7) dx ( ) ( ) d 3 d = (x + 1) 10 · sin(4x − 7) + (x + 1) · 2 3 10 sin(4x − 7) 2 dx dx
  • 53. Combining techniques Example d ( 3 ) Find (x + 1)10 sin(4x2 − 7) dx Solu on The “last” part of the func on is the product, so we apply the product rule. Each factor’s deriva ve requires the chain rule: d ( 3 ) (x + 1)10 · sin(4x2 − 7) dx ( ) ( ) d 3 d = (x + 1) 10 · sin(4x − 7) + (x + 1) · 2 3 10 sin(4x − 7) 2 dx dx = 10(x3 + 1)9 (3x2 ) sin(4x2 − 7) + (x3 + 1)10 · cos(4x2 − 7)(8x)
  • 54. Related rates of change in the ocean Ques on The area of a circle, A = πr2 , changes as its radius changes. If the radius changes with respect to me, the change in area with respect to me is dA A. = 2πr dr dA dr B. = 2πr + dt dt dA dr C. = 2πr dt dt . D. not enough informa on Image credit: Jim Frazier
  • 55. Related rates of change in the ocean Ques on The area of a circle, A = πr2 , changes as its radius changes. If the radius changes with respect to me, the change in area with respect to me is dA A. = 2πr dr dA dr B. = 2πr + dt dt dA dr C. = 2πr dt dt . D. not enough informa on Image credit: Jim Frazier
  • 56. Summary The deriva ve of a composi on is the product of deriva ves In symbols: (f ◦ g)′ (x) = f′ (g(x))g′ (x) Calculus is like an onion, and not because it makes you cry!