SlideShare a Scribd company logo
1 of 11
Download to read offline
.   V63.0121.001: Calculus I
    .                                                                           Sec on 5.5: Integra on by Subs . tu on   May 4, 2011


                                                                                                    Notes
                                               Sec on 5.5
                                       Integra on by Subs tu on
                                                     V63.0121.001: Calculus I
    .                                              Professor Ma hew Leingang
                                                          New York University


                                                          May 4, 2011


    .
                                                                                                    .




                                                                                                    Notes
        Announcements
                     Today: 5.5
                     Monday 5/9: Review in class
                     Tuesday 5/10: Review Sessions by TAs
                     Wednesday 5/11: TA office hours:
                                  Adam 10–noon (WWH 906)
                                  Jerome 3:30–5:30 (WWH 501)
                                  Soohoon 6–8 (WWH 511)
                     Thursday 5/12: Final Exam,
                     2:00–3:50pm

    .
                                                                                                    .




                                                                                                    Notes
        Resurrection Policy
              If your final score beats your midterm score, we will add 10% to its
              weight, and subtract 10% from the midterm weight.




                                                                                             .
    . Image credit: Sco   Beale / Laughing Squid


                                                                                                    .

                                                                                                                                . 1
.
.   V63.0121.001: Calculus I
    .                                                  Sec on 5.5: Integra on by Subs . tu on   May 4, 2011


                                                                              Notes
        Objectives
            Given an integral and a
            subs tu on, transform the
            integral into an equivalent one
            using a subs tu on
            Evaluate indefinite integrals
            using the method of
            subs tu on.
            Evaluate definite integrals using
            the method of subs tu on.

    .
                                                                              .




                                                                              Notes
        Outline
         Last Time: The Fundamental Theorem(s) of Calculus

         Subs tu on for Indefinite Integrals
            Theory
            Examples

         Subs tu on for Definite Integrals
            Theory
            Examples


    .
                                                                              .




        Differentiation and Integration as                                     Notes
        reverse processes
         Theorem (The Fundamental Theorem of Calculus)

          1. Let f be con nuous on [a, b]. Then
                                      ∫
                                   d x
                                           f(t) dt = f(x)
                                  dx a

          2. Let f be con nuous on [a, b] and f = F′ for some other func on
             F. Then           ∫ b
                                   f(x) dx = F(b) − F(a).
                                  a
    .
                                                                              .

                                                                                                       . 2
.
.   V63.0121.001: Calculus I
    .                                                Sec on 5.5: Integra on by Subs . tu on   May 4, 2011


                                                                            Notes
        Techniques of antidifferentiation?
         So far we know only a few rules for an differen a on. Some are
         general, like
                       ∫                   ∫          ∫
                         [f(x) + g(x)] dx = f(x) dx + g(x) dx

         Some are pre y par cular, like
                         ∫
                                1
                             √          dx = arcsec x + C.
                            x x2 − 1
         What are we supposed to do with that?
    .
                                                                            .




        No straightforward system of                                        Notes
        antidifferentiation
         So far we don’t have any way to find
                                   ∫
                                          2x
                                      √         dx
                                         x2 + 1
         or                          ∫
                                         tan x dx.

         Luckily, we can be smart and use the “an ” version of one of the
         most important rules of differen a on: the chain rule.
    .
                                                                            .




                                                                            Notes
        Outline
         Last Time: The Fundamental Theorem(s) of Calculus

         Subs tu on for Indefinite Integrals
            Theory
            Examples

         Subs tu on for Definite Integrals
            Theory
            Examples


    .
                                                                            .

                                                                                                     . 3
.
.   V63.0121.001: Calculus I
    .                                                 Sec on 5.5: Integra on by Subs . tu on   May 4, 2011



        Substitution for Indefinite                                          Notes
        Integrals
         Example
         Find                      ∫
                                            x
                                       √        dx.
                                           x2+1

         Solu on
         Stare at this long enough and you no ce the the integrand is the
                                     √
         deriva ve of the expression 1 + x2 .

    .
                                                                            .




                                                                            Notes
        Say what?
         Solu on (More slowly, now)
         Let g(x) = x2 + 1. Then g′ (x) = 2x and so
                        d√         1                 x
                           g(x) = √     g′ (x) = √
                        dx       2 g(x)            x2 + 1

         Thus
                    ∫                ∫ ( √      )
                           x            d
                        √       dx =        g(x) dx
                         x2 + 1         dx
                                     √          √
                                   = g(x) + C = 1 + x2 + C.

    .
                                                                            .




                                                                            Notes
        Leibnizian notation FTW
         Solu on (Same technique, new nota on)
                                              √        √
         Let u = x2 + 1. Then du = 2x dx and 1 + x2 = u. So the
         integrand becomes completely transformed into
                       ∫              ∫ 1       ∫
                             x dx        2 du       1
                           √       =     √ =        √ du
                             x2 + 1 ∫       u      2 u
                                         1 −1/2
                                   =     2u     du
                                      √          √
                                   = u + C = 1 + x2 + C.


    .
                                                                            .

                                                                                                      . 4
