MATH 205 Calculus II • Concordia University, Montreal

Corrected exercises: definite integral substitutions and symmetry (MATH 205)

Exercises: definite integral substitutions and symmetry (MATH 205)

Name: Class: Date:

Solutions

Suggested time: 3 h 00 · Calculator allowed · 12 exercises
https://www.letuteurscientifique.ca/en/exercices/math205-definite-substitution

This is the corrected exercise set for the Substitution Rule in definite integrals in MATH 205, Differential and Integral Calculus II, at Concordia University: the first part of section 5.6 of Thomas' Calculus, with the theorem on definite integrals of symmetric functions (odd and even integrands on [−a,a][-a, a]).

What the set covers, the traps it targets

At the end you evaluate a definite integral by substitution with converted bounds, give exact values of ln⁡\ln, arctan⁡\arctan and arcsin⁡\arcsin, remove the odd part of an integrand without computing it, and write the short proofs by substitution that close many midterms. The situations: a function known only by its graph, a periodic function, the midterm question on definite integrals, and a bonus proof with t=1ut = \frac{1}{u}.

One idea runs through the set: a definite substitution makes three changes on one line, the integrand, the differential and both bounds, and it is finished when no xx is left, bounds included. The marks are then lost in the algebra: computing the new bounds and the final value exactly (84/3=168^{4/3} = 16, ln⁡eπ/4=π4\ln e^{\pi/4} = \frac{\pi}{4}, arctan⁡3=π3\arctan\sqrt 3 = \frac{\pi}{3}), rewriting a leftover xx as u+1u + 1 or u−1u - 1 and then splitting the fraction, expanding a square before looking for an odd part. Every solution names uu, dudu and the two new bounds before integrating.

The traps named in the solutions: new bounds in decreasing order with the minus sign of dudu (0.1 c, ex. 1 b), bounds left in xx (ex. 1 e, 2 e), a leftover xx treated as a constant (ex. 2 b, 2 c), a constant a2a^2 treated as a 11 in an arctangent (ex. 3 c), the absolute value of ln⁡∣u∣\ln|u| dropped while u<0u < 0 (ex. 3 e), (x+1)3(x + 1)^3 called odd (0.2 e), ex3e^{x^3} called odd (ex. 4 d), new bounds forgotten with an unknown function (ex. 5 e), x=ux = \sqrt u on an interval that contains negative numbers (ex. 8 d), and u=tan⁡xu = \tan x across π2\frac{\pi}{2} (ex. 8 e).

  • 12 corrected exercises • 120 points • 180 minutes
  • Self-checking, 70 answers
  • Calculator
Start exercise 0.1 The chapter sheet
Print

Print the homework or the solutions

The homework without solutions, one exercise per page, and the solutions on their own: it comes with your free space. An email is enough, no password, and you come back here.

Create my free space

Already have one? Sign in

Course recap

  • • Substitution in definite integrals (Thomas 5.6): ∫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, if g′g' is continuous on [a,b][a, b] and ff is continuous on the range of gg.
  • • One line: u=g(x)u = g(x), du=g′(x) dxdu = g'(x)\,dx, x=a⇒u=g(a)x = a \Rightarrow u = g(a), x=b⇒u=g(b)x = b \Rightarrow u = g(b); the order of the bounds is kept, and ∫dc=−∫cd\int_d^c = -\int_c^d.
  • • A leftover xx is rewritten through uu (u=x−1⇒x=u+1u = x - 1 \Rightarrow x = u + 1); it never leaves the integral.
  • • ∫duu=ln⁡∣u∣+C\int\frac{du}{u} = \ln|u| + C, ∫dua2+u2=1aarctan⁡ua+C\int\frac{du}{a^2 + u^2} = \frac{1}{a}\arctan\frac{u}{a} + C, ∫dua2−u2=arcsin⁡ua+C\int\frac{du}{\sqrt{a^2 - u^2}} = \arcsin\frac{u}{a} + C (a>0a > 0).
  • • ff continuous on [−a,a][-a, a]: ff even ⇒∫−aaf=2∫0af\Rightarrow \int_{-a}^a f = 2\int_0^a f; ff odd ⇒∫−aaf=0\Rightarrow \int_{-a}^a f = 0. Test f(−x)f(-x) first.
  • • ff continuous of period TT: ∫aa+Tf(x) dx=∫0Tf(x) dx\int_a^{a + T} f(x)\,dx = \int_0^T f(x)\,dx for every aa.

Calculations: definite integrals by substitution

Exercise 0.1: Definite integrals by substitution: ten direct calculations

10 answers to check

Evaluate each definite integral by a substitution and give its exact value; on the page, type it as a fraction or as a decimal to four places.

One line before any computation, the same for all ten: u=…u = \ldots, du=… dxdu = \ldots\,dx, and the two new bounds, x=a⇒u=…x = a \Rightarrow u = \ldots and x=b⇒u=…x = b \Rightarrow u = \ldots. After that line, no xx is left anywhere. The marks are then lost in the arithmetic of the bounds and of the evaluation: eln⁡(π/2)e^{\ln(\pi/2)}, ln⁡e\ln e, sin⁡π6\sin\frac{\pi}{6}, arctan⁡1\arctan 1, 12\sqrt{\frac{1}{2}}.

  • a) ∫02x(x2+1)2 dx\int_0^2 x(x^2 + 1)^2\,dx
  • b) ∫01x(1−x2)5 dx\int_0^1 x(1 - x^2)^5\,dx
  • c) ∫0π/3sin⁡xcos⁡2x dx\int_0^{\pi/3} \sin x\cos^2 x\,dx
  • d) ∫01earctan⁡x1+x2 dx\int_0^1 \frac{e^{\arctan x}}{1 + x^2}\,dx
  • e) ∫1e(1+ln⁡x)2x dx\int_1^{e} \frac{(1 + \ln x)^2}{x}\,dx
  • f) ∫12x2x3+1 dx\int_1^2 \frac{x^2}{x^3 + 1}\,dx
  • g) ∫12(3x−2)4 dx\int_1^2 (3x - 2)^4\,dx
  • h) ∫π/6π/2cos⁡xsin⁡x dx\int_{\pi/6}^{\pi/2} \frac{\cos x}{\sqrt{\sin x}}\,dx
  • i) ∫0ln⁡(π/2)excos⁡(ex) dx\int_0^{\ln(\pi/2)} e^x\cos(e^x)\,dx
  • j) ∫0π/2cos⁡x sin⁡(πsin⁡x) dx\int_0^{\pi/2} \cos x\,\sin(\pi\sin x)\,dx

Type your answers, the page tells you right or wrong 0/10

a)
b)
c)
d)
e)
f)
g)
h)
i)
j)
Show the solution

Answers

  • a) 623≈20.6667\frac{62}{3} \approx 20.6667
  • b) 112≈0.0833\frac{1}{12} \approx 0.0833
  • c) 724≈0.2917\frac{7}{24} \approx 0.2917
  • d) eπ/4−1≈1.1933e^{\pi/4} - 1 \approx 1.1933
  • e) 73≈2.3333\frac{7}{3} \approx 2.3333
  • f) 13ln⁡92≈0.5014\frac{1}{3}\ln\frac{9}{2} \approx 0.5014
  • g) 102315=68.2\frac{1023}{15} = 68.2
  • h) 2−2≈0.58582 - \sqrt 2 \approx 0.5858
  • i) 1−sin⁡1≈0.15851 - \sin 1 \approx 0.1585
  • j) 2π≈0.6366\frac{2}{\pi} \approx 0.6366

Every line follows the same order: name uu, write dudu, convert both bounds, integrate in uu, evaluate in uu. Going back to xx is never needed once the bounds are converted.

a)

u=x2+1u = x^2 + 1, du=2x dxdu = 2x\,dx; x=0⇒u=1x = 0 \Rightarrow u = 1, x=2⇒u=5x = 2 \Rightarrow u = 5.

∫02x(x2+1)2 dx=12∫15u2 du=12⋅125−13=623\displaystyle \int_0^2 x(x^2 + 1)^2\,dx = \frac{1}{2}\int_1^5 u^2\,du = \frac{1}{2}\cdot\frac{125 - 1}{3} = \frac{62}{3}
b)

u=1−x2u = 1 - x^2, du=−2x dxdu = -2x\,dx; x=0⇒u=1x = 0 \Rightarrow u = 1, x=1⇒u=0x = 1 \Rightarrow u = 0.

∫01x(1−x2)5 dx=−12∫10u5 du=12∫01u5 du=112\displaystyle \int_0^1 x(1 - x^2)^5\,dx = -\frac{1}{2}\int_1^0 u^5\,du = \frac{1}{2}\int_0^1 u^5\,du = \frac{1}{12}

Two minus signs meet: the one of dudu and the one of the reversed bounds. Expanding (1−x2)5(1 - x^2)^5 would cost six terms.

c)

u=cos⁡xu = \cos x, du=−sin⁡x dxdu = -\sin x\,dx; x=0⇒u=1x = 0 \Rightarrow u = 1, x=π3⇒u=12x = \frac{\pi}{3} \Rightarrow u = \frac{1}{2}.

∫0π/3sin⁡xcos⁡2x dx=−∫11/2u2 du=∫1/21u2 du=13(1−18)=724\displaystyle \int_0^{\pi/3}\sin x\cos^2 x\,dx = -\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}

Pitfall: the new bounds come out in decreasing order. Keep them in that order and let the minus sign of dudu flip them; swapping them and dropping the minus gives the same number, swapping only one of the two gives −724-\frac{7}{24}.

d)

u=arctan⁡xu = \arctan x, du=dx1+x2du = \frac{dx}{1 + x^2}; x=0⇒u=0x = 0 \Rightarrow u = 0, x=1⇒u=arctan⁡1=π4x = 1 \Rightarrow u = \arctan 1 = \frac{\pi}{4}.

∫0π/4eu du=eπ/4−1≈1.1933\displaystyle \int_0^{\pi/4} e^u\,du = e^{\pi/4} - 1 \approx 1.1933
e)

u=1+ln⁡xu = 1 + \ln x, du=dxxdu = \frac{dx}{x}; x=1⇒u=1+0=1x = 1 \Rightarrow u = 1 + 0 = 1, x=e⇒u=2x = e \Rightarrow u = 2.

∫12u2 du=8−13=73\displaystyle \int_1^2 u^2\,du = \frac{8 - 1}{3} = \frac{7}{3}
f)

u=x3+1u = x^3 + 1, du=3x2 dxdu = 3x^2\,dx; x=1⇒u=2x = 1 \Rightarrow u = 2, x=2⇒u=9x = 2 \Rightarrow u = 9.

