Integral Calculus 201-SN3-RE • CEGEP, Montreal

Corrected exercises: integration techniques (201-SN3-RE)

This is the corrected exercise set on integration techniques for Integral Calculus, 201-SN3-RE (formerly 201-NYB), the toolkit chapter of the course. Part A covers the two universal techniques: substitution, from the reflex “I see a function and its derivative” all the way to transformed limits of integration, and integration by parts, in its simple and repeated forms, with the logarithm trick, and cyclic when the integral comes back on itself. Partial fractions follow: decomposition, long division first when the degree is too high, a repeated factor and an irreducible quadratic factor that leads to the arctangent. Part A ends with the two trigonometric families that have rules of their own: powers of tangent and secant, and products of sines and cosines of different angles turned into sums.

Exercises 0.1 and 0.2 open the set with twenty definite integrals to compute directly, like the exercise lists in textbooks. First, ten by integration by parts: xe2xxe^{2x}, xsin⁡(2x)x\sin(2x), x3ln⁡xx^{3}\ln x, ln⁡xx\frac{\ln x}{\sqrt{x}} and its boundary term, the arcsine on its own, repeated parts on x2cos⁡xx^{2}\cos x and on x3exx^{3}e^{x} with the tabular method, xsec⁡2xx\sec^{2}x and the cyclic case e−xsin⁡(2x)e^{-x}\sin(2x). Then ten trigonometric powers and products: power reduction, an odd power split off as in sin⁡5x\sin^{5}x, products of sines and cosines of different angles turned into sums, powers of tangent and secant up to tan⁡6x\tan^{6}x. Each one comes with its value, checked directly.

Part B starts with powers of sine and cosine and their parity rules, then trigonometric substitutions and their triangles, and the most rewarding exercise of all: strategy, or how to recognize the right technique in thirty seconds when facing an unfamiliar integral. It goes on with integrals that only give way to two techniques in a row (exercise 9) and with completing the square, which, depending on the quadratic, leads to a logarithm, an arctangent or, under a square root, an arcsine (exercise 10). Part C puts everything to work on five classics: the arches of xsin⁡xx\sin x, two routes to the same integral, an integral with three poles, a damped oscillator and the flood hydrograph of a river (exercises 11 to 15).

This set is written for CEGEP students in the Science program (Sciences de la nature) taking Integral Calculus 201-SN3-RE. The course goes beyond the usual antiderivatives and integration by parts: it requires partial fractions and the whole trigonometric toolkit as well, and this is where you acquire them.

The reflex to keep throughout: before any heavy technique, spend thirty seconds looking for a SUBSTITUTION. Half of all exam integrals contain a function and its disguised derivative; integration by parts, partial fractions and trigonometry are only needed once that first reflex has failed. Choosing the wrong technique is not wrong, it is just long: the exam is won by choosing the tool.

17 corrected exercises • 170 points • 225 minutes

This chapter is part of 201-SN3-RE, every chapter with its set and sheet Before you start Revision sheet: the traps and the method for this chapter

Self-checking set Type your answers and check them question by question: the page tells you right or wrong before you open the solution. With an account, every answer right on the first try earns points, and your right answers stay filled in when you come back.

Course recap

  • • Substitution: set u=g(x)u=g(x) when g′(x)g'(x) appears as a factor: ∫f(g(x))g′(x)dx=∫f(u)du\int f(g(x))g'(x)dx=\int f(u)du. For a definite integral, TRANSFORM THE LIMITS at the same time as the variable: x=a⇒u=g(a)x=a\Rightarrow u=g(a).
  • • Integration by parts: ∫u dv=uv−∫v du\int u\,dv=uv-\int v\,du. Choose uu in the LIATE order “logarithmic, inverse trigonometric, algebraic, trigonometric, exponential” (you DIFFERENTIATE what simplifies). Repeat if the polynomial has degree 2; solve the equation in II if the integral comes back (cyclic case excos⁡xe^{x}\cos x).
  • • Partial fractions (rational function): if the degree of the numerator reaches that of the denominator, DIVIDE first. Then: a factor (x−a)(x-a) gives Ax−a\frac{A}{x-a}; a repeated factor (x−a)2(x-a)^{2} gives Ax−a+B(x−a)2\frac{A}{x-a}+\frac{B}{(x-a)^{2}}; an irreducible quadratic x2+a2x^{2}+a^{2} gives Bx+Cx2+a2\frac{Bx+C}{x^{2}+a^{2}} and leads to ln⁡\ln and arctan⁡\arctan: ∫dxx2+a2=1aarctan⁡xa+C\int\frac{dx}{x^{2}+a^{2}}=\frac{1}{a}\arctan\frac{x}{a}+C.
  • • Trigonometric powers: an ODD power of sine or cosine: split off one factor and convert the rest with sin⁡2+cos⁡2=1\sin^{2}+\cos^{2}=1, then substitute. EVEN powers: reduce them with sin⁡2x=1−cos⁡2x2\sin^{2}x=\frac{1-\cos 2x}{2} and cos⁡2x=1+cos⁡2x2\cos^{2}x=\frac{1+\cos 2x}{2}.
  • • Trigonometric substitutions: a2−x2→x=asin⁡θ\sqrt{a^{2}-x^{2}}\to x=a\sin\theta; a2+x2→x=atan⁡θ\sqrt{a^{2}+x^{2}}\to x=a\tan\theta; x2−a2→x=asec⁡θ\sqrt{x^{2}-a^{2}}\to x=a\sec\theta. Each root is a side of a right triangle: the triangle is what takes you back to xx.
  • • Antiderivatives to know by heart: ∫tan⁡x dx=−ln⁡∣cos⁡x∣+C\int\tan x\,dx=-\ln|\cos x|+C, ∫ln⁡x dx=xln⁡x−x+C\int\ln x\,dx=x\ln x-x+C, ∫dxa2−x2=arcsin⁡xa+C\int\frac{dx}{\sqrt{a^{2}-x^{2}}}=\arcsin\frac{x}{a}+C, and the table of derivatives read backwards.

Calculations: integrals by parts

Exercise 0.1: Integrating by parts: ten direct calculations

For each definite integral, integrate by parts, once or several times, then give its exact value and its value to three decimal places.

One method for all ten lines: choose uu in the LIATE order (logarithmic, inverse trigonometric, algebraic, trigonometric, exponential) and take everything else as dvdv, dxdx included; compute dudu and vv; write ∫abu dv=[uv]ab−∫abv du\int_{a}^{b}u\,dv=\left[uv\right]_{a}^{b}-\int_{a}^{b}v\,du and evaluate the boundary term right away. If the new integral still resists, start again with the SAME kind of choice.

  • a) ∫01x e2x dx\int_{0}^{1}x\,e^{2x}\,dx.
  • b) ∫0π/2xsin⁡(2x) dx\int_{0}^{\pi/2}x\sin(2x)\,dx.
  • c) ∫1ex3ln⁡x dx\int_{1}^{e}x^{3}\ln x\,dx.
  • d) ∫1e2ln⁡xx dx\int_{1}^{e^{2}}\frac{\ln x}{\sqrt{x}}\,dx.
  • e) ∫01arcsin⁡(x2)dx\int_{0}^{1}\arcsin\left(\frac{x}{2}\right)dx.
  • f) ∫0π/2x2cos⁡x dx\int_{0}^{\pi/2}x^{2}\cos x\,dx.
  • g) ∫01x3ex dx\int_{0}^{1}x^{3}e^{x}\,dx.
  • h) ∫1ex(ln⁡x)2dx\int_{1}^{e}x\left(\ln x\right)^{2}dx.
  • i) ∫0π/4xsec⁡2x dx\int_{0}^{\pi/4}x\sec^{2}x\,dx.
  • j) ∫0πe−xsin⁡(2x) dx\int_{0}^{\pi}e^{-x}\sin(2x)\,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) [xe2x2−e2x4]01=e2+14≈2.097\left[\frac{xe^{2x}}{2}-\frac{e^{2x}}{4}\right]_{0}^{1}=\frac{e^{2}+1}{4}\approx 2.097
  • b) [−xcos⁡(2x)2+sin⁡(2x)4]0π/2=π4≈0.785\left[-\frac{x\cos(2x)}{2}+\frac{\sin(2x)}{4}\right]_{0}^{\pi/2}=\frac{\pi}{4}\approx 0.785
  • c) [x4ln⁡x4−x416]1e=3e4+116≈10.300\left[\frac{x^{4}\ln x}{4}-\frac{x^{4}}{16}\right]_{1}^{e}=\frac{3e^{4}+1}{16}\approx 10.300
  • d) [2xln⁡x−4x]1e2=4\left[2\sqrt{x}\ln x-4\sqrt{x}\right]_{1}^{e^{2}}=4
  • e) [xarcsin⁡x2+4−x2]01=π6+3−2≈0.256\left[x\arcsin\frac{x}{2}+\sqrt{4-x^{2}}\right]_{0}^{1}=\frac{\pi}{6}+\sqrt{3}-2\approx 0.256
  • f) [x2sin⁡x+2xcos⁡x−2sin⁡x]0π/2=π24−2≈0.467\left[x^{2}\sin x+2x\cos x-2\sin x\right]_{0}^{\pi/2}=\frac{\pi^{2}}{4}-2\approx 0.467
  • g) [ex(x3−3x2+6x−6)]01=6−2e≈0.563\left[e^{x}\left(x^{3}-3x^{2}+6x-6\right)\right]_{0}^{1}=6-2e\approx 0.563
  • h) [x2(ln⁡x)22−x2ln⁡x2+x24]1e=e2−14≈1.597\left[\frac{x^{2}(\ln x)^{2}}{2}-\frac{x^{2}\ln x}{2}+\frac{x^{2}}{4}\right]_{1}^{e}=\frac{e^{2}-1}{4}\approx 1.597
  • i) [xtan⁡x+ln⁡∣cos⁡x∣]0π/4=π4−ln⁡22≈0.439\left[x\tan x+\ln|\cos x|\right]_{0}^{\pi/4}=\frac{\pi}{4}-\frac{\ln 2}{2}\approx 0.439
  • j) I=2(1−e−π)5≈0.383I=\frac{2\left(1-e^{-\pi}\right)}{5}\approx 0.383

The move that decides everything: the choice of uu. You differentiate what SIMPLIFIES when differentiated (a logarithm, an arcsine, a power of xx), and you integrate what does not get more complicated (an exponential, a sine, a sec⁡2\sec^{2}). LIATE is only the order of that preference, and a bad choice does not give a wrong result: it gives an integral worse than the one you started with.

a)

u=xu=x, dv=e2xdxdv=e^{2x}dx, so du=dxdu=dx and v=e2x2v=\frac{e^{2x}}{2}: ∫01xe2xdx=[xe2x2]01−12∫01e2xdx=e22−e2−14=e2+14≈2.097\int_{0}^{1}xe^{2x}dx=\left[\frac{xe^{2x}}{2}\right]_{0}^{1}-\frac{1}{2}\int_{0}^{1}e^{2x}dx=\frac{e^{2}}{2}-\frac{e^{2}-1}{4}=\frac{e^{2}+1}{4}\approx 2.097. Pitfall: taking v=e2xv=e^{2x}; an antiderivative of e2xe^{2x} carries the factor 12\frac{1}{2}.

b)

u=xu=x, dv=sin⁡(2x)dxdv=\sin(2x)dx, v=−cos⁡(2x)2v=-\frac{\cos(2x)}{2}: [−xcos⁡(2x)2]0π/2+12∫0π/2cos⁡(2x)dx=−π2cos⁡π2+12[sin⁡(2x)2]0π/2=π4+0≈0.785\left[-\frac{x\cos(2x)}{2}\right]_{0}^{\pi/2}+\frac{1}{2}\int_{0}^{\pi/2}\cos(2x)dx=-\frac{\frac{\pi}{2}\cos\pi}{2}+\frac{1}{2}\left[\frac{\sin(2x)}{2}\right]_{0}^{\pi/2}=\frac{\pi}{4}+0\approx 0.785. Pitfall: the double minus sign, the one in vv and the one in the formula, which gives a PLUS in front of the remaining integral.

c)

The logarithm comes first: u=ln⁡xu=\ln x, dv=x3dxdv=x^{3}dx, du=dxxdu=\frac{dx}{x}, v=x44v=\frac{x^{4}}{4}. So [x4ln⁡x4]1e−14∫1ex3dx=e44−e4−116=3e4+116≈10.300\left[\frac{x^{4}\ln x}{4}\right]_{1}^{e}-\frac{1}{4}\int_{1}^{e}x^{3}dx=\frac{e^{4}}{4}-\frac{e^{4}-1}{16}=\frac{3e^{4}+1}{16}\approx 10.300. Pitfall: u=x3u=x^{3} would force you to integrate ln⁡x\ln x, and the integral would stay just as hard.

d)