.
.   V63.0121.001: Calculus I
    .                                                       Sec on 5.5: Integra on by Subs . tu on   May 4, 2011


                                                                                Notes
        Useful but unsavory variation
         Solu on (Same technique, new nota on, more idiot-proof)
                                            √        √
         Let u = x2 + 1. Then du = 2x dx and 1 + x2 = u. “Solve for dx:”
                                                  du
                                           dx =
                                                  2x
         So the integrand becomes completely transformed into
              ∫                 ∫            ∫
                      x            x du          1
                  √        dx =   √ ·      =     √ du
                    x2 + 1          u 2x        2 u
                                ∫                      √
                                  1 −1/2
                                              √
                              =   2u     du = u + C = 1 + x2 + C.

    .
         Mathema cians have serious issues with mixing the x and u like this.   .
         However, I can’t deny that it works.




                                                                                Notes
        Theorem of the Day
         Theorem (The Subs tu on Rule)
         If u = g(x) is a differen able func on whose range is an interval I
         and f is con nuous on I, then
                              ∫                   ∫
                                f(g(x))g′ (x) dx = f(u) du

         That is, if F is an an deriva ve for f, then
                                ∫
                                  f(g(x))g′ (x) dx = F(g(x))

    .
                                                                                .




                                                                                Notes
        Theorem of the Day
         Theorem (The Subs tu on Rule)
         If u = g(x) is a differen able func on whose range is an interval I
         and f is con nuous on I, then
                              ∫                   ∫
                                f(g(x))g′ (x) dx = f(u) du

         In Leibniz nota on:
                               ∫                    ∫
                                          du
                                   f(u)      dx =       f(u) du
                                          dx

    .
                                                                                .

                                                                                                            . 5
.
.   V63.0121.001: Calculus I
    .                                                         Sec on 5.5: Integra on by Subs . tu on   May 4, 2011


                                                                                  Notes
        A polynomial example
         Example
                                                       ∫
         Use the subs tu on u = x2 + 3 to find              (x2 + 3)3 4x dx.

         Solu on
         If u = x2 + 3, then du = 2x dx, and 4x dx = 2 du. So
                       ∫                   ∫            ∫
                          (x2 + 3)3 4x dx = u3 2du = 2 u3 du
                                            1    1
                                           = u4 = (x2 + 3)4
                                            2    2
    .
                                                                                  .




                                                                                  Notes
        A polynomial example (brute force)
         Solu on
               ∫                       ∫
                                           (                       )
                   (x2 + 3)3 4x dx =           x6 + 9x4 + 27x2 + 27 4x dx
                                       ∫
                                           (                            )
                                  =            4x7 + 36x5 + 108x3 + 108x dx
                                   1
                                  = x8 + 6x6 + 27x4 + 54x2
                                   2

         Which would you rather do?
             It’s a wash for low powers
             But for higher powers, it’s much easier to do subs tu on.
    .
                                                                                  .




                                                                                  Notes
        Compare
         We have the subs tu on method, which, when mul plied out, gives
            ∫
                                1
              (x2 + 3)3 4x dx = (x2 + 3)4
                                2
                                1( 8                           )
                              =   x + 12x6 + 54x4 + 108x2 + 81
                                2
                                1                        81
                              = x8 + 6x6 + 27x4 + 54x2 +
                                2                         2
         and the brute force method
             ∫
                                1
               (x2 + 3)3 4x dx = x8 + 6x6 + 27x4 + 54x2
                                2

    .    Is there a difference? Is this a problem?

                                                                                  .

                                                                                                              . 6