13∫29duu=13(ln⁡9−ln⁡2)=13ln⁡92≈0.5014\displaystyle \frac{1}{3}\int_2^9 \frac{du}{u} = \frac{1}{3}(\ln 9 - \ln 2) = \frac{1}{3}\ln\frac{9}{2} \approx 0.5014

Pitfall: ln⁡9−ln⁡2=ln⁡92\ln 9 - \ln 2 = \ln\frac{9}{2}, not ln⁡9ln⁡2\frac{\ln 9}{\ln 2}. No absolute value is needed, since u>0u > 0 on [2,9][2, 9].

g)

u=3x−2u = 3x - 2, du=3 dxdu = 3\,dx; x=1⇒u=1x = 1 \Rightarrow u = 1, x=2⇒u=4x = 2 \Rightarrow u = 4.

13∫14u4 du=115(1024−1)=102315=68.2\displaystyle \frac{1}{3}\int_1^4 u^4\,du = \frac{1}{15}(1024 - 1) = \frac{1023}{15} = 68.2

Pitfall: forgetting the factor 13\frac{1}{3} gives 204.6204.6, three times too much.

h)

u=sin⁡xu = \sin x, du=cos⁡x dxdu = \cos x\,dx; x=π6⇒u=12x = \frac{\pi}{6} \Rightarrow u = \frac{1}{2}, x=π2⇒u=1x = \frac{\pi}{2} \Rightarrow u = 1.

∫1/21u−1/2 du=[2u]1/21=2−212=2−2≈0.5858\displaystyle \int_{1/2}^1 u^{-1/2}\,du = \left[2\sqrt u\right]_{1/2}^1 = 2 - 2\sqrt{\frac{1}{2}} = 2 - \sqrt 2 \approx 0.5858

212=22=22\sqrt{\frac{1}{2}} = \frac{2}{\sqrt 2} = \sqrt 2: the root of a fraction is where this line goes wrong.

i)

u=exu = e^x, du=ex dxdu = e^x\,dx; x=0⇒u=1x = 0 \Rightarrow u = 1, x=ln⁡π2⇒u=eln⁡(π/2)=π2x = \ln\frac{\pi}{2} \Rightarrow u = e^{\ln(\pi/2)} = \frac{\pi}{2}.

∫1π/2cos⁡u du=sin⁡π2−sin⁡1=1−sin⁡1≈0.1585\displaystyle \int_1^{\pi/2}\cos u\,du = \sin\frac{\pi}{2} - \sin 1 = 1 - \sin 1 \approx 0.1585

sin⁡1\sin 1 is the sine of 11 radian; it stays in the exact answer.

j)

u=sin⁡xu = \sin x, du=cos⁡x dxdu = \cos x\,dx; x=0⇒u=0x = 0 \Rightarrow u = 0, x=π2⇒u=1x = \frac{\pi}{2} \Rightarrow u = 1.

∫01sin⁡(πu) du=[−cos⁡(πu)π]01=−cos⁡π+cos⁡0π=2π≈0.6366\displaystyle \int_0^1 \sin(\pi u)\,du = \left[-\frac{\cos(\pi u)}{\pi}\right]_0^1 = \frac{-\cos\pi + \cos 0}{\pi} = \frac{2}{\pi} \approx 0.6366

Pitfall: cos⁡π=−1\cos\pi = -1; reading it as 11 gives 00. The factor 1π\frac{1}{\pi} comes from the inside derivative of πu\pi u.

Tick the exercises you have done or want to review: a free account, no password, keeps your ticks and your right answers from one visit to the next, tells you which chapter to tackle next and lets you ask for the exercise you are missing. Create your space, an email is enough.

Calculations: integrals on symmetric intervals

Exercise 0.2: Odd, even or neither: ten direct calculations

10 answers to check

Evaluate each integral exactly, using symmetry wherever it applies. On [−a,a][-a, a], with ff continuous: if ff is odd, ∫−aaf(x) dx=0\int_{-a}^{a} f(x)\,dx = 0; if ff is even, ∫−aaf(x) dx=2∫0af(x) dx\int_{-a}^{a} f(x)\,dx = 2\int_0^a f(x)\,dx.

Before using a rule, test it: replace xx by −x-x in the integrand. A sum is split into its odd part and its even part, which sometimes requires expanding first; a product of two odd functions is even. Three lines below are traps.

  • a) ∫−22(x3−4x+1) dx\int_{-2}^{2} (x^3 - 4x + 1)\,dx
  • b) ∫−11(5x4+x3cos⁡x) dx\int_{-1}^{1} (5x^4 + x^3\cos x)\,dx
  • c) ∫−ln⁡2ln⁡2(ex−e−x) dx\int_{-\ln 2}^{\ln 2} (e^x - e^{-x})\,dx
  • d) ∫−ln⁡3ln⁡3(ex+e−x) dx\int_{-\ln 3}^{\ln 3} (e^x + e^{-x})\,dx
  • e) ∫−11(x+1)3 dx\int_{-1}^{1} (x + 1)^3\,dx
  • f) ∫−π/2π/2sin⁡5x ecos⁡x dx\int_{-\pi/2}^{\pi/2} \sin^5 x\,e^{\cos x}\,dx
  • g) ∫−332+x51+x2 dx\int_{-\sqrt 3}^{\sqrt 3} \frac{2 + x^5}{1 + x^2}\,dx
  • h) ∫−11(x ex4+x2+1)dx\int_{-1}^{1} \left(x\,e^{x^4} + x^2 + 1\right)dx
  • i) ∫02(x−1)3 dx\int_0^2 (x - 1)^3\,dx, with u=x−1u = x - 1 first
  • j) ∫−11(x2−3x)2 dx\int_{-1}^{1} (x^2 - 3x)^2\,dx

Type your answers, the page tells you right or wrong 0/10

a)
b)
c)
d)
e)
f)
g)
h)
i)
j)
Show the solution

Answers

  • a) 44
  • b) 22
  • c) 00
  • d) 163≈5.3333\frac{16}{3} \approx 5.3333
  • e) 44 (the integrand is neither odd nor even)
  • f) 00
  • g) 4π3≈4.1888\frac{4\pi}{3} \approx 4.1888
  • h) 83≈2.6667\frac{8}{3} \approx 2.6667
  • i) 00
  • j) 325=6.4\frac{32}{5} = 6.4

The test, every time: compute f(−x)f(-x). If it equals −f(x)-f(x), the integral over [−a,a][-a, a] is 00; if it equals f(x)f(x), integrate over [0,a][0, a] and double. If neither, split the integrand into pieces that are.

a)

x3−4xx^3 - 4x is odd, 11 is even.

∫−22(x3−4x) dx=0\int_{-2}^{2}(x^3 - 4x)\,dx = 0 and ∫−221 dx=4\int_{-2}^2 1\,dx = 4, so the integral is 44.

b)

x3cos⁡xx^3\cos x is odd (odd times even), 5x45x^4 is even.

2∫015x4 dx=2[x5]01=2\displaystyle 2\int_0^1 5x^4\,dx = 2\left[x^5\right]_0^1 = 2
c)

With f(x)=ex−e−xf(x) = e^x - e^{-x}: f(−x)=e−x−ex=−f(x)f(-x) = e^{-x} - e^{x} = -f(x), odd. The integral is 00.

d)

With f(x)=ex+e−xf(x) = e^x + e^{-x}: f(−x)=e−x+ex=f(x)f(-x) = e^{-x} + e^{x} = f(x), even, the partner of c).

2∫0ln⁡3(ex+e−x) dx=2[ex−e−x]0ln⁡3=2(3−13)=163\displaystyle 2\int_0^{\ln 3}(e^x + e^{-x})\,dx = 2\left[e^x - e^{-x}\right]_0^{\ln 3} = 2\left(3 - \frac{1}{3}\right) = \frac{16}{3}

e−ln⁡3=1eln⁡3=13e^{-\ln 3} = \frac{1}{e^{\ln 3}} = \frac{1}{3}: the exponent law is the step that goes wrong here.

e)

(x+1)3(x + 1)^3 is not odd: at x=1x = 1 it is 88, at x=−1x = -1 it is 00.

With u=x+1u = x + 1: ∫02u3 du=164=4\int_0^2 u^3\,du = \frac{16}{4} = 4.

Pitfall: the graph of (x+1)3(x + 1)^3 is the odd curve x3x^3 shifted by 11; shifted, it is symmetric about x=−1x = -1, not about 00.

f)

sin⁡5(−x)=−sin⁡5x\sin^5(-x) = -\sin^5 x and ecos⁡(−x)=ecos⁡xe^{\cos(-x)} = e^{\cos x}: odd times even is odd. The integral is 00.

No antiderivative is needed, which is the point: this one has no short one.

g)

Split: x51+x2\frac{x^5}{1 + x^2} is odd, 21+x2\frac{2}{1 + x^2} is even.

2∫0321+x2 dx=4arctan⁡3=4⋅π3=4π3≈4.1888\displaystyle 2\int_0^{\sqrt 3}\frac{2}{1 + x^2}\,dx = 4\arctan\sqrt 3 = 4 \cdot \frac{\pi}{3} = \frac{4\pi}{3} \approx 4.1888

arctan⁡3=π3\arctan\sqrt 3 = \frac{\pi}{3} because tan⁡π3=3\tan\frac{\pi}{3} = \sqrt 3, with π3\frac{\pi}{3} in (−π2,π2)\left(-\frac{\pi}{2}, \frac{\pi}{2}\right).

h)

x ex4x\,e^{x^4} is odd (odd times even) and contributes 00, although it has no elementary antiderivative.

x2+1x^2 + 1 is even: 2∫01(x2+1) dx=2(13+1)=832\int_0^1 (x^2 + 1)\,dx = 2\left(\frac{1}{3} + 1\right) = \frac{8}{3}.

i)

u=x−1u = x - 1, du=dxdu = dx; x=0⇒u=−1x = 0 \Rightarrow u = -1, x=2⇒u=1x = 2 \Rightarrow u = 1.

∫−11u3 du=0\int_{-1}^{1}u^3\,du = 0, since u3u^3 is odd. The substitution moved the interval so that it became symmetric.

j)

Expand first: (x2−3x)2=x4−6x3+9x2(x^2 - 3x)^2 = x^4 - 6x^3 + 9x^2. The term −6x3-6x^3 is odd.

2∫01(x4+9x2) dx=2(15+3)=325\displaystyle 2\int_0^1(x^4 + 9x^2)\,dx = 2\left(\frac{1}{5} + 3\right) = \frac{32}{5}

Pitfall: (x2−3x)2(x^2 - 3x)^2 itself is neither odd nor even (1616 at x=−1x = -1, 44 at x=1x = 1). Only its expanded pieces are.

Part A: the basics (/50)

Exercise 1: Change the bounds: u, du and both new bounds on one line

5 answers to check

