Select AB integration techniques

Select substitution or an allowed algebraic rewrite and verify by differentiation

What to practice

  • Select substitution or an allowed algebraic rewrite and verify by differentiation

Chapter 15's basic table handles sums of powers, exponentials and the standard trigonometric forms. Many integrands are disguises: a composite function sitting next to its inner derivative, or a quotient that becomes basic once it is rewritten. This chapter adds the AB tools, substitution, long division and completing the square, and a routine for choosing among them. Every tool reverses a derivative rule, so every answer can be checked by differentiating it.

Substitution reverses the chain rule (topic 6.9)

The chain rule says ddxF(g(x))=F′(g(x)) g′(x)\frac{d}{dx}F(g(x))=F'(g(x))\,g'(x). Read backward:

∫f(g(x)) g′(x) dx=F(g(x))+C,where F′=f.\int f(g(x))\,g'(x)\,dx=F(g(x))+C,\quad\mathrm{where}\ F'=f.

Substitution makes the pattern visible. Let u=g(x)u=g(x). Then du=g′(x) dxdu=g'(x)\,dx, and the integral becomes ∫f(u) du\int f(u)\,du.

  1. Choose uu as an inner expression whose derivative appears as a factor, up to a constant multiple.
  2. Write dudu and solve for the factor that is actually present.
  3. Rewrite every part of the integrand; no xx may remain.
  4. Integrate in uu, return to xx, and differentiate to check.

Worked example 16.1: the derivative is already there

Find ∫x2(x3−5)4 dx\int x^2(x^3-5)^4\,dx.

Solution. The inner expression x3−5x^3-5 has derivative 3x23x^2, and x2x^2 is present. Let u=x3−5u=x^3-5, so du=3x2 dxdu=3x^2\,dx and x2 dx=13dux^2\,dx=\frac{1}{3}du. Then the integral is 13∫u4 du=115u5+C=115(x3−5)5+C\frac{1}{3}\int u^4\,du=\frac{1}{15}u^5+C=\frac{1}{15}(x^3-5)^5+C.

Check. ddx[115(x3−5)5]=515(x3−5)4⋅3x2=x2(x3−5)4\frac{d}{dx}\left[\frac{1}{15}(x^3-5)^5\right]=\frac{5}{15}(x^3-5)^4\cdot 3x^2=x^2(x^3-5)^4.

Why not expand? Multiplying out (x3−5)4(x^3-5)^4 creates five terms to integrate and many chances for an arithmetic slip. Substitution needs one power rule.

Worked example 16.2: a leftover x

Find ∫xx+3 dx\int x\sqrt{x+3}\,dx.

Solution. With u=x+3u=x+3, du=dxdu=dx, but a factor xx remains. Solve the substitution for it: x=u−3x=u-3. Then

∫(u−3)u1/2 du=∫(u3/2−3u1/2)du=25u5/2−2u3/2+C.\int (u-3)u^{1/2}\,du=\int \left(u^{3/2}-3u^{1/2}\right)du=\frac{2}{5}u^{5/2}-2u^{3/2}+C.

Return to xx: 25(x+3)5/2−2(x+3)3/2+C\frac{2}{5}(x+3)^{5/2}-2(x+3)^{3/2}+C.

Check. The derivative is (x+3)3/2−3(x+3)1/2=(x+3)1/2(x+3−3)=xx+3(x+3)^{3/2}-3(x+3)^{1/2}=(x+3)^{1/2}(x+3-3)=x\sqrt{x+3}.

Worked example 16.3: two candidates for u

Find ∫ex1+e2x dx\int \frac{e^x}{1+e^{2x}}\,dx.

Solution. The denominator looks like the natural choice, but u=1+e2xu=1+e^{2x} gives du=2e2x dxdu=2e^{2x}\,dx, and the integrand supplies only ex dxe^x\,dx. Try the other inner expression: u=exu=e^x, so du=ex dxdu=e^x\,dx and 1+e2x=1+u21+e^{2x}=1+u^2. The integral becomes ∫du1+u2=arctan⁡u+C=arctan⁡(ex)+C\int\frac{du}{1+u^2}=\arctan u+C=\arctan(e^x)+C.