u=ln⁡xu=\ln x, dv=x−12dxdv=x^{-\frac{1}{2}}dx, v=2xv=2\sqrt{x}: [2xln⁡x]1e2−∫1e22xdx\left[2\sqrt{x}\ln x\right]_{1}^{e^{2}}-\int_{1}^{e^{2}}\frac{2}{\sqrt{x}}dx. The boundary term equals 2e×2−0=4e2e\times 2-0=4e, since e2=e\sqrt{e^{2}}=e and ln⁡1=0\ln 1=0; the remaining integral equals [4x]1e2=4e−4\left[4\sqrt{x}\right]_{1}^{e^{2}}=4e-4. So the value is 4e−(4e−4)=44e-(4e-4)=4. Pitfall: forgetting the boundary term, which gives −(4e−4)≈−6.873-(4e-4)\approx-6.873, a negative integral of a positive function.

e)

The invisible factor 11: u=arcsin⁡x2u=\arcsin\frac{x}{2}, dv=dxdv=dx, v=xv=x, and du=121−x24dx=dx4−x2du=\frac{\frac{1}{2}}{\sqrt{1-\frac{x^{2}}{4}}}dx=\frac{dx}{\sqrt{4-x^{2}}}. So [xarcsin⁡x2]01−∫01x dx4−x2=π6+[4−x2]01=π6+3−2≈0.256\left[x\arcsin\frac{x}{2}\right]_{0}^{1}-\int_{0}^{1}\frac{x\,dx}{\sqrt{4-x^{2}}}=\frac{\pi}{6}+\left[\sqrt{4-x^{2}}\right]_{0}^{1}=\frac{\pi}{6}+\sqrt{3}-2\approx 0.256, the remaining integral being done with w=4−x2w=4-x^{2}.

f)

Two rounds. u=x2u=x^{2}, dv=cos⁡x dxdv=\cos x\,dx: [x2sin⁡x]0π/2−2∫0π/2xsin⁡x dx\left[x^{2}\sin x\right]_{0}^{\pi/2}-2\int_{0}^{\pi/2}x\sin x\,dx. Then u=xu=x, dv=sin⁡x dxdv=\sin x\,dx: ∫0π/2xsin⁡x dx=[−xcos⁡x]0π/2+∫0π/2cos⁡x dx=0+1=1\int_{0}^{\pi/2}x\sin x\,dx=\left[-x\cos x\right]_{0}^{\pi/2}+\int_{0}^{\pi/2}\cos x\,dx=0+1=1. So the value is π24−2≈0.467\frac{\pi^{2}}{4}-2\approx 0.467. Pitfall: in the second round, v=−cos⁡xv=-\cos x, whose sign changes the sign of the remaining integral.

g)

Tabular method: differentiate x3x^{3} down to zero (x3x^{3}, 3x23x^{2}, 6x6x, 66), integrate exe^{x} as many times, and alternate the signs ++, −-, ++, −-. So ∫x3exdx=ex(x3−3x2+6x−6)+C\int x^{3}e^{x}dx=e^{x}\left(x^{3}-3x^{2}+6x-6\right)+C, and [ex(x3−3x2+6x−6)]01=e(1−3+6−6)−(−6)=6−2e≈0.563\left[e^{x}\left(x^{3}-3x^{2}+6x-6\right)\right]_{0}^{1}=e(1-3+6-6)-(-6)=6-2e\approx 0.563. Pitfall: the lower limit 00 does not give 00, but e0×(−6)=−6e^{0}\times(-6)=-6.

h)

u=(ln⁡x)2u=(\ln x)^{2}, dv=x dxdv=x\,dx, du=2ln⁡xxdxdu=\frac{2\ln x}{x}dx, v=x22v=\frac{x^{2}}{2}: [x2(ln⁡x)22]1e−∫1exln⁡x dx\left[\frac{x^{2}(\ln x)^{2}}{2}\right]_{1}^{e}-\int_{1}^{e}x\ln x\,dx. Second round: ∫1exln⁡x dx=[x2ln⁡x2]1e−∫1ex2dx=e22−e2−14=e2+14\int_{1}^{e}x\ln x\,dx=\left[\frac{x^{2}\ln x}{2}\right]_{1}^{e}-\int_{1}^{e}\frac{x}{2}dx=\frac{e^{2}}{2}-\frac{e^{2}-1}{4}=\frac{e^{2}+1}{4}. So the value is e22−e2+14=e2−14≈1.597\frac{e^{2}}{2}-\frac{e^{2}+1}{4}=\frac{e^{2}-1}{4}\approx 1.597.

i)

u=xu=x, dv=sec⁡2x dxdv=\sec^{2}x\,dx, v=tan⁡xv=\tan x: [xtan⁡x]0π/4−∫0π/4tan⁡x dx=π4+[ln⁡∣cos⁡x∣]0π/4=π4+ln⁡22=π4−ln⁡22≈0.439\left[x\tan x\right]_{0}^{\pi/4}-\int_{0}^{\pi/4}\tan x\,dx=\frac{\pi}{4}+\left[\ln|\cos x|\right]_{0}^{\pi/4}=\frac{\pi}{4}+\ln\frac{\sqrt{2}}{2}=\frac{\pi}{4}-\frac{\ln 2}{2}\approx 0.439. Pitfall: ∫tan⁡x dx=−ln⁡∣cos⁡x∣\int\tan x\,dx=-\ln|\cos x|, and the minus sign of the formula turns it into a plus.

j)

Cyclic case. With u=sin⁡(2x)u=\sin(2x), dv=e−xdxdv=e^{-x}dx, v=−e−xv=-e^{-x}: I=[−e−xsin⁡(2x)]0π+2∫0πe−xcos⁡(2x)dx=2JI=\left[-e^{-x}\sin(2x)\right]_{0}^{\pi}+2\int_{0}^{\pi}e^{-x}\cos(2x)dx=2J. With u=cos⁡(2x)u=\cos(2x), the SAME choice: J=[−e−xcos⁡(2x)]0π−2I=(1−e−π)−2IJ=\left[-e^{-x}\cos(2x)\right]_{0}^{\pi}-2I=\left(1-e^{-\pi}\right)-2I. So I=2(1−e−π)−4II=2\left(1-e^{-\pi}\right)-4I, that is I=2(1−e−π)5≈0.383I=\frac{2\left(1-e^{-\pi}\right)}{5}\approx 0.383. Pitfall: switching the choice in the second round, which brings back the identity I=II=I.

Check: every antiderivative can be checked by differentiating it with the product rule, and every value on a calculator with a fine Riemann sum; a negative integral of a positive function, as in d) without the boundary term, signals a sign error.

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: trigonometric integrals

Exercise 0.2: Integrating trigonometric powers and products: ten direct calculations

For each definite integral, transform the integrand with the appropriate rule, integrate, then give the exact value and its value to three decimal places.

One method for all ten lines, with three questions asked in order. A product of sines and cosines of DIFFERENT angles is first turned into a sum. An ODD power of sin⁡\sin or cos⁡\cos (an even power of sec⁡\sec, or an odd power of tan⁡\tan together with sec⁡\sec) gives up one factor, which becomes the dudu, and the rest is written with the Pythagorean identity. If all the powers are even, reduce them with sin⁡2θ=1−cos⁡2θ2\sin^{2}\theta=\frac{1-\cos 2\theta}{2} and cos⁡2θ=1+cos⁡2θ2\cos^{2}\theta=\frac{1+\cos 2\theta}{2}.

  • a) ∫0π/2sin⁡2(x2)dx\int_{0}^{\pi/2}\sin^{2}\left(\frac{x}{2}\right)dx.
  • b) ∫0π/2sin⁡5x dx\int_{0}^{\pi/2}\sin^{5}x\,dx.
  • c) ∫0π/2sin⁡3xcos⁡x dx\int_{0}^{\pi/2}\sin^{3}x\sqrt{\cos x}\,dx.
  • d) ∫0π/4cos⁡(3x)cos⁡x dx\int_{0}^{\pi/4}\cos(3x)\cos x\,dx.
  • e) ∫0π/2sin⁡(4x)cos⁡(2x) dx\int_{0}^{\pi/2}\sin(4x)\cos(2x)\,dx.
  • f) ∫0π/3sin⁡(3x)sin⁡x dx\int_{0}^{\pi/3}\sin(3x)\sin x\,dx.
  • g) ∫0π/4tan⁡4xsec⁡4x dx\int_{0}^{\pi/4}\tan^{4}x\sec^{4}x\,dx.
  • h) ∫0π/3tan⁡xsec⁡3x dx\int_{0}^{\pi/3}\tan x\sec^{3}x\,dx.
  • i) ∫0π/2sin⁡4xcos⁡2x dx\int_{0}^{\pi/2}\sin^{4}x\cos^{2}x\,dx.
  • j) ∫0π/4tan⁡6x dx\int_{0}^{\pi/4}\tan^{6}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) [x2−sin⁡x2]0π/2=π4−12≈0.285\left[\frac{x}{2}-\frac{\sin x}{2}\right]_{0}^{\pi/2}=\frac{\pi}{4}-\frac{1}{2}\approx 0.285
  • b) ∫01(1−u2)2du=815≈0.533\int_{0}^{1}\left(1-u^{2}\right)^{2}du=\frac{8}{15}\approx 0.533
  • c) ∫01(u12−u52)du=821≈0.381\int_{0}^{1}\left(u^{\frac{1}{2}}-u^{\frac{5}{2}}\right)du=\frac{8}{21}\approx 0.381
  • d) 12[sin⁡(2x)2+sin⁡(4x)4]0π/4=14\frac{1}{2}\left[\frac{\sin(2x)}{2}+\frac{\sin(4x)}{4}\right]_{0}^{\pi/4}=\frac{1}{4}
  • e) 12[−cos⁡(6x)6−cos⁡(2x)2]0π/2=23≈0.667\frac{1}{2}\left[-\frac{\cos(6x)}{6}-\frac{\cos(2x)}{2}\right]_{0}^{\pi/2}=\frac{2}{3}\approx 0.667
  • f) 12[sin⁡(2x)2−sin⁡(4x)4]0π/3=3316≈0.325\frac{1}{2}\left[\frac{\sin(2x)}{2}-\frac{\sin(4x)}{4}\right]_{0}^{\pi/3}=\frac{3\sqrt{3}}{16}\approx 0.325
  • g) ∫01(u4+u6)du=1235≈0.343\int_{0}^{1}\left(u^{4}+u^{6}\right)du=\frac{12}{35}\approx 0.343
  • h) ∫12u2du=73≈2.333\int_{1}^{2}u^{2}du=\frac{7}{3}\approx 2.333
  • i) 18∫0π/2sin⁡2(2x) dx=π32≈0.098\frac{1}{8}\int_{0}^{\pi/2}\sin^{2}(2x)\,dx=\frac{\pi}{32}\approx 0.098
  • j) 15−13+1−π4=1315−π4≈0.081\frac{1}{5}-\frac{1}{3}+1-\frac{\pi}{4}=\frac{13}{15}-\frac{\pi}{4}\approx 0.081

The move that decides everything: read the PARITIES before writing a single line. An odd power offers its split-off factor as dudu; two even powers offer none and force you to reduce the powers; two different angles force you to turn the product into a sum. Choosing the wrong rule does not make the computation wrong, it makes it endless.

a)

Everything is even: sin⁡2(x2)=1−cos⁡x2\sin^{2}\left(\frac{x}{2}\right)=\frac{1-\cos x}{2}, since the DOUBLE of the angle x2\frac{x}{2} is xx. So ∫0π/21−cos⁡x2dx=[x2−sin⁡x2]0π/2=π4−12≈0.285\int_{0}^{\pi/2}\frac{1-\cos x}{2}dx=\left[\frac{x}{2}-\frac{\sin x}{2}\right]_{0}^{\pi/2}=\frac{\pi}{4}-\frac{1}{2}\approx 0.285. Pitfall: writing cos⁡(x4)\cos\left(\frac{x}{4}\right) or cos⁡(2x)\cos(2x) in the power reduction.

b)

Odd power: sin⁡5x=(1−cos⁡2x)2sin⁡x\sin^{5}x=\left(1-\cos^{2}x\right)^{2}\sin x, and u=cos⁡xu=\cos x, du=−sin⁡x dxdu=-\sin x\,dx, with uu going from 11 to 00. The minus sign flips the limits: ∫01(1−u2)2du=[u−2u33+u55]01=1−23+15=815≈0.533\int_{0}^{1}\left(1-u^{2}\right)^{2}du=\left[u-\frac{2u^{3}}{3}+\frac{u^{5}}{5}\right]_{0}^{1}=1-\frac{2}{3}+\frac{1}{5}=\frac{8}{15}\approx 0.533.

c)