Thomas 5.6, Substitution in Definite Integrals: if g′g' is continuous on [a,b][a, b] and ff is continuous on the range of g(x)=ug(x) = u, 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. The bounds of the new integral are the values of uu at the old bounds, in the same order, even when g(b)<g(a)g(b) < g(a).

Begin every part with one line that holds the three changes: u=…u = \ldots, du=… dxdu = \ldots\,dx, and the two new bounds. The figure shows the integrand of part b) over [0,π2][0, \frac{\pi}{2}] (blue) and the integrand 1u2\frac{1}{u^2} it becomes over [3,4][3, 4] (orange): two different regions with the same area.

0.511.522.533.544.50.020.040.060.080.10.120.14y = sin x / (3 + cos x)²y = 1/u²x from 0 to π/2u from 3 to 4
  • a) Evaluate ∫07xx2+13 dx\int_0^{\sqrt 7} x\sqrt[3]{x^2 + 1}\,dx. Give the exact answer.
  • b) Evaluate ∫0π/2sin⁡x(3+cos⁡x)2 dx\int_0^{\pi/2} \frac{\sin x}{(3 + \cos x)^2}\,dx. The new bounds come out in decreasing order: write what happens to the minus sign of dudu, and check your answer against the figure.
  • c) Evaluate ∫1eπ/4sec⁡2(ln⁡x)x dx\int_1^{e^{\pi/4}} \frac{\sec^2(\ln x)}{x}\,dx.
  • d) Evaluate ∫−11x+1x2+2x+5 dx\int_{-1}^{1} \frac{x + 1}{\sqrt{x^2 + 2x + 5}}\,dx. Give the exact answer, then a decimal.
  • e) A student writes ∫0π/4tan⁡xsec⁡2x dx=∫0π/4u du=π232\int_0^{\pi/4} \tan x\sec^2 x\,dx = \int_0^{\pi/4} u\,du = \frac{\pi^2}{32}, with u=tan⁡xu = \tan x. Find the error and the correct value.

Type your answers, the page tells you right or wrong 0/5

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) 458=5.625\frac{45}{8} = 5.625
  • b) 112≈0.0833\frac{1}{12} \approx 0.0833, positive like the integrand
  • c) 11
  • d) 22−2≈0.82842\sqrt 2 - 2 \approx 0.8284
  • e) The bounds stayed in xx; the correct value is 12\frac{1}{2}, not π232≈0.3084\frac{\pi^2}{32} \approx 0.3084
a)

u=x2+1u = x^2 + 1, du=2x dxdu = 2x\,dx; x=0⇒u=1x = 0 \Rightarrow u = 1, x=7⇒u=8x = \sqrt 7 \Rightarrow u = 8.

∫07x(x2+1)1/3 dx=12∫18u1/3 du=12⋅34[u4/3]18\displaystyle \int_0^{\sqrt 7} x(x^2 + 1)^{1/3}\,dx = \frac{1}{2}\int_1^8 u^{1/3}\,du = \frac{1}{2}\cdot\frac{3}{4}\left[u^{4/3}\right]_1^8

84/3=(83)4=24=168^{4/3} = \left(\sqrt[3]{8}\right)^4 = 2^4 = 16, so the value is 38(16−1)=458\frac{3}{8}(16 - 1) = \frac{45}{8}.

The cube root became the power 13\frac{1}{3} before integrating; 13+1=43\frac{1}{3} + 1 = \frac{4}{3}, and dividing by 43\frac{4}{3} multiplies by 34\frac{3}{4}.

b)

u=3+cos⁡xu = 3 + \cos x, du=−sin⁡x dxdu = -\sin x\,dx; x=0⇒u=4x = 0 \Rightarrow u = 4, x=π2⇒u=3x = \frac{\pi}{2} \Rightarrow u = 3.

∫0π/2sin⁡x(3+cos⁡x)2 dx=∫43−duu2=∫34u−2 du=[−1u]34=−14+13=112\displaystyle \int_0^{\pi/2}\frac{\sin x}{(3 + \cos x)^2}\,dx = \int_4^3 \frac{-du}{u^2} = \int_3^4 u^{-2}\,du = \left[-\frac{1}{u}\right]_3^4 = -\frac{1}{4} + \frac{1}{3} = \frac{1}{12}

The minus sign of dudu and the reversed bounds cancel through ∫43=−∫34\int_4^3 = -\int_3^4.

On the figure the integrand is positive on (0,π2]\left(0, \frac{\pi}{2}\right], so the integral must be positive, and the orange region over [3,4][3, 4] has the same area 112\frac{1}{12}.

Pitfall: writing ∫34−duu2\int_3^4 \frac{-du}{u^2}, the bounds put in increasing order and the minus kept, gives −112-\frac{1}{12}.

c)

u=ln⁡xu = \ln x, du=dxxdu = \frac{dx}{x}; x=1⇒u=ln⁡1=0x = 1 \Rightarrow u = \ln 1 = 0, x=eπ/4⇒u=ln⁡eπ/4=π4x = e^{\pi/4} \Rightarrow u = \ln e^{\pi/4} = \frac{\pi}{4}.

∫0π/4sec⁡2u du=tan⁡π4−tan⁡0=1\displaystyle \int_0^{\pi/4}\sec^2 u\,du = \tan\frac{\pi}{4} - \tan 0 = 1

The new upper bound is the exponent: ln⁡ek=k\ln e^{k} = k. That is why the bound was written as a power of ee.

d)

u=x2+2x+5u = x^2 + 2x + 5, du=(2x+2) dx=2(x+1) dxdu = (2x + 2)\,dx = 2(x + 1)\,dx; x=−1⇒u=1−2+5=4x = -1 \Rightarrow u = 1 - 2 + 5 = 4, x=1⇒u=8x = 1 \Rightarrow u = 8.

∫−11x+1x2+2x+5 dx=12∫48u−1/2 du=[u]48=8−2=22−2≈0.8284\displaystyle \int_{-1}^1 \frac{x + 1}{\sqrt{x^2 + 2x + 5}}\,dx = \frac{1}{2}\int_4^8 u^{-1/2}\,du = \left[\sqrt u\right]_4^8 = \sqrt 8 - 2 = 2\sqrt 2 - 2 \approx 0.8284

The numerator x+1x + 1 is half of u′=2x+2u' = 2x + 2: factoring the 22 out of u′u' is what shows it.

e)

With u=tan⁡xu = \tan x, du=sec⁡2x dxdu = \sec^2 x\,dx is right, but the bounds were left in xx.

x=0⇒u=0x = 0 \Rightarrow u = 0 and x=π4⇒u=tan⁡π4=1x = \frac{\pi}{4} \Rightarrow u = \tan\frac{\pi}{4} = 1, so ∫01u du=12\int_0^1 u\,du = \frac{1}{2}.

The student's π232≈0.3084\frac{\pi^2}{32} \approx 0.3084 integrates uu from 00 to π4\frac{\pi}{4}, whereas u=tan⁡xu = \tan x runs from 00 to 11.

Route back to xx instead: [tan⁡2x2]0π/4=12\left[\frac{\tan^2 x}{2}\right]_0^{\pi/4} = \frac{1}{2}, the same value.

Exercise 2: Back to x or new bounds, and the x that survives

5 answers to check

A definite integral by substitution has two correct routes. Route 1: find an antiderivative in xx (substitute, integrate, return to xx), then evaluate at the original bounds. Route 2: convert the bounds and never return to xx. Thomas compares them once in 5.6; afterwards route 2 is the shorter one.

Sometimes, after dudu has absorbed what it can, an xx is left over. It is not a constant: solve u=g(x)u = g(x) for it (x=u+1x = u + 1, x2=u−1x^2 = u - 1) and replace it, then split the fraction you obtain before integrating.

  • a) Evaluate ∫0π/2cos⁡x (1+sin⁡x)3 dx\int_0^{\pi/2} \cos x\,(1 + \sin x)^3\,dx by route 1, then by route 2.
  • b) Evaluate ∫25x(x−1)3 dx\int_2^5 \frac{x}{(x - 1)^3}\,dx with u=x−1u = x - 1.
  • c) Evaluate ∫01x3(x2+1)4 dx\int_0^1 x^3(x^2 + 1)^4\,dx. Explain how the factor x3x^3 is split.
  • d) Evaluate ∫14dxx+x\int_1^4 \frac{dx}{x + \sqrt x} with u=xu = \sqrt x. Here it is dxdx itself that must be rewritten.
  • e) In b), a student writes ∫25x(x−1)3 dx=∫25u+1u3 du\int_2^5 \frac{x}{(x - 1)^3}\,dx = \int_2^5 \frac{u + 1}{u^3}\,du. Find the number he obtains and name his error.

Type your answers, the page tells you right or wrong 0/5

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) 154=3.75\frac{15}{4} = 3.75 by both routes
  • b) 3932≈1.2188\frac{39}{32} \approx 1.2188
  • c) 4320=2.15\frac{43}{20} = 2.15
  • d) 2ln⁡32≈0.81092\ln\frac{3}{2} \approx 0.8109
  • e) He gets 81200=0.405\frac{81}{200} = 0.405: new integrand, old bounds
a)

Route 1: with u=1+sin⁡xu = 1 + \sin x, du=cos⁡x dxdu = \cos x\,dx, ∫cos⁡x (1+sin⁡x)3 dx=(1+sin⁡x)44+C\int \cos x\,(1 + \sin x)^3\,dx = \frac{(1 + \sin x)^4}{4} + C.

At the original bounds: (1+1)44−(1+0)44=4−14=154\frac{(1 + 1)^4}{4} - \frac{(1 + 0)^4}{4} = 4 - \frac{1}{4} = \frac{15}{4}.

Route 2: x=0⇒u=1x = 0 \Rightarrow u = 1, x=π2⇒u=2x = \frac{\pi}{2} \Rightarrow u = 2, and ∫12u3 du=16−14=154\int_1^2 u^3\,du = \frac{16 - 1}{4} = \frac{15}{4}.

Same number, and route 2 never writes sin⁡x\sin x again.

b)

u=x−1u = x - 1, du=dxdu = dx; x=2⇒u=1x = 2 \Rightarrow u = 1, x=5⇒u=4x = 5 \Rightarrow u = 4; the leftover xx is u+1u + 1.

∫14u+1u3 du=∫14(u−2+u−3)du=[−1u−12u2]14\displaystyle \int_1^4 \frac{u + 1}{u^3}\,du = \int_1^4 \left(u^{-2} + u^{-3}\right)du = \left[-\frac{1}{u} - \frac{1}{2u^2}\right]_1^4
=(−14−132)−(−1−12)=−932+4832=3932\displaystyle = \left(-\frac{1}{4} - \frac{1}{32}\right) - \left(-1 - \frac{1}{2}\right) = -\frac{9}{32} + \frac{48}{32} = \frac{39}{32}