.
.   V63.0121.001: Calculus I
    .                                                              Sec on 5.5: Integra on by Subs . tu on   May 4, 2011


                                                                                       Notes
        A slick example
         Example
             ∫
                                       sin x
         Find tan x dx. (Hint: tan x =       )
                                       cos x

         Solu on




    .
                                                                                       .




                                                                                       Notes
        Outline
         Last Time: The Fundamental Theorem(s) of Calculus

         Subs tu on for Indefinite Integrals
            Theory
            Examples

         Subs tu on for Definite Integrals
            Theory
            Examples


    .
                                                                                       .




                                                                                       Notes
        Substitution for Definite Integrals
         Theorem (The Subs tu on Rule for Definite Integrals)
         If g′ is con nuous and f is con nuous on the range of u = g(x), then
                         ∫     b                        ∫   g(b)
                                   f(g(x))g′ (x) dx =              f(u) du.
                           a                            g(a)



         Why the change in the limits?
            The integral on the le happens in “x-land”
            The integral on the right happens in “u-land”, so the limits need
            to be u-values
            To get from x to u, apply g
    .
                                                                                       .

                                                                                                                   . 7
.
.   V63.0121.001: Calculus I
    .                                                                    Sec on 5.5: Integra on by Subs . tu on   May 4, 2011


         Example                                                                                    Notes
                   ∫       π
         Compute               cos2 x sin x dx.
                       0


         Solu on (Slow Way)                                          ∫
             First compute the indefinite integral                        cos2 x sin x dx and then
             evaluate.
             Let u = cos x . Then du = − sin x dx and
              ∫                      ∫
                  cos2 x sin x dx = − u2 du = − 1 u3 + C = − 3 cos3 x + C.
                                                 3
                                                             1



             Therefore
    .          ∫ π
                                                                          1(          ) 2
                                                                 π
                                      1
                   cos2 x sin x dx = − cos3 x                        =−     (−1)3 − 13 = .          .
                0                     3                          0        3             3




                                                                                                    Notes
        Definite-ly Quicker
         Solu on (Fast Way)
         Do both the subs tu on and the evalua on at the same me. Let
         u = cos x. Then du = − sin x dx, u(0) = 1 and u(π) = −1 . So
                   ∫       π                       ∫   −1                 ∫   1
                               cos2 x sin x dx =            −u2 du =              u2 du
                   0                               1                       −1
                                                                     1(        ) 2
                                                            1
                                                   1 3
                                              =      u           =     1 − (−1) =
                                                   3        −1       3            3


    .
                                                                                                    .




                                                                                                    Notes
        Compare


             The advantage to the “fast way” is that you completely
             transform the integral into something simpler and don’t have
             to go back to the original variable (x).
             But the slow way is just as reliable.




    .
                                                                                                    .

                                                                                                                         . 8
.
.   V63.0121.001: Calculus I
    .                            Sec on 5.5: Integra on by Subs . tu on   May 4, 2011


                                                     Notes
        An exponential example
         Example
             ∫ ln √8 √
         Find √ e2x e2x + 1 dx
              ln   3


         Solu on




    .
                                                     .




                                                     Notes
        Another way to skin that cat
         Example
             ∫ ln √8 √
         Find √ e2x e2x + 1 dx
              ln   3


         Solu on




    .
                                                     .




                                                     Notes
        A third skinned cat
         Example
             ∫ ln √8 √
         Find √ e2x e2x + 1 dx
              ln   3


         Solu on




    .
                                                     .

                                                                                 . 9
.
.   V63.0121.001: Calculus I
    .                                                     Sec on 5.5: Integra on by Subs . tu on     May 4, 2011


                                                                                             Notes
        A Trigonometric Example
         Example
         Find              ∫                  ( )      ( )
                                3π/2
                                               θ        θ
                                       cot5       sec2     dθ.
                            π                  6        6

         Before we dive in, think about:
             What “easy” subs tu ons might help?
             Which of the trig func ons suggests a subs tu on?


    .
                                                                                             .




                                                                                             Notes
         Solu on




    .
                                                                                             .




                             ( )      ( )                     ∫
                                                                                             Notes
        Graphs
            ∫ 3π/2
                              θ        θ                          π/4
                        cot5     sec2     dθ                            6 cot5 φ sec2 φ dφ
                    π         6        6                      π/6
                y                                         y




                .                               θ                           φ
                                π    3π                       ππ
                                      2                       64
         The areas of these two regions are the same.
    .
                                                                                             .

                                                                                                            . 10