The sine has the odd power, so split it off: sin⁡3xcos⁡x=(1−cos⁡2x)cos⁡12x sin⁡x\sin^{3}x\sqrt{\cos x}=\left(1-\cos^{2}x\right)\cos^{\frac{1}{2}}x\,\sin x. With u=cos⁡xu=\cos x: ∫01(u12−u52)du=23−27=821≈0.381\int_{0}^{1}\left(u^{\frac{1}{2}}-u^{\frac{5}{2}}\right)du=\frac{2}{3}-\frac{2}{7}=\frac{8}{21}\approx 0.381. The odd-power rule works whatever the other power is, even a fractional one.

d)

Different angles: cos⁡Acos⁡B=12[cos⁡(A−B)+cos⁡(A+B)]\cos A\cos B=\frac{1}{2}\left[\cos(A-B)+\cos(A+B)\right], so cos⁡(3x)cos⁡x=12[cos⁡(2x)+cos⁡(4x)]\cos(3x)\cos x=\frac{1}{2}\left[\cos(2x)+\cos(4x)\right]. Then 12[sin⁡(2x)2+sin⁡(4x)4]0π/4=12(12+0)=14\frac{1}{2}\left[\frac{\sin(2x)}{2}+\frac{\sin(4x)}{4}\right]_{0}^{\pi/4}=\frac{1}{2}\left(\frac{1}{2}+0\right)=\frac{1}{4}. Pitfall: integrating each factor separately, sin⁡(3x)3sin⁡x\frac{\sin(3x)}{3}\sin x, a “product rule” for integrals that does not exist.

e)

sin⁡Acos⁡B=12[sin⁡(A+B)+sin⁡(A−B)]\sin A\cos B=\frac{1}{2}\left[\sin(A+B)+\sin(A-B)\right], so sin⁡(4x)cos⁡(2x)=12[sin⁡(6x)+sin⁡(2x)]\sin(4x)\cos(2x)=\frac{1}{2}\left[\sin(6x)+\sin(2x)\right]. Then 12[−cos⁡(6x)6−cos⁡(2x)2]0π/2=12[(16+12)−(−16−12)]=23≈0.667\frac{1}{2}\left[-\frac{\cos(6x)}{6}-\frac{\cos(2x)}{2}\right]_{0}^{\pi/2}=\frac{1}{2}\left[\left(\frac{1}{6}+\frac{1}{2}\right)-\left(-\frac{1}{6}-\frac{1}{2}\right)\right]=\frac{2}{3}\approx 0.667, since cos⁡3π=cos⁡π=−1\cos 3\pi=\cos\pi=-1.

f)

sin⁡Asin⁡B=12[cos⁡(A−B)−cos⁡(A+B)]\sin A\sin B=\frac{1}{2}\left[\cos(A-B)-\cos(A+B)\right], so sin⁡(3x)sin⁡x=12[cos⁡(2x)−cos⁡(4x)]\sin(3x)\sin x=\frac{1}{2}\left[\cos(2x)-\cos(4x)\right]. Then 12[sin⁡(2x)2−sin⁡(4x)4]0π/3=12(34+38)=3316≈0.325\frac{1}{2}\left[\frac{\sin(2x)}{2}-\frac{\sin(4x)}{4}\right]_{0}^{\pi/3}=\frac{1}{2}\left(\frac{\sqrt{3}}{4}+\frac{\sqrt{3}}{8}\right)=\frac{3\sqrt{3}}{16}\approx 0.325, since sin⁡4π3=−32\sin\frac{4\pi}{3}=-\frac{\sqrt{3}}{2}. Pitfall: the order of the difference, cos⁡(A−B)−cos⁡(A+B)\cos(A-B)-\cos(A+B) and not the other way around.

g)

The secant has an even power: split off sec⁡2x\sec^{2}x, and tan⁡4xsec⁡4x=tan⁡4x(1+tan⁡2x)sec⁡2x\tan^{4}x\sec^{4}x=\tan^{4}x\left(1+\tan^{2}x\right)\sec^{2}x. With u=tan⁡xu=\tan x, from 00 to 11: ∫01(u4+u6)du=15+17=1235≈0.343\int_{0}^{1}\left(u^{4}+u^{6}\right)du=\frac{1}{5}+\frac{1}{7}=\frac{12}{35}\approx 0.343.

h)

The secant power is odd, and so is the tangent power: split off sec⁡xtan⁡x\sec x\tan x, and tan⁡xsec⁡3x=sec⁡2x⋅sec⁡xtan⁡x\tan x\sec^{3}x=\sec^{2}x\cdot\sec x\tan x. With u=sec⁡xu=\sec x, from 11 to sec⁡π3=2\sec\frac{\pi}{3}=2: ∫12u2du=8−13=73≈2.333\int_{1}^{2}u^{2}du=\frac{8-1}{3}=\frac{7}{3}\approx 2.333. Pitfall: u=tan⁡xu=\tan x, which leaves a sec⁡x\sec x without a partner.

i)

Two even powers: reduce them. sin⁡2xcos⁡2x=sin⁡2(2x)4\sin^{2}x\cos^{2}x=\frac{\sin^{2}(2x)}{4} and sin⁡2x=1−cos⁡(2x)2\sin^{2}x=\frac{1-\cos(2x)}{2}, so sin⁡4xcos⁡2x=sin⁡2(2x)8−sin⁡2(2x)cos⁡(2x)8\sin^{4}x\cos^{2}x=\frac{\sin^{2}(2x)}{8}-\frac{\sin^{2}(2x)\cos(2x)}{8}. On [0,π2]\left[0, \frac{\pi}{2}\right], ∫sin⁡2(2x)dx=π4\int\sin^{2}(2x)dx=\frac{\pi}{4} (average value 12\frac{1}{2}), and ∫sin⁡2(2x)cos⁡(2x)dx=[sin⁡3(2x)6]0π/2=0\int\sin^{2}(2x)\cos(2x)dx=\left[\frac{\sin^{3}(2x)}{6}\right]_{0}^{\pi/2}=0. So the value is π32≈0.098\frac{\pi}{32}\approx 0.098.

j)

No secant, no direct rule: lower the power with tan⁡2x=sec⁡2x−1\tan^{2}x=\sec^{2}x-1, twice. tan⁡6x=tan⁡4xsec⁡2x−tan⁡4x\tan^{6}x=\tan^{4}x\sec^{2}x-\tan^{4}x, then tan⁡4x=tan⁡2xsec⁡2x−sec⁡2x+1\tan^{4}x=\tan^{2}x\sec^{2}x-\sec^{2}x+1, so tan⁡6x=tan⁡4xsec⁡2x−tan⁡2xsec⁡2x+sec⁡2x−1\tan^{6}x=\tan^{4}x\sec^{2}x-\tan^{2}x\sec^{2}x+\sec^{2}x-1. With u=tan⁡xu=\tan x on the first three terms: 15−13+1−π4=1315−π4≈0.081\frac{1}{5}-\frac{1}{3}+1-\frac{\pi}{4}=\frac{13}{15}-\frac{\pi}{4}\approx 0.081.

Check: a calculator gives each integral through a fine Riemann sum, and the parity rule can be checked by differentiating the antiderivative you found. A negative result for a positive function, such as tan⁡6x\tan^{6}x or sin⁡4xcos⁡2x\sin^{4}x\cos^{2}x, is a sure sign of a sign error in the identity.

Part A: Substitution, parts, partial fractions and trigonometry (/50)

Exercise 1: Antiderivatives and substitution

Substitution is the first reflex: look in the integral for a function AND its derivative (up to a constant factor).

  • a) Compute ∫(6x2−4x+e2x)dx\int\left(6x^{2}-\frac{4}{x}+e^{2x}\right)dx and check the result by differentiation.
  • b) Compute ∫x2x3+1 dx\int x^{2}\sqrt{x^{3}+1}\,dx, then ∫tan⁡x dx\int\tan x\,dx, stating each time the substitution that unlocks everything.
  • c) Compute ∫dxxln⁡x\int\frac{dx}{x\ln x}. What structure did you have to recognize?
  • d) Compute ∫1e(ln⁡x)2xdx\int_{1}^{e}\frac{(\ln x)^{2}}{x}dx by transforming the limits of integration, and explain the classic mistake of the student who keeps the limits in xx while working in uu.

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

a)
b)
c)
d)
Show the solution

Answers

  • a) 2x3−4ln⁡∣x∣+e2x2+C2x^{3}-4\ln|x|+\frac{e^{2x}}{2}+C
  • b) 29(x3+1)3/2+C\frac{2}{9}(x^{3}+1)^{3/2}+C; −ln⁡∣cos⁡x∣+C-\ln|\cos x|+C
  • c) ln⁡∣ln⁡x∣+C\ln|\ln x|+C, the form duu\frac{du}{u}
  • d) ∫01u2du=13\int_{0}^{1}u^{2}du=\frac{1}{3}
a)

Term by term: ∫6x2dx=2x3\int 6x^{2}dx=2x^{3}, ∫4xdx=4ln⁡∣x∣\int\frac{4}{x}dx=4\ln|x|, ∫e2xdx=e2x2\int e^{2x}dx=\frac{e^{2x}}{2} (the inner derivative 2 is paid for with a factor 12\frac{1}{2}). Total: 2x3−4ln⁡∣x∣+e2x2+C2x^{3}-4\ln|x|+\frac{e^{2x}}{2}+C. Check: ddx(2x3−4ln⁡∣x∣+e2x2)=6x2−4x+e2x\frac{d}{dx}\left(2x^{3}-4\ln|x|+\frac{e^{2x}}{2}\right)=6x^{2}-\frac{4}{x}+e^{2x} ✓. Checking by differentiation takes ten seconds and catches half of all constant-factor mistakes.

b)

First case: u=x3+1u=x^{3}+1, du=3x2dxdu=3x^{2}dx: the x2dxx^{2}dx already present is du3\frac{du}{3}: 13∫u du=29u3/2=29(x3+1)3/2+C\frac{1}{3}\int\sqrt{u}\,du=\frac{2}{9}u^{3/2}=\frac{2}{9}(x^{3}+1)^{3/2}+C. Second case: ∫tan⁡x dx=∫sin⁡xcos⁡xdx\int\tan x\,dx=\int\frac{\sin x}{\cos x}dx with u=cos⁡xu=\cos x, du=−sin⁡x dxdu=-\sin x\,dx: −∫duu=−ln⁡∣cos⁡x∣+C-\int\frac{du}{u}=-\ln|\cos x|+C. In both cases, the derivative of the inside was waiting as a factor: that is THE signature of a substitution.

c)

∫dxxln⁡x=∫1ln⁡x⋅dxx\int\frac{dx}{x\ln x}=\int\frac{1}{\ln x}\cdot\frac{dx}{x}: the structure is 1u du\frac{1}{u}\,du with u=ln⁡xu=\ln x (whose derivative 1x\frac{1}{x} is there). Result: ln⁡∣ln⁡x∣+C\ln|\ln x|+C: a logarithm of a logarithm, perfectly legitimate. This integral is also the one that decides the divergence of ∫2∞dxxln⁡x\int_{2}^{\infty}\frac{dx}{x\ln x} in the chapter on improper integrals: today's techniques are used everywhere afterwards.

d)

u=ln⁡xu=\ln x, du=dxxdu=\frac{dx}{x}; limits: x=1⇒u=0x=1\Rightarrow u=0, x=e⇒u=1x=e\Rightarrow u=1. ∫01u2du=13\int_{0}^{1}u^{2}du=\frac{1}{3}. The classic mistake: writing ∫1eu2du=e3−13\int_{1}^{e}u^{2}du=\frac{e^{3}-1}{3}, keeping the limits for xx on an integral in uu: the limits belong to the VARIABLE, not to the integral sign. Two remedies: transform the limits immediately (the safest), or go back to xx before evaluating; but never a mix of the two.

Exercise 2: Integration by parts: simple, repeated, cyclic

The formula ∫u dv=uv−∫v du\int u\,dv=uv-\int v\,du trades one integral for another, which you hope is simpler. Everything depends on the choice of uu: you differentiate what simplifies.

  • a) Compute ∫xcos⁡x dx\int x\cos x\,dx, justifying the choice of uu and dvdv.
  • b) Compute ∫x2exdx\int x^{2}e^{x}dx (repeated parts). What happens to the polynomial at each round?
  • c) Compute ∫ln⁡x dx\int\ln x\,dx with the choice dv=dxdv=dx. Why is this trick unavoidable here?
  • d) Compute I=∫excos⁡x dxI=\int e^{x}\cos x\,dx (cyclic case), then evaluate ∫0πexcos⁡x dx\int_{0}^{\pi}e^{x}\cos x\,dx.

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

a)
b)
c)
d)
Show the solution

Answers

  • a) xsin⁡x+cos⁡x+Cx\sin x+\cos x+C
  • b) ex(x2−2x+2)+Ce^{x}(x^{2}-2x+2)+C, two rounds
  • c) xln⁡x−x+Cx\ln x-x+C
  • d) ex(sin⁡x+cos⁡x)2+C\frac{e^{x}(\sin x+\cos x)}{2}+C; −eπ+12≈−12.07-\frac{e^{\pi}+1}{2}\approx-12.07