Splitting u+1u3\frac{u + 1}{u^3} into two powers is the algebra that makes the integral elementary.

c)

u=x2+1u = x^2 + 1, du=2x dxdu = 2x\,dx; x=0⇒u=1x = 0 \Rightarrow u = 1, x=1⇒u=2x = 1 \Rightarrow u = 2.

Split x3=x2⋅xx^3 = x^2 \cdot x: the factor xx goes with dxdx into du2\frac{du}{2}, and x2=u−1x^2 = u - 1.

12∫12(u−1)u4 du=12[u66−u55]12=12[(646−325)−(16−15)]\displaystyle \frac{1}{2}\int_1^2 (u - 1)u^4\,du = \frac{1}{2}\left[\frac{u^6}{6} - \frac{u^5}{5}\right]_1^2 = \frac{1}{2}\left[\left(\frac{64}{6} - \frac{32}{5}\right) - \left(\frac{1}{6} - \frac{1}{5}\right)\right]
=12(636−315)=12⋅315−18630=12960=4320\displaystyle = \frac{1}{2}\left(\frac{63}{6} - \frac{31}{5}\right) = \frac{1}{2}\cdot\frac{315 - 186}{30} = \frac{129}{60} = \frac{43}{20}

Expanding (x2+1)4(x^2 + 1)^4 also works, at the price of five terms.

d)

u=xu = \sqrt x, so x=u2x = u^2 and dx=2u dudx = 2u\,du; x=1⇒u=1x = 1 \Rightarrow u = 1, x=4⇒u=2x = 4 \Rightarrow u = 2.

x+x=u2+u=u(u+1)x + \sqrt x = u^2 + u = u(u + 1), so ∫122u duu(u+1)=2∫12duu+1=2[ln⁡(u+1)]12=2ln⁡32≈0.8109\int_1^2 \frac{2u\,du}{u(u + 1)} = 2\int_1^2 \frac{du}{u + 1} = 2\left[\ln(u + 1)\right]_1^2 = 2\ln\frac{3}{2} \approx 0.8109

Factoring uu out of u2+uu^2 + u is the step that cancels the uu of dxdx.

e)

He replaced the integrand and dxdx but kept the bounds 22 and 55 of xx:

∫25(u−2+u−3)du=(−15−150)−(−12−18)=−1150+58=81200\displaystyle \int_2^5 \left(u^{-2} + u^{-3}\right)du = \left(-\frac{1}{5} - \frac{1}{50}\right) - \left(-\frac{1}{2} - \frac{1}{8}\right) = -\frac{11}{50} + \frac{5}{8} = \frac{81}{200}

The other mixture is just as wrong: returning to xx and then evaluating at the bounds 11 and 44 of uu.

Pitfall: one integral, one variable. Bounds and integrand change together, or not at all.

Exercise 3: New bounds that are logarithms, arctangents and arcsines

7 answers to check

After a substitution the integral in uu is often one of the three formulas ∫duu=ln⁡∣u∣+C\int \frac{du}{u} = \ln|u| + C, ∫du1+u2=arctan⁡u+C\int \frac{du}{1 + u^2} = \arctan u + C, ∫du1−u2=arcsin⁡u+C\int \frac{du}{\sqrt{1 - u^2}} = \arcsin u + C. The answer is then an exact value of ln⁡\ln, arctan⁡\arctan or arcsin⁡\arcsin, and the examination asks for it exactly.

The values to know: arctan⁡1=π4\arctan 1 = \frac{\pi}{4}, arctan⁡3=π3\arctan\sqrt 3 = \frac{\pi}{3}, arctan⁡13=π6\arctan\frac{1}{\sqrt 3} = \frac{\pi}{6}, arcsin⁡12=π6\arcsin\frac{1}{2} = \frac{\pi}{6}, arcsin⁡22=π4\arcsin\frac{\sqrt 2}{2} = \frac{\pi}{4}, arcsin⁡1=π2\arcsin 1 = \frac{\pi}{2}. A constant a2a^2 in place of 11 is removed by a second substitution u=awu = aw.

  • a) Evaluate ∫01x+1x2+2x+2 dx\int_0^1 \frac{x + 1}{x^2 + 2x + 2}\,dx. Is an absolute value needed?
  • b) Evaluate ∫19dxx (3+x)\int_1^9 \frac{dx}{\sqrt x\,(3 + x)} with u=xu = \sqrt x.
  • c) Evaluate ∫02x316+x8 dx\int_0^{\sqrt 2} \frac{x^3}{16 + x^8}\,dx.
  • d) Evaluate ∫01/2arcsin⁡x1−x2 dx\int_0^{1/2} \frac{\arcsin x}{\sqrt{1 - x^2}}\,dx.
  • e) Evaluate ∫π/2πcos⁡xsin⁡x−2 dx\int_{\pi/2}^{\pi} \frac{\cos x}{\sin x - 2}\,dx. Is an absolute value needed this time?

Type your answers, the page tells you right or wrong 0/7

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) 12ln⁡52≈0.4581\frac{1}{2}\ln\frac{5}{2} \approx 0.4581; no absolute value, u≥2u \ge 2
  • b) π33≈0.6046\frac{\pi}{3\sqrt 3} \approx 0.6046
  • c) π64≈0.0491\frac{\pi}{64} \approx 0.0491
  • d) π272≈0.1371\frac{\pi^2}{72} \approx 0.1371
  • e) ln⁡2≈0.6931\ln 2 \approx 0.6931; yes, u<0u < 0 on the interval
a)

u=x2+2x+2u = x^2 + 2x + 2, du=2(x+1) dxdu = 2(x + 1)\,dx; x=0⇒u=2x = 0 \Rightarrow u = 2, x=1⇒u=5x = 1 \Rightarrow u = 5.

12∫25duu=12(ln⁡5−ln⁡2)=12ln⁡52≈0.4581\displaystyle \frac{1}{2}\int_2^5 \frac{du}{u} = \frac{1}{2}(\ln 5 - \ln 2) = \frac{1}{2}\ln\frac{5}{2} \approx 0.4581

u=(x+1)2+1≥1>0u = (x + 1)^2 + 1 \ge 1 > 0 for every xx: the absolute value of ln⁡∣u∣\ln|u| can be dropped. Completing the square shows it.

b)

u=xu = \sqrt x, du=dx2xdu = \frac{dx}{2\sqrt x}, and x=u2x = u^2; x=1⇒u=1x = 1 \Rightarrow u = 1, x=9⇒u=3x = 9 \Rightarrow u = 3.

∫19dxx (3+x)=2∫13du3+u2\int_1^9 \frac{dx}{\sqrt x\,(3 + x)} = 2\int_1^3 \frac{du}{3 + u^2}, and ∫du3+u2=13arctan⁡u3+C\int\frac{du}{3 + u^2} = \frac{1}{\sqrt 3}\arctan\frac{u}{\sqrt 3} + C (by u=3 wu = \sqrt 3\,w).

23(arctan⁡3−arctan⁡13)=23(π3−π6)=π33≈0.6046\displaystyle \frac{2}{\sqrt 3}\left(\arctan\sqrt 3 - \arctan\frac{1}{\sqrt 3}\right) = \frac{2}{\sqrt 3}\left(\frac{\pi}{3} - \frac{\pi}{6}\right) = \frac{\pi}{3\sqrt 3} \approx 0.6046

The 3+x3 + x of the denominator became 3+u23 + u^2: the leftover xx was rewritten as u2u^2.

c)

u=x4u = x^4, du=4x3 dxdu = 4x^3\,dx, x8=u2x^8 = u^2; x=0⇒u=0x = 0 \Rightarrow u = 0, x=2⇒u=(2)4=4x = \sqrt 2 \Rightarrow u = (\sqrt 2)^4 = 4; the integral becomes 14∫04du16+u2\frac{1}{4}\int_0^4 \frac{du}{16 + u^2}.

Second substitution u=4wu = 4w, du=4 dwdu = 4\,dw, 16+u2=16(1+w2)16 + u^2 = 16(1 + w^2); u=0⇒w=0u = 0 \Rightarrow w = 0, u=4⇒w=1u = 4 \Rightarrow w = 1.

14∫014 dw16(1+w2)=116arctan⁡1=π64≈0.0491\displaystyle \frac{1}{4}\int_0^1 \frac{4\,dw}{16(1 + w^2)} = \frac{1}{16}\arctan 1 = \frac{\pi}{64} \approx 0.0491

Pitfall: writing 14∫04du16+u2=14arctan⁡4\frac{1}{4}\int_0^4 \frac{du}{16 + u^2} = \frac{1}{4}\arctan 4, as if the 1616 were a 11; the factor 14\frac{1}{4} and the argument u4\frac{u}{4} are both lost.

d)

u=arcsin⁡xu = \arcsin x, du=dx1−x2du = \frac{dx}{\sqrt{1 - x^2}}; x=0⇒u=0x = 0 \Rightarrow u = 0, x=12⇒u=arcsin⁡12=π6x = \frac{1}{2} \Rightarrow u = \arcsin\frac{1}{2} = \frac{\pi}{6}.

∫0π/6u du=12(π6)2=π272≈0.1371\displaystyle \int_0^{\pi/6} u\,du = \frac{1}{2}\left(\frac{\pi}{6}\right)^2 = \frac{\pi^2}{72} \approx 0.1371

The function and its derivative both sit in the integrand: the function itself is uu.

e)

u=sin⁡x−2u = \sin x - 2, du=cos⁡x dxdu = \cos x\,dx; x=π2⇒u=−1x = \frac{\pi}{2} \Rightarrow u = -1, x=π⇒u=−2x = \pi \Rightarrow u = -2.

∫−1−2duu=[ln⁡∣u∣]−1−2=ln⁡2−ln⁡1=ln⁡2≈0.6931\displaystyle \int_{-1}^{-2}\frac{du}{u} = \left[\ln|u|\right]_{-1}^{-2} = \ln 2 - \ln 1 = \ln 2 \approx 0.6931

Here u<0u < 0 on the whole interval: ln⁡u\ln u does not exist there, and ln⁡∣u∣\ln|u| is the antiderivative of 1u\frac{1}{u} on (−∞,0)(-\infty, 0).

Sign check: on (π2,π)\left(\frac{\pi}{2}, \pi\right), cos⁡x<0\cos x < 0 and sin⁡x−2<0\sin x - 2 < 0, so the integrand is positive, like ln⁡2\ln 2.

Exercise 4: Odd and even integrands: prove the rule once, then use it

4 answers to check

