MATH 141 Calculus 2 • McGill University, Montreal

Revision sheet: the substitution rule (MATH 141)

This sheet is not a summary of section 5.5 of Stewart: you already have the course notes. It answers one question only, what makes students lose marks on the substitution rule in MATH 141 at McGill University, and which precise gesture avoids each loss.

Everything below is done by hand, as on the exam, and every antiderivative quoted has been checked the only way that settles it: by differentiating it back to the integrand.

The thread of the chapter

A substitution is finished only when the integral contains NO xx at all: not in the integrand, not in the differential, not in the bounds. Every mark lost on this chapter is an xx left somewhere: a variable factor divided out of dudu, a stray xx treated as a constant, a bound that stayed in xx.

This chapter is part of MATH 141, Calculus 2 (McGill)

The essentials

The rule, and what du has to swallow

  • • ∫f(g(x)) g′(x) dx=∫f(u) du\int f(g(x))\,g'(x)\,dx = \int f(u)\,du with u=g(x)u = g(x) and du=g′(x) dxdu = g'(x)\,dx. Read backwards, it is the chain rule ddxF(g(x))=F′(g(x)) g′(x)\frac{d}{dx}F(g(x)) = F'(g(x))\,g'(x).
  • • Choose uu = the INSIDE function whose derivative is also a factor of the integrand: x3+1x^3 + 1 in x2(x3+1)5x^2(x^3 + 1)^5, ln⁡x\ln x in (ln⁡x)3x\frac{(\ln x)^3}{x}, x\sqrt x in cos⁡xx\frac{\cos\sqrt x}{\sqrt x}.
  • • A CONSTANT missing from dudu is supplied: u=1+x2u = 1 + x^2 gives x dx=12dux\,dx = \frac{1}{2}du. A factor containing xx is NEVER supplied by dividing: then this uu is the wrong one.
  • • An xx still present after dudu is used is rewritten through uu: u=x−1u = x - 1 gives x=u+1x = u + 1; u=x2+1u = x^2 + 1 gives x2=u−1x^2 = u - 1.
  • • Indefinite integral: end in xx, with +C+ C, and differentiate the answer. The chain rule must give back the integrand exactly.

Before writing anything, ask: which function, differentiated, gives the other factor up to a constant? If none does, substitution is not the tool, and forcing it is where the marks go.

Definite integrals: the bounds travel through u

  • • Route 1: antiderivative in xx, then the ORIGINAL bounds. Route 2: new bounds u=g(a)u = g(a) and u=g(b)u = g(b), and never come back to xx.
  • • The mixture, an integrand in uu with bounds in xx, is always wrong. It is an unfinished substitution: an xx is still hiding in the bounds.
  • • New bounds in decreasing order are normal (as with u=cos⁡xu = \cos x on [0,π2]\left[0, \frac{\pi}{2}\right]). Keep them; the minus sign of dudu and the reversed order cancel together.
  • • No one-to-one condition: g′g' continuous on [a,b][a, b] is enough. u=sin⁡xu = \sin x on [0,π][0, \pi] is legal.
  • • ff continuous on [−a,a][-a, a]: odd gives ∫−aaf=0\int_{-a}^a f = 0, even gives 2∫0af2\int_0^a f. Both are proved by u=−xu = -x.
x = √3u = 1u = 4x = 0u = 1 + x²
The bounds are read on the vertical axis: for u=1+x2u = 1 + x^2, the interval 0≤x≤30 \le x \le \sqrt 3 becomes 1≤u≤41 \le u \le 4. Neither bound stays where it was.

Route 2 is shorter, and the line when x=ax = a, u=…u = \ldots; when x=bx = b, u=…u = \ldots is exactly what the marker looks for.

The rules in table form

Each row reads from left to right: the assumptions, then the result. A red cell is not an answer, it is the finding that the form settles nothing and the instruction to rewrite it. Every case is followed by a worked example.

Which u, and which antiderivative comes out