.
.   V63.0121.001: Calculus I
    .                                                              Sec on 5.5: Integra on by Subs . tu on   May 4, 2011


                                ∫                                  ∫                   Notes
        Graphs                      π/4
                                          6 cot5 φ sec2 φ dφ         √
                                                                       1
                                                                           6u−5 du
                                π/6                                1/ 3
                         y                                     y




                            .        φ                       u
                           ππ                            11
                                                        √
                            64                            3
                       The areas of these two regions are the same.
    .
                                                                                       .




                                                                                       Notes
        u/du pairs

         When deciding on a subs tu on, look for sub-expressions where
         one is (a constant mul ple of) the deriva ve of the other. Such as:
                                                                         √
                        u                   xn   ln x sin x cos x tan x   x ex
                                                  1                      1
               constant × du xn−1                     cos x sin x sec2 x √ ex
                                                  x                       x




    .
                                                                                       .




                                                                                       Notes
        Summary
             If F is an an deriva ve for f, then:
                                ∫
                                   f(g(x))g′ (x) dx = F(g(x))

             If F is an an deriva ve for f, which is con nuous on the range
             of g, then:
                   ∫ b                    ∫ g(b)
                       f(g(x))g′ (x) dx =        f(u) du = F(g(b)) − F(g(a))
                   a                                g(a)

             An differen a on in general and subs tu on in par cular is a
             “nonlinear” problem that needs prac ce, intui on, and
             perserverance.
             The whole an differen a on story is in Chapter 6.
    .
                                                                                       .

                                                                                                                   . 11
.

More Related Content

Similar to Lesson 27: Integration by Substitution (handout)

Lesson 28: Integration by Subsitution
Lesson 28: Integration by SubsitutionLesson 28: Integration by Subsitution
Lesson 28: Integration by Subsitution
Mel Anthony Pepito
 
Lesson 28: Integration by Subsitution
Lesson 28: Integration by SubsitutionLesson 28: Integration by Subsitution
Lesson 28: Integration by Subsitution
Matthew Leingang
 
Lesson 23: The Definite Integral (handout)
Lesson 23: The Definite Integral (handout)Lesson 23: The Definite Integral (handout)
Lesson 23: The Definite Integral (handout)
Matthew Leingang
 
Lesson 25: The Fundamental Theorem of Calculus
Lesson 25: The Fundamental Theorem of CalculusLesson 25: The Fundamental Theorem of Calculus
Lesson 25: The Fundamental Theorem of Calculus
Matthew Leingang
 

Similar to Lesson 27: Integration by Substitution (handout) (20)

Lesson 25: Evaluating Definite Integrals (handout)
Lesson 25: Evaluating Definite Integrals (handout)Lesson 25: Evaluating Definite Integrals (handout)
Lesson 25: Evaluating Definite Integrals (handout)
 
Lesson 26: Integration by Substitution (slides)
Lesson 26: Integration by Substitution (slides)Lesson 26: Integration by Substitution (slides)
Lesson 26: Integration by Substitution (slides)
 
Lesson 1: Functions and their representations (handout)
Lesson 1: Functions and their representations (handout)Lesson 1: Functions and their representations (handout)
Lesson 1: Functions and their representations (handout)
 
Lesson 23: Antiderivatives (slides)
Lesson 23: Antiderivatives (slides)Lesson 23: Antiderivatives (slides)
Lesson 23: Antiderivatives (slides)
 
Lesson 28: Integration by Subsitution
Lesson 28: Integration by SubsitutionLesson 28: Integration by Subsitution
Lesson 28: Integration by Subsitution
 
Lesson 28: Integration by Subsitution
Lesson 28: Integration by SubsitutionLesson 28: Integration by Subsitution
Lesson 28: Integration by Subsitution
 
Lesson 20: Derivatives and the Shapes of Curves (handout)
Lesson 20: Derivatives and the Shapes of Curves (handout)Lesson 20: Derivatives and the Shapes of Curves (handout)
Lesson 20: Derivatives and the Shapes of Curves (handout)
 
Lesson 23: The Definite Integral (handout)
Lesson 23: The Definite Integral (handout)Lesson 23: The Definite Integral (handout)
Lesson 23: The Definite Integral (handout)
 
Lesson 27: Integration by Substitution (Section 041 handout)
Lesson 27: Integration by Substitution (Section 041 handout)Lesson 27: Integration by Substitution (Section 041 handout)
Lesson 27: Integration by Substitution (Section 041 handout)
 
Lesson 21: Curve Sketching (handout)
Lesson 21: Curve Sketching (handout)Lesson 21: Curve Sketching (handout)
Lesson 21: Curve Sketching (handout)
 