Thomas 5.6, Theorem 8: let ff be continuous on the symmetric interval [−a,a][-a, a]. If ff is even, ∫−aaf(x) dx=2∫0af(x) dx\int_{-a}^a f(x)\,dx = 2\int_0^a f(x)\,dx; if ff is odd, ∫−aaf(x) dx=0\int_{-a}^a f(x)\,dx = 0. Both cases rest on one substitution, u=−xu = -x.

The figure shows y=ex3y = e^{x^3} on [−1,1][-1, 1] for part d).

−1.5−1−0.50.511.50.511.522.53y = exp(x³)y = 1x
  • a) Prove the even case: split ∫−aa\int_{-a}^a at 00 and use u=−xu = -x on the piece over [−a,0][-a, 0]. Say where the continuity of ff on [−a,a][-a, a] is used.
  • b) Evaluate ∫−π/4π/4(x5+1)sec⁡2x dx\int_{-\pi/4}^{\pi/4} (x^5 + 1)\sec^2 x\,dx.
  • c) Evaluate ∫−11x2+arctan⁡x1+x6 dx\int_{-1}^{1} \frac{x^2 + \arctan x}{1 + x^6}\,dx. Give the exact answer.
  • d) A student writes: “x3x^3 is odd, so ∫−11ex3 dx=0\int_{-1}^1 e^{x^3}\,dx = 0.” Is this true? Using the splitting of a), show that the integral is at least 22.
  • e) The interval [0,π][0, \pi] is not symmetric about 00. Use u=x−π2u = x - \frac{\pi}{2} to evaluate ∫0πcos⁡3x esin⁡x dx\int_0^{\pi} \cos^3 x\,e^{\sin x}\,dx without any antiderivative.

Type your answers, the page tells you right or wrong 0/4

b)
c)
d)
e)
Show the solution

Answers

  • a) ∫−a0f(x) dx=∫0af(−u) du=∫0af(u) du\int_{-a}^0 f(x)\,dx = \int_0^a f(-u)\,du = \int_0^a f(u)\,du, so ∫−aaf=2∫0af\int_{-a}^a f = 2\int_0^a f
  • b) 22
  • c) π6≈0.5236\frac{\pi}{6} \approx 0.5236
  • d) False: ex3e^{x^3} is neither odd nor even, and ∫−11ex3 dx=∫01(ex3+e−x3)dx≥2\int_{-1}^1 e^{x^3}\,dx = \int_0^1 \left(e^{x^3} + e^{-x^3}\right)dx \ge 2
  • e) 00
a)

∫−aaf(x) dx=∫−a0f(x) dx+∫0af(x) dx\int_{-a}^a f(x)\,dx = \int_{-a}^0 f(x)\,dx + \int_0^a f(x)\,dx.

In the first one, u=−xu = -x, du=−dxdu = -dx; x=−a⇒u=ax = -a \Rightarrow u = a, x=0⇒u=0x = 0 \Rightarrow u = 0:

∫−a0f(x) dx=∫a0f(−u)(−du)=∫0af(−u) du=∫0af(u) du\int_{-a}^0 f(x)\,dx = \int_a^0 f(-u)(-du) = \int_0^a f(-u)\,du = \int_0^a f(u)\,du, since f(−u)=f(u)f(-u) = f(u).

Hence ∫−aaf(x) dx=2∫0af(x) dx\int_{-a}^a f(x)\,dx = 2\int_0^a f(x)\,dx; the name of the variable in a definite integral does not matter.

Continuity on [−a,a][-a, a] guarantees that both integrals exist, and it is the hypothesis of the substitution rule on the range of uu. The odd case is the same computation with f(−u)=−f(u)f(-u) = -f(u), which gives −∫0af+∫0af=0-\int_0^a f + \int_0^a f = 0.

b)

x5sec⁡2xx^5\sec^2 x is odd (odd times even); sec⁡2x\sec^2 x is even.

2∫0π/4sec⁡2x dx=2[tan⁡x]0π/4=2\displaystyle 2\int_0^{\pi/4}\sec^2 x\,dx = 2\left[\tan x\right]_0^{\pi/4} = 2

The odd part has no antiderivative of a few lines; symmetry removes it without one.

c)

arctan⁡x1+x6\frac{\arctan x}{1 + x^6} is odd, since arctan⁡(−x)=−arctan⁡x\arctan(-x) = -\arctan x; x21+x6\frac{x^2}{1 + x^6} is even.

2∫01x21+x6 dx2\int_0^1 \frac{x^2}{1 + x^6}\,dx, with u=x3u = x^3, du=3x2 dxdu = 3x^2\,dx, uu from 00 to 11: 23∫01du1+u2=23⋅π4=π6\frac{2}{3}\int_0^1 \frac{du}{1 + u^2} = \frac{2}{3}\cdot\frac{\pi}{4} = \frac{\pi}{6}

x6=(x3)2=u2x^6 = (x^3)^2 = u^2: reading the power as a square is the step that brings out the arctangent.

d)

False. A function of an odd function need not be odd: e(−x)3=e−x3e^{(-x)^3} = e^{-x^3}, which is neither ex3e^{x^3} nor −ex3-e^{x^3}.

Also, ex3>0e^{x^3} > 0 everywhere, so its integral over [−1,1][-1, 1] is positive.

Splitting as in a): ∫−11ex3 dx=∫01e−u3 du+∫01ex3 dx=∫01(ex3+e−x3)dx\int_{-1}^1 e^{x^3}\,dx = \int_0^1 e^{-u^3}\,du + \int_0^1 e^{x^3}\,dx = \int_0^1\left(e^{x^3} + e^{-x^3}\right)dx.

For every real tt, et+e−t−2=(et/2−e−t/2)2≥0e^t + e^{-t} - 2 = \left(e^{t/2} - e^{-t/2}\right)^2 \ge 0, so the integrand is at least 22 and the integral is at least 22.

The figure agrees: the area under the curve is more than the rectangle of height 11 and width 22.

e)

u=x−π2u = x - \frac{\pi}{2}, du=dxdu = dx; x=0⇒u=−π2x = 0 \Rightarrow u = -\frac{\pi}{2}, x=π⇒u=π2x = \pi \Rightarrow u = \frac{\pi}{2}.

cos⁡(u+π2)=−sin⁡u\cos\left(u + \frac{\pi}{2}\right) = -\sin u and sin⁡(u+π2)=cos⁡u\sin\left(u + \frac{\pi}{2}\right) = \cos u, so the integral becomes −∫−π/2π/2sin⁡3u ecos⁡u du=0-\int_{-\pi/2}^{\pi/2}\sin^3 u\,e^{\cos u}\,du = 0: sin⁡3u\sin^3 u is odd and ecos⁡ue^{\cos u} is even.

The shift moved the midpoint π2\frac{\pi}{2} of the interval to 00, where the symmetry can be used.

Another route: with cos⁡3x=(1−sin⁡2x)cos⁡x\cos^3 x = (1 - \sin^2 x)\cos x and u=sin⁡xu = \sin x, both bounds become 00. The substitution rule asks for g′g' continuous, not for gg one-to-one.

Exercise 5: A function known only by its graph: the substitution reads the answer

5 answers to check

A function ff has a continuous derivative on [0,4][0, 4]. Nothing is known about it except its graph, below: the five marked points (0,2)(0, 2), (1,5)(1, 5), (2,4)(2, 4), (3,1)(3, 1) and (4,3)(4, 3) lie on grid points.

No formula, so no antiderivative can be found by hand. Each integral below becomes, after a substitution with converted bounds, ∫cdf′(u) du\int_c^d f'(u)\,du, which the Fundamental Theorem, Part 2, evaluates as f(d)−f(c)f(d) - f(c): two values read on the graph.

0.511.522.533.544.5123456y = f(x)x
  • a) Evaluate ∫02x f′(x2) dx\int_0^2 x\,f'(x^2)\,dx.
  • b) Evaluate ∫1e3f′(ln⁡x)x dx\int_1^{e^3} \frac{f'(\ln x)}{x}\,dx.
  • c) Evaluate ∫0π/2cos⁡x f′(1+2sin⁡x) dx\int_0^{\pi/2} \cos x\,f'(1 + 2\sin x)\,dx.
  • d) Evaluate ∫13f(x) f′(x) dx\int_1^3 f(x)\,f'(x)\,dx.
  • e) Evaluate ∫14f′(x)x dx\int_1^4 \frac{f'(\sqrt x)}{\sqrt x}\,dx.

Type your answers, the page tells you right or wrong 0/5

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) f(4)−f(0)2=12\frac{f(4) - f(0)}{2} = \frac{1}{2}
  • b) f(3)−f(0)=−1f(3) - f(0) = -1
  • c) f(3)−f(1)2=−2\frac{f(3) - f(1)}{2} = -2
  • d) f(3)2−f(1)22=−12\frac{f(3)^2 - f(1)^2}{2} = -12
  • e) 2(f(2)−f(1))=−22\left(f(2) - f(1)\right) = -2

Each time the same three moves: choose uu as the inside of f′f', convert the bounds, apply ∫cdf′(u) du=f(d)−f(c)\int_c^d f'(u)\,du = f(d) - f(c), which holds because f′f' is continuous.

a)

u=x2u = x^2, du=2x dxdu = 2x\,dx; x=0⇒u=0x = 0 \Rightarrow u = 0, x=2⇒u=4x = 2 \Rightarrow u = 4.

∫02x f′(x2) dx=12∫04f′(u) du=12(f(4)−f(0))=3−22=12\displaystyle \int_0^2 x\,f'(x^2)\,dx = \frac{1}{2}\int_0^4 f'(u)\,du = \frac{1}{2}\left(f(4) - f(0)\right) = \frac{3 - 2}{2} = \frac{1}{2}
b)

u=ln⁡xu = \ln x, du=dxxdu = \frac{dx}{x}; x=1⇒u=0x = 1 \Rightarrow u = 0, x=e3⇒u=3x = e^3 \Rightarrow u = 3.

∫03f′(u) du=f(3)−f(0)=1−2=−1\displaystyle \int_0^3 f'(u)\,du = f(3) - f(0) = 1 - 2 = -1

The bound e3e^3 gives u=3u = 3, a point of the graph; reading ff at e3≈20e^3 \approx 20 would leave the figure.

c)

u=1+2sin⁡xu = 1 + 2\sin x, du=2cos⁡x dxdu = 2\cos x\,dx; x=0⇒u=1x = 0 \Rightarrow u = 1, x=π2⇒u=3x = \frac{\pi}{2} \Rightarrow u = 3.

12∫13f′(u) du=f(3)−f(1)2=1−52=−2\displaystyle \frac{1}{2}\int_1^3 f'(u)\,du = \frac{f(3) - f(1)}{2} = \frac{1 - 5}{2} = -2
d)