Read a line as: for this integrand, this choice of uu gives this antiderivative. Each example is a definite integral computed by hand. The red lines are rules students invent.

IntegrandChoice of uAntiderivative
x1+x2x\sqrt{1 + x^2} u=1+x2u = 1 + x^2, x dx=12dux\,dx = \frac{1}{2}du 13(1+x2)3/2+C\frac{1}{3}(1 + x^2)^{3/2} + C

Example: ∫03x1+x2 dx=13(8−1)=73\int_0^{\sqrt 3}x\sqrt{1 + x^2}\,dx = \frac{1}{3}(8 - 1) = \frac{7}{3}.

x1+x2\frac{x}{1 + x^2} u=1+x2u = 1 + x^2 12ln⁡(1+x2)+C\frac{1}{2}\ln(1 + x^2) + C

Example: ∫01x1+x2 dx=12ln⁡2\int_0^1\frac{x}{1 + x^2}\,dx = \frac{1}{2}\ln 2.

x1+x4\frac{x}{1 + x^4} u=x2u = x^2 12arctan⁡(x2)+C\frac{1}{2}\arctan(x^2) + C

Example: ∫01x1+x4 dx=12⋅π4=π8\int_0^1\frac{x}{1 + x^4}\,dx = \frac{1}{2}\cdot\frac{\pi}{4} = \frac{\pi}{8}.

tan⁡x\tan x u=cos⁡xu = \cos x −ln⁡∣cos⁡x∣+C-\ln|\cos x| + C

Example: ∫0π/3tan⁡x dx=−ln⁡12=ln⁡2\int_0^{\pi/3}\tan x\,dx = -\ln\frac{1}{2} = \ln 2.

1x2+9\frac{1}{x^2 + 9} u=x3u = \frac{x}{3}, dx=3 dudx = 3\,du 13arctan⁡x3+C\frac{1}{3}\arctan\frac{x}{3} + C

Example: ∫03dxx2+9=13⋅π4=π12\int_0^3\frac{dx}{x^2 + 9} = \frac{1}{3}\cdot\frac{\pi}{4} = \frac{\pi}{12}.

xx−1x\sqrt{x - 1} u=x−1u = x - 1, x=u+1x = u + 1 25(x−1)5/2+23(x−1)3/2+C\frac{2}{5}(x - 1)^{5/2} + \frac{2}{3}(x - 1)^{3/2} + C

Example: ∫12xx−1 dx=25+23=1615\int_1^2 x\sqrt{x - 1}\,dx = \frac{2}{5} + \frac{2}{3} = \frac{16}{15}.

11+x2\frac{1}{1 + x^2} u=1+x2u = 1 + x^2 ln⁡(1+x2)\ln(1 + x^2) no such rule

Example: The derivative of ln⁡(1+x2)\ln(1 + x^2) is 2x1+x2\frac{2x}{1 + x^2}; and ∫01dx1+x2=π4≈0.785\int_0^1\frac{dx}{1 + x^2} = \frac{\pi}{4} \approx 0.785, not ln⁡2≈0.693\ln 2 \approx 0.693.

What to do: No xx on top, no dudu: it is the table, ∫dx1+x2=arctan⁡x+C\int\frac{dx}{1 + x^2} = \arctan x + C.

(x3+1)5(x^3 + 1)^5 u=x3+1u = x^3 + 1 (x3+1)618x2\frac{(x^3 + 1)^6}{18x^2} no such rule

Example: Its derivative at x=1x = 1 is 32−64932 - \frac{64}{9}, not the integrand's 25=322^5 = 32.

What to do: No x2x^2 in the integrand: expand (x3+1)5(x^3 + 1)^5 by the binomial theorem and integrate term by term.

Every blue line is proved in one line by differentiating the last column. If the derivative of your answer carries an extra term, the rule you used does not exist.

The mistakes that cost marks

These are the errors I correct most often in session. Each one costs marks on a paper, even when the reasoning behind it is right.

1. Dividing by a variable to manufacture du

the whole question

What not to write

