AP Calculus AB and BC

U-Sub vs Integration by Parts vs Partial Fractions

Match the integrand's structure to the technique: a factor that is the derivative of an inside function means u-substitution; a product of unrelated functions or a lone log/inverse-trig function means integration by parts (BC only); a rational function with a factorable denominator means partial fractions (BC only).

Read the integrand before you reach for a rule

Topic 6.14 does not add a new integration technique. It tests one skill: looking at an unfamiliar integral and naming the right tool before you compute. On the AP exam that recognition step is where most points are won or lost, because the wrong technique burns the whole problem. The habit to build is simple. Read the integrand, classify its structure, then commit to a method.

Three questions sort almost every integral you will see. Is one factor the derivative of something inside the expression? Is the integrand a product of two functions from unrelated families? Is it a rational function, one polynomial divided by another? Those answers point to u-substitution, integration by parts, and partial fractions in that order. u-substitution (Topic 6.9) is on both AB and BC. Integration by parts (Topic 6.11) and partial fractions (Topic 6.12) are BC only, so AB students never need them. Work through the questions in that same order every time, because the earlier a technique sits, the less algebra it usually costs you.

What you see in the integrandTechniqueCED topicCourse
A factor is the derivative of an inside function (up to a constant multiple)u-substitution6.9AB and BC
Product of two unrelated types (polynomial times exe^x, sinx\sin x, or lnx\ln x), or a lone lnx\ln x or inverse-trig functionIntegration by parts6.11BC only
Rational function whose denominator factors into distinct linear pieces, numerator degree below denominator degreePartial fractions6.12BC only
Rational function with numerator degree at least the denominator degreeLong division first, then re-decide6.10AB and BC
Irreducible quadratic in the denominatorComplete the square, expect an arctan6.10AB and BC

Test for u-substitution first

u-substitution is the fastest technique and it often turns a frightening integral into a basic form. Always check for it before you commit to parts or partial fractions. Many integrals that look like harder problems collapse under one substitution.

When it is u-substitution (Topic 6.9)