u=f(x)u = f(x), du=f′(x) dxdu = f'(x)\,dx; x=1⇒u=f(1)=5x = 1 \Rightarrow u = f(1) = 5, x=3⇒u=f(3)=1x = 3 \Rightarrow u = f(3) = 1.

∫51u du=12−522=−12\displaystyle \int_5^1 u\,du = \frac{1^2 - 5^2}{2} = -12

The bounds in uu are values of ff, read on the graph. The answer is negative because ff decreases from 55 to 11 while staying positive: ff′<0f f' < 0 there.

e)

u=xu = \sqrt x, du=dx2xdu = \frac{dx}{2\sqrt x}; x=1⇒u=1x = 1 \Rightarrow u = 1, x=4⇒u=2x = 4 \Rightarrow u = 2.

2∫12f′(u) du=2(f(2)−f(1))=2(4−5)=−2\displaystyle 2\int_1^2 f'(u)\,du = 2\left(f(2) - f(1)\right) = 2(4 - 5) = -2

Pitfall: keeping the bounds 11 and 44 gives 2(f(4)−f(1))=−42(f(4) - f(1)) = -4.

Part B: problems and reasoning (/50)

Exercise 6: Two substitutions that both work, and the algebra that comes first

5 answers to check

The choice of uu is rarely unique. Two choices that both remove xx give the same number, through different algebra; the better one is the one whose integral in uu is shorter to finish.

Some integrands do not show their uu until they are rewritten: a double-angle identity, a sum recognized as the derivative of a denominator, a denominator recognized as a square.

  • a) Evaluate ∫03x3(x2+1)2 dx\int_0^{\sqrt 3} \frac{x^3}{(x^2 + 1)^2}\,dx with u=x2+1u = x^2 + 1.
  • b) Evaluate the same integral with u=x2u = x^2, and check that the two values agree. Which choice was shorter?
  • c) Evaluate ∫0π/2sin⁡2x1+sin⁡2x dx\int_0^{\pi/2} \frac{\sin 2x}{1 + \sin^2 x}\,dx.
  • d) Evaluate ∫01ex+1ex+x dx\int_0^1 \frac{e^x + 1}{e^x + x}\,dx.
  • e) Evaluate ∫122x+1x2(x+1)2 dx\int_1^2 \frac{2x + 1}{x^2(x + 1)^2}\,dx, by writing the denominator as the square of one polynomial.

Type your answers, the page tells you right or wrong 0/5

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) ln⁡2−38≈0.3181\ln 2 - \frac{3}{8} \approx 0.3181
  • b) The same value, ln⁡2−38\ln 2 - \frac{3}{8}; u=x2+1u = x^2 + 1 is shorter
  • c) ln⁡2≈0.6931\ln 2 \approx 0.6931
  • d) ln⁡(e+1)≈1.3133\ln(e + 1) \approx 1.3133
  • e) 13\frac{1}{3}
a)

u=x2+1u = x^2 + 1, du=2x dxdu = 2x\,dx, x2=u−1x^2 = u - 1; x=0⇒u=1x = 0 \Rightarrow u = 1, x=3⇒u=4x = \sqrt 3 \Rightarrow u = 4.

∫03x2⋅x dx(x2+1)2=12∫14u−1u2 du=12∫14(1u−1u2)du\displaystyle \int_0^{\sqrt 3}\frac{x^2 \cdot x\,dx}{(x^2 + 1)^2} = \frac{1}{2}\int_1^4 \frac{u - 1}{u^2}\,du = \frac{1}{2}\int_1^4\left(\frac{1}{u} - \frac{1}{u^2}\right)du
=12[ln⁡u+1u]14=12(ln⁡4+14−1)=ln⁡2−38≈0.3181\displaystyle = \frac{1}{2}\left[\ln u + \frac{1}{u}\right]_1^4 = \frac{1}{2}\left(\ln 4 + \frac{1}{4} - 1\right) = \ln 2 - \frac{3}{8} \approx 0.3181

12ln⁡4=ln⁡41/2=ln⁡2\frac{1}{2}\ln 4 = \ln 4^{1/2} = \ln 2: a law of logarithms finishes the line.

b)

u=x2u = x^2, du=2x dxdu = 2x\,dx; x=0⇒u=0x = 0 \Rightarrow u = 0, x=3⇒u=3x = \sqrt 3 \Rightarrow u = 3.

12∫03u(u+1)2 du\frac{1}{2}\int_0^3 \frac{u}{(u + 1)^2}\,du; write u=(u+1)−1u = (u + 1) - 1: u(u+1)2=1u+1−1(u+1)2\frac{u}{(u + 1)^2} = \frac{1}{u + 1} - \frac{1}{(u + 1)^2}.

12[ln⁡(u+1)+1u+1]03=12(ln⁡4+14−1)=ln⁡2−38\displaystyle \frac{1}{2}\left[\ln(u + 1) + \frac{1}{u + 1}\right]_0^3 = \frac{1}{2}\left(\ln 4 + \frac{1}{4} - 1\right) = \ln 2 - \frac{3}{8}

Same value. The choice u=x2+1u = x^2 + 1 put the whole denominator in uu, so the split was immediate; with u=x2u = x^2 the numerator had to be rewritten first.

c)

Identity first: sin⁡2x=2sin⁡xcos⁡x\sin 2x = 2\sin x\cos x, which is the derivative of 1+sin⁡2x1 + \sin^2 x.

u=1+sin⁡2xu = 1 + \sin^2 x, du=2sin⁡xcos⁡x dxdu = 2\sin x\cos x\,dx; x=0⇒u=1x = 0 \Rightarrow u = 1, x=π2⇒u=2x = \frac{\pi}{2} \Rightarrow u = 2.

∫12duu=ln⁡2≈0.6931\displaystyle \int_1^2 \frac{du}{u} = \ln 2 \approx 0.6931
d)

The numerator ex+1e^x + 1 is the derivative of the denominator ex+xe^x + x.

u=ex+xu = e^x + x, du=(ex+1) dxdu = (e^x + 1)\,dx; x=0⇒u=1x = 0 \Rightarrow u = 1, x=1⇒u=e+1x = 1 \Rightarrow u = e + 1.

∫1e+1duu=ln⁡(e+1)−ln⁡1=ln⁡(e+1)≈1.3133\displaystyle \int_1^{e + 1}\frac{du}{u} = \ln(e + 1) - \ln 1 = \ln(e + 1) \approx 1.3133
e)

x2(x+1)2=(x(x+1))2=(x2+x)2x^2(x + 1)^2 = \left(x(x + 1)\right)^2 = (x^2 + x)^2, and (x2+x)′=2x+1(x^2 + x)' = 2x + 1, the numerator.

u=x2+xu = x^2 + x, du=(2x+1) dxdu = (2x + 1)\,dx; x=1⇒u=2x = 1 \Rightarrow u = 2, x=2⇒u=6x = 2 \Rightarrow u = 6.

∫26u−2 du=12−16=13\displaystyle \int_2^6 u^{-2}\,du = \frac{1}{2} - \frac{1}{6} = \frac{1}{3}

Without this factorization the integral looks like a case for partial fractions, which come later, in Thomas 8.5.

Exercise 7: Shifts and periods: the substitution u = x − T

4 answers to check

A function ff is periodic of period T>0T > 0 when f(x+T)=f(x)f(x + T) = f(x) for every xx. A substitution that shifts the variable by TT moves an interval of length TT without changing the integral, and turns some long integrals into short ones.

The figure shows the function gg of period 22 equal to x2x^2 on [−1,1][-1, 1], with the region under it from x=−1x = -1 to x=3x = 3 shaded.

−2−112340.511.5y = g(x)x
  • a) Let ff be continuous and periodic of period TT, and a≥0a \ge 0. With u=x−Tu = x - T, prove that ∫Ta+Tf(x) dx=∫0af(x) dx\int_T^{a + T} f(x)\,dx = \int_0^a f(x)\,dx.
  • b) Deduce that for 0≤a≤T0 \le a \le T, ∫aa+Tf(x) dx=∫0Tf(x) dx\int_a^{a + T} f(x)\,dx = \int_0^T f(x)\,dx: every interval of length TT gives the same integral.
  • c) Evaluate ∫55+2πsin⁡x ecos⁡x dx\int_5^{5 + 2\pi} \sin x\,e^{\cos x}\,dx.
  • d) The fractional part s(x)=x−⌊x⌋s(x) = x - \lfloor x \rfloor has period 11 and equals xx on [0,1)[0, 1). Evaluate ∫0.34.3s(x) dx\int_{0.3}^{4.3} s(x)\,dx.
  • e) For the function gg of the figure, evaluate ∫−13g(x) dx\int_{-1}^{3} g(x)\,dx, then ∫1/25/2g(x) dx\int_{1/2}^{5/2} g(x)\,dx.

Type your answers, the page tells you right or wrong 0/4

c)
d)
e)
Show the solution

Answers

  • a) ∫Ta+Tf(x) dx=∫0af(u+T) du=∫0af(u) du\int_T^{a + T} f(x)\,dx = \int_0^a f(u + T)\,du = \int_0^a f(u)\,du
  • b) ∫aa+Tf=∫aTf+∫Ta+Tf=∫aTf+∫0af=∫0Tf\int_a^{a + T} f = \int_a^T f + \int_T^{a + T} f = \int_a^T f + \int_0^a f = \int_0^T f
  • c) 00
  • d) 22
  • e) 43\frac{4}{3}, then 23\frac{2}{3}
a)

u=x−Tu = x - T, du=dxdu = dx; x=T⇒u=0x = T \Rightarrow u = 0, x=a+T⇒u=ax = a + T \Rightarrow u = a; and x=u+Tx = u + T.

∫Ta+Tf(x) dx=∫0af(u+T) du=∫0af(u) du\int_T^{a + T} f(x)\,dx = \int_0^a f(u + T)\,du = \int_0^a f(u)\,du, by periodicity.

The continuity of ff is the hypothesis of the substitution rule; the shift u=x−Tu = x - T has the continuous derivative 11.

b)

Split at TT, which lies in [a,a+T][a, a + T] because 0≤a≤T0 \le a \le T:

∫aa+Tf(x) dx=∫aTf(x) dx+∫Ta+Tf(x) dx=∫aTf(x) dx+∫0af(x) dx=∫0Tf(x) dx\displaystyle \int_a^{a + T} f(x)\,dx = \int_a^T f(x)\,dx + \int_T^{a + T} f(x)\,dx = \int_a^T f(x)\,dx + \int_0^a f(x)\,dx = \int_0^T f(x)\,dx

For any other aa, write a=kT+a′a = kT + a' with 0≤a′<T0 \le a' < T and apply a) kk times; the conclusion holds for every real aa.

c)