“u=x3+1u = x^3 + 1, dx=du3x2dx = \frac{du}{3x^2}, so ∫(x3+1)5 dx=(x3+1)618x2+C\int(x^3 + 1)^5\,dx = \frac{(x^3 + 1)^6}{18x^2} + C.”

What to write

“There is no x2x^2 to form dudu, so this uu does not apply: (x3+1)5=x15+5x12+10x9+10x6+5x3+1(x^3 + 1)^5 = x^{15} + 5x^{12} + 10x^9 + 10x^6 + 5x^3 + 1, integrated term by term.”

Why: Once dx=du3x2dx = \frac{du}{3x^2} is written, the integral in uu still contains xx, and pulling 13x2\frac{1}{3x^2} out treats a variable as a constant. Differentiating the answer produces the extra term −(x3+1)69x3-\frac{(x^3 + 1)^6}{9x^3}: that term is the error made visible.

2. Keeping the bounds of x in an integral in u

2 to 3 marks, the whole evaluation

What not to write

“u=x2u = x^2: ∫02xex2 dx=12∫02eu du=e2−12\int_0^2 x e^{x^2}\,dx = \frac{1}{2}\int_0^2 e^u\,du = \frac{e^2 - 1}{2}.”

What to write

“When x=0x = 0, u=0u = 0; when x=2x = 2, u=4u = 4: ∫02xex2 dx=12∫04eu du=e4−12\int_0^2 x e^{x^2}\,dx = \frac{1}{2}\int_0^4 e^u\,du = \frac{e^4 - 1}{2}.”

Why: The numbers 00 and 22 are values of xx, and the new integral is in uu. The bound line is part of the substitution, like dudu: an integral with uu inside and xx on the bounds is still half in xx.

3. Reordering reversed bounds and keeping the minus sign

1 to 2 marks, and a negative value for a positive integrand

What not to write

“u=1−x2u = 1 - x^2, du=−2x dxdu = -2x\,dx: ∫01x1−x2 dx=−12∫01u du=−13\int_0^1 x\sqrt{1 - x^2}\,dx = -\frac{1}{2}\int_0^1\sqrt u\,du = -\frac{1}{3}.”

What to write

“When x=0x = 0, u=1u = 1; when x=1x = 1, u=0u = 0: −12∫10u du=12∫01u du=13-\frac{1}{2}\int_1^0\sqrt u\,du = \frac{1}{2}\int_0^1\sqrt u\,du = \frac{1}{3}.”

0.250.50.7511.250.250.50.75area 1/3y = x √(1 − x²)
The integrand x1−x2x\sqrt{1 - x^2} is positive on (0,1)(0, 1), so its integral is the shaded area, 13\frac{1}{3}. A negative answer is impossible, whatever the substitution did to the bounds.

Why: The reversed order and the minus of dudu come as a pair: either keep both, −12∫10-\frac{1}{2}\int_1^0, or drop both, 12∫01\frac{1}{2}\int_0^1. Using one without the other flips the sign, and the figure shows it cannot be negative.

4. Treating a stray x as a constant

the whole question

What not to write

“u=x−1u = x - 1: ∫xx−1 dx=x∫u du=23x(x−1)3/2+C\int x\sqrt{x - 1}\,dx = x\int\sqrt u\,du = \frac{2}{3}x(x - 1)^{3/2} + C.”

What to write

“x=u+1x = u + 1: ∫(u+1)u du=25(x−1)5/2+23(x−1)3/2+C\int(u + 1)\sqrt u\,du = \frac{2}{5}(x - 1)^{5/2} + \frac{2}{3}(x - 1)^{3/2} + C.”

Why: Only a number passes through the integral sign. The derivative of the wrong answer is xx−1+23(x−1)3/2x\sqrt{x - 1} + \frac{2}{3}(x - 1)^{3/2}: at x=2x = 2 it gives 83\frac{8}{3} where the integrand is 22. Solve u=g(x)u = g(x) for xx and replace it.

5. Losing the minus sign in the integral of tan x

