Integration by Parts

Author: John J Weber III, PhD Corresponding Textbook Sections:

Expected Educational Results

Bloom’s Taxonomy

A modern version of Bloom’s Taxonomy is included here to recognize various different levels of understanding and to encourage you to work towards higher-order understanding (those at the top of the pyramid). All Objectives, Investigations, Activities, etc. are color-coded with the level of understanding.

Bloom’s Taxonomy for different levels of understanding
Figure 1.1: Bloom's Taxonomy

Integration by Parts

Definition: Integration by Parts

If U=f(x) is a differentiable function and V=g(x) is a integrable function, then dU=f(x) and dV=g(x). Thus,

UdV=UVVdU

Using Integration by Parts with a Substitution

Example 03: Evaluate sin(x)dx

Solution 03:

  1. Since the function in the integrand is a composition of functions, use u-substitution as a first step AND convert all x-variables into u-variables:

    • Let u=x, and

    • du=dx2xdx=2xdu

    sin(x)dx=sin(u)2xdu

  2. Since the integral still has two different variables after the substitution, we need to make another substitution:

    sin(u)2xdu=sin(u)2udu

  3. Now we can integrate by parts:

    • Let U=2udU=2du

      NOTE: U is used for Integration by Parts and u is used for Substitution to avoid confusion.

    • dV=sin(u)duV=cos(u)

  4. Now Integrate by Parts:

    sin(u)2udu=2u(cos(u))cos(u)2du=2ucos(u)+2sin(u)+C

  5. Convert the antiderivative back into the original variable x:

    2ucos(u)+2sin(u)+C=2xcos(x)+2sin(x)+C

Investigation 07

Example 04: Evaluate x5ex2dx

Solution 04:

  1. Since the function in the integrand contains a composition of functions, use u-substitution as a first step AND convert all x-variables into u-variables:

    • Let u=x2, and

    • du=2xdxdx=du2x

    x5ex2dx=x54eudu2x=12x4eudu

  2. Since the integral still has two different variables after the substitution, we need to make another substitution:

    12x4eudu=12(x2)2eudu=12u2eudu

  3. Now Integrate by Parts (using the Tanzalin Method as shown in CPT_03h_IBP_Procedure.html):

    12u2eudu=12(u2eu2ueu+2eu)+C

    NOTE: The +C may be placed inside the parens or outside the parens – it does not make any difference.

  4. Convert the antiderivative back into the original variable x:

    12(u2eu2ueu+2eu)+C=12((x2)2ex22x2ex2+2ex2)+C

Use Technology to Verify Antiderivatives

Mathematica

NOTE: Mathematica is used here to verify antiderivatives. You must show that you understand the Calculus concept of the antiderivative.

Warnings:

  1. Be very careful with the syntax. Syntax is the set of rules on how to write computer code. Every software program has its own unique syntax. Some basic Mathematica syntax is located at: https://www.jjw3.com/Common_Mathematica_Code.html.

  2. The Mathematica syntax for sin1(x)​ is ArcSin[x]​, ex​ is Ex​, x is Sqrt[x], sec2(x) is Sec[x]2​, etc.

  3. Remember to use parens ( and ) to group multiple terms in the numerator or denominator of a rational expression.

  4. Integrate[ ] for indefinite integrals has two arguments:

    1. The integrand, i.e., function of the definite integral;

    2. x​, where x​ is the variable used in the integrand.

  5. Remember, correct Mathematica code will be all black except for variables.

  6. To execute code (including comment codes), press and hold the SHIFT key and press the ENTER key.

  7. Mathematica does not show +C for antiderivatives. You will need to remember to include +C in your answers.

  8. Mathematica may return a result in a different, but equivalent, form than your answer. In these cases, use FTC-I to check your work.

Python

NOTE: Python is used here to verify definite integrals. On all Assessments, you must show that you understand the Calculus I concept of using u-Substitution to evaluate an indefinite integral.

Warnings:

  1. Be very careful with the syntax. Syntax is the set of rules on how to write computer code. Every software program has its own unique syntax. Some basic Python syntax is located at: https://www.jjw3.com/Common_Python_Code.html.

  2. All code is included above with comment codes that explain the executable code.

  3. integrate( ) for indefinite integrals has two arguments:

    1. The integrand, i.e., function of the definite integral;

    2. x​, where x​​ is the variable used in the integrand.

  4. You only need to change the function in the integrate( ) command.

  5. The Python syntax for ex​​​ is exp(x)​​​; cos2(x)​​​ is cos(x)**2​​​; x4​​​ is x**4​​​, ln(x)​​​ is log(x)​​​, tan1(x)​​​ is atan(x)​​​, x is sqrt(x)​​​, etc.

  6. Python requires for explicit multiplication; ​ for exponents.

  7. Remember to use parens ( and )​ to group multiple terms in the numerator or denominator of a rational expression.

  8. Python does not return the antiderivative with +C. You need to use +C for all steps that are antiderivatives.

  9. To execute code, press the “View the result” button: ​​

Practice 08

Integrate the following:

  1. cos(x)dx

  2. x3ex2dx

  3. exdx

  4. sin(ex)dx

  5. e4xcos(e2x)dx

  6. x3(x2+7)2dx

  7. ln(x)x2dx

Homework

At this time, you should be able to complete the following assignments:

CC BY-NC-SA 4.0

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License [http://creativecommons.org/licenses/by-nc-sa/4.0/].

Created: Thursday, 12 August 2021 - 15:40 (EDT) Last Modified: Tuesday, 16 August 2022 - 16:48 (EDT)