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 dV=g(x) is a integrable function, then dU=f(x) and V=g(x). Thus, UdV=UVVdU

Procedure: Traditional Method for Integration by Parts

When using Integration by Parts, the typical first step is:

NOTE: Sometimes the above first step does not work. We will discuss this case later in this Module.

Example 01: Evaluate: xexdx

Solution 01: The polynomial factor is x. So, let U=x, then let dV=exdx.

We need dU and V:

dU=dx V=ex

NOTE: There is NO +C included with V.

Now substitute U, dU, V, and dV into Definition shown above:

xexdx=UdV

UVVdU

xexexdx

NOTE: Since there is an integral remaining in the line above, there is no +C.

The above line still has an integral. So we need to evaluate the integral term, exdx.

xexex+C

NOTE: Since there is no integral remaining in the line above, you must include +C.

Example 02: Evaluate: x2exdx​​

Solution 02a: The polynomial factor is x2​​. So, let U=x2​​, then let dV=exdx​​.

We need dU and V:

dU=2xdx V=ex

NOTE: There is NO +C included with V.

Now substitute U, dU, V, and dV into Definition shown above:

x2exdx=UdV

UVVdU

x2ex2xexdx

NOTE: We need to integrate (the red integral term) by parts again!

The polynomial factor is 2x​​. So, let U=2x​​, then let dV=exdx​​.

We need dU and V:

dU=2dx​​ V=ex​​

NOTE: There is NO +C included with V.

Now substitute U, dU, V, and dV into Definition shown above:

x2exdx=x2exUdV​​​

x2ex(UVVdU)​​​

x2ex(2xex2exdx)

Evaluate the last integral term (include +C here) and distribute the negative sign:

x2ex2xex+2ex+C

Solution 02b:

Procedure: The Tanzalin Method for Integration by Parts

For a discussion of this method: www.intmath.com/blog/mathematics/tanzalin-method-for-easier-integrationby-parts-4339.

 

Multiply along the diagonals and use alternating signs along diagonals.

x2exdx=x2ex2xex+2ex+C

Investigation 04

  1. Compare the result of integrating x2exdx​​ using the Definition of Integration by Parts versus using the Tanzalin Method.

  2. Explain the use of the + and signs along the diagonals in the Tanzalin Method.

Using Integration by Parts for Indefinite Integrals

Investigation 05

Use either procedure for Integration by Parts to integrate the following:

  1. xexdx

  2. xsin(x)dx

  3. x2cos(2x)dx

  4. x3e6xdx

  5. x2exdx

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

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:26 (EDT) Last Modified: Tuesday, 16 August 2022 - 15:34 (EDT)