Lesson 25: Evaluating Definite Integrals (Section 041 handout)
Lesson 25: Evaluating Definite Integrals (Section 041 handout)Lesson 25: Evaluating Definite Integrals (Section 041 handout)
Lesson 25: Evaluating Definite Integrals (Section 041 handout)
 
Lesson 27: Integration by Substitution (Section 021 handout)
Lesson 27: Integration by Substitution (Section 021 handout)Lesson 27: Integration by Substitution (Section 021 handout)
Lesson 27: Integration by Substitution (Section 021 handout)
 
Lesson 20: Optimization (handout)
Lesson 20: Optimization (handout)Lesson 20: Optimization (handout)
Lesson 20: Optimization (handout)
 
Lesson 25: The Fundamental Theorem of Calculus
Lesson 25: The Fundamental Theorem of CalculusLesson 25: The Fundamental Theorem of Calculus
Lesson 25: The Fundamental Theorem of Calculus
 
Lesson 5: Continuity (handout)
Lesson 5: Continuity (handout)Lesson 5: Continuity (handout)
Lesson 5: Continuity (handout)
 
Lesson 25: Evaluating Definite Integrals (Section 021 handout)
Lesson 25: Evaluating Definite Integrals (Section 021 handout)Lesson 25: Evaluating Definite Integrals (Section 021 handout)
Lesson 25: Evaluating Definite Integrals (Section 021 handout)
 
Calc ii complete
Calc ii completeCalc ii complete
Calc ii complete
 
Lesson 1: Functions
Lesson 1: FunctionsLesson 1: Functions
Lesson 1: Functions
 
Lesson 4: Calculating Limits (handout)
Lesson 4: Calculating Limits (handout)Lesson 4: Calculating Limits (handout)
Lesson 4: Calculating Limits (handout)
 
Lesson 10: The Chain Rule (handout)
Lesson 10: The Chain Rule (handout)Lesson 10: The Chain Rule (handout)
Lesson 10: The Chain Rule (handout)
 

More from Matthew Leingang

More from Matthew Leingang (20)

Making Lesson Plans
Making Lesson PlansMaking Lesson Plans
Making Lesson Plans
 
Streamlining assessment, feedback, and archival with auto-multiple-choice
Streamlining assessment, feedback, and archival with auto-multiple-choiceStreamlining assessment, feedback, and archival with auto-multiple-choice
Streamlining assessment, feedback, and archival with auto-multiple-choice
 
Lesson 26: The Fundamental Theorem of Calculus (slides)
Lesson 26: The Fundamental Theorem of Calculus (slides)Lesson 26: The Fundamental Theorem of Calculus (slides)
Lesson 26: The Fundamental Theorem of Calculus (slides)
 
Lesson 26: The Fundamental Theorem of Calculus (slides)
Lesson 26: The Fundamental Theorem of Calculus (slides)Lesson 26: The Fundamental Theorem of Calculus (slides)
Lesson 26: The Fundamental Theorem of Calculus (slides)
 
Lesson 25: Evaluating Definite Integrals (slides)
Lesson 25: Evaluating Definite Integrals (slides)Lesson 25: Evaluating Definite Integrals (slides)
Lesson 25: Evaluating Definite Integrals (slides)
 
Lesson 24: Areas and Distances, The Definite Integral (handout)
Lesson 24: Areas and Distances, The Definite Integral (handout)Lesson 24: Areas and Distances, The Definite Integral (handout)
Lesson 24: Areas and Distances, The Definite Integral (handout)
 
Lesson 24: Areas and Distances, The Definite Integral (slides)
Lesson 24: Areas and Distances, The Definite Integral (slides)Lesson 24: Areas and Distances, The Definite Integral (slides)
Lesson 24: Areas and Distances, The Definite Integral (slides)
 
Lesson 23: Antiderivatives (slides)
Lesson 23: Antiderivatives (slides)Lesson 23: Antiderivatives (slides)
Lesson 23: Antiderivatives (slides)
 
Lesson 22: Optimization Problems (slides)
Lesson 22: Optimization Problems (slides)Lesson 22: Optimization Problems (slides)
Lesson 22: Optimization Problems (slides)
 
Lesson 22: Optimization Problems (handout)
Lesson 22: Optimization Problems (handout)Lesson 22: Optimization Problems (handout)
Lesson 22: Optimization Problems (handout)
 
Lesson 21: Curve Sketching (slides)
Lesson 21: Curve Sketching (slides)Lesson 21: Curve Sketching (slides)
Lesson 21: Curve Sketching (slides)
 