Check. ddxarctan⁡(ex)=ex1+(ex)2\frac{d}{dx}\arctan(e^x)=\frac{e^x}{1+(e^x)^2}. The lesson: test a candidate by computing its dudu before you commit to it.

Substitution also produces forms you will use constantly: ∫g′(x)g(x) dx=ln⁡∣g(x)∣+C\int \frac{g'(x)}{g(x)}\,dx=\ln|g(x)|+C; ∫ekx dx=1kekx+C\int e^{kx}\,dx=\frac{1}{k}e^{kx}+C; ∫cos⁡(kx) dx=1ksin⁡(kx)+C\int \cos(kx)\,dx=\frac{1}{k}\sin(kx)+C; and ∫tan⁡x dx=−ln⁡∣cos⁡x∣+C\int \tan x\,dx=-\ln|\cos x|+C, from u=cos⁡xu=\cos x. The absolute value matters. On an interval where g(x)<0g(x)<0, ln⁡∣g(x)∣\ln|g(x)| equals ln⁡(−g(x))\ln(-g(x)), while ln⁡(g(x))\ln(g(x)) is undefined.

Domain check. An antiderivative of 13−x\frac{1}{3-x} is −ln⁡∣3−x∣+C-\ln|3-x|+C. On x<3x<3 that is −ln⁡(3−x)+C-\ln(3-x)+C; on x>3x>3 it is −ln⁡(x−3)+C-\ln(x-3)+C. Differentiate either piece to confirm. A formula containing ln⁡(3−x)\ln(3-x) cannot serve on x>3x>3, where it is undefined, so always state the interval an antiderivative covers.

Definite integrals: change the bounds or return to x

For a definite integral, the bounds belong to the variable. If u=g(x)u=g(x), then

∫abf(g(x)) g′(x) dx=∫g(a)g(b)f(u) du.\int_a^b f(g(x))\,g'(x)\,dx=\int_{g(a)}^{g(b)} f(u)\,du.

Why it works. F(g(x))F(g(x)) is an antiderivative of the left integrand, so the Fundamental Theorem gives F(g(b))−F(g(a))F(g(b))-F(g(a)). That is exactly the value of the right side, where FF is evaluated at the new bounds g(a)g(a) and g(b)g(b).

Either convert the bounds and finish in uu, or return to xx and use the original bounds. Never evaluate a uu-expression at xx-bounds.

Worked example 16.4: one area, two variables

Evaluate ∫122x(x2−1)2 dx\int_1^2 2x(x^2-1)^2\,dx.

Solution. Let u=x2−1u=x^2-1, so du=2x dxdu=2x\,dx. When x=1x=1, u=0u=0; when x=2x=2, u=3u=3. The integral becomes ∫03u2 du=273=9\int_0^3 u^2\,du=\frac{27}{3}=9.

Check. In xx: [(x2−1)33]12=273−0=9\left[\frac{(x^2-1)^3}{3}\right]_1^2=\frac{27}{3}-0=9. Figure 16.1 shows why the bounds must change: the two regions have different shapes over different intervals, yet equal areas.

Two side-by-side graphs. The left graph shows y = 2x(x² − 1)² for x from about 0.85 to 2.1, with the region under the curve from x = 1 to x = 2 shaded and labeled area 9; the curve rises from 0 at x = 1 to 36 at x = 2. The right graph shows a dashed curve y = u² with the region from u = 0 to u = 3 shaded and labeled area 9; the curve rises to 9 at u = 3. A heading states u = x² − 1, du = 2x dx, x = 1 maps to u = 0 and x = 2 maps to u = 3.

Figure 16.1. Substitution changes the variable, the bounds and the shape, but not the value.

Worked example 16.5: diagnose an incorrect solution

A student evaluates ∫0π/3sin⁡xcos⁡2x dx\int_0^{\pi/3}\sin x\cos^2 x\,dx like this: "Let u=cos⁡xu=\cos x, so the integral is ∫0π/3u2 du=π381\int_0^{\pi/3}u^2\,du=\frac{\pi^3}{81}."

Diagnosis. Two errors. First, the bounds were not converted: u=cos⁡0=1u=\cos 0=1 and u=cos⁡π3=12u=\cos\frac{\pi}{3}=\frac{1}{2}. Second, du=−sin⁡x dxdu=-\sin x\,dx, so sin⁡x dx=−du\sin x\,dx=-du; the sign was dropped. Correctly,

−∫11/2u2 du=∫1/21u2 du=13(1−18)=724.-\int_1^{1/2}u^2\,du=\int_{1/2}^1 u^2\,du=\frac{1}{3}\left(1-\frac{1}{8}\right)=\frac{7}{24}.

Check. In xx: [−cos⁡3x3]0π/3=−124+13=724\left[-\frac{\cos^3 x}{3}\right]_0^{\pi/3}=-\frac{1}{24}+\frac{1}{3}=\frac{7}{24}. The integrand is positive on the interval, so a positive value is required.

Try it 16.1. (a) Find ∫cos⁡xsin⁡4x dx\int \cos x\sin^4 x\,dx. (b) Evaluate ∫02xx2+5 dx\int_0^2 \frac{x}{\sqrt{x^2+5}}\,dx. (c) Find ∫x(x−2)3 dx\int \frac{x}{(x-2)^3}\,dx.

Answers. (a) 15sin⁡5x+C\frac{1}{5}\sin^5 x+C. (b) With u=x2+5u=x^2+5 from 5 to 9: 12∫59u−1/2 du=3−5\frac{1}{2}\int_5^9 u^{-1/2}\,du=3-\sqrt{5}. (c) With u=x−2u=x-2 and x=u+2x=u+2: ∫(u−2+2u−3) du\int (u^{-2}+2u^{-3})\,du, so the family is −1x−2−1(x−2)2+C-\frac{1}{x-2}-\frac{1}{(x-2)^2}+C.

Rewrite before integrating (topic 6.10)

When a quotient matches no basic form and no substitution, rewrite it. AB uses two rewrites (CED topic 6.10).

Worked example 16.6: long division

Find ∫2x2−x+3x−1 dx\int \frac{2x^2-x+3}{x-1}\,dx.

Solution. The numerator's degree is at least the denominator's, so divide: 2x2−x+3=(x−1)(2x+1)+42x^2-x+3=(x-1)(2x+1)+4. For x≠1x\neq 1, the integrand equals 2x+1+4x−12x+1+\frac{4}{x-1}. The family is x2+x+4ln⁡∣x−1∣+Cx^2+x+4\ln|x-1|+C on any interval that does not contain 1.

Check. Test the identity at x=3x=3: 18−3+32=9\frac{18-3+3}{2}=9 and 2(3)+1+42=92(3)+1+\frac{4}{2}=9. Then differentiate the answer to recover 2x+1+4x−12x+1+\frac{4}{x-1}.

Worked example 16.7: divide, then evaluate

Evaluate ∫01x3x+1 dx\int_0^1 \frac{x^3}{x+1}\,dx.

Solution. Since x3=(x+1)(x2−x+1)−1x^3=(x+1)(x^2-x+1)-1, the integrand is x2−x+1−1x+1x^2-x+1-\frac{1}{x+1} on [0,1][0,1], where x+1>0x+1>0. Then

[x33−x22+x−ln⁡(x+1)]01=56−ln⁡2≈0.140.\left[\frac{x^3}{3}-\frac{x^2}{2}+x-\ln(x+1)\right]_0^1=\frac{5}{6}-\ln 2\approx 0.140.

Check. On [0,1][0,1] the integrand runs from 0 up to 12\frac{1}{2}, so the value must lie between 0 and 12\frac{1}{2}. It does.

Completing the square

If the denominator is a quadratic with no real zeros and the numerator is constant, complete the square and use

∫1u2+a2 du=1aarctan⁡ua+C,∫1a2−u2 du=arcsin⁡ua+C.\int\frac{1}{u^2+a^2}\,du=\frac{1}{a}\arctan\frac{u}{a}+C,\qquad \int\frac{1}{\sqrt{a^2-u^2}}\,du=\arcsin\frac{u}{a}+C.

Both follow from Chapter 15's table with the substitution u=awu=aw, and both can be checked by differentiating.

Worked example 16.8: complete the square

Find ∫1x2+4x+13 dx\int \frac{1}{x^2+4x+13}\,dx.

Solution. Half of 4 is 2, and (x+2)2=x2+4x+4(x+2)^2=x^2+4x+4, so x2+4x+13=(x+2)2+9x^2+4x+13=(x+2)^2+9. With u=x+2u=x+2 and a=3a=3, the family is 13arctan⁡x+23+C\frac{1}{3}\arctan\frac{x+2}{3}+C.

Check. The derivative is 13⋅1/31+(x+2)2/9=1(x+2)2+9\frac{1}{3}\cdot\frac{1/3}{1+(x+2)^2/9}=\frac{1}{(x+2)^2+9}, the integrand.

The square-root form works the same way: 6x−x2−5=4−(x−3)26x-x^2-5=4-(x-3)^2, so ∫16x−x2−5 dx=arcsin⁡x−32+C\int\frac{1}{\sqrt{6x-x^2-5}}\,dx=\arcsin\frac{x-3}{2}+C on 1<x<51<x<5.

Two panels. The left panel is an area model: a large square of side x labeled x², two rectangles of sides 2 and x each labeled 2x, and a dashed, hatched corner square of side 2 labeled add 4; together they form a square of side x + 2. Beneath it is the identity x² + 4x + 13 = (x + 2)² + 9. The right panel graphs y = (2x² − x + 3)/(x − 1) as a solid curve in two separate branches on either side of a dotted vertical line x = 1, and the dashed line y = 2x + 1. Its title says the curves differ by 4/(x − 1).

Figure 16.2. Completing the square (left) and long division (right) rewrite an integrand into basic forms.

Common errors. Dropping the factor 1a\frac{1}{a}; completing the square with the wrong sign, such as (x+3)2(x+3)^2 for x2−6xx^2-6x; writing a logarithm when the numerator is not a multiple of the denominator's derivative.

Try it 16.2. (a) Find ∫x2+1x+1 dx\int \frac{x^2+1}{x+1}\,dx. (b) Evaluate ∫131x2−2x+5 dx\int_1^3 \frac{1}{x^2-2x+5}\,dx. (c) Find ∫x3+xx2 dx\int \frac{x^3+x}{x^2}\,dx.

Answers. (a) Dividing gives x−1+2x+1x-1+\frac{2}{x+1}, so the family is x22−x+2ln⁡∣x+1∣+C\frac{x^2}{2}-x+2\ln|x+1|+C. (b) (x−1)2+4(x-1)^2+4 gives 12[arctan⁡x−12]13=π8\frac{1}{2}\left[\arctan\frac{x-1}{2}\right]_1^3=\frac{\pi}{8}. (c) x+1xx+\frac{1}{x} integrates to x22+ln⁡∣x∣+C\frac{x^2}{2}+\ln|x|+C.

Select a method (topic 6.14)

Read the integrand before you write anything, and ask these questions in order.

  1. Does it match a basic form after simplifying? Use Chapter 15's table.
  2. Is a composite present with its inner derivative, up to a constant? Substitute.
  3. Is it a rational function whose numerator's degree is at least the denominator's? Divide.
  4. Is it a constant over an irreducible quadratic, or over the square root of one? Complete the square.

AB questions are written so that these tools suffice. If a route seems to need integration by parts or partial fractions, look again for a substitution or a rewrite; those methods belong to BC.

Worked example 16.9: four integrals that look alike

(a) ∫xx2+9 dx\int \frac{x}{x^2+9}\,dx. The numerator is half the denominator's derivative, so u=x2+9u=x^2+9 gives 12ln⁡(x2+9)+C\frac{1}{2}\ln(x^2+9)+C. No absolute value is needed, because x2+9>0x^2+9>0.

(b) ∫1x2+9 dx\int \frac{1}{x^2+9}\,dx. No xx is available to form dudu, so use the arctangent form: 13arctan⁡x3+C\frac{1}{3}\arctan\frac{x}{3}+C.

(c) ∫x2x2+9 dx\int \frac{x^2}{x^2+9}\,dx. The degrees are equal, so divide: 1−9x2+91-\frac{9}{x^2+9}, giving x−3arctan⁡x3+Cx-3\arctan\frac{x}{3}+C.

(d) ∫2x+6x2+6x+10 dx\int \frac{2x+6}{x^2+6x+10}\,dx. The numerator is exactly the derivative of the denominator, so the answer is ln⁡(x2+6x+10)+C\ln(x^2+6x+10)+C. Changing the numerator to 1 calls for completing the square instead: arctan⁡(x+3)+C\arctan(x+3)+C.

Check (c). ddx[x−3arctan⁡x3]=1−11+x2/9=1−99+x2=x2x2+9\frac{d}{dx}\left[x-3\arctan\frac{x}{3}\right]=1-\frac{1}{1+x^2/9}=1-\frac{9}{9+x^2}=\frac{x^2}{x^2+9}.

Worked example 16.10: substitution with a table

A differentiable function gg with continuous derivative has g(3)=6g(3)=6, g(5)=2g(5)=2, g′(3)=0g'(3)=0 and g′(5)=−3g'(5)=-3 (constructed practice data). Find ∫12g′(2x+1) dx\int_1^2 g'(2x+1)\,dx.

Solution. Let u=2x+1u=2x+1, so du=2 dxdu=2\,dx; the bounds become 3 and 5. Then 12∫35g′(u) du=12[g(5)−g(3)]=12(2−6)=−2\frac{1}{2}\int_3^5 g'(u)\,du=\frac{1}{2}\left[g(5)-g(3)\right]=\frac{1}{2}(2-6)=-2.

Check. The table's g′g' values are a trap. The integrand is g′g', so the theorem needs values of gg, the antiderivative.

Try it 16.3. Name the method, then integrate. (a) ∫x+1x2+2x+5 dx\int \frac{x+1}{x^2+2x+5}\,dx. (b) ∫1x2+2x+5 dx\int \frac{1}{x^2+2x+5}\,dx. (c) ∫x2+2x+6x2+2x+5 dx\int \frac{x^2+2x+6}{x^2+2x+5}\,dx.

Answers. (a) Substitution: 12ln⁡(x2+2x+5)+C\frac{1}{2}\ln(x^2+2x+5)+C. (b) Complete the square: 12arctan⁡x+12+C\frac{1}{2}\arctan\frac{x+1}{2}+C. (c) Divide, then use (b): x+12arctan⁡x+12+Cx+\frac{1}{2}\arctan\frac{x+1}{2}+C.

Review and retrieve

Close the book and write the four selection questions with one example of each method. Tomorrow, redo Worked example 16.5 from its statement and name both errors. In a week, return to Worked example 16.9, cover the solutions and justify each choice in one sentence before integrating.

Practice

Chapter 16's practice is items APCAL-C16-M01 to APCAL-C16-M14 and the written task APCAL-C16-F01, printed after this chapter's companion panel as Questions 212–225 and Written task 23. Questions 212–223 and Written task 23 are no-calculator work. Questions 224–225 require a graphing calculator in radian mode; give decimals to the nearest thousandth. Answers, the error behind each wrong choice, the rubric and a complete response are in Answers, explanations and written responses, under Chapter 16: answers and explanations.

Use this chapter companion

Review the lesson, attempt the original practice, then check the explanation. Your printed study guide remains complete without the website.

Independence

Skill by Skill Prep is independent. SAT® and AP® are trademarks registered by the College Board, which is not affiliated with, and does not endorse, this website or book. PSAT/NMSQT® is a registered trademark of the College Board and the National Merit Scholarship Corporation, which are not affiliated with, and do not endorse, this site. Bluebook™ is a trademark of the College Board. ACT® is a trademark of ACT Education Corp., which is not affiliated with and does not endorse this website or book. Desmos is a trademark of Desmos Studio PBC. Practice results describe these questions, not official scores or admission predictions.

Last updated .