1 to 2 marks, and a negative value for every definite integral of tan on the first quarter turn

What not to write

“∫tan⁡x dx=ln⁡∣cos⁡x∣+C\int\tan x\,dx = \ln|\cos x| + C.”

What to write

“u=cos⁡xu = \cos x, du=−sin⁡x dxdu = -\sin x\,dx: ∫tan⁡x dx=−∫duu=−ln⁡∣cos⁡x∣+C=ln⁡∣sec⁡x∣+C\int\tan x\,dx = -\int\frac{du}{u} = -\ln|\cos x| + C = \ln|\sec x| + C.”

1−1tan x−ln(cos x)ln(cos x)
tan⁡x\tan x is positive, so its antiderivative must climb: −ln⁡(cos⁡x)-\ln(\cos x) does, ln⁡(cos⁡x)\ln(\cos x) falls below zero. The sign error is visible without a single computation.

Why: The derivative of cos⁡x\cos x is −sin⁡x-\sin x, and the minus sign goes into the answer. Quick test: tan⁡x>0\tan x > 0 on (0,π2)\left(0, \frac{\pi}{2}\right), so its antiderivative must INCREASE there; ln⁡(cos⁡x)\ln(\cos x) decreases.

6. Dropping the absolute value, then calling the integral undefined

2 marks, the whole value

What not to write

“∫−102xx2−4 dx=[ln⁡(x2−4)]−10\int_{-1}^0\frac{2x}{x^2 - 4}\,dx = \left[\ln(x^2 - 4)\right]_{-1}^0, and ln⁡(−4)\ln(-4) does not exist.”

What to write

“[ln⁡∣x2−4∣]−10=ln⁡4−ln⁡3=ln⁡43\left[\ln|x^2 - 4|\right]_{-1}^0 = \ln 4 - \ln 3 = \ln\frac{4}{3}.”

Why: ln⁡∣u∣\ln|u| is an antiderivative of 1u\frac{1}{u} where u<0u < 0 too. The integrand is continuous on [−1,0][-1, 0], so the integral exists. Drop the bars only after proving the argument positive, as for x2+3x+5x^2 + 3x + 5.

7. Quoting symmetry on an interval that is not symmetric

the whole question

What not to write

“x3x^3 is odd, so ∫−12x3 dx=0\int_{-1}^2 x^3\,dx = 0.”

What to write

“Only [−1,1][-1, 1] is symmetric: ∫−12x3 dx=0+∫12x3 dx=4−14=154\int_{-1}^2 x^3\,dx = 0 + \int_1^2 x^3\,dx = 4 - \frac{1}{4} = \frac{15}{4}.”

Why: The theorem has two hypotheses, an interval [−a,a][-a, a] and continuity on it. On [−1,1][-1, 1], 1x3\frac{1}{x^3} fails the second: it is not a zero integral but an improper one.

8. Forgetting the factor of a linear substitution

1 to 2 marks

What not to write

“∫dxx2+9=19arctan⁡x+C\int\frac{dx}{x^2 + 9} = \frac{1}{9}\arctan x + C.”

What to write

“x2+9=9(1+(x3)2)x^2 + 9 = 9\left(1 + \left(\frac{x}{3}\right)^2\right); with u=x3u = \frac{x}{3}, dx=3 dudx = 3\,du: ∫dxx2+9=13arctan⁡x3+C\int\frac{dx}{x^2 + 9} = \frac{1}{3}\arctan\frac{x}{3} + C.”

Why: 19⋅11+x2=19+9x2\frac{1}{9}\cdot\frac{1}{1 + x^2} = \frac{1}{9 + 9x^2}, which is not 1x2+9\frac{1}{x^2 + 9}. Factoring the 99 leaves (x3)2\left(\frac{x}{3}\right)^2, not x2x^2, and dx=3 dudx = 3\,du turns 19\frac{1}{9} into 13\frac{1}{3}.

Which method to choose

Which u, decided by the FORM of the integrand

