---
title: "Advanced Integration and Improper Integrals | FiveStudy"
description: "Select among integration by parts, linear partial fractions, limit-defined improper integrals, and the full BC antiderivative toolkit."
url: https://fivestudy.com/guides/ap-calculus-bc-advanced-integration-improper-integrals
---

[AP Calculus BC](https://fivestudy.com/ap-calculus-bc) · Study guide

# Advanced Integration and Improper Integrals

[Figure: FiveStudy logo]

FiveStudy

AP Calculus BC · Unit 6

AP Calculus BC · Comprehensive Guide 14

# Advanced Integration and Improper *Integrals*

Select among integration by parts, linear partial fractions, limit-defined improper integrals, and the full BC antiderivative toolkit.

4 topics · 4 worked examples

Prerequisite check

You should know substitution, algebraic decomposition, limits at infinity, and all basic antiderivative rules.

AP reasoning lens

A technique is justified by structure. Split improper integrals at every discontinuity and evaluate each resulting limit independently.

## In this guide

1. 6.11 · Integrating Using Integration by Parts
2. 6.12 · Integrating Using Linear Partial Fractions
3. 6.13 · Evaluating Improper Integrals
4. 6.14 · Selecting Techniques for Antidifferentiation

Topic 6.11

## Integrating Using Integration by Parts

You can already integrate many things: power functions, ex, sinx, cosx, x1, and any composition that yields to a clean u-substitution. But look at ∫xexdx. There is no inside function whose derivative is sitting outside, so no substitution unwinds it. The integrand is a product of two unrelated factors, and that is a brand-new situation.

### Skills inside this topic

**6.11.a**The integration-by-parts formula and choosing u and dv (LIATE)

**6.11.b**Repeated integration by parts

**6.11.c**Integration by parts for definite integrals (and the tabular shortcut)

### Core results and conditions

- **6.11.a · The integration-by-parts formula and choosing u and dv (LIATE)**∫udv=uv−∫vdu. For a definite integral, the same formula carries its limits on the boundary term: ∫abudv=[uv]ab−∫abvdu. To use it you pick two pieces: a part to call u (which you will differentiate to get du) and a part to call dv (which you will integrate to get v). The dv piece must always include the dx.
- **6.11.b · Repeated integration by parts**On every pass, let u be the factor that becomes simpler when differentiated, and dv be the factor you can integrate. For polynomial-times-(exponential or trigonometric) integrands, that always means: u=the polynomial,dv=exdx or sinxdx or cosxdx. Keep the same choice of roles on the second pass, the third pass, and so on. If you flip the roles partway through — letting the exponential or trig piece become u — you will undo the progress you just made and spin in circles.
- **6.11.c · Integration by parts for definite integrals (and the tabular shortcut)**If u and v are differentiable on [a,b], then ∫abudv=[uv]ab−∫abvdu, where [uv]ab=u(b)v(b)−u(a)v(a). In words: integrate one factor and differentiate the other; the boundary term [uv]ab is evaluated at the limits, and the residual integral ∫abvdu is subtracted.

### Worked example · source skill 6.11.a

Find ∫lnxdx.

There is seemingly only one factor, but LIATE still applies: write the integrand as lnx⋅1. The Logarithm is highest priority, so u=lnx and dv=1dx.

Build the pieces: du=x1dx and v=x.

Apply the formula: ∫lnxdx=uv−∫vdu=xlnx−∫x⋅x1dx.

Simplify the leftover: ∫x⋅x1dx=∫1dx=x, so the answer is xlnx−x+C.

**Result and interpretation**
Takeaway: When a log or inverse-trig function stands alone, take dv=dx so v=x. Differentiating lnx into x1 is what makes the leftover trivial.

**Common mistake**

Mistake: For ∫xexdx, "let u=ex and dv=xdx," or else writing the formula as ∫udv=uv+∫vdu.

**Correction:** Correct approach: Order the factors by LIATE: x (Algebraic) precedes ex (Exponential), so u=x, dv=exdx. Then write the formula with the minus: ∫xexdx=xex−∫exdx. The right pick makes ∫vdu simpler, never harder.

**Check your understanding**

Evaluate ∫01xexdx using integration by parts. Then state whether the answer is positive, and explain why that is consistent with the graph of the integrand on [0,1].

**Show answer**

Let u=x, dv=exdx, so du=dx and v=ex. Then ∫01xexdx=[xex]01−∫01exdx=(1⋅e−0)−[ex]01=e−(e−1)=1. The answer 1 is positive, which fits the graph: xex≥0 for all x in [0,1], so the region lies entirely above the x-axis and the signed area must be positive.

Topic 6.12

## Integrating Using Linear Partial Fractions

You already know how to integrate x−11: it is ln∣x−1∣+C. But the moment two linear factors are multiplied together in the denominator — say (x−1)(x+2)1 — none of your antiderivative rules apply directly. There is no ln of a product rule for integrals, and u-substitution stalls because no single inner function works.

### Skills inside this topic

**6.12.a**Decomposing a rational function into linear partial fractions

**6.12.b**Integrating the partial-fraction decomposition

**6.12.c**Long division first when the integrand is improper

### Core results and conditions

- **6.12.a · Decomposing a rational function into linear partial fractions**If Q(x)=(a1x+b1)(a2x+b2)⋯(anx+bn) is a product of distinct linear factors and degP<degQ, then there are constants A1,A2,…,An with Q(x)P(x)=a1x+b1A1+a2x+b2A2+⋯+anx+bnAn. Each numerator is a single unknown constant. The decomposition is an identity — it holds for every x in the domain — which is exactly what lets us pin down the constants.
- **6.12.b · Integrating the partial-fraction decomposition**Every partial-fraction piece has the form constant-over-linear, and it integrates by a single rule. For a constant A and a root r, ∫x−rAdx=Aln∣x−r∣+C. This is just the basic fact ∫u1du=ln∣u∣+C with u=x−r (so du=dx). The constant A rides along out front by the constant-multiple rule. The absolute-value bars are required: x−r can be negative, but its logarithm only exists for a positive argument.
- **6.12.c · Long division first when the integrand is improper**To integrate ∫D(x)N(x)dx with degN≥degD: 1. Divide: DN=Q(x)+D(x)R(x), with degR<degD. 2. Factor D(x) into distinct linear factors. 3. Decompose the proper piece DR into partial fractions. 4. Integrate term by term: power rule on Q, logarithms on the partial fractions.

### Worked example · source skill 6.12.a

Decompose (x+1)(x−3)3x+5 into partial fractions.

The numerator 3x+5 has degree 1, the denominator degree 2, so the fraction is proper — decompose directly. Setup: (x+1)(x−3)3x+5=x+1A+x−3B.

Clear denominators: 3x+5=A(x−3)+B(x+1).

Cover-up at x=−1: 3(−1)+5=2=A(−4), so A=−21. At x=3: 3(3)+5=14=B(4), so B=27.

Write the result: (x+1)(x−3)3x+5=x+1−1/2+x−37/2.

**Result and interpretation**
Takeaway: A first-degree numerator over two linear factors is still proper, so the template is unchanged — the numerators on the right stay bare constants, never 3x+5.

**Common mistake**

Mistake: "(x−1)(x+2)1=x−11/3+x+21/3" — keeping both constants positive, or attaching A to the wrong factor.

**Correction:** Correct approach: Pin each constant by the root of its own factor and carry the sign it produces: x−11/3−x+21/3. Check at x=0: 32+31=1. It matches.

**Check your understanding**

Consider ∫x2−9x2+3dx. (a) Is the integrand proper or improper, and how do you know? (b) Carry out the first step and find the antiderivative.

**Show answer**

(a) Improper. The numerator and denominator both have degree 2, and degN≥degD makes a fraction improper. (b) Long division gives x2−9x2+3=1+x2−912. Factor x2−9=(x−3)(x+3) and decompose (x−3)(x+3)12=x−32−x+32 (from 12=A(x+3)+B(x−3), so A=2, B=−2). Integrating, ∫x2−9x2+3dx=x+2ln∣x−3∣−2ln∣x+3∣+C=x+2lnx+3x−3+C.

Topic 6.13

## Evaluating Improper Integrals

Every definite integral you have evaluated so far, ∫abf(x)dx, lived on a finite interval with two real endpoints. But many honest questions push an endpoint to infinity: the total charge delivered by a current that decays forever, the lifetime probability under a distribution, the area trapped between a curve and the x-axis all the way out to the right.

### Skills inside this topic

**6.13.a**Improper integrals with an infinite limit of integration

**6.13.b**Improper integrals with an infinite discontinuity in the integrand

**6.13.c**Convergence versus divergence (the limit setup)

### Core results and conditions

- **6.13.a · Improper integrals with an infinite limit of integration**If f is continuous on [a,∞), the improper integral is defined as ∫a∞f(x)dx=b→∞lim∫abf(x)dx. If this limit exists as a finite number L, the integral converges and ∫a∞fdx=L. If the limit is +∞, −∞, or fails to exist, the integral diverges. The mirror case is identical: ∫−∞bf(x)dx=a→−∞lim∫abf(x)dx.
- **6.13.b · Improper integrals with an infinite discontinuity in the integrand**If f is continuous on (a,b] but has an infinite discontinuity at the lower limit x=a, define ∫abf(x)dx=t→a+lim∫tbf(x)dx. If f is continuous on [a,b) but blows up at the upper limit x=b, define instead ∫abf(x)dx=t→b−lim∫atf(x)dx. In each case the integral converges if the limit is a finite number (its value), and diverges if the limit is ±∞ or fails to exist.
- **6.13.c · Convergence versus divergence (the limit setup)**If f is continuous on [a,∞), the Type I improper integral is defined as ∫a∞f(x)dx=b→∞lim∫abf(x)dx. If this limit is a finite number L, the integral converges and its value is L. If the limit is ±∞ or does not exist, the integral diverges. The analogous definition with a→−∞ handles a lower limit of −∞.

### Worked example · source skill 6.13.a

Evaluate ∫1∞x1dx, or show that it diverges.

Set up the limit: ∫1∞x1dx=b→∞lim∫1bx1dx. The integrand looks barely different from Example 1, but the antiderivative is a logarithm, not a power.

Evaluate the finite integral: ∫1bx1dx=[ln∣x∣]1b=lnb−ln1=lnb.

Take the limit: b→∞limlnb=+∞, because lnb grows without bound (slowly, but it never stops).

The limit is infinite, so the integral diverges. There is no finite area to report.

**Result and interpretation**
Takeaway: Decaying to 0 is not enough: x1→0 just like x21, yet its antiderivative lnb blows up. The boundary term, not the integrand's limit, decides the verdict.

[Figure: BC Topic 6.13: An improper integral replaces the unbounded interval by a limit; the shaded tail may converge to finite area.]

An improper integral replaces the unbounded interval by a limit; the shaded tail may converge to finite area.

**Common mistake**

Mistake: "∫1∞x21dx=[−x1]1∞=−∞1+1=0+1=1."

**Correction:** Correct approach: Always write limb→∞∫1bx21dx=limb→∞(1−b1)=1. Carry the limit symbol until the very last line; the b does the substituting, and the limit does the "reaching infinity."

**Check your understanding**

Consider ∫2∞x−11dx. (a) Set it up with the correct limit notation. (b) Evaluate the proper integral as a function of b. (c) Does the integral converge or diverge, and what is the answer you would write?

**Show answer**

(a) b→∞lim∫2bx−11dx. (b) With u=x−1, ∫2bx−1dx=[ln∣x−1∣]2b=ln(b−1)−ln1=ln(b−1). (c) Diverges. As b→∞, ln(b−1)→+∞, which is not finite, so the integral diverges — that word, with the limit shown, is the answer. (Compare x−11 to x1: same p=1 borderline, same divergence.)

Topic 6.14

## Selecting Techniques for Antidifferentiation

By the end of Unit 6 you have several ways to find an antiderivative. The first move is always the same: look at the integrand and ask which standard formula it already matches. That sorting step is called triage — a quick visual classification, not a calculation.

### Skills inside this topic

**6.14.a**Triage: match a standard template

**6.14.b**Substitution check (identify u, verify du)

**6.14.c**Rewrite check (long div, complete square, trig identity)

**6.14.d**Recognizing forms with no elementary antiderivative

### Core results and conditions

- **6.14.a · Triage: match a standard template**Every integrand in this subtopic falls into exactly one of five buckets: Template | Integrand looks like | Antiderivative; Power | xn, n=−1 | n+1xn+1+C; Log | x1 (the n=−1 case) | ln∣x∣+C; Trig | sinx, cosx, sec2x, csc2x, secxtanx, cscxcotx | see the trig table; Exponential | ex | ex+C; Inverse-trig | 1+x21 or 1−x21 | arctanx+C or arcsinx+C
- **6.14.b · Substitution check (identify u, verify du)**Given ∫F(x)dx: (1) propose u=g(x) (the inner function); (2) test whether cg′(x)dx appears in F(x)dx for some constant c. If such a constant c exists, the screen returns PASS. If the only way to match g′(x)dx would require a factor that depends on x, the screen returns FAIL.
- **6.14.c · Rewrite check (long div, complete square, trig identity)**Run these tests in order on an integrand that matched no template directly: Substitution first. Is the numerator a constant times the derivative of the denominator? If yes, it is already uu′ — no rewrite needed.; Improper rational? If deg(top)≥deg(bottom), do long division to get polynomial + proper remainder.; Sum in the numerator over one denominator? Split it into separate fractions and simplify each.; Irreducible quadratic denominator (discriminant <0, numerator a constant)? Complete the square to reach u2+a21.; Proper rational, denominator factors into distinct linear factors? Hand it to linear partial fractions (Topic 6.12). If the rational was improper, long-divide in step 2 first, then decompose the proper remainder.
- **6.14.d · Recognizing forms with no elementary antiderivative**Faced with an integral, walk the BC toolkit top to bottom. The first technique that fits, use it. If every technique is exhausted, the integral has no elementary antiderivative. Try, in order | It fits when…; Template | the integrand IS a known form: xn, ex, sinx, cosx, sec2x, x1, 1+x21, 1−x21.; u-substitution | an inner g(x) has a constant multiple of g′(x) present as an outer factor.; Integration by parts | the integrand is a product whose ∫vdu is simpler — e.g. xex, xsinx, lnx, arctanx, exsinx (cyclic).; Linear partial fractions | a proper rational function whose denominator factors into distinct, non-repeated linear factors.; Rewrite | a legal identity (long division on an improper rational integrand, completing the square toward arctan/arcsin, splitting a numerator) turns it into one of the above.; Improper limit | an infinite limit or a blow-up is present — evaluate the proper integral, then take the limit (6.13). If nothing fits, the integral has no elementary antiderivative — report a numerical value or leave it as a definite integral / accumulation function.

### Worked example · source skill 6.14.b

Screen ∫3x2ex3dx.

Spot the composite: ex3 has inner g(x)=x3.

Nominate u=x3. Then du=3x2dx.

Scan the integrand: the factor 3x2dx is sitting there exactly (constant c=1).

Verdict: PASS.

**Result and interpretation**
Takeaway: A composite is present AND its inner's derivative is a factor of the integrand — the screen passes immediately. This is the cleanest shape.

**Common mistake**

Mistake: "For ∫x21dx, the integrand is one over a power of x, so use the log template: ln∣x2∣+C."

**Correction:** Correct approach: Rewrite x21 as x−2 and apply the power template: ∫x−2dx=−x−1+C=−x1+C. Reserve the log template for the strict n=−1 case.

**Check your understanding**

Triage each integral. Write D (doable — name the BC technique and give the antiderivative) or N (no elementary antiderivative). (a) ∫e−x2dx; (b) ∫xe−x2dx; (c) ∫(x−1)(x+3)1dx; (d) ∫lnx1dx.

**Show answer**

(a) N. Inner −x2, g′(x)=−2x; no outer x, no product to split, no rational structure — the Gaussian. (b) D (u-sub). The outer x=−21g′(x), so with u=−x2, du=−2xdx: ∫xe−x2dx=−21e−x2+C. (c) D (linear partial fractions). Distinct linear factors: (x−1)(x+3)1=x−11/4−x+31/4, so the integral is 41lnx+3x−1+C. (d) N. Inner lnx, g′(x)=1/x; no outer 1/x, not a rational function, not a parts target — the logarithmic-integral li(x).

## Last-pass checklist

**6.11 · Integrating Using Integration by Parts**6.11.a, 6.11.b, 6.11.c

**6.12 · Integrating Using Linear Partial Fractions**6.12.a, 6.12.b, 6.12.c

**6.13 · Evaluating Improper Integrals**6.13.a, 6.13.b, 6.13.c

**6.14 · Selecting Techniques for Antidifferentiation**6.14.a, 6.14.b, 6.14.c, 6.14.d

FiveStudy · AP Calculus BC · Unit 6

Guide 14 of 23