a)

u=xu=x (the polynomial, which dies out when differentiated), dv=cos⁡x dxdv=\cos x\,dx, v=sin⁡xv=\sin x: ∫xcos⁡x dx=xsin⁡x−∫sin⁡x dx=xsin⁡x+cos⁡x+C\int x\cos x\,dx=x\sin x-\int\sin x\,dx=x\sin x+\cos x+C. The opposite choice (u=cos⁡xu=\cos x) would give ∫x22sin⁡x dx\int\frac{x^{2}}{2}\sin x\,dx: WORSE. The rule “differentiate what simplifies” is not decoration.

b)

First round (u=x2u=x^{2}): x2ex−2∫xexdxx^{2}e^{x}-2\int xe^{x}dx. Second round (u=xu=x): ∫xexdx=xex−ex\int xe^{x}dx=xe^{x}-e^{x}. Putting it together: ∫x2exdx=ex(x2−2x+2)+C\int x^{2}e^{x}dx=e^{x}(x^{2}-2x+2)+C. The polynomial drops one degree at each round: degree 2, so exactly two rounds; the exponential takes it all without changing. Quick check: differentiating ex(x2−2x+2)e^{x}(x^{2}-2x+2) gives back x2exx^{2}e^{x} ✓.

c)

ln⁡x\ln x has no obvious antiderivative but a very simple derivative: you force integration by parts with u=ln⁡xu=\ln x and dv=dxdv=dx, v=xv=x: ∫ln⁡x dx=xln⁡x−∫x⋅1xdx=xln⁡x−x+C\int\ln x\,dx=x\ln x-\int x\cdot\frac{1}{x}dx=x\ln x-x+C. The trick is unavoidable because there is only ONE visible factor: integration by parts manufactures the second one (dv=dxdv=dx). Same recipe for arctan⁡x\arctan x and arcsin⁡x\arcsin x: the functions “with a nice derivative” are all handled this way.

d)

Two rounds of integration by parts (always differentiating the trigonometric factor, or always the exponential, but WITHOUT switching sides): I=exsin⁡x−∫exsin⁡x dx=exsin⁡x+excos⁡x−II=e^{x}\sin x-\int e^{x}\sin x\,dx=e^{x}\sin x+e^{x}\cos x-I. The integral has come back: SOLVE the equation: 2I=ex(sin⁡x+cos⁡x)2I=e^{x}(\sin x+\cos x), so I=ex(sin⁡x+cos⁡x)2+CI=\frac{e^{x}(\sin x+\cos x)}{2}+C. Evaluation: ∫0πexcos⁡x dx=[ex(sin⁡x+cos⁡x)2]0π=eπ(0−1)2−1(0+1)2=−eπ+12≈−12.07\int_{0}^{\pi}e^{x}\cos x\,dx=\left[\frac{e^{x}(\sin x+\cos x)}{2}\right]_{0}^{\pi}=\frac{e^{\pi}(0-1)}{2}-\frac{1(0+1)}{2}=-\frac{e^{\pi}+1}{2}\approx-12.07: negative, which is consistent with a cosine that is mostly negative on [π2,π][\frac{\pi}{2},\pi], where exe^{x} weighs the most.

Exercise 3: Partial fractions: take it apart to integrate it

Every rational function can be integrated: you take it apart into elementary pieces whose antiderivatives are logarithms, powers and arctangents.

  • a) Compute ∫x+5x2+x−2dx\int\frac{x+5}{x^{2}+x-2}dx (two simple factors).
  • b) Compute ∫x2x−1dx\int\frac{x^{2}}{x-1}dx. What COMPULSORY step comes before the decomposition here, and why?
  • c) Compute ∫3x+5(x+1)2dx\int\frac{3x+5}{(x+1)^{2}}dx (repeated factor).
  • d) Compute ∫dxx2+4\int\frac{dx}{x^{2}+4}, then ∫02dxx2+4\int_{0}^{2}\frac{dx}{x^{2}+4}. Why does this factor not decompose, and which function does it always lead to?

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

a)
b)
c)
d)
Show the solution

Answers

  • a) −ln⁡∣x+2∣+2ln⁡∣x−1∣+C-\ln|x+2|+2\ln|x-1|+C
  • b) Divide first: x22+x+ln⁡∣x−1∣+C\frac{x^{2}}{2}+x+\ln|x-1|+C
  • c) 3ln⁡∣x+1∣−2x+1+C3\ln|x+1|-\frac{2}{x+1}+C
  • d) 12arctan⁡x2+C\frac{1}{2}\arctan\frac{x}{2}+C; π8≈0.393\frac{\pi}{8}\approx 0.393
a)

x2+x−2=(x+2)(x−1)x^{2}+x-2=(x+2)(x-1). Set x+5(x+2)(x−1)=Ax+2+Bx−1\frac{x+5}{(x+2)(x-1)}=\frac{A}{x+2}+\frac{B}{x-1}, that is x+5=A(x−1)+B(x+2)x+5=A(x-1)+B(x+2). Method of convenient values: x=1x=1: 6=3B6=3B, B=2B=2; x=−2x=-2: 3=−3A3=-3A, A=−1A=-1. Hence ∫=−ln⁡∣x+2∣+2ln⁡∣x−1∣+C=ln⁡(x−1)2∣x+2∣+C\int=-\ln|x+2|+2\ln|x-1|+C=\ln\frac{(x-1)^{2}}{|x+2|}+C.

b)

The degree of the numerator (2) reaches that of the denominator (1): polynomial LONG DIVISION first, since the decomposition is only defined for a proper rational function. x2=(x−1)(x+1)+1x^{2}=(x-1)(x+1)+1, so x2x−1=x+1+1x−1\frac{x^{2}}{x-1}=x+1+\frac{1}{x-1} and ∫=x22+x+ln⁡∣x−1∣+C\int=\frac{x^{2}}{2}+x+\ln|x-1|+C. Forgetting the division is the number one mistake of the chapter: the decomposition set up on an improper fraction leads to a system with no solution, and you lose ten minutes finding that out.

c)

Repeated factor: 3x+5(x+1)2=Ax+1+B(x+1)2\frac{3x+5}{(x+1)^{2}}=\frac{A}{x+1}+\frac{B}{(x+1)^{2}}, that is 3x+5=A(x+1)+B3x+5=A(x+1)+B. With x=−1x=-1: B=2B=2; with the coefficients of xx: A=3A=3. Hence ∫=3ln⁡∣x+1∣−2x+1+C\int=3\ln|x+1|-\frac{2}{x+1}+C: the simple factor gives the logarithm, the squared factor gives a power: each level of the repetition makes its own contribution.

d)

x2+4x^{2}+4 has NO real root: it is irreducible, it cannot be broken into first-degree factors. Its antiderivative is the arctangent: ∫dxx2+4=12arctan⁡x2+C\int\frac{dx}{x^{2}+4}=\frac{1}{2}\arctan\frac{x}{2}+C (the a=2a=2 appears twice: in the argument AND as a factor). ∫02dxx2+4=12arctan⁡1−0=π8≈0.393\int_{0}^{2}\frac{dx}{x^{2}+4}=\frac{1}{2}\arctan 1-0=\frac{\pi}{8}\approx 0.393. Every irreducible quadratic leads to the arctangent (after completing the square if needed): it is the third and last family of antiderivatives of rational functions, along with logarithms and powers.

-5-4-3-2-11234-6-336solid: fdashed:terms

Exercise 4: Powers of tangent and secant

Alongside powers of sine and cosine (exercise 6), this is the other trigonometric family on the exam. It has its own rules, based on the identity 1+tan⁡2=sec⁡21+\tan^{2}=\sec^{2}.

  • a) Compute ∫tan⁡2x dx\int\tan^{2}x\,dx using the identity tan⁡2x=sec⁡2x−1\tan^{2}x=\sec^{2}x-1.
  • b) Compute ∫tan⁡3x dx\int\tan^{3}x\,dx by splitting off a factor tan⁡x\tan x.
  • c) Compute ∫sec⁡3x dx\int\sec^{3}x\,dx by integration by parts. Why is this case called cyclic?
  • d) State the two rules of the tangent-secant family, and say which of the two functions plays the role of dudu.

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

a)
b)
c)
d)
Show the solution

Answers

  • a) tan⁡x−x+C\tan x-x+C
  • b) tan⁡2x2+ln⁡∣cos⁡x∣+C\frac{\tan^{2}x}{2}+\ln|\cos x|+C
  • c) sec⁡xtan⁡x+ln⁡∣sec⁡x+tan⁡x∣2+C\frac{\sec x\tan x+\ln|\sec x+\tan x|}{2}+C
  • d) Even secant: du=sec⁡2x dxdu=\sec^{2}x\,dx; odd tangent: du=sec⁡xtan⁡x dxdu=\sec x\tan x\,dx
a)

The identity 1+tan⁡2x=sec⁡2x1+\tan^{2}x=\sec^{2}x gives tan⁡2x=sec⁡2x−1\tan^{2}x=\sec^{2}x-1, so ∫tan⁡2x dx=∫sec⁡2x dx−∫dx=tan⁡x−x+C\int\tan^{2}x\,dx=\int\sec^{2}x\,dx-\int dx=\tan x-x+C, since sec⁡2\sec^{2} is the derivative of tan⁡\tan. An integral with no apparent antiderivative has become immediate through a simple rewriting: trigonometric identities are integration techniques in their own right.

b)

Split off a factor tan⁡x\tan x and convert the rest: tan⁡3x=tan⁡x⋅tan⁡2x=tan⁡x(sec⁡2x−1)=tan⁡xsec⁡2x−tan⁡x\tan^{3}x=\tan x\cdot\tan^{2}x=\tan x\left(\sec^{2}x-1\right)=\tan x\sec^{2}x-\tan x. The first integral is done with u=tan⁡xu=\tan x, du=sec⁡2x dxdu=\sec^{2}x\,dx: ∫tan⁡xsec⁡2x dx=tan⁡2x2\int\tan x\sec^{2}x\,dx=\frac{\tan^{2}x}{2}. The second one is known: ∫tan⁡x dx=−ln⁡∣cos⁡x∣\int\tan x\,dx=-\ln\left|\cos x\right|. Total: ∫tan⁡3x dx=tan⁡2x2+ln⁡∣cos⁡x∣+C\int\tan^{3}x\,dx=\frac{\tan^{2}x}{2}+\ln\left|\cos x\right|+C. Check by differentiation: tan⁡xsec⁡2x−tan⁡x=tan⁡x(sec⁡2x−1)=tan⁡3x\tan x\sec^{2}x-\tan x=\tan x\left(\sec^{2}x-1\right)=\tan^{3}x ✓.

c)

Write sec⁡3x=sec⁡x⋅sec⁡2x\sec^{3}x=\sec x\cdot\sec^{2}x and set u=sec⁡xu=\sec x (so du=sec⁡xtan⁡x dxdu=\sec x\tan x\,dx) and dv=sec⁡2x dxdv=\sec^{2}x\,dx (so v=tan⁡xv=\tan x). Then I=∫sec⁡3x dx=sec⁡xtan⁡x−∫sec⁡xtan⁡2x dxI=\int\sec^{3}x\,dx=\sec x\tan x-\int\sec x\tan^{2}x\,dx. Converting tan⁡2=sec⁡2−1\tan^{2}=\sec^{2}-1: I=sec⁡xtan⁡x−∫sec⁡3x dx+∫sec⁡x dx=sec⁡xtan⁡x−I+ln⁡∣sec⁡x+tan⁡x∣I=\sec x\tan x-\int\sec^{3}x\,dx+\int\sec x\,dx=\sec x\tan x-I+\ln\left|\sec x+\tan x\right|. The original integral has COME BACK: this is the cyclic case. You then SOLVE the equation in II: 2I=sec⁡xtan⁡x+ln⁡∣sec⁡x+tan⁡x∣2I=\sec x\tan x+\ln\left|\sec x+\tan x\right|, hence I=sec⁡xtan⁡x+ln⁡∣sec⁡x+tan⁡x∣2+CI=\frac{\sec x\tan x+\ln\left|\sec x+\tan x\right|}{2}+C. The mechanism is the same as for ∫excos⁡x dx\int e^{x}\cos x\,dx: when the integral reproduces itself, you treat it as an algebraic unknown.

d)

Two rules. EVEN POWER OF SECANT: split off sec⁡2x\sec^{2}x, which is the dudu of u=tan⁡xu=\tan x, and convert the rest into tangents with sec⁡2=1+tan⁡2\sec^{2}=1+\tan^{2}. ODD POWER OF TANGENT: split off sec⁡xtan⁡x\sec x\tan x, which is the dudu of u=sec⁡xu=\sec x, and convert the rest into secants with tan⁡2=sec⁡2−1\tan^{2}=\sec^{2}-1. So it is sometimes sec⁡2x\sec^{2}x, sometimes sec⁡xtan⁡x\sec x\tan x that plays the role of dudu, depending on the parity you meet. When neither configuration shows up, as for ∫sec⁡3x dx\int\sec^{3}x\,dx where the secant is odd and the tangent absent, you have to go through integration by parts, as in c). The logic is the same as for sine and cosine: first look for which factor can serve as dudu, and parity decides.