Look at the integrand and at the bounds before choosing anything

-3-2-1123-0.4-0.20.20.40.6sin x / (1 + x²)
sin⁡x1+x2\frac{\sin x}{1 + x^2} is odd: on [−1,1][-1, 1] the two shaded lobes are mirror images of opposite sign, so the integral is 00 even though no antiderivative can be written.
  • If the interval is symmetric, [minus a, a], and the integrand is continuous on it → check parity first: an odd integrand gives 0 with no computation, an even one gives twice the integral over [0, a]

    Example: ∫−11sin⁡x1+x2 dx=0\int_{-1}^1\frac{\sin x}{1 + x^2}\,dx = 0

  • If a function sits inside a power, a root, an exponential or a trig function, and its derivative is a factor up to a constant → u = the inside function; supply the constant

    Example: x2(x3+1)5x^2(x^3 + 1)^5: u=x3+1u = x^3 + 1, x2 dx=13dux^2\,dx = \frac{1}{3}du

  • If a fraction whose numerator is the derivative of its denominator, up to a constant → u = the denominator; the answer is ln⁡∣u∣\ln|u|

    Example: 2x+3x2+3x+5\frac{2x + 3}{x^2 + 3x + 5} gives ln⁡(x2+3x+5)+C\ln(x^2 + 3x + 5) + C

  • If xx on top, and x4x^4 in 1+x41 + x^4 or in a2−x4\sqrt{a^2 - x^4} → u=x2u = x^2, then the table: inverse tangent or inverse sine

    Example: x1+x4\frac{x}{1 + x^4} gives 12arctan⁡(x2)+C\frac{1}{2}\arctan(x^2) + C

  • If the inside function is found, but an xx is left over after dudu → solve u=g(x)u = g(x) for xx (or for x2x^2) and replace it

    Example: x3x2+1x^3\sqrt{x^2 + 1}: x2=u−1x^2 = u - 1, x dx=12dux\,dx = \frac{1}{2}du

  • If a constant a2a^2 added to x2x^2, or a function of ax+bax + b → linear substitution u=xau = \frac{x}{a} or u=ax+bu = ax + b, and keep its factor

    Example: 1x2+9\frac{1}{x^2 + 9} gives 13arctan⁡x3+C\frac{1}{3}\arctan\frac{x}{3} + C

  • If no inside function has its derivative present, and nothing can be rewritten → substitution is not the tool: expand, use the table, or wait for the later techniques

    Example: (x3+1)5(x^3 + 1)^5: expand into six terms

The test that decides every branch is the same: which function, differentiated, gives the other factor up to a constant? The same denominator 1+x21 + x^2 gives a logarithm with xx on top and an inverse tangent with 11 on top.

How the answer is expected to be written

A marker ticks steps. Here they are in order, with the concluding sentence expected word for word.

Writing a definite substitution the marker can follow

When to use it: Any integral where the substitution is not a one-line mental step, and every definite integral

  1. 1 Name uu and compute dudu on its own line, with the constant solved for: u=1+x2u = 1 + x^2, du=2x dxdu = 2x\,dx, x dx=12dux\,dx = \frac{1}{2}du.
  2. 2 Write the bound line: when x=ax = a, u=g(a)u = g(a); when x=bx = b, u=g(b)u = g(b). Keep them in that order, even if decreasing.
  3. 3 Rewrite EVERY piece of the integral in uu, then check that no xx is left: not in the integrand, not in dxdx, not in the bounds. A leftover xx is rewritten through uu.
  4. 4 Integrate in uu and evaluate at the new bounds. Do not return to xx.
  5. 5 Check: sign of the integrand against the sign of the answer, and a rough size (width times a typical height).

Concluding sentence

“Let u=1+x2u = 1 + x^2, du=2x dxdu = 2x\,dx; when x=0x = 0, u=1u = 1 and when x=3x = \sqrt 3, u=4u = 4. Then ∫03x1+x2 dx=12∫14u1/2 du=13[u3/2]14=73\int_0^{\sqrt 3}x\sqrt{1 + x^2}\,dx = \frac{1}{2}\int_1^4 u^{1/2}\,du = \frac{1}{3}\left[u^{3/2}\right]_1^4 = \frac{7}{3}.”