Lesson 20: Derivatives and the Shapes of Curves (slides)
Lesson 20: Derivatives and the Shapes of Curves (slides)Lesson 20: Derivatives and the Shapes of Curves (slides)
Lesson 20: Derivatives and the Shapes of Curves (slides)
 
Lesson 19: The Mean Value Theorem (slides)
Lesson 19: The Mean Value Theorem (slides)Lesson 19: The Mean Value Theorem (slides)
Lesson 19: The Mean Value Theorem (slides)
 
Lesson 18: Maximum and Minimum Values (slides)
Lesson 18: Maximum and Minimum Values (slides)Lesson 18: Maximum and Minimum Values (slides)
Lesson 18: Maximum and Minimum Values (slides)
 
Lesson 17: Indeterminate forms and l'Hôpital's Rule (slides)
Lesson 17: Indeterminate forms and l'Hôpital's Rule (slides)Lesson 17: Indeterminate forms and l'Hôpital's Rule (slides)
Lesson 17: Indeterminate forms and l'Hôpital's Rule (slides)
 
Lesson 18: Maximum and Minimum Values (handout)
Lesson 18: Maximum and Minimum Values (handout)Lesson 18: Maximum and Minimum Values (handout)
Lesson 18: Maximum and Minimum Values (handout)
 
Lesson 17: Indeterminate forms and l'Hôpital's Rule (handout)
Lesson 17: Indeterminate forms and l'Hôpital's Rule (handout)Lesson 17: Indeterminate forms and l'Hôpital's Rule (handout)
Lesson 17: Indeterminate forms and l'Hôpital's Rule (handout)
 
Lesson 16: Inverse Trigonometric Functions (slides)
Lesson 16: Inverse Trigonometric Functions (slides)Lesson 16: Inverse Trigonometric Functions (slides)
Lesson 16: Inverse Trigonometric Functions (slides)
 
Lesson 16: Inverse Trigonometric Functions (handout)
Lesson 16: Inverse Trigonometric Functions (handout)Lesson 16: Inverse Trigonometric Functions (handout)
Lesson 16: Inverse Trigonometric Functions (handout)
 
Lesson 15: Exponential Growth and Decay (slides)
Lesson 15: Exponential Growth and Decay (slides)Lesson 15: Exponential Growth and Decay (slides)
Lesson 15: Exponential Growth and Decay (slides)
 

Recently uploaded

Recently uploaded (20)

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 