Exercise 5: Products of sines and cosines of different angles

∫sin⁡3xcos⁡5x dx\int\sin 3x\cos 5x\,dx calls for neither substitution nor integration by parts: you must first TURN the product into a sum. The formula is worth knowing, and its consequence underlies all of Fourier analysis.

  • a) Recall the three product-to-sum formulas for sin⁡Acos⁡B\sin A\cos B, sin⁡Asin⁡B\sin A\sin B and cos⁡Acos⁡B\cos A\cos B.
  • b) Compute ∫sin⁡3xcos⁡5x dx\int\sin 3x\cos 5x\,dx.
  • c) Compute ∫02πsin⁡(2x)sin⁡(3x) dx\int_{0}^{2\pi}\sin(2x)\sin(3x)\,dx, then ∫02πsin⁡2(3x) dx\int_{0}^{2\pi}\sin^{2}(3x)\,dx. What do you notice?
  • d) This contrast has a name. State the general result and say what it is used for.

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

a)
b)
c)
d)
Show the solution

Answers

  • a) 12[sin⁡(A+B)+sin⁡(A−B)]\frac{1}{2}[\sin(A+B)+\sin(A-B)], 12[cos⁡(A−B)∓cos⁡(A+B)]\frac{1}{2}[\cos(A-B)\mp\cos(A+B)]
  • b) −cos⁡8x16+cos⁡2x4+C-\frac{\cos 8x}{16}+\frac{\cos 2x}{4}+C
  • c) 00 and π\pi
  • d) Orthogonality: it isolates the Fourier coefficients
a)

The three formulas: sin⁡Acos⁡B=12[sin⁡(A+B)+sin⁡(A−B)]\sin A\cos B=\frac{1}{2}\left[\sin(A+B)+\sin(A-B)\right]; sin⁡Asin⁡B=12[cos⁡(A−B)−cos⁡(A+B)]\sin A\sin B=\frac{1}{2}\left[\cos(A-B)-\cos(A+B)\right]; cos⁡Acos⁡B=12[cos⁡(A−B)+cos⁡(A+B)]\cos A\cos B=\frac{1}{2}\left[\cos(A-B)+\cos(A+B)\right]. They come from adding or subtracting the sum formulas, and they turn a PRODUCT (which we cannot integrate) into a SUM (which we integrate term by term).

b)

With A=3xA=3x and B=5xB=5x: sin⁡3xcos⁡5x=12[sin⁡(8x)+sin⁡(−2x)]=12[sin⁡8x−sin⁡2x]\sin 3x\cos 5x=\frac{1}{2}\left[\sin(8x)+\sin(-2x)\right]=\frac{1}{2}\left[\sin 8x-\sin 2x\right], using the fact that sine is odd. Hence ∫sin⁡3xcos⁡5x dx=12[−cos⁡8x8+cos⁡2x2]+C=−cos⁡8x16+cos⁡2x4+C\int\sin 3x\cos 5x\,dx=\frac{1}{2}\left[-\frac{\cos 8x}{8}+\frac{\cos 2x}{2}\right]+C=-\frac{\cos 8x}{16}+\frac{\cos 2x}{4}+C. Check by differentiation: 8sin⁡8x16−2sin⁡2x4=sin⁡8x−sin⁡2x2\frac{8\sin 8x}{16}-\frac{2\sin 2x}{4}=\frac{\sin 8x-\sin 2x}{2} ✓, which is indeed the transformed integrand.

c)

First computation: sin⁡2xsin⁡3x=12[cos⁡(−x)−cos⁡(5x)]=12[cos⁡x−cos⁡5x]\sin 2x\sin 3x=\frac{1}{2}\left[\cos(-x)-\cos(5x)\right]=\frac{1}{2}\left[\cos x-\cos 5x\right]. On [0,2π]\left[0,2\pi\right], each cosine runs through a whole number of complete periods and its integral is ZERO, so ∫02πsin⁡2xsin⁡3x dx=0\int_{0}^{2\pi}\sin 2x\sin 3x\,dx=0. Second computation: sin⁡2(3x)=1−cos⁡6x2\sin^{2}(3x)=\frac{1-\cos 6x}{2}, so ∫02πsin⁡2(3x)dx=12∫02πdx−12∫02πcos⁡6x dx=2π2−0=π\int_{0}^{2\pi}\sin^{2}(3x)dx=\frac{1}{2}\int_{0}^{2\pi}dx-\frac{1}{2}\int_{0}^{2\pi}\cos 6x\,dx=\frac{2\pi}{2}-0=\pi. What you notice: the product of two sines of DIFFERENT frequencies integrates to zero, whereas the square of a single sine gives π\pi.

d)

This contrast is called the ORTHOGONALITY of the trigonometric functions. General result: for positive integers mm and nn, ∫02πsin⁡(mx)sin⁡(nx) dx=0\int_{0}^{2\pi}\sin(mx)\sin(nx)\,dx=0 if m≠nm\neq n and =π=\pi if m=nm=n; the same relations hold for cosines, and ∫02πsin⁡(mx)cos⁡(nx) dx=0\int_{0}^{2\pi}\sin(mx)\cos(nx)\,dx=0 always. What it is used for: it is the mechanism that EXTRACTS the coefficients of a Fourier series. If a function is written as an infinite sum ∑ansin⁡(nx)\sum a_{n}\sin(nx), then multiplying by sin⁡(mx)\sin(mx) and integrating over one period cancels ALL the terms except the one with index mm, of which only amπa_{m}\pi remains: this isolates each coefficient one at a time. It is exactly the idea of an orthogonal basis in linear algebra, where a coordinate is recovered by a dot product; here the integral plays the role of the dot product. This result, obtained with nothing but the formulas of a), underlies signal processing, audio compression and spectral analysis.

Part B: Combined techniques, quadratics and strategy (/50)

Exercise 6: Powers of sine and cosine

The figure shows y=sin⁡2xy=\sin^{2}x over one full period, with its average value 12\frac{1}{2} as a dashed line: the power reduction sin⁡2x=1−cos⁡2x2\sin^{2}x=\frac{1-\cos 2x}{2} can be READ on the graph.

π/2π3π/22πy = 1/2y = sin²x
  • a) Compute ∫sin⁡3x dx\int\sin^{3}x\,dx with the odd-power method.
  • b) Compute ∫cos⁡2x dx\int\cos^{2}x\,dx by power reduction, then ∫0πsin⁡2x dx\int_{0}^{\pi}\sin^{2}x\,dx. Relate this last result to the dashed line in the figure.
  • c) Compute ∫sin⁡2xcos⁡3x dx\int\sin^{2}x\cos^{3}x\,dx: which power should you attack, and why?
  • d) Summarize the two rules (odd versus even) and explain WHY splitting off a factor from an odd power always works.

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

a)
b)
c)
d)
Show the solution

Answers

  • a) −cos⁡x+cos⁡3x3+C-\cos x+\frac{\cos^{3}x}{3}+C
  • b) x2+sin⁡2x4+C\frac{x}{2}+\frac{\sin 2x}{4}+C; π2\frac{\pi}{2}
  • c) Break up cos⁡3x\cos^{3}x: sin⁡3x3−sin⁡5x5+C\frac{\sin^{3}x}{3}-\frac{\sin^{5}x}{5}+C
  • d) Odd: split off and substitute; all even: reduce the powers
a)

Odd power: split off one sine and convert the rest: sin⁡3x=sin⁡x(1−cos⁡2x)\sin^{3}x=\sin x(1-\cos^{2}x). With u=cos⁡xu=\cos x, du=−sin⁡x dxdu=-\sin x\,dx: ∫sin⁡3x dx=−∫(1−u2)du=−u+u33=−cos⁡x+cos⁡3x3+C\int\sin^{3}x\,dx=-\int(1-u^{2})du=-u+\frac{u^{3}}{3}=-\cos x+\frac{\cos^{3}x}{3}+C.

b)

cos⁡2x=1+cos⁡2x2\cos^{2}x=\frac{1+\cos 2x}{2}: ∫cos⁡2x dx=x2+sin⁡2x4+C\int\cos^{2}x\,dx=\frac{x}{2}+\frac{\sin 2x}{4}+C. In the same way, ∫0πsin⁡2x dx=[x2−sin⁡2x4]0π=π2\int_{0}^{\pi}\sin^{2}x\,dx=\left[\frac{x}{2}-\frac{\sin 2x}{4}\right]_{0}^{\pi}=\frac{\pi}{2}. Reading the graph: sin⁡2\sin^{2} oscillates SYMMETRICALLY around 12\frac{1}{2} (the dashed line), the humps above making up for the dips below: its integral is that of the constant 12\frac{1}{2}, namely π2\frac{\pi}{2} on [0,π][0,\pi]. This average 12\frac{1}{2} is what produces the A2\frac{A}{\sqrt{2}} of RMS voltages in electricity.

c)

The cosine carries the ODD power: that is the one you break up. cos⁡3x=cos⁡x(1−sin⁡2x)\cos^{3}x=\cos x(1-\sin^{2}x), and with u=sin⁡xu=\sin x: ∫u2(1−u2)du=sin⁡3x3−sin⁡5x5+C\int u^{2}(1-u^{2})du=\frac{\sin^{3}x}{3}-\frac{\sin^{5}x}{5}+C. Attacking the sine (even power) would have led nowhere: the split-off factor must be the derivative of the other function.

d)

Rules: an ODD power somewhere: split off one factor of that function, convert the rest into the other function through sin⁡2+cos⁡2=1\sin^{2}+\cos^{2}=1, substitute. Everything EVEN: reduce with the double-angle formulas, repeating if necessary. Why odd always works: removing one factor from an odd power leaves an EVEN power, which can therefore be converted entirely into the other function; and the split-off factor is exactly the dudu of the substitution. Parity is not a quirk of the recipe: it is what guarantees that the conversion comes out right.

Exercise 7: Trigonometric substitutions: the root becomes a triangle

The figure shows y=9−x2y=\sqrt{9-x^{2}} on [0,3][0,3]: the quarter circle of radius 3, whose area, known from geometry, will serve as a check on the computation.

1234123y = √(9 − x²)
  • a) Compute ∫dx9−x2\int\frac{dx}{\sqrt{9-x^{2}}}: with which substitution, and towards which function?
  • b) Compute ∫039−x2 dx\int_{0}^{3}\sqrt{9-x^{2}}\,dx with the substitution x=3sin⁡θx=3\sin\theta, then check with the geometry of the figure.
  • c) Compute ∫03dxx2+9\int_{0}^{3}\frac{dx}{\sqrt{x^{2}+9}} (you may use the antiderivative ln⁡∣x+x2+9∣\ln\left|x+\sqrt{x^{2}+9}\right|, to be checked by differentiation).
  • d) Draw up the table of the three substitutions: which root calls for which change of variable, and which right triangle hides behind each one?

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

a)
b)
c)
d)
Show the solution

Answers

  • a) x=3sin⁡θx=3\sin\theta: arcsin⁡x3+C\arcsin\frac{x}{3}+C
  • b) 9π4≈7.07\frac{9\pi}{4}\approx 7.07, the quarter disk
  • c) ln⁡(1+2)≈0.881\ln(1+\sqrt{2})\approx 0.881
  • d) asin⁡θa\sin\theta, atan⁡θa\tan\theta, asec⁡θa\sec\theta
a)

x=3sin⁡θx=3\sin\theta, dx=3cos⁡θ dθdx=3\cos\theta\,d\theta, and 9−9sin⁡2θ=3cos⁡θ\sqrt{9-9\sin^{2}\theta}=3\cos\theta: the integral becomes ∫3cos⁡θ3cos⁡θdθ=θ+C=arcsin⁡x3+C\int\frac{3\cos\theta}{3\cos\theta}d\theta=\theta+C=\arcsin\frac{x}{3}+C. It is in fact an antiderivative worth knowing directly: ∫dxa2−x2=arcsin⁡xa+C\int\frac{dx}{\sqrt{a^{2}-x^{2}}}=\arcsin\frac{x}{a}+C.

b)