The trap: Writing ∫x1+x2 dx=∫u\int x\sqrt{1 + x^2}\,dx = \int\sqrt u with no dudu and no bound line: the chain of equalities is false as written, and markers treat it as such.

Marking: Typically 1 mark for u and du, 1 for the new bounds, 1 for the antiderivative, 1 for the value. The bound line is the one most often missing.

Check before you hand in

Five minutes of checking recover more marks than one more problem started in a hurry.

The typical problem, taken apart

A definite integral where x must be rewritten and the bounds move

Compute ∫03x3x2+16 dx\int_0^3\frac{x^3}{\sqrt{x^2 + 16}}\,dx exactly.

No calculator. Every step must be justified as on a MATH 141 final.

Step 1

The inside function is x2+16x^2 + 16, with derivative 2x2x. Split x3 dx=x2⋅x dxx^3\,dx = x^2\cdot x\,dx.

Why

One factor xx goes with dxdx to build dudu; the other two form x2x^2, which is a function of uu. Naming the split is the first method mark.

Step 2

u=x2+16u = x^2 + 16, du=2x dxdu = 2x\,dx, x dx=12dux\,dx = \frac{1}{2}du, x2=u−16x^2 = u - 16. When x=0x = 0, u=16u = 16; when x=3x = 3, u=25u = 25.

Why

Every piece in xx now has its translation: the leftover x2x^2, the differential, and both bounds. Nothing in xx may survive.

Step 3

∫03x3x2+16 dx=12∫1625u−16u du=12∫1625(u1/2−16u−1/2)du\int_0^3\frac{x^3}{\sqrt{x^2 + 16}}\,dx = \frac{1}{2}\int_{16}^{25}\frac{u - 16}{\sqrt u}\,du = \frac{1}{2}\int_{16}^{25}\left(u^{1/2} - 16u^{-1/2}\right)du.

Why

Divide term by term before integrating: uu=u1/2\frac{u}{\sqrt u} = u^{1/2} and 16u=16u−1/2\frac{16}{\sqrt u} = 16u^{-1/2}. The power rule applies to each.

Step 4

=12[23u3/2−32u1/2]1625=12[(2503−160)−(1283−128)]=12⋅263=133= \frac{1}{2}\left[\frac{2}{3}u^{3/2} - 32u^{1/2}\right]_{16}^{25} = \frac{1}{2}\left[\left(\frac{250}{3} - 160\right) - \left(\frac{128}{3} - 128\right)\right] = \frac{1}{2}\cdot\frac{26}{3} = \frac{13}{3}.

Why

253/2=12525^{3/2} = 125 and 163/2=6416^{3/2} = 64: the numbers 1616 and 2525 were chosen as perfect squares, so the evaluation is done by hand. Evaluated at the new bounds, never at 00 and 33.

Step 5

Check by route 1: F(x)=13(x2+16)3/2−16(x2+16)1/2F(x) = \frac{1}{3}(x^2 + 16)^{3/2} - 16(x^2 + 16)^{1/2} gives F(3)−F(0)=(1253−80)−(643−64)=133F(3) - F(0) = \left(\frac{125}{3} - 80\right) - \left(\frac{64}{3} - 64\right) = \frac{13}{3}. Size: the integrand rises from 00 to 275\frac{27}{5}, so 0<133<3⋅2750 < \frac{13}{3} < 3 \cdot \frac{27}{5}.

Why

Two independent routes and a size bracket confirm the value. On an exam, the size check alone takes ten seconds and catches a bound left in xx.

The conclusion, written out

“∫03x3x2+16 dx=133\int_0^3\frac{x^3}{\sqrt{x^2 + 16}}\,dx = \frac{13}{3}, with u=x2+16u = x^2 + 16, x2=u−16x^2 = u - 16 and bounds 1616 and 2525.”

