Worked ExampleCalculusIntroMath Workspace (CAS)

Evaluate an integral by integration by parts

A simple example like is useful because it makes the choice of and visible without extra algebra getting in the way.

Primary Tool

Math Workspace (CAS)

Open CAS workspace

CAS is fitting here because it lets the page show the antiderivative, then immediately verify it by differentiating the answer.

Problem

Evaluate .

This is a classic first example because one factor becomes simpler when differentiated and the other is unchanged when integrated.

The decision that matters

Taking and means and . The integration-by-parts formula then turns the original problem into something simpler: .

Checking the result by differentiation is not extra decoration. It confirms that the antiderivative matches the original integrand exactly.

Step-by-step walkthrough

This example is useful because every step is visible and there is only one remaining integral after applying the formula.

  1. 1Choose and so that differentiation simplifies one factor and integration leaves the other unchanged.
  2. 2Compute and .
  3. 3Apply integration by parts: , which gives .
  4. 4Integrate the remaining term to get .
  5. 5Factor the common exponential if you want a cleaner final form: .
  6. 6Differentiate the answer to verify that it returns .

Common Pitfall

Students sometimes think integration by parts always makes a problem easier. It only helps when your choice of actually simplifies the remaining integral.

Try a Variation

Try the same method on . Which part of the workflow stays the same, and which antiderivative changes?

Related Pages

Keep moving through the cluster

Back to Learn Math →