u-substitution reverses the chain rule. It works when the integrand contains a composite function and the derivative of the inner function is also present as a factor. A constant multiple is fine, because you can adjust with a coefficient. The signal you are hunting for is a pairing: an inside expression and (a multiple of) its derivative both sitting in the same integral.

  • A composite like ex2e^{x^2}, sin(3x)\sin(3x), or (x2+1)5(x^2+1)^5 multiplied by a factor that matches the inside function's derivative.
  • A fraction whose numerator is the derivative of its denominator: that is the uudx=lnu+C\int \frac{u'}{u}\,dx = \ln|u| + C pattern.
  • A power of a function multiplied by that function's derivative, such as (lnx)21xdx\int (\ln x)^2 \cdot \frac{1}{x}\,dx.

The method: let uu be the inner function, compute dudu, and solve for the exact piece you need to replace. Rewrite the whole integral in terms of uu with no xx remaining. If any xx survives, your uu was the wrong choice. Integrate, then substitute back. For a definite integral, Topic 6.9 is explicit that you either convert the limits to uu-values or switch fully back to xx before evaluating; you cannot plug xx-limits into a uu-expression.

When it is integration by parts (Topic 6.11, BC only)

BC only

Integration by parts is Topic 6.11 and appears only on the BC exam. AB students can skip this section.

Integration by parts reverses the product rule. Reach for it when the integrand is a product of two functions from different families and neither one is the derivative of the other's inside, so substitution has nothing to cancel. That absence of a derivative pairing is the tell. The formula is:

udv=uvvdu\int u\,dv = uv - \int v\,du

The whole game is choosing uu and dvdv well, and the mnemonic LIATE ranks the choice for uu: Logarithmic, Inverse trig, Algebraic (polynomials), Trigonometric, Exponential. Whatever appears earliest on that list becomes uu, the part you differentiate; everything else becomes dvdv, the part you integrate. The point of the ranking is to make uu get simpler when differentiated and to leave a dvdv you can actually integrate.

  • xexdx\int x e^x\,dx: polynomial times exponential, so let u=xu = x.
  • xcosxdx\int x \cos x\,dx: polynomial times trig, so let u=xu = x.
  • lnxdx\int \ln x\,dx: a lone logarithm, so let u=lnxu = \ln x and dv=dxdv = dx.
  • x2exdx\int x^2 e^x\,dx: expect to apply parts twice, since each pass lowers the polynomial's degree by one.

When it is partial fractions (Topic 6.12, BC only)

BC only

Linear partial fractions is Topic 6.12 and appears only on the BC exam. The course covers distinct linear, nonrepeating factors, so you will not see repeated factors or irreducible-quadratic decompositions.

Partial fractions breaks one complicated rational function into a sum of simple ones you already know how to integrate. Use it when the integrand is a rational function, the denominator factors into distinct linear factors, and the numerator's degree is strictly below the denominator's. Each simple piece integrates to a natural logarithm, which is why the whole technique reduces a hard-looking fraction to a sum of logs.

The method: factor the denominator, then write the fraction as a sum of unknown constants over each linear factor, for example 1(x1)(x+2)=Ax1+Bx+2\frac{1}{(x-1)(x+2)} = \frac{A}{x-1} + \frac{B}{x+2}. Clear the denominators, then solve for the constants. Substituting the roots one at a time is the fastest way, because each root kills every term but one and hands you a constant directly. Once you have the constants, you are just integrating a short list of 1xr\frac{1}{x-r} terms, each of which becomes lnxr\ln|x-r|.

Two checks before you decompose

If the numerator degree is at least the denominator degree, do long division first (Topic 6.10). If the numerator is already the derivative of the denominator, the problem is a plain u-substitution, not partial fractions.

Common traps and how to avoid them

Most lost points on selection problems come from misreading the structure, not from bad algebra. Watch for these.

  • Skipping the u-substitution check. Integrals that look like parts or partial fractions often collapse under a substitution. xx2+4dx\int \frac{x}{x^2+4}\,dx looks like a partial-fractions candidate but is really u-substitution, because the numerator is a constant multiple of the denominator's derivative.
  • Forgetting to change the limits (or to switch back to xx) on a definite u-substitution. Topic 6.9 requires the limits to match the variable you are integrating in.
  • Choosing uu and dvdv backwards in integration by parts, which makes vdu\int v\,du harder than the original integral. Let LIATE decide.
  • Trying partial fractions when the numerator degree is too high. Divide first, then decompose the remainder.
  • Dropping the constant of integration +C+C on an indefinite integral.

Worked examples

Worked example

Recognizing u-substitution in disguise

Evaluate xx2+4dx\int \frac{x}{x^2+4}\,dx.

  1. Classify first. The integrand is a rational function, so partial fractions is tempting. But check the u-substitution signal: is the numerator a multiple of the derivative of the denominator? The denominator is x2+4x^2+4, and ddx(x2+4)=2x\frac{d}{dx}(x^2+4) = 2x. The numerator xx is exactly half of that, so this is u-substitution, not partial fractions.
  2. Set u=x2+4u = x^2+4. Then du=2xdxdu = 2x\,dx, so xdx=12dux\,dx = \frac{1}{2}\,du.
  3. Rewrite the integral entirely in uu, leaving no xx behind: xx2+4dx=1u12du=121udu\int \frac{x}{x^2+4}\,dx = \int \frac{1}{u}\cdot \frac{1}{2}\,du = \frac{1}{2}\int \frac{1}{u}\,du.
  4. Integrate the basic form: 121udu=12lnu+C\frac{1}{2}\int \frac{1}{u}\,du = \frac{1}{2}\ln|u| + C.
  5. Substitute back. Since x2+4>0x^2+4 > 0 for every xx, the absolute value is optional: 12ln(x2+4)+C\frac{1}{2}\ln(x^2+4) + C.

12ln(x2+4)+C\frac{1}{2}\ln(x^2+4) + C

Worked example

Integration by parts: polynomial times exponential (BC)

Evaluate xe2xdx\int x e^{2x}\,dx.

  1. Classify. The integrand is a product of an algebraic factor xx and an exponential e2xe^{2x}. Neither is the derivative of the other's inside, so a substitution has nothing to cancel. That is the integration-by-parts signal (BC only, Topic 6.11).
  2. Apply LIATE. Algebraic outranks Exponential, so let u=xu = x (the part you differentiate) and dv=e2xdxdv = e^{2x}\,dx (the part you integrate).
  3. Compute the pieces: du=dxdu = dx, and v=e2xdx=12e2xv = \int e^{2x}\,dx = \frac{1}{2}e^{2x}.
  4. Substitute into udv=uvvdu\int u\,dv = uv - \int v\,du: xe2xdx=x12e2x12e2xdx\int x e^{2x}\,dx = x\cdot \frac{1}{2}e^{2x} - \int \frac{1}{2}e^{2x}\,dx.
  5. The remaining integral is basic: 12e2xdx=1212e2x=14e2x\int \frac{1}{2}e^{2x}\,dx = \frac{1}{2}\cdot \frac{1}{2}e^{2x} = \frac{1}{4}e^{2x}.
  6. Combine and add the constant: 12xe2x14e2x+C\frac{1}{2}x e^{2x} - \frac{1}{4}e^{2x} + C.

12xe2x14e2x+C\frac{1}{2}x e^{2x} - \frac{1}{4}e^{2x} + C

Worked example

Partial fractions with distinct linear factors (BC)

Evaluate 1x2+x2dx\int \frac{1}{x^2+x-2}\,dx.

  1. Classify. This is a rational function with a constant numerator, so the numerator degree (0) is below the denominator degree (2). Factor the denominator: x2+x2=(x+2)(x1)x^2+x-2 = (x+2)(x-1), two distinct linear factors. The numerator is not the derivative of the denominator, since ddx(x2+x2)=2x+1\frac{d}{dx}(x^2+x-2) = 2x+1 is not a constant, so this is partial fractions (BC only, Topic 6.12), not u-substitution.
  2. Set up the decomposition: 1(x+2)(x1)=Ax+2+Bx1\frac{1}{(x+2)(x-1)} = \frac{A}{x+2} + \frac{B}{x-1}.
  3. Clear denominators by multiplying both sides by (x+2)(x1)(x+2)(x-1): 1=A(x1)+B(x+2)1 = A(x-1) + B(x+2).
  4. Solve for the constants using the roots. Let x=1x = 1: 1=A(0)+B(3)1 = A(0) + B(3), so B=13B = \frac{1}{3}. Let x=2x = -2: 1=A(3)+B(0)1 = A(-3) + B(0), so A=13A = -\frac{1}{3}.
  5. Rewrite and integrate each piece: (1/3x+2+1/3x1)dx=13lnx+2+13lnx1+C\int \left(\frac{-1/3}{x+2} + \frac{1/3}{x-1}\right)\,dx = -\frac{1}{3}\ln|x+2| + \frac{1}{3}\ln|x-1| + C.
  6. Combine the logs into one term: 13lnx1x+2+C\frac{1}{3}\ln\left|\frac{x-1}{x+2}\right| + C.

13lnx1x+2+C\frac{1}{3}\ln\left|\frac{x-1}{x+2}\right| + C

Frequently asked questions

Is integration by parts on the AP Calculus AB exam?

No. Integration by parts (Topic 6.11) and partial fractions (Topic 6.12) are BC only. AB students handle antidifferentiation with u-substitution (Topic 6.9), the basic antiderivative rules, long division, and completing the square (Topic 6.10).

How do I know whether to use u-substitution or integration by parts?

Check for a derivative pairing first. If one factor is a constant multiple of the derivative of an inside function, use u-substitution. If the integrand is a product of two unrelated functions with no such pairing, use integration by parts. When in doubt, always try the substitution before parts.

What is LIATE and when do I use it?

LIATE stands for Logarithmic, Inverse trig, Algebraic, Trigonometric, Exponential. In integration by parts, it tells you which factor to call u: pick the one earliest on the list to differentiate, and let the rest be dv. It only matters on BC, since parts is a BC topic.

Can you use partial fractions when the denominator does not factor into linear pieces?

Not on the AP exam. Topic 6.12 covers only distinct linear, nonrepeating factors. An irreducible quadratic denominator is handled by completing the square (Topic 6.10), which usually leads to an arctan rather than a log.