Same ingredients: ∫039−x2 dx=∫0π/23cos⁡θ⋅3cos⁡θ dθ=9∫0π/2cos⁡2θ dθ=9⋅π4\int_{0}^{3}\sqrt{9-x^{2}}\,dx=\int_{0}^{\pi/2}3\cos\theta\cdot 3\cos\theta\,d\theta=9\int_{0}^{\pi/2}\cos^{2}\theta\,d\theta=9\cdot\frac{\pi}{4} (power reduction from exercise 6: over a quarter period of the cosine, cos⁡2\cos^{2} has an average value of 12\frac{1}{2}). Result: 9π4≈7.07\frac{9\pi}{4}\approx 7.07. Geometry: the curve is the quarter circle of radius 3, with area πr24=9π4\frac{\pi r^{2}}{4}=\frac{9\pi}{4} ✓: the computation and the figure confirm each other, and this is precisely how the formula for the area of a disk is proved.

c)

Checking the antiderivative: ddxln⁡(x+x2+9)=1+xx2+9x+x2+9=x2+9+xx2+9x+x2+9=1x2+9\frac{d}{dx}\ln\left(x+\sqrt{x^{2}+9}\right)=\frac{1+\frac{x}{\sqrt{x^{2}+9}}}{x+\sqrt{x^{2}+9}}=\frac{\frac{\sqrt{x^{2}+9}+x}{\sqrt{x^{2}+9}}}{x+\sqrt{x^{2}+9}}=\frac{1}{\sqrt{x^{2}+9}} ✓ (it comes from the substitution x=3tan⁡θx=3\tan\theta). Evaluation: ln⁡(3+18)−ln⁡3=ln⁡3+323=ln⁡(1+2)≈0.881\ln(3+\sqrt{18})-\ln 3=\ln\frac{3+3\sqrt{2}}{3}=\ln(1+\sqrt{2})\approx 0.881.

d)

a2−x2\sqrt{a^{2}-x^{2}}: set x=asin⁡θx=a\sin\theta (the triangle has hypotenuse aa and opposite side xx: the root is the adjacent side). a2+x2\sqrt{a^{2}+x^{2}}: set x=atan⁡θx=a\tan\theta (legs aa and xx: the root is the hypotenuse). x2−a2\sqrt{x^{2}-a^{2}}: set x=asec⁡θx=a\sec\theta (hypotenuse xx, leg aa: the root is the other leg). In all three cases, the identity sin⁡2+cos⁡2=1\sin^{2}+\cos^{2}=1 (or one of its variants) makes the root VANISH, and the triangle is used for the return trip: read sin⁡θ\sin\theta, tan⁡θ\tan\theta, sec⁡θ\sec\theta off the sides to rewrite the answer in terms of xx.

Exercise 8: Strategy: choosing your technique in thirty seconds

The most discriminating format on the exam: integrals that look alike but call for different techniques. The diagnosis is worth half the marks.

  • a) Compute ∫xex2dx\int xe^{x^{2}}dx, then ∫xexdx\int xe^{x}dx. Why two different techniques for two almost identical integrals?
  • b) Compute ∫dxx2−1\int\frac{dx}{x^{2}-1}, then ∫dxx2+1\int\frac{dx}{x^{2}+1}. Which detail changes the whole method?
  • c) Compute ∫tan⁡2x dx\int\tan^{2}x\,dx: which identity turns the impossible integral into an immediate one?
  • d) Write the strategy checklist: in what order to question an unfamiliar integral, with a triggering example for each question.

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

a)
b)
c)
d)
Show the solution

Answers

  • a) ex22+C\frac{e^{x^{2}}}{2}+C; (x−1)ex+C(x-1)e^{x}+C
  • b) 12ln⁡∣x−1x+1∣+C\frac{1}{2}\ln\left|\frac{x-1}{x+1}\right|+C; arctan⁡x+C\arctan x+C
  • c) tan⁡x−x+C\tan x-x+C
  • d) Table, substitution, parts, partial fractions, parity, trigonometric substitution
a)

∫xex2dx\int xe^{x^{2}}dx: the xx is (up to a factor 2) the derivative of x2x^{2}: SUBSTITUTION u=x2u=x^{2}, result ex22+C\frac{e^{x^{2}}}{2}+C. ∫xexdx\int xe^{x}dx: no substitution works (the derivative of the exponent xx is 11, and the factor xx is left over): INTEGRATION BY PARTS, result (x−1)ex+C(x-1)e^{x}+C. The pair is the perfect diagnostic test: first ask “is the derivative of the inside there as a factor?”; integration by parts only comes after that check has failed. (And ∫ex2dx\int e^{x^{2}}dx, without the xx, has no elementary antiderivative at all: the factor xx makes all the difference.)

b)

x2−1=(x−1)(x+1)x^{2}-1=(x-1)(x+1) factors: PARTIAL FRACTIONS, 1x2−1=12(1x−1−1x+1)\frac{1}{x^{2}-1}=\frac{1}{2}\left(\frac{1}{x-1}-\frac{1}{x+1}\right), hence 12ln⁡∣x−1x+1∣+C\frac{1}{2}\ln\left|\frac{x-1}{x+1}\right|+C. x2+1x^{2}+1 does NOT factor: arctangent directly, arctan⁡x+C\arctan x+C. A single sign decides between logarithms and arctangent: always test whether the denominator factors before anything else.

c)

tan⁡2x=sec⁡2x−1\tan^{2}x=\sec^{2}x-1 (the identity 1+tan⁡2=sec⁡21+\tan^{2}=\sec^{2} rearranged): ∫tan⁡2x dx=tan⁡x−x+C\int\tan^{2}x\,dx=\tan x-x+C, since sec⁡2\sec^{2} is the derivative of tan⁡\tan. Trigonometric identities are integration techniques in their own right: they replace an integrand with no apparent antiderivative by another, equal one, that has one.

d)

The list, in order: 1) Is it a DIRECT form from the table (including arctan⁡\arctan, arcsin⁡\arcsin)? 2) Do a function and its derivative appear together? SUBSTITUTION (xex2xe^{x^{2}}, ln⁡xx\frac{\ln x}{x}, tan⁡x\tan x). 3) A product of different families (polynomial, exponential, trigonometric, logarithm)? INTEGRATION BY PARTS (xexxe^{x}, xcos⁡xx\cos x, ln⁡x\ln x alone). 4) A rational function? Division if necessary, then PARTIAL FRACTIONS. 5) Trigonometric powers? Parity: split off or reduce. 6) A root a2±x2\sqrt{a^{2}\pm x^{2}} or x2−a2\sqrt{x^{2}-a^{2}}? TRIGONOMETRIC SUBSTITUTION. Six questions, thirty seconds: diagnosis before treatment, as in medicine.

a product x·f(x)integration by partsa root √(a² − x²)trig substitutiona fraction P(x)/Q(x)partial fractionsthirty seconds of reading before the first calculation:the form of the integrand points to the technique

Exercise 9: Combining techniques: substitution, then parts

The toughest integrals on the exam give way to NO single technique: you have to chain two, and it is the choice of the first one that unlocks everything.

  • a) Compute ∫ex dx\int e^{\sqrt{x}}\,dx by substituting first, then integrating by parts.
  • b) Compute ∫xarctan⁡x dx\int x\arctan x\,dx: integration by parts first, then a division.
  • c) Compute ∫ln⁡xx2dx\int\frac{\ln x}{x^{2}}dx and check the result by differentiation.
  • d) Facing an integral that resists, in what order should you try the techniques? What does a root inside an exponential tell you?

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

a)
b)
c)
d)
Show the solution

Answers

  • a) 2(x−1)ex+C2(\sqrt{x}-1)e^{\sqrt{x}}+C
  • b) x22arctan⁡x−x2+arctan⁡x2+C\frac{x^{2}}{2}\arctan x-\frac{x}{2}+\frac{\arctan x}{2}+C
  • c) −ln⁡x+1x+C-\frac{\ln x+1}{x}+C
  • d) Substitute to clean up, integrate by parts to finish
a)

The root in the exponent rules out any direct antiderivative. Substitute u=xu=\sqrt{x}, so x=u2x=u^{2} and dx=2u dudx=2u\,du: ∫exdx=∫eu⋅2u du=2∫ueudu\int e^{\sqrt{x}}dx=\int e^{u}\cdot 2u\,du=2\int ue^{u}du. This last integral is a polynomial times an exponential, so INTEGRATION BY PARTS with s=us=u and dt=eududt=e^{u}du: ∫ueudu=ueu−eu=(u−1)eu\int ue^{u}du=ue^{u}-e^{u}=(u-1)e^{u}. Hence ∫exdx=2(u−1)eu+C=2(x−1)ex+C\int e^{\sqrt{x}}dx=2(u-1)e^{u}+C=2\left(\sqrt{x}-1\right)e^{\sqrt{x}}+C. Check by differentiation: 2[12xex+(x−1)ex2x]=exx[1+x−1]=ex2\left[\frac{1}{2\sqrt{x}}e^{\sqrt{x}}+\left(\sqrt{x}-1\right)\frac{e^{\sqrt{x}}}{2\sqrt{x}}\right]=\frac{e^{\sqrt{x}}}{\sqrt{x}}\left[1+\sqrt{x}-1\right]=e^{\sqrt{x}} ✓.

b)

INTEGRATION BY PARTS first, with u=arctan⁡xu=\arctan x (the function with a nice derivative) and dv=x dxdv=x\,dx, so v=x22v=\frac{x^{2}}{2}: ∫xarctan⁡x dx=x22arctan⁡x−12∫x21+x2dx\int x\arctan x\,dx=\frac{x^{2}}{2}\arctan x-\frac{1}{2}\int\frac{x^{2}}{1+x^{2}}dx. The remaining integral is an IMPROPER rational function (equal degrees), so you must DIVIDE: x21+x2=1−11+x2\frac{x^{2}}{1+x^{2}}=1-\frac{1}{1+x^{2}}, whose integral is x−arctan⁡xx-\arctan x. Total: ∫xarctan⁡x dx=x22arctan⁡x−x2+arctan⁡x2+C\int x\arctan x\,dx=\frac{x^{2}}{2}\arctan x-\frac{x}{2}+\frac{\arctan x}{2}+C. Forgetting the division is the number one mistake here: it leads to a dead end when the computation was almost finished.

c)

Rewrite ln⁡xx2=ln⁡x⋅x−2\frac{\ln x}{x^{2}}=\ln x\cdot x^{-2} and integrate by parts with u=ln⁡xu=\ln x (simple derivative) and dv=x−2dxdv=x^{-2}dx, so v=−1xv=-\frac{1}{x}: ∫ln⁡xx2dx=−ln⁡xx+∫1x⋅1xdx=−ln⁡xx+∫x−2dx=−ln⁡xx−1x+C=−ln⁡x+1x+C\int\frac{\ln x}{x^{2}}dx=-\frac{\ln x}{x}+\int\frac{1}{x}\cdot\frac{1}{x}dx=-\frac{\ln x}{x}+\int x^{-2}dx=-\frac{\ln x}{x}-\frac{1}{x}+C=-\frac{\ln x+1}{x}+C. Check: (−ln⁡x+1x)′=−1x⋅x−(ln⁡x+1)x2=−1−ln⁡x−1x2=ln⁡xx2\left(-\frac{\ln x+1}{x}\right)'=-\frac{\frac{1}{x}\cdot x-(\ln x+1)}{x^{2}}=-\frac{1-\ln x-1}{x^{2}}=\frac{\ln x}{x^{2}} ✓.

d)

The order: 1) simplify algebraically; 2) look for a SUBSTITUTION (a function and its derivative); 3) if the integrand is a product of different families, INTEGRATION BY PARTS; 4) if it is a rational function, division and then partial fractions; 5) if there are trigonometric powers, parity; 6) if there is a root of the form a2±x2\sqrt{a^{2}\pm x^{2}}, trigonometric substitution. Above all: after applying a technique, START THE LIST AGAIN on what is left, because that is how techniques are chained. A root INSIDE an exponential, a logarithm or a trigonometric function is a clear signal: no technique applies as long as the root is there, so you must start with the SUBSTITUTION u=xu=\sqrt{x} to get rid of it, even if the dx=2u dudx=2u\,du brings in a factor that will then call for integration by parts. The general rule to remember: substitute to CLEAN UP, integrate by parts to FINISH.

Exercise 10: Completing the square and irreducible quadratics

A quadratic denominator with no real root does not factor. Completing the square brings it to the form u2+a2u^{2}+a^{2}, the only way in to the arctangent.

  • a) Compute ∫dxx2+2x+5\int\frac{dx}{x^{2}+2x+5} by completing the square.
  • b) Compute ∫x+1x2+4x+8dx\int\frac{x+1}{x^{2}+4x+8}dx: the numerator forces a preliminary split. Which one, and why?
  • c) Compute ∫dx3−2x−x2\int\frac{dx}{\sqrt{3-2x-x^{2}}} by completing the square under the root.
  • d) Facing a quadratic denominator, how do you recognize whether to factor or to complete the square? Which antiderivative does each case produce?

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

a)
b)
c)
Interval of validity ,
d)
Show the solution