The integrand has period 2π2\pi, so by b) the integral equals ∫02πsin⁡x ecos⁡x dx\int_0^{2\pi}\sin x\,e^{\cos x}\,dx.

u=cos⁡xu = \cos x, du=−sin⁡x dxdu = -\sin x\,dx; x=0⇒u=1x = 0 \Rightarrow u = 1, x=2π⇒u=1x = 2\pi \Rightarrow u = 1: −∫11eu du=0-\int_1^1 e^u\,du = 0.

Equal bounds in uu give 00 directly; the computation without b) gives the same, [−ecos⁡x]55+2π=0\left[-e^{\cos x}\right]_5^{5 + 2\pi} = 0.

d)

[0.3,4.3][0.3, 4.3] is four intervals of length 11, each with the same integral by b):

∫0.34.3s(x) dx=4∫01x dx=4⋅12=2\displaystyle \int_{0.3}^{4.3} s(x)\,dx = 4\int_0^1 x\,dx = 4 \cdot \frac{1}{2} = 2

Pitfall: ∫0.34.3x dx=9.2\int_{0.3}^{4.3} x\,dx = 9.2. The formula s(x)=xs(x) = x holds on [0,1)[0, 1) only; the period carries it to the other intervals.

e)

[−1,3][-1, 3] is two periods: ∫−13g=2∫−11x2 dx=2⋅23=43\int_{-1}^3 g = 2\int_{-1}^1 x^2\,dx = 2 \cdot \frac{2}{3} = \frac{4}{3}.

[12,52]\left[\frac{1}{2}, \frac{5}{2}\right] has length 22, one period: by b), ∫1/25/2g=∫−11x2 dx=23\int_{1/2}^{5/2} g = \int_{-1}^{1} x^2\,dx = \frac{2}{3}.

Computed directly, it needs two formulas of gg: ∫1/21x2 dx+∫15/2(x−2)2 dx=724+38=23\int_{1/2}^1 x^2\,dx + \int_1^{5/2}(x - 2)^2\,dx = \frac{7}{24} + \frac{3}{8} = \frac{2}{3}.

Exercise 8: Five statements to correct

8 answers to check

Each statement below was written by a student in a MATH 205 tutorial, and each is false. Say what is wrong, give a counterexample or the correct value, and write the correct statement.

  • a) With u=cos⁡xu = \cos x, ∫0πsin⁡x f(cos⁡x) dx=∫1−1f(u) du\int_0^{\pi}\sin x\,f(\cos x)\,dx = \int_1^{-1} f(u)\,du for every continuous ff.
  • b) If ff is odd and continuous on [−a,a][-a, a], then ∫0af(x) dx=0\int_0^a f(x)\,dx = 0 as well.
  • c) ∫0πcos⁡x dx=0\int_0^{\pi}\cos x\,dx = 0, which shows that cos⁡x\cos x is an odd function.
  • d) With u=x2u = x^2, x=ux = \sqrt u and dx=du2udx = \frac{du}{2\sqrt u}, so ∫−12x2 dx=∫14u2 du=73\int_{-1}^{2} x^2\,dx = \int_1^4 \frac{\sqrt u}{2}\,du = \frac{7}{3}.
  • e) With u=tan⁡xu = \tan x, ∫0πdx1+cos⁡2x=∫0πsec⁡2x dxtan⁡2x+2=∫00duu2+2=0\int_0^{\pi}\frac{dx}{1 + \cos^2 x} = \int_0^{\pi}\frac{\sec^2 x\,dx}{\tan^2 x + 2} = \int_0^0 \frac{du}{u^2 + 2} = 0.

Type your answers, the page tells you right or wrong 0/8

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) False: the minus sign of dudu is lost; the correct right side is ∫−11f(u) du\int_{-1}^{1} f(u)\,du (22 for f=1f = 1, not −2-2)
  • b) False: f(x)=xf(x) = x on [−2,2][-2, 2] gives ∫02x dx=2\int_0^2 x\,dx = 2
  • c) False: cos⁡\cos is even; a zero integral does not make a function odd
  • d) False: x=ux = \sqrt u fails for x<0x < 0; split at 00, the value is 33
  • e) False: tan⁡x\tan x is undefined at π2\frac{\pi}{2}; the integrand is at least 12\frac{1}{2}, so the integral is at least π2\frac{\pi}{2}
a)

false. du=−sin⁡x dxdu = -\sin x\,dx, so sin⁡x dx=−du\sin x\,dx = -du, and the bounds are u=1u = 1 at x=0x = 0, u=−1u = -1 at x=πx = \pi.

∫0πsin⁡x f(cos⁡x) dx=−∫1−1f(u) du=∫−11f(u) du\int_0^\pi \sin x\,f(\cos x)\,dx = -\int_1^{-1} f(u)\,du = \int_{-1}^1 f(u)\,du.

Counterexample f=1f = 1: ∫0πsin⁡x dx=2\int_0^\pi \sin x\,dx = 2, while the statement gives ∫1−1du=−2\int_1^{-1} du = -2.

b)

false. Oddness cancels the two halves of [−a,a][-a, a] against each other; each half alone has no reason to vanish.

f(x)=xf(x) = x on [−2,2][-2, 2]: ∫−22x dx=0\int_{-2}^2 x\,dx = 0, but ∫02x dx=2\int_0^2 x\,dx = 2.

Correct statement: if ff is odd, ∫−a0f(x) dx=−∫0af(x) dx\int_{-a}^0 f(x)\,dx = -\int_0^a f(x)\,dx.

c)

false. cos⁡(−x)=cos⁡x\cos(-x) = \cos x: cosine is even, and [0,π][0, \pi] is not symmetric about 00 anyway.

The integral vanishes because of another symmetry: cos⁡(π−x)=−cos⁡x\cos(\pi - x) = -\cos x, so the arch over [π2,π]\left[\frac{\pi}{2}, \pi\right] cancels the one over [0,π2]\left[0, \frac{\pi}{2}\right].

A zero integral never proves oddness: ∫−11(3x2−1) dx=2−2=0\int_{-1}^1(3x^2 - 1)\,dx = 2 - 2 = 0 with an even integrand.

d)

false. On [−1,0][-1, 0], xx is negative, so x=ux = \sqrt u is false there: there x=−ux = -\sqrt u. The substitution u=x2u = x^2 is not one-to-one on [−1,2][-1, 2].

Split at 00: ∫−10x2 dx+∫02x2 dx=13+83=3\int_{-1}^0 x^2\,dx + \int_0^2 x^2\,dx = \frac{1}{3} + \frac{8}{3} = 3.

The student's 73\frac{7}{3} is ∫14u2 du=13(8−1)\int_1^4 \frac{\sqrt u}{2}\,du = \frac{1}{3}(8 - 1), which is ∫12x2 dx\int_1^2 x^2\,dx: in the student's computation the pieces for [−1,0][-1, 0] and [0,1][0, 1] run over the same values of uu in opposite directions and cancel.

e)

false. The substitution rule needs g(x)=tan⁡xg(x) = \tan x with a continuous derivative on [0,π][0, \pi], and tan⁡x\tan x is not even defined at x=π2x = \frac{\pi}{2}, inside the interval.

The integrand is positive: 1+cos⁡2x≤21 + \cos^2 x \le 2, so 11+cos⁡2x≥12\frac{1}{1 + \cos^2 x} \ge \frac{1}{2} and ∫0πdx1+cos⁡2x≥π2\int_0^\pi \frac{dx}{1 + \cos^2 x} \ge \frac{\pi}{2}.

A positive integrand with a zero integral is the alarm. Computing the value requires splitting at π2\frac{\pi}{2}, where the integral in uu becomes improper (Thomas 8.8).

Exercise 9: A midterm question: three definite integrals, exact answers

3 answers to check

(12 marks) Evaluate the following definite integrals. Give the exact answers (do not approximate).

This is the length and the wording of the definite-integral question of the MATH 205 midterm, which covers weeks 1 to 6. The marks follow the write-up: 1 for uu and dudu, 1 for the new bounds, 1 for the integral in uu, 1 for the exact value. On this page, type each answer as a decimal to four places.

  • a) (4 marks) ∫1eπ/3sin⁡(ln⁡x)x dx\int_1^{e^{\pi/3}} \frac{\sin(\ln x)}{x}\,dx
  • b) (4 marks) ∫0π/2sin⁡x sec⁡2(π4cos⁡x)dx\int_0^{\pi/2} \sin x\,\sec^2\left(\frac{\pi}{4}\cos x\right)dx
  • c) (4 marks) ∫−11(x4cos⁡(x5)+x3cos⁡(x2))dx\int_{-1}^{1} \left(x^4\cos(x^5) + x^3\cos(x^2)\right)dx

Type your answers, the page tells you right or wrong 0/3

a)
b)
c)
Show the solution

Answers

  • a) 12\frac{1}{2}
  • b) 4π≈1.2732\frac{4}{\pi} \approx 1.2732
  • c) 25sin⁡1≈0.3366\frac{2}{5}\sin 1 \approx 0.3366
a)

u=ln⁡xu = \ln x, du=dxxdu = \frac{dx}{x} (1 mark).

x=1⇒u=0x = 1 \Rightarrow u = 0, x=eπ/3⇒u=π3x = e^{\pi/3} \Rightarrow u = \frac{\pi}{3} (1 mark).

∫0π/3sin⁡u du=[−cos⁡u]0π/3\int_0^{\pi/3}\sin u\,du = \left[-\cos u\right]_0^{\pi/3} (1 mark)

=−12+1=12= -\frac{1}{2} + 1 = \frac{1}{2} (1 mark).

Pitfall: −cos⁡0=−1-\cos 0 = -1, so the lower bound adds 11; writing −12−1-\frac{1}{2} - 1 gives −32-\frac{3}{2}, a negative value for a positive integrand.

b)

u=cos⁡xu = \cos x, du=−sin⁡x dxdu = -\sin x\,dx (1 mark).

x=0⇒u=1x = 0 \Rightarrow u = 1, x=π2⇒u=0x = \frac{\pi}{2} \Rightarrow u = 0 (1 mark).

−∫10sec⁡2(πu4)du=∫01sec⁡2(πu4)du=[4πtan⁡πu4]01-\int_1^0 \sec^2\left(\frac{\pi u}{4}\right)du = \int_0^1 \sec^2\left(\frac{\pi u}{4}\right)du = \left[\frac{4}{\pi}\tan\frac{\pi u}{4}\right]_0^1 (1 mark)

=4π(tan⁡π4−0)=4π≈1.2732= \frac{4}{\pi}\left(\tan\frac{\pi}{4} - 0\right) = \frac{4}{\pi} \approx 1.2732 (1 mark).

The factor 4π\frac{4}{\pi} undoes the inside derivative π4\frac{\pi}{4} of πu4\frac{\pi u}{4}; it is the second small substitution of the line, w=πu4w = \frac{\pi u}{4}.