The classic mistake on this problem: Pulling the leftover x2x^2 out of the integral as a constant, or evaluating 13u3/2−16u1/2\frac{1}{3}u^{3/2} - 16u^{1/2} at u=0u = 0 and u=3u = 3: both leave an xx in the computation, the first in the integrand, the second in the bounds.

Learn by heart

  • • uu = the inside function whose derivative is a factor, up to a constant. Constants are supplied; variables never are.
  • • No xx left: not in the integrand, not in dxdx, not in the bounds. A stray xx is rewritten through uu.
  • • Definite: new bounds g(a)g(a), g(b)g(b), kept in their order; or antiderivative in xx with the old bounds. Never half of each.
  • • ∫g′g dx=ln⁡∣g∣+C\int\frac{g'}{g}\,dx = \ln|g| + C. ∫tan⁡x dx=−ln⁡∣cos⁡x∣+C\int\tan x\,dx = -\ln|\cos x| + C, ∫cot⁡x dx=ln⁡∣sin⁡x∣+C\int\cot x\,dx = \ln|\sin x| + C.
  • • ∫dxx2+a2=1aarctan⁡xa+C\int\frac{dx}{x^2 + a^2} = \frac{1}{a}\arctan\frac{x}{a} + C; ∫dxa2−x2=arcsin⁡xa+C\int\frac{dx}{\sqrt{a^2 - x^2}} = \arcsin\frac{x}{a} + C.
  • • Symmetric [−a,a][-a, a], continuous: odd gives 00, even gives 2∫0a2\int_0^a. Even times odd is odd.
  • • ∫0af(a−x) dx=∫0af(x) dx\int_0^a f(a - x)\,dx = \int_0^a f(x)\,dx.
  • • Always differentiate an indefinite answer, and check the sign of a definite one.

Frequently asked questions

How do I choose u for a substitution in calculus?

Look for a function sitting inside another one, a power, a root, an exponential, whose derivative also appears as a factor of the integrand, possibly up to a constant. That inside function is u. If the derivative is missing by a constant, supply the constant; if it is missing by a factor containing x, this u is the wrong choice.

Do I have to change the limits of integration when I substitute?

Either change them, or go back to x before evaluating, but never half of each. If the integral is written in u, the limits must be values of u: plug the old limits into u equals g of x. If you prefer to keep the old limits, substitute back to x first. An integral in u with limits in x gives a wrong number.

What happens when the new lower limit is bigger than the upper limit?

Nothing goes wrong: keep the limits in the order the substitution gives them. The minus sign that usually comes with du and the reversed order cancel each other. You may also swap the limits and drop the minus sign at the same time, but never do only one of the two, or the sign of the answer flips.

Why is the integral of tan x equal to minus ln of cos x?

Write tan x as sine over cosine and let u be cos x. Then du is minus sine of x dx, so the integral becomes minus the integral of du over u, which is minus ln of the absolute value of cos x, plus C. The same answer is often written as ln of the absolute value of sec x. The minus sign comes from the derivative of cosine.

What do I do if an x is left over after the substitution?

Solve the substitution for x and replace it. With u equals x minus 1, write x as u plus 1; with u equals x squared plus 1, write x squared as u minus 1. The integral in u must contain no x at all. Never pull the leftover x out of the integral as if it were a constant: only numbers can be moved through the integral sign.

Practise it

Corrected exercises: The substitution rule, MATH 141 at McGill

A method is proved on a paper, not on a sheet. The set for the same chapter takes each of these traps into a problem, with the solution written out step by step.

  • 10 corrected exercises
  • 100 points
  • 150 minutes
Do the exercises
Previous sheet The Fundamental Theorem of Calculus Next sheet Integration by parts

See also

Looking for a MATH 141 tutor in Montreal?

Get in touch for a first session. Substitution is the first technique of integration in the course, and every later one, from parts to partial fractions, leans on it.

Site by Studio Squalli