Answers

  • a) 12arctan⁡x+12+C\frac{1}{2}\arctan\frac{x+1}{2}+C
  • b) 12ln⁡[(x+2)2+4]−12arctan⁡x+22+C\frac{1}{2}\ln[(x+2)^{2}+4]-\frac{1}{2}\arctan\frac{x+2}{2}+C
  • c) arcsin⁡x+12+C\arcsin\frac{x+1}{2}+C on (−3,1)(-3, 1)
  • d) Δ>0\Delta>0 logarithms, Δ<0\Delta<0 arctangent, Δ=0\Delta=0 power
a)

The discriminant is 4−20=−16<04-20=-16<0: no real root, so no factorization is possible. Complete the square: x2+2x+5=(x2+2x+1)+4=(x+1)2+4x^{2}+2x+5=\left(x^{2}+2x+1\right)+4=(x+1)^{2}+4. With the form ∫duu2+a2=1aarctan⁡ua+C\int\frac{du}{u^{2}+a^{2}}=\frac{1}{a}\arctan\frac{u}{a}+C, where u=x+1u=x+1 and a=2a=2: ∫dxx2+2x+5=12arctan⁡x+12+C\int\frac{dx}{x^{2}+2x+5}=\frac{1}{2}\arctan\frac{x+1}{2}+C. Numerical check at x=1.1x=1.1: the derivative of the answer equals 0.1189060.118906, and 11.12+2(1.1)+5=0.118906\frac{1}{1.1^{2}+2(1.1)+5}=0.118906 ✓.

b)

The denominator completes to x2+4x+8=(x+2)2+4x^{2}+4x+8=(x+2)^{2}+4. The numerator x+1x+1 is NOT proportional to the derivative of the denominator, which is 2x+42x+4. So you SPLIT it into two pieces: x+1=(x+2)−1x+1=(x+2)-1. The first piece gives a form u′u\frac{u'}{u} up to a factor, hence a logarithm; the second gives an arctangent. Precisely: ∫x+2(x+2)2+4dx=12ln⁡[(x+2)2+4]\int\frac{x+2}{(x+2)^{2}+4}dx=\frac{1}{2}\ln\left[(x+2)^{2}+4\right] (substitution u=(x+2)2+4u=(x+2)^{2}+4), and ∫dx(x+2)2+4=12arctan⁡x+22\int\frac{dx}{(x+2)^{2}+4}=\frac{1}{2}\arctan\frac{x+2}{2}. Total: ∫x+1x2+4x+8dx=12ln⁡[(x+2)2+4]−12arctan⁡x+22+C\int\frac{x+1}{x^{2}+4x+8}dx=\frac{1}{2}\ln\left[(x+2)^{2}+4\right]-\frac{1}{2}\arctan\frac{x+2}{2}+C. The split is needed because neither of the two usual antiderivatives can absorb a general linear numerator on its own: you must separate the “derivative of the denominator” part from the constant part.

c)

Under the root: 3−2x−x2=−(x2+2x−3)=−[(x+1)2−4]=4−(x+1)23-2x-x^{2}=-\left(x^{2}+2x-3\right)=-\left[(x+1)^{2}-4\right]=4-(x+1)^{2}. Watch the sign, this is the step where mistakes happen: you must factor out −1-1 BEFORE completing the square. You then recognize the form ∫dua2−u2=arcsin⁡ua+C\int\frac{du}{\sqrt{a^{2}-u^{2}}}=\arcsin\frac{u}{a}+C, with u=x+1u=x+1 and a=2a=2: ∫dx3−2x−x2=arcsin⁡x+12+C\int\frac{dx}{\sqrt{3-2x-x^{2}}}=\arcsin\frac{x+1}{2}+C, valid on −3<x<1-3<x<1, where the expression under the root is strictly positive.

d)

The test is the DISCRIMINANT of the quadratic. If Δ>0\Delta>0, there are two real roots, the quadratic FACTORS and you use partial fractions: the antiderivative is a sum of LOGARITHMS. If Δ<0\Delta<0, there is no real root, the quadratic is irreducible, you COMPLETE THE SQUARE and the antiderivative involves an ARCTANGENT (possibly together with a logarithm if the numerator is not constant, as in b). If Δ=0\Delta=0, the quadratic is a perfect square (x−r)2(x-r)^{2} and the antiderivative is a POWER, in −1x−r-\frac{1}{x-r}. Three cases, three families of antiderivatives, and a single discriminant computation to decide: that is the reflex to have before anything else. Under a ROOT, the same completing work leads this time towards arcsin⁡\arcsin or towards a logarithm, depending on the sign of the square, which leads straight into trigonometric substitutions.

-5-4-3-2-11232468101214161820vertex (−1, 4)(0, 4)solid: (x + 1)² + 4dashed: x² + 4

Part C: the classics (/50)

Exercise 11: The arches of x sin x: areas that grow in arithmetic progression

The curve of f(x)=xsin⁡xf(x)=x\sin x oscillates between two lines, y=xy=x and y=−xy=-x, in higher and higher arches. Each arch occupies an interval [kπ,(k+1)π][k\pi, (k+1)\pi]. The figure shows the first four.

π2π3π4πy = xy = −xy = x sin x
  • a) Using integration by parts, find an antiderivative FF of xsin⁡xx\sin x.
  • b) Compute ∫π2πxsin⁡x dx\int_{\pi}^{2\pi}x\sin x\,dx. Why is the result negative?
  • c) Compute ∫2π3πxsin⁡x dx\int_{2\pi}^{3\pi}x\sin x\,dx.
  • d) Show that ∫kπ(k+1)πxsin⁡x dx=(−1)k(2k+1)π\int_{k\pi}^{(k+1)\pi}x\sin x\,dx=(-1)^{k}(2k+1)\pi for every integer k≥0k\geq 0.
  • e) Deduce the total area between the curve and the axis on [0,4π][0, 4\pi], then the value of ∫04πxsin⁡x dx\int_{0}^{4\pi}x\sin x\,dx. Why are these two numbers so different?

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

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

Answers

  • a) −xcos⁡x+sin⁡x+C-x\cos x+\sin x+C
  • b) −3π-3\pi: arch below the axis
  • c) 5π5\pi
  • d) (−1)k(2k+1)π(-1)^{k}(2k+1)\pi
  • e) Area 16π16\pi, integral −4π-4\pi
a)

u=xu=x, dv=sin⁡x dxdv=\sin x\,dx, so du=dxdu=dx and v=−cos⁡xv=-\cos x: ∫xsin⁡x dx=−xcos⁡x+∫cos⁡x dx=−xcos⁡x+sin⁡x+C\int x\sin x\,dx=-x\cos x+\int\cos x\,dx=-x\cos x+\sin x+C. Check: (−xcos⁡x+sin⁡x)′=−cos⁡x+xsin⁡x+cos⁡x=xsin⁡x\left(-x\cos x+\sin x\right)'=-\cos x+x\sin x+\cos x=x\sin x ✓.

b)

F(2π)−F(π)=(−2π×1+0)−(−π×(−1)+0)=−2π−π=−3πF(2\pi)-F(\pi)=\left(-2\pi\times 1+0\right)-\left(-\pi\times(-1)+0\right)=-2\pi-\pi=-3\pi. On (π,2π)(\pi, 2\pi), sin⁡x<0\sin x<0 and x>0x>0: the arch lies BELOW the axis, and the integral counts its area negatively.

c)

F(3π)−F(2π)=(−3π×(−1))−(−2π×1)=3π+2π=5πF(3\pi)-F(2\pi)=\left(-3\pi\times(-1)\right)-\left(-2\pi\times 1\right)=3\pi+2\pi=5\pi.

d)

Since sin⁡(kπ)=0\sin(k\pi)=0 and cos⁡(kπ)=(−1)k\cos(k\pi)=(-1)^{k}: F((k+1)π)−F(kπ)=−(k+1)π(−1)k+1+kπ(−1)k=(−1)k[(k+1)π+kπ]=(−1)k(2k+1)πF((k+1)\pi)-F(k\pi)=-(k+1)\pi(-1)^{k+1}+k\pi(-1)^{k}=(-1)^{k}\left[(k+1)\pi+k\pi\right]=(-1)^{k}(2k+1)\pi. The areas of the arches are π\pi, 3π3\pi, 5π5\pi, 7π7\pi...: an arithmetic progression with common difference 2π2\pi.

e)

Total area: π+3π+5π+7π=16π≈50.27\pi+3\pi+5\pi+7\pi=16\pi\approx 50.27. Integral: π−3π+5π−7π=−4π\pi-3\pi+5\pi-7\pi=-4\pi, which F(4π)−F(0)=−4πF(4\pi)-F(0)=-4\pi confirms. The integral adds up SIGNED areas that largely cancel out; the geometric area adds up their absolute values. For an area, split the interval at the zeros of the function before integrating.

Exercise 12: Two routes to the same integral: substitution or parts

We want to compute I=∫x3x2+1 dxI=\int x^{3}\sqrt{x^{2}+1}\,dx. Two methods work, and they do not give the answer in the same form.

  • a) Set u=x2+1u=x^{2}+1 and express the remaining x2x^{2} in terms of uu to compute II.
  • b) Compute II by parts with u=x2u=x^{2} and dv=xx2+1 dxdv=x\sqrt{x^{2}+1}\,dx.
  • c) Do the two answers differ by a constant? Show it by rewriting the second one in terms of u=x2+1u=x^{2}+1.
  • d) Compute ∫03x3x2+1 dx\int_{0}^{\sqrt{3}}x^{3}\sqrt{x^{2}+1}\,dx.
  • e) Why is the choice u=x3u=x^{3}, dv=x2+1 dxdv=\sqrt{x^{2}+1}\,dx a dead end?

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

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

Answers

  • a) 15(x2+1)5/2−13(x2+1)3/2+C\frac{1}{5}(x^{2}+1)^{5/2}-\frac{1}{3}(x^{2}+1)^{3/2}+C
  • b) x23(x2+1)3/2−215(x2+1)5/2+C\frac{x^{2}}{3}(x^{2}+1)^{3/2}-\frac{2}{15}(x^{2}+1)^{5/2}+C
  • c) Identical once written in terms of uu
  • d) 5815≈3.867\frac{58}{15}\approx 3.867
  • e) dvdv must integrate without effort
a)

du=2x dxdu=2x\,dx, so x3dx=x2⋅x dx=(u−1)du2x^{3}dx=x^{2}\cdot x\,dx=(u-1)\frac{du}{2}: I=12∫(u−1)u1/2du=12(25u5/2−23u3/2)+C=15(x2+1)5/2−13(x2+1)3/2+CI=\frac{1}{2}\int(u-1)u^{1/2}du=\frac{1}{2}\left(\frac{2}{5}u^{5/2}-\frac{2}{3}u^{3/2}\right)+C=\frac{1}{5}(x^{2}+1)^{5/2}-\frac{1}{3}(x^{2}+1)^{3/2}+C.

b)

dv=xx2+1 dxdv=x\sqrt{x^{2}+1}\,dx gives v=13(x2+1)3/2v=\frac{1}{3}(x^{2}+1)^{3/2} (an immediate substitution), and du=2x dxdu=2x\,dx. Then I=x23(x2+1)3/2−23∫x(x2+1)3/2dx=x23(x2+1)3/2−215(x2+1)5/2+CI=\frac{x^{2}}{3}(x^{2}+1)^{3/2}-\frac{2}{3}\int x(x^{2}+1)^{3/2}dx=\frac{x^{2}}{3}(x^{2}+1)^{3/2}-\frac{2}{15}(x^{2}+1)^{5/2}+C.

c)

With x2=u−1x^{2}=u-1, the second one becomes u−13u3/2−215u5/2=13u5/2−13u3/2−215u5/2=15u5/2−13u3/2\frac{u-1}{3}u^{3/2}-\frac{2}{15}u^{5/2}=\frac{1}{3}u^{5/2}-\frac{1}{3}u^{3/2}-\frac{2}{15}u^{5/2}=\frac{1}{5}u^{5/2}-\frac{1}{3}u^{3/2}. They are IDENTICAL: the constant between them is zero. Two antiderivatives can look different without being different: before concluding there is a mistake, bring them back to the same variable.

d)

With the form from a) and the limits in uu, from 11 to 44: [15u5/2−13u3/2]14=(325−83)−(15−13)=315−73=5815≈3.867\left[\frac{1}{5}u^{5/2}-\frac{1}{3}u^{3/2}\right]_{1}^{4}=\left(\frac{32}{5}-\frac{8}{3}\right)-\left(\frac{1}{5}-\frac{1}{3}\right)=\frac{31}{5}-\frac{7}{3}=\frac{58}{15}\approx 3.867.

e)

With dv=x2+1 dxdv=\sqrt{x^{2}+1}\,dx, you would first have to find v=∫x2+1 dxv=\int\sqrt{x^{2}+1}\,dx, which requires a trigonometric substitution and gives a logarithm; then u=x3u=x^{3} only drops one degree per round. You trade one integral for a harder one. The rule: dvdv must be the piece you can integrate WITHOUT effort, here xx2+1x\sqrt{x^{2}+1}, where the xx supplies the derivative of the inside.