c)

x3cos⁡(x2)x^3\cos(x^2) is odd (odd times even): its integral over [−1,1][-1, 1] is 00 (1 mark).

x4cos⁡(x5)x^4\cos(x^5) is even. u=x5u = x^5, du=5x4 dxdu = 5x^4\,dx; x=0⇒u=0x = 0 \Rightarrow u = 0, x=1⇒u=1x = 1 \Rightarrow u = 1 (1 mark).

2∫01x4cos⁡(x5) dx=25∫01cos⁡u du=25[sin⁡u]012\int_0^1 x^4\cos(x^5)\,dx = \frac{2}{5}\int_0^1\cos u\,du = \frac{2}{5}\left[\sin u\right]_0^1 (1 mark)

=25sin⁡1≈0.3366= \frac{2}{5}\sin 1 \approx 0.3366 (1 mark); sin⁡1\sin 1 is the sine of 11 radian and is left as it is.

The odd part, x3cos⁡(x2)x^3\cos(x^2), would need integration by parts (Thomas 8.2); the symmetry makes that unnecessary.

Exercise 10: A midterm bonus question: the substitution t = 1/u, in four steps

4 answers to check

(3 marks, bonus) Let x>0x > 0. Use the substitution t=1ut = \frac{1}{u} to show that ∫1xdt1+t2=∫1/x1dt1+t2\int_1^x \frac{dt}{1 + t^2} = \int_{1/x}^1 \frac{dt}{1 + t^2}.

This is the form of the proof questions that close many MATH 205 midterms: one substitution, the bounds converted, and one consequence. Part b) is its consequence; parts c) to e) apply the same substitution to other integrals. The figure shows y=11+t2y = \frac{1}{1 + t^2}, with the region over [13,1]\left[\frac{1}{3}, 1\right] in blue and the region over [1,3][1, 3] in orange: the case x=3x = 3 of the identity.

0.511.522.533.50.20.40.60.811.2y = 1/(1 + t²)t
  • a) Prove the identity of the bonus question.
  • b) Deduce the value of arctan⁡x+arctan⁡(1/x)\arctan x + \arctan(1/x) for x>0x > 0, and check it at x=2x = 2 with a calculator.
  • c) With x=1ux = \frac{1}{u}, evaluate ∫1/22dxx(1+x2)\int_{1/2}^{2} \frac{dx}{x(1 + x^2)}, an integral that would otherwise wait for partial fractions.
  • d) Let J=∫1/33arctan⁡xx dxJ = \int_{1/3}^{3} \frac{\arctan x}{x}\,dx. With x=1ux = \frac{1}{u} and the result of b), show that J=πln⁡3−JJ = \pi\ln 3 - J, and give JJ.
  • e) Let K=∫1/22ln⁡x1+x2 dxK = \int_{1/2}^{2} \frac{\ln x}{1 + x^2}\,dx. With x=1ux = \frac{1}{u}, show that K=−KK = -K, and give KK.

Type your answers, the page tells you right or wrong 0/4

b)
c)
d)
e)
Show the solution

Answers

  • a) t=1ut = \frac{1}{u}, dt=−duu2dt = -\frac{du}{u^2}, bounds 1→11 \to 1 and x→1xx \to \frac{1}{x}, integrand −du1+u2\frac{-du}{1 + u^2}
  • b) π2\frac{\pi}{2}; at x=2x = 2, 1.1071+0.4636=1.57081.1071 + 0.4636 = 1.5708
  • c) ln⁡2≈0.6931\ln 2 \approx 0.6931
  • d) J=π2ln⁡3≈1.7257J = \frac{\pi}{2}\ln 3 \approx 1.7257
  • e) K=0K = 0
a)

t=1ut = \frac{1}{u}, dt=−duu2dt = -\frac{du}{u^2}; t=1⇒u=1t = 1 \Rightarrow u = 1, t=x⇒u=1xt = x \Rightarrow u = \frac{1}{x}.

11+t2=11+1u2=u2u2+1\frac{1}{1 + t^2} = \frac{1}{1 + \frac{1}{u^2}} = \frac{u^2}{u^2 + 1}, multiplying top and bottom by u2u^2.

∫1xdt1+t2=∫11/xu2u2+1⋅(−duu2)=−∫11/xdu1+u2=∫1/x1du1+u2\displaystyle \int_1^x \frac{dt}{1 + t^2} = \int_1^{1/x}\frac{u^2}{u^2 + 1}\cdot\left(-\frac{du}{u^2}\right) = -\int_1^{1/x}\frac{du}{1 + u^2} = \int_{1/x}^1 \frac{du}{1 + u^2}

The variable of a definite integral is a dummy: the last integral is ∫1/x1dt1+t2\int_{1/x}^1\frac{dt}{1 + t^2}. The substitution is legitimate because u↦1uu \mapsto \frac{1}{u} has a continuous derivative on the interval between 11 and 1x\frac{1}{x}, which does not contain 00.

b)

Evaluate both sides of a): arctan⁡x−arctan⁡1=arctan⁡1−arctan⁡1x\arctan x - \arctan 1 = \arctan 1 - \arctan\frac{1}{x}, with arctan⁡1=π4\arctan 1 = \frac{\pi}{4}.

Hence arctan⁡x+arctan⁡1x=π2\arctan x + \arctan\frac{1}{x} = \frac{\pi}{2}.

At x=2x = 2: arctan⁡2≈1.1071\arctan 2 \approx 1.1071 and arctan⁡0.5≈0.4636\arctan 0.5 \approx 0.4636, sum 1.5708≈π21.5708 \approx \frac{\pi}{2}, in radian mode.

c)

x=1ux = \frac{1}{u}, dx=−duu2dx = -\frac{du}{u^2}; x=12⇒u=2x = \frac{1}{2} \Rightarrow u = 2, x=2⇒u=12x = 2 \Rightarrow u = \frac{1}{2}.

1x(1+x2)=u1+1u2=u3u2+1\frac{1}{x(1 + x^2)} = \frac{u}{1 + \frac{1}{u^2}} = \frac{u^3}{u^2 + 1}, so the integrand becomes u3u2+1⋅(−duu2)=−u du1+u2\frac{u^3}{u^2 + 1}\cdot\left(-\frac{du}{u^2}\right) = -\frac{u\,du}{1 + u^2}.

∫21/2−u du1+u2=∫1/22u du1+u2=12[ln⁡(1+u2)]1/22=12(ln⁡5−ln⁡54)=12ln⁡4=ln⁡2\displaystyle \int_2^{1/2}\frac{-u\,du}{1 + u^2} = \int_{1/2}^{2}\frac{u\,du}{1 + u^2} = \frac{1}{2}\left[\ln(1 + u^2)\right]_{1/2}^{2} = \frac{1}{2}\left(\ln 5 - \ln\frac{5}{4}\right) = \frac{1}{2}\ln 4 = \ln 2

In the new integrand the numerator is half the derivative of the denominator: the substitution traded a product in the denominator for a logarithm.

d)

x=1ux = \frac{1}{u}, dx=−duu2dx = -\frac{du}{u^2}, 1x=u\frac{1}{x} = u; x=13⇒u=3x = \frac{1}{3} \Rightarrow u = 3, x=3⇒u=13x = 3 \Rightarrow u = \frac{1}{3}.

By b), arctan⁡1u=π2−arctan⁡u\arctan\frac{1}{u} = \frac{\pi}{2} - \arctan u for u>0u > 0.

J=∫31/3(π2−arctan⁡u)u(−duu2)=∫1/33π2−arctan⁡uu du=π2[ln⁡u]1/33−J\displaystyle J = \int_3^{1/3}\left(\frac{\pi}{2} - \arctan u\right)u\left(-\frac{du}{u^2}\right) = \int_{1/3}^{3}\frac{\frac{\pi}{2} - \arctan u}{u}\,du = \frac{\pi}{2}\left[\ln u\right]_{1/3}^{3} - J

π2(ln⁡3−ln⁡13)=π2⋅2ln⁡3=πln⁡3\frac{\pi}{2}\left(\ln 3 - \ln\frac{1}{3}\right) = \frac{\pi}{2}\cdot 2\ln 3 = \pi\ln 3, so J=πln⁡3−JJ = \pi\ln 3 - J and J=π2ln⁡3≈1.7257J = \frac{\pi}{2}\ln 3 \approx 1.7257.

Pitfall: ln⁡13=−ln⁡3\ln\frac{1}{3} = -\ln 3, not 1ln⁡3\frac{1}{\ln 3}; the difference of the two logarithms is 2ln⁡32\ln 3.

e)

x=1ux = \frac{1}{u}, dx=−duu2dx = -\frac{du}{u^2}, ln⁡x=−ln⁡u\ln x = -\ln u, 11+x2=u2u2+1\frac{1}{1 + x^2} = \frac{u^2}{u^2 + 1}; x=12⇒u=2x = \frac{1}{2} \Rightarrow u = 2, x=2⇒u=12x = 2 \Rightarrow u = \frac{1}{2}.

K=∫21/2(−ln⁡u)⋅u2u2+1⋅(−duu2)=∫21/2ln⁡u1+u2 du=−∫1/22ln⁡u1+u2 du=−K\displaystyle K = \int_2^{1/2}(-\ln u)\cdot\frac{u^2}{u^2 + 1}\cdot\left(-\frac{du}{u^2}\right) = \int_2^{1/2}\frac{\ln u}{1 + u^2}\,du = -\int_{1/2}^{2}\frac{\ln u}{1 + u^2}\,du = -K

So 2K=02K = 0 and K=0K = 0, although the integrand has no elementary antiderivative.

On [12,1)\left[\frac{1}{2}, 1\right) the integrand is negative, on (1,2](1, 2] positive: the substitution shows that the two parts cancel.

Something missing from this set? A type of exercise your teacher gives, a problem you are stuck on, a mistake you spotted: tell me, I read every request.

Sending goes through your free space: that is how I can answer you and tell you when the exercise is added. An email is enough, no password. Create your space. Rather not create an account? Write to me directly.

What is it about?
I read every request myself, nobody else sees it. No need to write your name or your school.
When your request is dealt with, you hear about it by email and in your space.

By sending, you agree that I read your request to answer it. It is kept with your account, erased with it, and never published: privacy policy.

© Ahmed Squalli Houssaini. Exercise set published at www.letuteurscientifique.ca/en/exercices/math205-definite-substitution. Free for personal and classroom use; republishing it elsewhere requires written permission (legal notice).

Looking for a MATH 205 tutor in Montreal?

I tutor first-year calculus at Concordia and McGill, in English or in French, in Montreal or online, with the algebra behind every rule. Get in touch for a first session.

Site by Studio Squalli