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

Special Case for Integration by Parts

Example 05: Evaluate ln(x)dx

Solution 05:

  1. There is a product of two functions: f(x)=1 and g(x)=ln(x). Thus, there are two possibilities for U and dV:

    Case 01Case 02
    U=1U=ln(x)
    dV=ln(x)dxdV=dx

    Note that Case 01 requires the integral UdV=ln(x)dx which we do not know how to integrate! So, use Case 02:

    • Let U=ln(x)dU=1xdx, and

    • dV=dxV=x

  2. Now Integrate by Parts:

    ln(x)dx=xln(x)x(1x)dx=xln(x)dx=xln(x)x+C

Example 06: Evaluate tan1(x)dx

Solution 06:

  1. There is a product of two functions: f(x)=1 and g(x)=tan1(x). Thus, there are two possibilities for U and dV:

    Case 01Case 02
    U=1U=tan1(x)
    dV=tan1(x)dxdV=dx

    Note that Case 01 requires the integral UdV=tan1(x)dx which we do not know how to integrate! So, use Case 02:

    • Let U=tan1(x)dU=1x2+1dx, and

    • dV=dxV=x

  2. Now Integrate by Parts:

    tan1(x)dx=xtan1(x)x(1x2+1)dx=xtan1(x)xx2+1dx

  3. We need to use a Substitution for the remaining integral:

    • Let u=x2+1

    • du=2xdxdx=du2x

    xtan1(x)xx2+1dx=xtan1(x)xudu2x

    xtan1(x)121udu=xtan1(x)12ln(u)+C

  4. Substitute back into terms of x:

    xtan1(x)12ln(u)+C=xtan1(x)12ln(x2+1)+C

Practice 11

Evaluate the following integrals:

  1. xsin(x)cos(x)dx

  2. (ln(x)x)2dx

  3. x3ex2dx

  4. xln(x)dx

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, 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 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)​​, 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:

One Last Case for Integration by Parts

Investigation 12

Evaluate: excos(x)dx.

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/].

Last Modified: Thursday, 12 August 2021 - 16:09 (EDT)