Exercise 13: An integral with three poles: exact, improper, then forbidden

We study f(x)=1x3−xf(x)=\frac{1}{x^{3}-x}, whose denominator vanishes at three points.

  • a) Factor x3−xx^{3}-x and decompose f(x)f(x) into partial fractions.
  • b) Give an antiderivative of ff and show that it can be written 12ln⁡∣x2−1x2∣\frac{1}{2}\ln\left|\frac{x^{2}-1}{x^{2}}\right|.
  • c) Compute ∫24dxx3−x\int_{2}^{4}\frac{dx}{x^{3}-x} in exact form, then as a decimal.
  • d) Compute ∫2+∞dxx3−x\int_{2}^{+\infty}\frac{dx}{x^{3}-x}.
  • e) A student applies the same antiderivative on [12,2]\left[\frac{1}{2}, 2\right] and finds −ln⁡2-\ln 2. What is this integral really worth?

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

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

Answers

  • a) −1x+12(x−1)+12(x+1)-\frac{1}{x}+\frac{1}{2(x-1)}+\frac{1}{2(x+1)}
  • b) 12ln⁡∣x2−1x2∣+C\frac{1}{2}\ln\left|\frac{x^{2}-1}{x^{2}}\right|+C
  • c) 12ln⁡54≈0.1116\frac{1}{2}\ln\frac{5}{4}\approx 0.1116
  • d) 12ln⁡43≈0.1438\frac{1}{2}\ln\frac{4}{3}\approx 0.1438
  • e) Pole at 11: the integral diverges
a)

x3−x=x(x−1)(x+1)x^{3}-x=x(x-1)(x+1), three simple poles. By the cover-up method: coefficient of 1x\frac{1}{x}, 1(0−1)(0+1)=−1\frac{1}{(0-1)(0+1)}=-1; of 1x−1\frac{1}{x-1}, 11×2=12\frac{1}{1\times 2}=\frac{1}{2}; of 1x+1\frac{1}{x+1}, 1(−1)(−2)=12\frac{1}{(-1)(-2)}=\frac{1}{2}. So f(x)=−1x+12(x−1)+12(x+1)f(x)=-\frac{1}{x}+\frac{1}{2(x-1)}+\frac{1}{2(x+1)}. Check at x=2x=2: 16\frac{1}{6} and −12+12+16=16-\frac{1}{2}+\frac{1}{2}+\frac{1}{6}=\frac{1}{6} ✓.

b)

F(x)=−ln⁡∣x∣+12ln⁡∣x−1∣+12ln⁡∣x+1∣=12ln⁡∣x2−1∣−12ln⁡x2=12ln⁡∣x2−1x2∣F(x)=-\ln|x|+\frac{1}{2}\ln|x-1|+\frac{1}{2}\ln|x+1|=\frac{1}{2}\ln|x^{2}-1|-\frac{1}{2}\ln x^{2}=\frac{1}{2}\ln\left|\frac{x^{2}-1}{x^{2}}\right|. Grouping the logarithms makes the limits much simpler to evaluate.

c)

F(4)−F(2)=12ln⁡1516−12ln⁡34=12ln⁡(1516×43)=12ln⁡54≈0.1116F(4)-F(2)=\frac{1}{2}\ln\frac{15}{16}-\frac{1}{2}\ln\frac{3}{4}=\frac{1}{2}\ln\left(\frac{15}{16}\times\frac{4}{3}\right)=\frac{1}{2}\ln\frac{5}{4}\approx 0.1116.

d)

∫2bf=12ln⁡b2−1b2−12ln⁡34\int_{2}^{b}f=\frac{1}{2}\ln\frac{b^{2}-1}{b^{2}}-\frac{1}{2}\ln\frac{3}{4}, and b2−1b2→1\frac{b^{2}-1}{b^{2}}\to 1 as b→+∞b\to+\infty. The integral converges and equals 0−12ln⁡34=12ln⁡43≈0.14380-\frac{1}{2}\ln\frac{3}{4}=\frac{1}{2}\ln\frac{4}{3}\approx 0.1438. This is consistent: f(x)f(x) behaves like 1x3\frac{1}{x^{3}} at infinity.

e)

The student's computation, 12ln⁡34−12ln⁡3=−ln⁡2\frac{1}{2}\ln\frac{3}{4}-\frac{1}{2}\ln 3=-\ln 2, makes no sense: the interval [12,2]\left[\frac{1}{2}, 2\right] contains the pole x=1x=1, where ff is not defined. Near 11, f(x)≈12(x−1)f(x)\approx\frac{1}{2(x-1)}, whose integral diverges on both sides: the integral is improper and DIVERGES. The fundamental theorem requires a function that is continuous on the whole interval; check for poles BEFORE evaluating an antiderivative.

Exercise 14: Problem: the damped oscillator and its equilibrium position

An object attached to a spring is slowed down by a liquid. Its velocity is v(t)=e−t/2cos⁡tv(t)=e^{-t/2}\cos t (in m/s, tt in seconds), and it starts from position s(0)=0s(0)=0.

  • a) Compute ∫e−t/2cos⁡t dt\int e^{-t/2}\cos t\,dt with two successive integrations by parts.
  • b) Deduce the position s(t)s(t).
  • c) Compute s(π)s(\pi).
  • d) Towards which position does the object settle?
  • e) At what instant does the object stop for the first time, and at what position? Is it the farthest position it will ever reach?

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

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

Answers

  • a) 25e−t/2(2sin⁡t−cos⁡t)+C\frac{2}{5}e^{-t/2}(2\sin t-\cos t)+C
  • b) s(t)=25e−t/2(2sin⁡t−cos⁡t)+25s(t)=\frac{2}{5}e^{-t/2}(2\sin t-\cos t)+\frac{2}{5}
  • c) s(π)≈0.483s(\pi)\approx 0.483 m
  • d) 0.40.4 m
  • e) t=π2t=\frac{\pi}{2}, s≈0.765s\approx 0.765 m, the maximum
a)

First round, u=cos⁡tu=\cos t, dv=e−t/2dtdv=e^{-t/2}dt, v=−2e−t/2v=-2e^{-t/2}: I=−2e−t/2cos⁡t−2∫e−t/2sin⁡t dtI=-2e^{-t/2}\cos t-2\int e^{-t/2}\sin t\,dt. Second round, again differentiating the trigonometric factor, u=sin⁡tu=\sin t: ∫e−t/2sin⁡t dt=−2e−t/2sin⁡t+2I\int e^{-t/2}\sin t\,dt=-2e^{-t/2}\sin t+2I. Substituting back: I=−2e−t/2cos⁡t+4e−t/2sin⁡t−4II=-2e^{-t/2}\cos t+4e^{-t/2}\sin t-4I, so 5I=e−t/2(4sin⁡t−2cos⁡t)5I=e^{-t/2}(4\sin t-2\cos t) and I=25e−t/2(2sin⁡t−cos⁡t)+CI=\frac{2}{5}e^{-t/2}\left(2\sin t-\cos t\right)+C.

b)

s(0)=25(0−1)+C=0s(0)=\frac{2}{5}(0-1)+C=0 gives C=25C=\frac{2}{5}. So s(t)=25e−t/2(2sin⁡t−cos⁡t)+25s(t)=\frac{2}{5}e^{-t/2}\left(2\sin t-\cos t\right)+\frac{2}{5}.

c)

s(π)=25e−π/2(0+1)+25=0.4(e−π/2+1)≈0.483s(\pi)=\frac{2}{5}e^{-\pi/2}(0+1)+\frac{2}{5}=0.4\left(e^{-\pi/2}+1\right)\approx 0.483 m.

d)

e−t/2→0e^{-t/2}\to 0 and 2sin⁡t−cos⁡t2\sin t-\cos t stays bounded by 5\sqrt{5}: s(t)→25=0.4s(t)\to\frac{2}{5}=0.4 m. The equilibrium position is EXACTLY the constant of integration.

e)

v(t)=0v(t)=0 for the first time when cos⁡t=0\cos t=0, that is t=π2≈1.57t=\frac{\pi}{2}\approx 1.57 s. Then s(π2)=25e−π/4×2+25≈0.765s\left(\frac{\pi}{2}\right)=\frac{2}{5}e^{-\pi/4}\times 2+\frac{2}{5}\approx 0.765 m. Before that, v>0v>0; between π2\frac{\pi}{2} and 3π2\frac{3\pi}{2}, v<0v<0. This is the maximum: the object overshoots the equilibrium by 0.3650.365 m, then oscillates around it with an amplitude that shrinks like e−t/2e^{-t/2}. The figure in the solution shows the position and the velocity.

12345678910-0.4-0.20.20.40.60.81s(t), positionequilibrium 0.4 mv(t), velocity

Exercise 15: Problem: the flood hydrograph of a river

After a storm, the flow of a river is modelled by Q(t)=5+20 t e−t/3Q(t)=5+20\,t\,e^{-t/3}, in thousands of m3^{3} per hour, tt in hours since the start of the flood. The term 55 is the base flow of the river.

  • a) Compute ∫t e−t/3dt\int t\,e^{-t/3}dt.
  • b) At what instant is the flow at its maximum? What is it?
  • c) Compute the volume of water that flows past during the first 1212 hours.
  • d) What is the average flow over these 1212 hours?
  • e) The volume DUE TO THE FLOOD is the part above the base flow. Compute it over 2424 hours, then over an unlimited time, and give the share that has flowed past within 2424 hours.

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

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

Answers

  • a) −3(t+3)e−t/3+C-3(t+3)e^{-t/3}+C
  • b) t=3t=3 h, Q≈27.07Q\approx 27.07
  • c) 240−900e−4≈223.5240-900e^{-4}\approx 223.5 thousand m3^{3}
  • d) ≈18.63\approx 18.63 thousand m3^{3} per hour
  • e) ≈179.5\approx 179.5 over 2424 h, 180180 in total, 99.799.7%
a)

By parts, u=tu=t and dv=e−t/3dtdv=e^{-t/3}dt, v=−3e−t/3v=-3e^{-t/3}: ∫te−t/3dt=−3te−t/3+3∫e−t/3dt=−3te−t/3−9e−t/3+C=−3(t+3)e−t/3+C\int te^{-t/3}dt=-3te^{-t/3}+3\int e^{-t/3}dt=-3te^{-t/3}-9e^{-t/3}+C=-3(t+3)e^{-t/3}+C. Check: (−3(t+3)e−t/3)′=−3e−t/3+(t+3)e−t/3=te−t/3\left(-3(t+3)e^{-t/3}\right)'=-3e^{-t/3}+(t+3)e^{-t/3}=te^{-t/3} ✓.

b)

Q′(t)=20e−t/3(1−t3)Q'(t)=20e^{-t/3}\left(1-\frac{t}{3}\right), positive before t=3t=3 and negative after: the peak occurs at t=3t=3 h, with Q(3)=5+60e≈27.07Q(3)=5+\frac{60}{e}\approx 27.07 thousand m3^{3} per hour.

c)

∫012Q(t)dt=5×12+20[−3(t+3)e−t/3]012=60+20(−45e−4+9)=240−900e−4≈223.5\int_{0}^{12}Q(t)dt=5\times 12+20\left[-3(t+3)e^{-t/3}\right]_{0}^{12}=60+20\left(-45e^{-4}+9\right)=240-900e^{-4}\approx 223.5 thousand m3^{3}.

d)

Average flow =112∫012Q≈223.5212≈18.63=\frac{1}{12}\int_{0}^{12}Q\approx\frac{223.52}{12}\approx 18.63 thousand m3^{3} per hour, well above the base flow and well below the peak.

e)

Over 2424 hours: 20[−3(t+3)e−t/3]024=20(9−81e−8)≈179.520\left[-3(t+3)e^{-t/3}\right]_{0}^{24}=20\left(9-81e^{-8}\right)\approx 179.5 thousand m3^{3}. Over an unlimited time, (t+3)e−t/3→0(t+3)e^{-t/3}\to 0 and the flood volume tends to 20×9=18020\times 9=180 thousand m3^{3}. Share that has flowed past within 2424 hours: 179.46180≈99.7\frac{179.46}{180}\approx 99.7 percent. The boundary term −3(t+3)e−t/3-3(t+3)e^{-t/3} alone tells you how much water is still to come. The figure in the solution plots the hydrograph.

369121518212451015202530peak: 27.07 at t = 3 hbase flow: 5Q(t)
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.

Previous chapter Partial fraction decomposition, 201-SN3-RE Next chapter Substitution, parts and partial fractions, 201-SN3-RE

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

See also

Looking for an integral calculus tutor in Montreal?

Get in touch for a first session. We work through Integral Calculus 201-SN3-RE at the level of real CEGEP tests, from substitution all the way to trigonometric substitutions.

Site by Studio Squalli