SlideShare a Scribd company logo
.   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) (20)

PDF
Lesson 25: Evaluating Definite Integrals (handout)
Matthew Leingang
 
PDF
Lesson 26: Integration by Substitution (slides)
Matthew Leingang
 
PDF
Lesson 1: Functions and their representations (handout)
Matthew Leingang
 
PDF
Lesson 23: Antiderivatives (slides)
Matthew Leingang
 
PDF
Lesson 28: Integration by Subsitution
Mel Anthony Pepito
 
PDF
Lesson 28: Integration by Subsitution
Matthew Leingang
 
PDF
Lesson 20: Derivatives and the Shapes of Curves (handout)
Matthew Leingang
 
PDF
Lesson 23: The Definite Integral (handout)
Matthew Leingang
 
PDF
Lesson 27: Integration by Substitution (Section 041 handout)
Matthew Leingang
 
PDF
Lesson 21: Curve Sketching (handout)
Matthew Leingang
 
PDF
Lesson 25: Evaluating Definite Integrals (Section 041 handout)
Matthew Leingang
 
PDF
Lesson 27: Integration by Substitution (Section 021 handout)
Matthew Leingang
 
PDF
Lesson 20: Optimization (handout)
Matthew Leingang
 
PDF
Lesson 25: The Fundamental Theorem of Calculus
Matthew Leingang
 
PDF
Lesson 5: Continuity (handout)
Matthew Leingang
 
PDF
Lesson 25: Evaluating Definite Integrals (Section 021 handout)
Matthew Leingang
 
PDF
Lesson 1: Functions
Matthew Leingang
 
PDF
Lesson 4: Calculating Limits (handout)
Matthew Leingang
 
PDF
Lesson 10: The Chain Rule (handout)
Matthew Leingang
 
Lesson 25: Evaluating Definite Integrals (handout)
Matthew Leingang
 
Lesson 26: Integration by Substitution (slides)
Matthew Leingang
 
Lesson 1: Functions and their representations (handout)
Matthew Leingang
 
Lesson 23: Antiderivatives (slides)
Matthew Leingang
 
Lesson 28: Integration by Subsitution
Mel Anthony Pepito
 
Lesson 28: Integration by Subsitution
Matthew Leingang
 
Lesson 20: Derivatives and the Shapes of Curves (handout)
Matthew Leingang
 
Lesson 23: The Definite Integral (handout)
Matthew Leingang
 
Lesson 27: Integration by Substitution (Section 041 handout)
Matthew Leingang
 
Lesson 21: Curve Sketching (handout)
Matthew Leingang
 
Lesson 25: Evaluating Definite Integrals (Section 041 handout)
Matthew Leingang
 
Lesson 27: Integration by Substitution (Section 021 handout)
Matthew Leingang
 
Lesson 20: Optimization (handout)
Matthew Leingang
 
Lesson 25: The Fundamental Theorem of Calculus
Matthew Leingang
 
Lesson 5: Continuity (handout)
Matthew Leingang
 
Lesson 25: Evaluating Definite Integrals (Section 021 handout)
Matthew Leingang
 
Lesson 1: Functions
Matthew Leingang
 
Lesson 4: Calculating Limits (handout)
Matthew Leingang
 
Lesson 10: The Chain Rule (handout)
Matthew Leingang
 

More from Matthew Leingang (20)

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

Recently uploaded (20)

PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PDF
Market Insight : ETH Dominance Returns
CIFDAQ
 
PDF
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
PDF
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 
PDF
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
PDF
RAT Builders - How to Catch Them All [DeepSec 2024]
malmoeb
 
PDF
Lecture A - AI Workflows for Banking.pdf
Dr. LAM Yat-fai (林日辉)
 
PDF
The Past, Present & Future of Kenya's Digital Transformation
Moses Kemibaro
 
PPTX
Simple and concise overview about Quantum computing..pptx
mughal641
 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PDF
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PDF
Researching The Best Chat SDK Providers in 2025
Ray Fields
 
PDF
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
PDF
The Future of Artificial Intelligence (AI)
Mukul
 
PDF
introduction to computer hardware and sofeware
chauhanshraddha2007
 
PDF
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
PPTX
Machine Learning Benefits Across Industries
SynapseIndia
 
PPTX
AI Code Generation Risks (Ramkumar Dilli, CIO, Myridius)
Priyanka Aash
 
PPTX
PCU Keynote at IEEE World Congress on Services 250710.pptx
Ramesh Jain
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
Market Insight : ETH Dominance Returns
CIFDAQ
 
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
RAT Builders - How to Catch Them All [DeepSec 2024]
malmoeb
 
Lecture A - AI Workflows for Banking.pdf
Dr. LAM Yat-fai (林日辉)
 
The Past, Present & Future of Kenya's Digital Transformation
Moses Kemibaro
 
Simple and concise overview about Quantum computing..pptx
mughal641
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
Researching The Best Chat SDK Providers in 2025
Ray Fields
 
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
The Future of Artificial Intelligence (AI)
Mukul
 
introduction to computer hardware and sofeware
chauhanshraddha2007
 
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
Machine Learning Benefits Across Industries
SynapseIndia
 
AI Code Generation Risks (Ramkumar Dilli, CIO, Myridius)
Priyanka Aash
 
PCU Keynote at IEEE World Congress on Services 250710.pptx
Ramesh Jain
 
Ad

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 .