Lesson 27: Integration by Substitution (handout)

  • 1. . V63.0121.001: Calculus I . Sec on 5.5: Integra on by Subs . tu on May 4, 2011 Notes Sec on 5.5 Integra on by Subs tu on V63.0121.001: Calculus I . Professor Ma hew Leingang New York University May 4, 2011 . . Notes Announcements Today: 5.5 Monday 5/9: Review in class Tuesday 5/10: Review Sessions by TAs Wednesday 5/11: TA office hours: Adam 10–noon (WWH 906) Jerome 3:30–5:30 (WWH 501) Soohoon 6–8 (WWH 511) Thursday 5/12: Final Exam, 2:00–3:50pm . . Notes Resurrection Policy If your final score beats your midterm score, we will add 10% to its weight, and subtract 10% from the midterm weight. . . Image credit: Sco Beale / Laughing Squid . . 1 .
  • 2. . V63.0121.001: Calculus I . Sec on 5.5: Integra on by Subs . tu on May 4, 2011 Notes Objectives Given an integral and a subs tu on, transform the integral into an equivalent one using a subs tu on Evaluate indefinite integrals using the method of subs tu on. Evaluate definite integrals using the method of subs tu on. . . Notes Outline Last Time: The Fundamental Theorem(s) of Calculus Subs tu on for Indefinite Integrals Theory Examples Subs tu on for Definite Integrals Theory Examples . . Differentiation and Integration as Notes reverse processes Theorem (The Fundamental Theorem of Calculus) 1. Let f be con nuous on [a, b]. Then ∫ d x f(t) dt = f(x) dx a 2. Let f be con nuous on [a, b] and f = F′ for some other func on F. Then ∫ b f(x) dx = F(b) − F(a). a . . . 2 .
  • 3. . V63.0121.001: Calculus I . Sec on 5.5: Integra on by Subs . tu on May 4, 2011 Notes Techniques of antidifferentiation? So far we know only a few rules for an differen a on. Some are general, like ∫ ∫ ∫ [f(x) + g(x)] dx = f(x) dx + g(x) dx Some are pre y par cular, like ∫ 1 √ dx = arcsec x + C. x x2 − 1 What are we supposed to do with that? . . No straightforward system of Notes antidifferentiation So far we don’t have any way to find ∫ 2x √ dx x2 + 1 or ∫ tan x dx. Luckily, we can be smart and use the “an ” version of one of the most important rules of differen a on: the chain rule. . . Notes Outline Last Time: The Fundamental Theorem(s) of Calculus Subs tu on for Indefinite Integrals Theory Examples Subs tu on for Definite Integrals Theory Examples . . . 3 .
  • 4. . V63.0121.001: Calculus I . Sec on 5.5: Integra on by Subs . tu on May 4, 2011 Substitution for Indefinite Notes Integrals Example Find ∫ x √ dx. x2+1 Solu on Stare at this long enough and you no ce the the integrand is the √ deriva ve of the expression 1 + x2 . . . Notes Say what? Solu on (More slowly, now) Let g(x) = x2 + 1. Then g′ (x) = 2x and so d√ 1 x g(x) = √ g′ (x) = √ dx 2 g(x) x2 + 1 Thus ∫ ∫ ( √ ) x d √ dx = g(x) dx x2 + 1 dx √ √ = g(x) + C = 1 + x2 + C. . . Notes Leibnizian notation FTW Solu on (Same technique, new nota on) √ √ Let u = x2 + 1. Then du = 2x dx and 1 + x2 = u. So the integrand becomes completely transformed into ∫ ∫ 1 ∫ x dx 2 du 1 √ = √ = √ du x2 + 1 ∫ u 2 u 1 −1/2 = 2u du √ √ = u + C = 1 + x2 + C. . . . 4 .
  • 5. . V63.0121.001: Calculus I . Sec on 5.5: Integra on by Subs . tu on May 4, 2011 Notes Useful but unsavory variation Solu on (Same technique, new nota on, more idiot-proof) √ √ Let u = x2 + 1. Then du = 2x dx and 1 + x2 = u. “Solve for dx:” du dx = 2x So the integrand becomes completely transformed into ∫ ∫ ∫ x x du 1 √ dx = √ · = √ du x2 + 1 u 2x 2 u ∫ √ 1 −1/2 √ = 2u du = u + C = 1 + x2 + C. . Mathema cians have serious issues with mixing the x and u like this. . However, I can’t deny that it works. Notes Theorem of the Day Theorem (The Subs tu on Rule) If u = g(x) is a differen able func on whose range is an interval I and f is con nuous on I, then ∫ ∫ f(g(x))g′ (x) dx = f(u) du That is, if F is an an deriva ve for f, then ∫ f(g(x))g′ (x) dx = F(g(x)) . . Notes Theorem of the Day Theorem (The Subs tu on Rule) If u = g(x) is a differen able func on whose range is an interval I and f is con nuous on I, then ∫ ∫ f(g(x))g′ (x) dx = f(u) du In Leibniz nota on: ∫ ∫ du f(u) dx = f(u) du dx . . . 5 .
  • 6. . V63.0121.001: Calculus I . Sec on 5.5: Integra on by Subs . tu on May 4, 2011 Notes A polynomial example Example ∫ Use the subs tu on u = x2 + 3 to find (x2 + 3)3 4x dx. Solu on If u = x2 + 3, then du = 2x dx, and 4x dx = 2 du. So ∫ ∫ ∫ (x2 + 3)3 4x dx = u3 2du = 2 u3 du 1 1 = u4 = (x2 + 3)4 2 2 . . Notes A polynomial example (brute force) Solu on ∫ ∫ ( ) (x2 + 3)3 4x dx = x6 + 9x4 + 27x2 + 27 4x dx ∫ ( ) = 4x7 + 36x5 + 108x3 + 108x dx 1 = x8 + 6x6 + 27x4 + 54x2 2 Which would you rather do? It’s a wash for low powers But for higher powers, it’s much easier to do subs tu on. . . Notes Compare We have the subs tu on method, which, when mul plied out, gives ∫ 1 (x2 + 3)3 4x dx = (x2 + 3)4 2 1( 8 ) = x + 12x6 + 54x4 + 108x2 + 81 2 1 81 = x8 + 6x6 + 27x4 + 54x2 + 2 2 and the brute force method ∫ 1 (x2 + 3)3 4x dx = x8 + 6x6 + 27x4 + 54x2 2 . Is there a difference? Is this a problem? . . 6 .
  • 7. . V63.0121.001: Calculus I . Sec on 5.5: Integra on by Subs . tu on May 4, 2011 Notes A slick example Example ∫ sin x Find tan x dx. (Hint: tan x = ) cos x Solu on . . Notes Outline Last Time: The Fundamental Theorem(s) of Calculus Subs tu on for Indefinite Integrals Theory Examples Subs tu on for Definite Integrals Theory Examples . . Notes Substitution for Definite Integrals Theorem (The Subs tu on Rule for Definite Integrals) If g′ is con nuous and f is con nuous on the range of u = g(x), then ∫ b ∫ g(b) f(g(x))g′ (x) dx = f(u) du. a g(a) Why the change in the limits? The integral on the le happens in “x-land” The integral on the right happens in “u-land”, so the limits need to be u-values To get from x to u, apply g . . . 7 .
  • 8. . V63.0121.001: Calculus I . Sec on 5.5: Integra on by Subs . tu on May 4, 2011 Example Notes ∫ π Compute cos2 x sin x dx. 0 Solu on (Slow Way) ∫ First compute the indefinite integral cos2 x sin x dx and then evaluate. Let u = cos x . Then du = − sin x dx and ∫ ∫ cos2 x sin x dx = − u2 du = − 1 u3 + C = − 3 cos3 x + C. 3 1 Therefore . ∫ π 1( ) 2 π 1 cos2 x sin x dx = − cos3 x =− (−1)3 − 13 = . . 0 3 0 3 3 Notes Definite-ly Quicker Solu on (Fast Way) Do both the subs tu on and the evalua on at the same me. Let u = cos x. Then du = − sin x dx, u(0) = 1 and u(π) = −1 . So ∫ π ∫ −1 ∫ 1 cos2 x sin x dx = −u2 du = u2 du 0 1 −1 1( ) 2 1 1 3 = u = 1 − (−1) = 3 −1 3 3 . . Notes Compare The advantage to the “fast way” is that you completely transform the integral into something simpler and don’t have to go back to the original variable (x). But the slow way is just as reliable. . . . 8 .
  • 9. . V63.0121.001: Calculus I . Sec on 5.5: Integra on by Subs . tu on May 4, 2011 Notes An exponential example Example ∫ ln √8 √ Find √ e2x e2x + 1 dx ln 3 Solu on . . Notes Another way to skin that cat Example ∫ ln √8 √ Find √ e2x e2x + 1 dx ln 3 Solu on . . Notes A third skinned cat Example ∫ ln √8 √ Find √ e2x e2x + 1 dx ln 3 Solu on . . . 9 .
  • 10. . V63.0121.001: Calculus I . Sec on 5.5: Integra on by Subs . tu on May 4, 2011 Notes A Trigonometric Example Example Find ∫ ( ) ( ) 3π/2 θ θ cot5 sec2 dθ. π 6 6 Before we dive in, think about: What “easy” subs tu ons might help? Which of the trig func ons suggests a subs tu on? . . Notes Solu on . . ( ) ( ) ∫ Notes Graphs ∫ 3π/2 θ θ π/4 cot5 sec2 dθ 6 cot5 φ sec2 φ dφ π 6 6 π/6 y y . θ φ π 3π ππ 2 64 The areas of these two regions are the same. . . . 10 .
  • 11. . V63.0121.001: Calculus I . Sec on 5.5: Integra on by Subs . tu on May 4, 2011 ∫ ∫ Notes Graphs π/4 6 cot5 φ sec2 φ dφ √ 1 6u−5 du π/6 1/ 3 y y . φ u ππ 11 √ 64 3 The areas of these two regions are the same. . . Notes u/du pairs When deciding on a subs tu on, look for sub-expressions where one is (a constant mul ple of) the deriva ve of the other. Such as: √ u xn ln x sin x cos x tan x x ex 1 1 constant × du xn−1 cos x sin x sec2 x √ ex x x . . Notes Summary If F is an an deriva ve for f, then: ∫ f(g(x))g′ (x) dx = F(g(x)) If F is an an deriva ve for f, which is con nuous on the range of g, then: ∫ b ∫ g(b) f(g(x))g′ (x) dx = f(u) du = F(g(b)) − F(g(a)) a g(a) An differen a on in general and subs tu on in par cular is a “nonlinear” problem that needs prac ce, intui on, and perserverance. The whole an differen a on story is in Chapter 6. . . . 11 .