Integral Calculus 201-SN3-RE • CEGEP, Montreal

Corrected exercises: integration tricks, Weierstrass, King's rule, Wallis (201-SN3-RE)

The exercise set on integration techniques covers the four methods of the course outline: substitution, integration by parts, partial fractions and trigonometric substitution. This one exists for the next question, the one that comes at the end of the exam: what do you do when none of the four works? Its fifteen corrected exercises for Integral Calculus, 201-SN3-RE (formerly 201-NYB), cover King's rule, the Weierstrass substitution t=tan⁡x2t=\tan\frac{x}{2}, parity and periodicity, the hyperbolic substitution, reduction formulas and Wallis integrals, integration by parts with the invisible factor 11 and cyclic integration by parts, Bioche's rules and the integral of an inverse function.

The answer rests on an idea the course almost never states: a definite integral can be computed thanks to a symmetry of the DOMAIN, without knowing how to find an antiderivative. That is the principle behind King's rule (exercise 1), the substitution x↦1xx\mapsto\frac{1}{x} (exercise 8) and the synthesis problem (exercise 10), where ∫0πxsin⁡3x dx\int_{0}^{\pi}x\sin^{3}x\,dx falls in one line.

By the end of the set, you can rationalize a fraction in sine and cosine with Weierstrass (exercise 2) or, faster, with Bioche's rules (exercise 11), replace a trigonometric substitution with x=asinh⁡ux=a\sinh u (exercise 4), establish the recurrence In=n−1nIn−2I_{n}=\frac{n-1}{n}I_{n-2} of the Wallis integrals (exercise 5), solve an integration by parts where II comes back on both sides (exercise 7), integrate arcsin⁡\arcsin or the inverse of x3+xx^{3}+x with the complementary rectangle (exercise 12), and compute ∫0π/2ln⁡(sin⁡x) dx\int_{0}^{\pi/2}\ln(\sin x)\,dx and then three famous integrals that follow from it (exercise 13). Two probability problems close the set: Buffon's needle and the measurement of π\pi (exercise 14), and the mean distance between two points of a circle (exercise 15).

Exercise 9 gathers the pitfalls: an antiderivative applied across an asymptote, a substitution that is not monotonic, x2\sqrt{x^{2}} taken for xx, ln⁡x\ln x instead of ln⁡∣x∣\ln|x|. The most expensive of all, the Weierstrass substitution applied over a full turn (exercise 2 d, taken up again in exercise 9), turns an integral worth 2π3\frac{2\pi}{\sqrt{3}} into a perfectly convincing zero.

15 corrected exercises • 150 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

  • • King's rule: ∫abf(x) dx=∫abf(a+b−x) dx\int_{a}^{b}f(x)\,dx=\int_{a}^{b}f(a+b-x)\,dx. It computes nothing by itself; it provides a SECOND equation in II.
  • • Weierstrass: with t=tan⁡x2t=\tan\frac{x}{2}, we have sin⁡x=2t1+t2\sin x=\frac{2t}{1+t^{2}}, cos⁡x=1−t21+t2\cos x=\frac{1-t^{2}}{1+t^{2}} and dx=2 dt1+t2dx=\frac{2\,dt}{1+t^{2}}. Valid only on an interval where tan⁡x2\tan\frac{x}{2} is continuous, so never across x=πx=\pi.
  • • Hyperbolic functions: cosh⁡2u−sinh⁡2u=1\cosh^{2}u-\sinh^{2}u=1, (sinh⁡u)′=cosh⁡u\left(\sinh u\right)'=\cosh u, (cosh⁡u)′=sinh⁡u\left(\cosh u\right)'=\sinh u. For x2+a2\sqrt{x^{2}+a^{2}}, set x=asinh⁡ux=a\sinh u; for x2−a2\sqrt{x^{2}-a^{2}}, set x=acosh⁡ux=a\cosh u. Logarithmic forms: sinh⁡−1x=ln⁡(x+x2+1)\sinh^{-1}x=\ln\left(x+\sqrt{x^{2}+1}\right) and cosh⁡−1x=ln⁡(x+x2−1)\cosh^{-1}x=\ln\left(x+\sqrt{x^{2}-1}\right).
  • • Wallis: In=∫0π/2sin⁡nx dxI_{n}=\int_{0}^{\pi/2}\sin^{n}x\,dx satisfies In=n−1nIn−2I_{n}=\frac{n-1}{n}I_{n-2}, with I0=π2I_{0}=\frac{\pi}{2} and I1=1I_{1}=1. Moreover InIn−1=π2nI_{n}I_{n-1}=\frac{\pi}{2n}.
  • • Symmetry of the domain: ∫0∞f(x) dx=∫0∞1x2f ⁣(1x)dx\int_{0}^{\infty}f(x)\,dx=\int_{0}^{\infty}\frac{1}{x^{2}}f\!\left(\frac{1}{x}\right)dx, and ∫1/aag(x)xdx=∫1/aag(1/x)xdx\int_{1/a}^{a}\frac{g(x)}{x}dx=\int_{1/a}^{a}\frac{g(1/x)}{x}dx.
  • • STANDING PITFALL: a substitution must be MONOTONIC on the interval, and the integrand must be continuous there. A negative answer for the integral of a positive function always signals one of the two.

Part A: folding the bounds, rationalizing, reducing (/50)

Exercise 1: King's rule: folding the interval onto itself

The substitution u=a+b−xu=a+b-x swaps the two bounds without changing the interval. So it does not produce an antiderivative, but a SECOND expression of the same integral. Adding the two is often enough to make everything collapse.

  • a) Prove that ∫abf(x) dx=∫abf(a+b−x) dx\int_{a}^{b}f(x)\,dx=\int_{a}^{b}f(a+b-x)\,dx.
  • b) Compute I=∫0π/2sin⁡xsin⁡x+cos⁡x dxI=\int_{0}^{\pi/2}\dfrac{\sin x}{\sin x+\cos x}\,dx by introducing J=∫0π/2cos⁡xsin⁡x+cos⁡x dxJ=\int_{0}^{\pi/2}\dfrac{\cos x}{\sin x+\cos x}\,dx.
  • c) Compute ∫0π/2dx1+tan⁡2x\int_{0}^{\pi/2}\dfrac{dx}{1+\tan^{\sqrt{2}}x}. Comment on the disappearance of the exponent.
  • d) Compute K=∫0πxsin⁡x1+cos⁡2x dxK=\int_{0}^{\pi}\dfrac{x\sin x}{1+\cos^{2}x}\,dx.
  • e) Generalize: what is the value of ∫0af(x)f(x)+f(a−x) dx\int_{0}^{a}\dfrac{f(x)}{f(x)+f(a-x)}\,dx for any ff continuous and strictly positive on [0,a][0,a]?

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

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

Answers

  • a) u=a+b−xu=a+b-x: same interval, bounds swapped
  • b) I=JI=J and I+J=π2I+J=\frac{\pi}{2}: I=π4I=\frac{\pi}{4}
  • c) π4\frac{\pi}{4}, whatever the exponent
  • d) K=π24≈2.467K=\frac{\pi^{2}}{4}\approx 2.467
  • e) a2\frac{a}{2} for every ff
a)

Let u=a+b−xu=a+b-x, so x=a+b−ux=a+b-u and dx=−dudx=-du. When x=ax=a, u=bu=b; when x=bx=b, u=au=a. Then ∫abf(x) dx=∫baf(a+b−u)(−du)=∫abf(a+b−u) du\int_{a}^{b}f(x)\,dx=\int_{b}^{a}f(a+b-u)\left(-du\right)=\int_{a}^{b}f(a+b-u)\,du. Since the name of the variable is a dummy, this is indeed the same integral. Geometrically, the graph has been flipped about the vertical line x=a+b2x=\frac{a+b}{2}, which does not change the area.

b)

Here a+b=π2a+b=\frac{\pi}{2}, and sin⁡(π2−x)=cos⁡x\sin\left(\frac{\pi}{2}-x\right)=\cos x, cos⁡(π2−x)=sin⁡x\cos\left(\frac{\pi}{2}-x\right)=\sin x. The trick therefore turns II exactly into JJ: I=JI=J. Moreover I+J=∫0π/2sin⁡x+cos⁡xsin⁡x+cos⁡x dx=∫0π/21 dx=π2I+J=\int_{0}^{\pi/2}\dfrac{\sin x+\cos x}{\sin x+\cos x}\,dx=\int_{0}^{\pi/2}1\,dx=\dfrac{\pi}{2}. From I=JI=J and I+J=π2I+J=\frac{\pi}{2} we get I=π4I=\dfrac{\pi}{4}. No antiderivative was ever looked for: that is the whole point.

c)

11+tan⁡2x=cos⁡2xcos⁡2x+sin⁡2x\dfrac{1}{1+\tan^{\sqrt{2}}x}=\dfrac{\cos^{\sqrt{2}}x}{\cos^{\sqrt{2}}x+\sin^{\sqrt{2}}x}. Calling this integral II, King's rule swaps sin⁡\sin and cos⁡\cos and gives J=∫0π/2sin⁡2xcos⁡2x+sin⁡2xdxJ=\int_{0}^{\pi/2}\dfrac{\sin^{\sqrt{2}}x}{\cos^{\sqrt{2}}x+\sin^{\sqrt{2}}x}dx, with I+J=π2I+J=\frac{\pi}{2} and I=JI=J by the same argument as in b. Hence I=π4I=\dfrac{\pi}{4}. The exponent disappeared because it never plays any role: all that matters is the SYMMETRY sin⁡↔cos⁡\sin\leftrightarrow\cos of the interval. The answer would be the same with exponent 17 or π\pi, which makes this integral unbeatable on a multiple-choice exam.

d)

The trick with x↦π−xx\mapsto\pi-x gives K=∫0π(π−x)sin⁡x1+cos⁡2x dxK=\int_{0}^{\pi}\dfrac{\left(\pi-x\right)\sin x}{1+\cos^{2}x}\,dx, since sin⁡(π−x)=sin⁡x\sin\left(\pi-x\right)=\sin x and cos⁡2(π−x)=cos⁡2x\cos^{2}\left(\pi-x\right)=\cos^{2}x. Adding the two expressions: 2K=π∫0πsin⁡x1+cos⁡2x dx2K=\pi\int_{0}^{\pi}\dfrac{\sin x}{1+\cos^{2}x}\,dx. This last integral is done with u=cos⁡xu=\cos x, du=−sin⁡x dxdu=-\sin x\,dx: it equals ∫−11du1+u2=[arctan⁡u]−11=π4+π4=π2\int_{-1}^{1}\dfrac{du}{1+u^{2}}=\left[\arctan u\right]_{-1}^{1}=\dfrac{\pi}{4}+\dfrac{\pi}{4}=\dfrac{\pi}{2}. Hence 2K=π⋅π22K=\pi\cdot\dfrac{\pi}{2} and K=π24≈2.467K=\dfrac{\pi^{2}}{4}\approx 2.467. The factor xx, which made the integral out of reach, has been eliminated by the trick.

e)

Call this integral II. King's rule with x↦a−xx\mapsto a-x gives I=∫0af(a−x)f(a−x)+f(x) dxI=\int_{0}^{a}\dfrac{f(a-x)}{f(a-x)+f(x)}\,dx. Adding the two expressions, the numerators recombine: 2I=∫0af(x)+f(a−x)f(x)+f(a−x) dx=∫0a1 dx=a2I=\int_{0}^{a}\dfrac{f(x)+f(a-x)}{f(x)+f(a-x)}\,dx=\int_{0}^{a}1\,dx=a, so I=a2I=\dfrac{a}{2}, WHATEVER ff is. Questions b and c are two special cases of it, with a=π2a=\frac{\pi}{2}. The shape to recognize: a quotient whose denominator is the sum of the numerator and its reflection.

-11234561234midpoint (a + b)/2f(x)f(a + b − x)

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.

Exercise 2: The Weierstrass substitution: rationalizing sine and cosine

Every rational function of sin⁡x\sin x and cos⁡x\cos x becomes a rational function of tt under t=tan⁡x2t=\tan\frac{x}{2}. It is the only technique of the chapter that is universal. Very often, it is also the heaviest one, and it hides a continuity trap.

  • a) Prove the three formulas sin⁡x=2t1+t2\sin x=\dfrac{2t}{1+t^{2}}, cos⁡x=1−t21+t2\cos x=\dfrac{1-t^{2}}{1+t^{2}} and dx=2 dt1+t2dx=\dfrac{2\,dt}{1+t^{2}}.
  • b) Compute ∫dx1+sin⁡x\displaystyle\int\dfrac{dx}{1+\sin x}, then check the result by differentiating it.
  • c) Compute ∫0π/2dx2+cos⁡x\displaystyle\int_{0}^{\pi/2}\dfrac{dx}{2+\cos x}.
  • d) On which interval is the substitution legitimate? What happens if it is applied as is to ∫02πdx2+cos⁡x\displaystyle\int_{0}^{2\pi}\dfrac{dx}{2+\cos x}, and what is the true value?
  • e) State the three shortcuts that avoid Weierstrass, and say when each one applies.

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

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

Answers

  • a) sin⁡x=2t1+t2\sin x=\frac{2t}{1+t^{2}}, cos⁡x=1−t21+t2\cos x=\frac{1-t^{2}}{1+t^{2}}, dx=2 dt1+t2dx=\frac{2\,dt}{1+t^{2}}
  • b) −21+tan⁡x2+C-\frac{2}{1+\tan\frac{x}{2}}+C
  • c) π33≈0.6046\frac{\pi}{3\sqrt{3}}\approx 0.6046
  • d) Wrong 00; true value 2π3≈3.628\frac{2\pi}{\sqrt{3}}\approx 3.628
  • e) Bioche: u=cos⁡xu=\cos x, u=sin⁡xu=\sin x, u=tan⁡xu=\tan x
a)

With t=tan⁡x2t=\tan\frac{x}{2}, the double-angle formulas give sin⁡x=2sin⁡x2cos⁡x2\sin x=2\sin\frac{x}{2}\cos\frac{x}{2}. Dividing top and bottom by cos⁡2x2\cos^{2}\frac{x}{2}: sin⁡x=2tan⁡x2sec⁡2x2=2t1+t2\sin x=\dfrac{2\tan\frac{x}{2}}{\sec^{2}\frac{x}{2}}=\dfrac{2t}{1+t^{2}}. Likewise cos⁡x=cos⁡2x2−sin⁡2x2=1−tan⁡2x21+tan⁡2x2=1−t21+t2\cos x=\cos^{2}\frac{x}{2}-\sin^{2}\frac{x}{2}=\dfrac{1-\tan^{2}\frac{x}{2}}{1+\tan^{2}\frac{x}{2}}=\dfrac{1-t^{2}}{1+t^{2}}. Finally dt=12sec⁡2x2 dx=12(1+t2)dxdt=\frac{1}{2}\sec^{2}\frac{x}{2}\,dx=\frac{1}{2}\left(1+t^{2}\right)dx, hence dx=2 dt1+t2dx=\dfrac{2\,dt}{1+t^{2}}.

b)

∫dx1+sin⁡x=∫2 dt1+t21+2t1+t2=∫2 dt1+t2+2t=∫2 dt(1+t)2=−21+t+C=−21+tan⁡x2+C\displaystyle\int\dfrac{dx}{1+\sin x}=\int\dfrac{\frac{2\,dt}{1+t^{2}}}{1+\frac{2t}{1+t^{2}}}=\int\dfrac{2\,dt}{1+t^{2}+2t}=\int\dfrac{2\,dt}{\left(1+t\right)^{2}}=-\dfrac{2}{1+t}+C=-\dfrac{2}{1+\tan\frac{x}{2}}+C. Check: differentiating, ddx[−21+tan⁡x2]=2⋅12sec⁡2x2(1+tan⁡x2)2=1+t2(1+t)2\dfrac{d}{dx}\left[-\dfrac{2}{1+\tan\frac{x}{2}}\right]=\dfrac{2\cdot\frac{1}{2}\sec^{2}\frac{x}{2}}{\left(1+\tan\frac{x}{2}\right)^{2}}=\dfrac{1+t^{2}}{\left(1+t\right)^{2}}. And 1+sin⁡x=1+2t1+t2=(1+t)21+t21+\sin x=1+\dfrac{2t}{1+t^{2}}=\dfrac{\left(1+t\right)^{2}}{1+t^{2}}: the quotient obtained is indeed 11+sin⁡x\dfrac{1}{1+\sin x}.

c)

For x∈[0,π2]x\in\left[0,\frac{\pi}{2}\right], t=tan⁡x2t=\tan\frac{x}{2} goes from 0 to 1. ∫0π/2dx2+cos⁡x=∫012 dt1+t22+1−t21+t2=∫012 dt2+2t2+1−t2=∫012 dt3+t2\displaystyle\int_{0}^{\pi/2}\dfrac{dx}{2+\cos x}=\int_{0}^{1}\dfrac{\frac{2\,dt}{1+t^{2}}}{2+\frac{1-t^{2}}{1+t^{2}}}=\int_{0}^{1}\dfrac{2\,dt}{2+2t^{2}+1-t^{2}}=\int_{0}^{1}\dfrac{2\,dt}{3+t^{2}}. Hence 23[arctan⁡t3]01=23⋅π6=π33=π39≈0.6046\dfrac{2}{\sqrt{3}}\left[\arctan\dfrac{t}{\sqrt{3}}\right]_{0}^{1}=\dfrac{2}{\sqrt{3}}\cdot\dfrac{\pi}{6}=\dfrac{\pi}{3\sqrt{3}}=\dfrac{\pi\sqrt{3}}{9}\approx 0.6046.

d)

The substitution requires t=tan⁡x2t=\tan\frac{x}{2} to be continuous, so x2\frac{x}{2} must avoid π2\frac{\pi}{2}: it is only legitimate on an interval contained in (−π,π)\left(-\pi,\pi\right), up to a shift by a multiple of 2π2\pi. On [0,2π][0,2\pi], tt starts at 0, tends to +∞+\infty at x=πx=\pi, reappears at −∞-\infty and climbs back to 0: blindly applying the antiderivative 23arctan⁡t3\dfrac{2}{\sqrt{3}}\arctan\dfrac{t}{\sqrt{3}} gives F(2π)−F(0)=0−0=0F\left(2\pi\right)-F\left(0\right)=0-0=0. Yet the integrand 12+cos⁡x\dfrac{1}{2+\cos x} is everywhere greater than 13\frac{1}{3}: the integral is at least 2π3\frac{2\pi}{3}. The true value, obtained by splitting at x=πx=\pi and doubling by symmetry, is 2π3≈3.628\dfrac{2\pi}{\sqrt{3}}\approx 3.628. Remember: a zero for the integral of a strictly positive function is not a computation error, it is a DOMAIN error.

e)

These are Bioche's rules, which rest on the invariance of the expression f(x) dxf(x)\,dx. (1) If f(−x)(−dx)=f(x) dxf(-x)\left(-dx\right)=f(x)\,dx, that is, if ff is odd, set u=cos⁡xu=\cos x. (2) If the expression is invariant under x↦π−xx\mapsto\pi-x, set u=sin⁡xu=\sin x. (3) If it is invariant under x↦π+xx\mapsto\pi+x, set u=tan⁡xu=\tan x. Weierstrass is only used when NONE of the three applies, as for 12+cos⁡x\dfrac{1}{2+\cos x}: it is a last resort, not a first reflex, because it often produces painful partial fractions where a u=cos⁡xu=\cos x would have been enough.

Exercise 3: Parity, symmetry and periodicity: killing an integral in one line

Before any computation, three questions: is the interval symmetric? Is the integrand even or odd? Is it periodic? A yes often makes the whole integral disappear. A yes given too quickly makes it disappear wrongly.

  • a) State the two rules for ∫−aa\int_{-a}^{a} according to parity, and prove the one for the odd case.
  • b) Evaluate ∫−11x31+x4 dx\int_{-1}^{1}\dfrac{x^{3}}{1+x^{4}}\,dx and ∫−22(x5sin⁡x+x2)dx\int_{-2}^{2}\left(x^{5}\sin x+x^{2}\right)dx by identifying the parity of EACH term.
  • c) A student claims that ∫−11dxx\int_{-1}^{1}\dfrac{dx}{x} equals 0 because the integrand is odd. What do you make of this argument?
  • d) Show that ∫0πf(sin⁡x)dx=2∫0π/2f(sin⁡x)dx\int_{0}^{\pi}f\left(\sin x\right)dx=2\int_{0}^{\pi/2}f\left(\sin x\right)dx for every continuous ff, then apply it to ∫0πsin⁡4x dx\int_{0}^{\pi}\sin^{4}x\,dx.
  • e) If gg is TT-periodic, show that ∫aa+Tg=∫0Tg\int_{a}^{a+T}g=\int_{0}^{T}g, then compute ∫010π∣sin⁡x∣dx\int_{0}^{10\pi}\left|\sin x\right|dx.

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

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

Answers

  • a) Even: 2∫0a2\int_{0}^{a}; odd: 00
  • b) 00; even integrand, not zero
  • c) Wrong: 1x\frac{1}{x} is not integrable on [−1,1][-1, 1]
  • d) 3π8\frac{3\pi}{8}
  • e) 2020
a)

If ff is EVEN, ∫−aaf=2∫0af\int_{-a}^{a}f=2\int_{0}^{a}f. If ff is ODD, ∫−aaf=0\int_{-a}^{a}f=0. Proof of the odd case: ∫−aaf=∫−a0f+∫0af\int_{-a}^{a}f=\int_{-a}^{0}f+\int_{0}^{a}f. In the first one, let u=−xu=-x: it becomes ∫0af(−u)du=−∫0af(u)du\int_{0}^{a}f\left(-u\right)du=-\int_{0}^{a}f\left(u\right)du. The sum is therefore zero. The hidden hypothesis, and it is the one behind question c, is that ff be INTEGRABLE on [−a,a][-a,a].

b)

x31+x4\dfrac{x^{3}}{1+x^{4}} is odd (odd numerator, even denominator) and continuous: the integral is 0. For the second one, careful: x5x^{5} is odd and sin⁡x\sin x is odd, so their PRODUCT is EVEN. And x2x^{2} is even. The integrand is therefore entirely even, and ∫−22(x5sin⁡x+x2)dx=2∫02(x5sin⁡x+x2)dx\int_{-2}^{2}\left(x^{5}\sin x+x^{2}\right)dx=2\int_{0}^{2}\left(x^{5}\sin x+x^{2}\right)dx, which has no reason to be zero; the term x2x^{2} alone contributes 2⋅83=1632\cdot\frac{8}{3}=\frac{16}{3}. The classic error is to see x5x^{5} and conclude “odd” without looking at the next factor.

c)

The argument is wrong. The function 1x\frac{1}{x} is indeed odd, but it is NOT integrable on [−1,1][-1,1]: it is not defined at 0, and the two halves ∫01dxx\int_{0}^{1}\frac{dx}{x} and ∫−10dxx\int_{-1}^{0}\frac{dx}{x} diverge to +∞+\infty and −∞-\infty respectively. The integral does not exist; writing ∞−∞=0\infty-\infty=0 is not a computation. One can define a Cauchy principal value equal to 0, but it is a different object, and it must be named. Rule: parity never exempts you from checking continuity on the whole interval.

d)

Let u=π−xu=\pi-x on [π2,π]\left[\frac{\pi}{2},\pi\right]: du=−dxdu=-dx, the bounds become π2\frac{\pi}{2} and 0, and sin⁡(π−u)=sin⁡u\sin\left(\pi-u\right)=\sin u. Hence ∫π/2πf(sin⁡x)dx=∫0π/2f(sin⁡u)du\int_{\pi/2}^{\pi}f\left(\sin x\right)dx=\int_{0}^{\pi/2}f\left(\sin u\right)du: the two halves are equal, hence the factor 2. Indeed, the graph of sin⁡\sin is symmetric about the vertical line x=π2x=\frac{\pi}{2}. Application: ∫0πsin⁡4x dx=2∫0π/2sin⁡4x dx=2⋅3π16=3π8\int_{0}^{\pi}\sin^{4}x\,dx=2\int_{0}^{\pi/2}\sin^{4}x\,dx=2\cdot\dfrac{3\pi}{16}=\dfrac{3\pi}{8}, the value 3π16\frac{3\pi}{16} coming from the Wallis integrals of exercise 5.

e)

Let φ(a)=∫aa+Tg\varphi(a)=\int_{a}^{a+T}g. Then φ′(a)=g(a+T)−g(a)=0\varphi'(a)=g\left(a+T\right)-g\left(a\right)=0 by periodicity, so φ\varphi is constant and equals φ(0)=∫0Tg\varphi(0)=\int_{0}^{T}g. Application: ∣sin⁡x∣\left|\sin x\right| is π\pi-periodic, and ∫0π∣sin⁡x∣dx=∫0πsin⁡x dx=[−cos⁡x]0π=2\int_{0}^{\pi}\left|\sin x\right|dx=\int_{0}^{\pi}\sin x\,dx=\left[-\cos x\right]_{0}^{\pi}=2. The interval [0,10π][0,10\pi] contains exactly 10 periods, so ∫010π∣sin⁡x∣dx=10⋅2=20\int_{0}^{10\pi}\left|\sin x\right|dx=10\cdot 2=20. Without the absolute value, the same integral would be 0: it is the same pitfall as in exercise 9 of the set on polar coordinates.

-3-2-1123-6-5-4-3-2-112345area +area −

Exercise 4: Hyperbolic functions: the substitution the table hides

The identity cosh⁡2u−sinh⁡2u=1\cosh^{2}u-\sinh^{2}u=1 plays for x2+a2\sqrt{x^{2}+a^{2}} the role that 1+tan⁡2=sec⁡21+\tan^{2}=\sec^{2} plays for trigonometric substitution, but without ever producing a ln⁡∣sec⁡u+tan⁡u∣\ln\left|\sec u+\tan u\right| to translate back. It is almost always the shorter route.

  • a) Starting from cosh⁡u=eu+e−u2\cosh u=\frac{e^{u}+e^{-u}}{2} and sinh⁡u=eu−e−u2\sinh u=\frac{e^{u}-e^{-u}}{2}, prove cosh⁡2u−sinh⁡2u=1\cosh^{2}u-\sinh^{2}u=1 and give the derivatives of both functions.
  • b) Prove that sinh⁡−1x=ln⁡(x+x2+1)\sinh^{-1}x=\ln\left(x+\sqrt{x^{2}+1}\right).
  • c) Compute ∫dxx2+9\displaystyle\int\dfrac{dx}{\sqrt{x^{2}+9}} with x=3sinh⁡ux=3\sinh u, then compare the route with that of the substitution x=3tan⁡θx=3\tan\theta.
  • d) Compute ∫03x2+9 dx\displaystyle\int_{0}^{3}\sqrt{x^{2}+9}\,dx.
  • e) Which hyperbolic substitution suits x2−a2\sqrt{x^{2}-a^{2}}, and why can it not be used on all of R\mathbb{R}?

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

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

Answers

  • a) cosh⁡2−sinh⁡2=1\cosh^{2}-\sinh^{2}=1; sinh⁡′=cosh⁡\sinh'=\cosh, cosh⁡′=sinh⁡\cosh'=\sinh
  • b) sinh⁡−1x=ln⁡(x+x2+1)\sinh^{-1}x=\ln(x+\sqrt{x^{2}+1})
  • c) ln⁡(x+x2+9)+C\ln(x+\sqrt{x^{2}+9})+C, no triangle
  • d) 92[ln⁡(1+2)+2]≈10.33\frac{9}{2}\left[\ln(1+\sqrt{2})+\sqrt{2}\right]\approx 10.33
  • e) x=acosh⁡ux=a\cosh u, branch x≥ax\geq a only
a)

cosh⁡2u−sinh⁡2u=(eu+e−u)2−(eu−e−u)24=4eue−u4=1\cosh^{2}u-\sinh^{2}u=\dfrac{\left(e^{u}+e^{-u}\right)^{2}-\left(e^{u}-e^{-u}\right)^{2}}{4}=\dfrac{4e^{u}e^{-u}}{4}=1. Differentiating the definitions: (sinh⁡u)′=eu+e−u2=cosh⁡u\left(\sinh u\right)'=\dfrac{e^{u}+e^{-u}}{2}=\cosh u and (cosh⁡u)′=eu−e−u2=sinh⁡u\left(\cosh u\right)'=\dfrac{e^{u}-e^{-u}}{2}=\sinh u. Note the absence of a minus sign, unlike the trigonometric case: that is what makes these substitutions so comfortable.

b)

Let x=sinh⁡u=eu−e−u2x=\sinh u=\dfrac{e^{u}-e^{-u}}{2} and E=euE=e^{u}. Then 2x=E−1E2x=E-\dfrac{1}{E}, that is E2−2xE−1=0E^{2}-2xE-1=0. Solving gives E=x±x2+1E=x\pm\sqrt{x^{2}+1}, and since E=eu>0E=e^{u}>0 while x−x2+1<0x-\sqrt{x^{2}+1}<0, only the positive root works: eu=x+x2+1e^{u}=x+\sqrt{x^{2}+1}, so u=ln⁡(x+x2+1)u=\ln\left(x+\sqrt{x^{2}+1}\right).

c)

With x=3sinh⁡ux=3\sinh u, dx=3cosh⁡u dudx=3\cosh u\,du and x2+9=3sinh⁡2u+1=3cosh⁡u\sqrt{x^{2}+9}=3\sqrt{\sinh^{2}u+1}=3\cosh u, positive with no sign discussion. The integral becomes ∫3cosh⁡u3cosh⁡u du=u+C=sinh⁡−1x3+C=ln⁡(x+x2+9)+C′\int\dfrac{3\cosh u}{3\cosh u}\,du=u+C=\sinh^{-1}\dfrac{x}{3}+C=\ln\left(x+\sqrt{x^{2}+9}\right)+C'. Along the trigonometric route x=3tan⁡θx=3\tan\theta, you get ∫sec⁡θ dθ=ln⁡∣sec⁡θ+tan⁡θ∣+C\int\sec\theta\,d\theta=\ln\left|\sec\theta+\tan\theta\right|+C, and then you must rebuild the right triangle to translate back sec⁡θ=x2+93\sec\theta=\frac{\sqrt{x^{2}+9}}{3}. Same result, two more steps, and an integral of secant to know by heart.

d)

With x=3sinh⁡ux=3\sinh u: when x=0x=0, u=0u=0; when x=3x=3, sinh⁡u=1\sinh u=1, so u1=ln⁡(1+2)u_{1}=\ln\left(1+\sqrt{2}\right). The integral becomes ∫0u13cosh⁡u⋅3cosh⁡u du=9∫0u1cosh⁡2u du\int_{0}^{u_{1}}3\cosh u\cdot 3\cosh u\,du=9\int_{0}^{u_{1}}\cosh^{2}u\,du. With cosh⁡2u=1+cosh⁡2u2\cosh^{2}u=\dfrac{1+\cosh 2u}{2}, an antiderivative is u+sinh⁡ucosh⁡u2\dfrac{u+\sinh u\cosh u}{2}. At u1u_{1}, sinh⁡u1=1\sinh u_{1}=1 and cosh⁡u1=2\cosh u_{1}=\sqrt{2}, hence ∫03x2+9 dx=92[ln⁡(1+2)+2]≈10.330\displaystyle\int_{0}^{3}\sqrt{x^{2}+9}\,dx=\dfrac{9}{2}\left[\ln\left(1+\sqrt{2}\right)+\sqrt{2}\right]\approx 10.330.

e)

For x2−a2\sqrt{x^{2}-a^{2}} we set x=acosh⁡ux=a\cosh u, because cosh⁡2u−1=sinh⁡2u\cosh^{2}u-1=\sinh^{2}u. But cosh⁡u≥1\cosh u\geq 1 for every real uu: this substitution can only reach x≥ax\geq a. It is therefore reserved for the RIGHT branch of the domain ∣x∣≥a\left|x\right|\geq a; for x≤−ax\leq -a, set x=−acosh⁡ux=-a\cosh u, or handle the question by symmetry. Moreover x2−a2=a∣sinh⁡u∣\sqrt{x^{2}-a^{2}}=a\left|\sinh u\right|, and we choose u≥0u\geq 0 to remove the absolute value. It is the same precaution as for x=asec⁡θx=a\sec\theta, with a lighter computation behind it.

Exercise 5: Reduction formulas and Wallis integrals

When an integer exponent nn appears, you do not look for an antiderivative: you look for a relation between InI_{n} and In−2I_{n-2}. One integration by parts is enough, and the recurrence does the rest. The Wallis integrals In=∫0π/2sin⁡nx dxI_{n}=\int_{0}^{\pi/2}\sin^{n}x\,dx are the model.

  • a) Integrating by parts on sin⁡nx=sin⁡n−1x⋅sin⁡x\sin^{n}x=\sin^{n-1}x\cdot\sin x, prove that In=n−1nIn−2I_{n}=\dfrac{n-1}{n}I_{n-2} for n≥2n\geq 2.
  • b) Give I0I_{0} and I1I_{1}, then compute I2I_{2} to I6I_{6}.
  • c) Write the closed form of InI_{n} according to the parity of nn, and explain why π\pi appears in only one case out of two.
  • d) Prove that InIn−1=π2nI_{n}I_{n-1}=\dfrac{\pi}{2n}, and check it for n=3n=3.
  • e) Establish the reduction formula for ∫0∞xne−xdx\displaystyle\int_{0}^{\infty}x^{n}e^{-x}dx and compute its value.

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

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

Answers

  • a) In=n−1nIn−2I_{n}=\frac{n-1}{n}I_{n-2}
  • b) π4\frac{\pi}{4}, 23\frac{2}{3}, 3π16\frac{3\pi}{16}, 815\frac{8}{15}, 5π32\frac{5\pi}{32}
  • c) π\pi for even nn only
  • d) I3I2=π6I_{3}I_{2}=\frac{\pi}{6}
  • e) Γn=nΓn−1=n!\Gamma_{n}=n\Gamma_{n-1}=n!
a)

Let u=sin⁡n−1xu=\sin^{n-1}x and dv=sin⁡x dxdv=\sin x\,dx, so du=(n−1)sin⁡n−2xcos⁡x dxdu=\left(n-1\right)\sin^{n-2}x\cos x\,dx and v=−cos⁡xv=-\cos x. The boundary term [−sin⁡n−1xcos⁡x]0π/2\left[-\sin^{n-1}x\cos x\right]_{0}^{\pi/2} vanishes at both bounds. What remains is In=(n−1)∫0π/2sin⁡n−2xcos⁡2x dxI_{n}=\left(n-1\right)\int_{0}^{\pi/2}\sin^{n-2}x\cos^{2}x\,dx. Replacing cos⁡2x\cos^{2}x with 1−sin⁡2x1-\sin^{2}x: In=(n−1)(In−2−In)I_{n}=\left(n-1\right)\left(I_{n-2}-I_{n}\right), that is nIn=(n−1)In−2nI_{n}=\left(n-1\right)I_{n-2} and In=n−1nIn−2I_{n}=\dfrac{n-1}{n}I_{n-2}.

b)

I0=∫0π/2dx=π2I_{0}=\int_{0}^{\pi/2}dx=\dfrac{\pi}{2} and I1=∫0π/2sin⁡x dx=1I_{1}=\int_{0}^{\pi/2}\sin x\,dx=1. Then I2=12I0=π4I_{2}=\frac{1}{2}I_{0}=\dfrac{\pi}{4}, I3=23I1=23I_{3}=\frac{2}{3}I_{1}=\dfrac{2}{3}, I4=34I2=3π16I_{4}=\frac{3}{4}I_{2}=\dfrac{3\pi}{16}, I5=45I3=815I_{5}=\frac{4}{5}I_{3}=\dfrac{8}{15}, I6=56I4=5π32I_{6}=\frac{5}{6}I_{4}=\dfrac{5\pi}{32}.

c)

For n=2mn=2m even: I2m=2m−12m⋅2m−32m−2⋯12⋅π2I_{2m}=\dfrac{2m-1}{2m}\cdot\dfrac{2m-3}{2m-2}\cdots\dfrac{1}{2}\cdot\dfrac{\pi}{2}. For n=2m+1n=2m+1 odd: I2m+1=2m2m+1⋅2m−22m−1⋯23⋅1I_{2m+1}=\dfrac{2m}{2m+1}\cdot\dfrac{2m-2}{2m-1}\cdots\dfrac{2}{3}\cdot 1. The recurrence goes down two at a time: it ends at I0I_{0} if nn is even, at I1I_{1} if it is odd. Since I0=π2I_{0}=\frac{\pi}{2} contains π\pi and I1=1I_{1}=1 does not, only the even indices inherit π\pi. The parity of the exponent therefore decides the nature of the result, which is a good way to check an answer: ∫0π/2sin⁡7x dx\int_{0}^{\pi/2}\sin^{7}x\,dx cannot contain π\pi.

d)

The sequence Jn=nInIn−1J_{n}=nI_{n}I_{n-1} satisfies Jn+1=(n+1)In+1In=(n+1)⋅nn+1In−1⋅In=nInIn−1=JnJ_{n+1}=\left(n+1\right)I_{n+1}I_{n}=\left(n+1\right)\cdot\dfrac{n}{n+1}I_{n-1}\cdot I_{n}=nI_{n}I_{n-1}=J_{n}: it is CONSTANT. Now J1=1⋅I1I0=π2J_{1}=1\cdot I_{1}I_{0}=\dfrac{\pi}{2}. Hence nInIn−1=π2nI_{n}I_{n-1}=\dfrac{\pi}{2}, that is InIn−1=π2nI_{n}I_{n-1}=\dfrac{\pi}{2n}. Check for n=3n=3: I3I2=23⋅π4=π6I_{3}I_{2}=\dfrac{2}{3}\cdot\dfrac{\pi}{4}=\dfrac{\pi}{6}, and π2⋅3=π6\dfrac{\pi}{2\cdot 3}=\dfrac{\pi}{6}. It is this identity, together with InIn−1→1\frac{I_{n}}{I_{n-1}}\to 1, that gives the Wallis product π2=∏m≥14m24m2−1\dfrac{\pi}{2}=\prod_{m\geq 1}\dfrac{4m^{2}}{4m^{2}-1} and the asymptotic equivalent In∼π2nI_{n}\sim\sqrt{\dfrac{\pi}{2n}}.

e)

Let Γn=∫0∞xne−xdx\Gamma_{n}=\int_{0}^{\infty}x^{n}e^{-x}dx. By parts with u=xnu=x^{n} and dv=e−xdxdv=e^{-x}dx: Γn=[−xne−x]0∞+n∫0∞xn−1e−xdx=nΓn−1\Gamma_{n}=\left[-x^{n}e^{-x}\right]_{0}^{\infty}+n\int_{0}^{\infty}x^{n-1}e^{-x}dx=n\Gamma_{n-1}, the boundary term being zero because the exponential beats any power. Since Γ0=∫0∞e−xdx=1\Gamma_{0}=\int_{0}^{\infty}e^{-x}dx=1, the recurrence gives Γn=n!\Gamma_{n}=n!. We have just proved that the factorial is an integral: it is the starting point of the Gamma function, which extends n!n! to non-integer arguments.

24681012140.511.52I₀ = π/2Iₙ = ((n − 1)/n) Iₙ₋₂:a reduction formuladecreasing to 0

Part B: computational tricks, symmetries of the domain and pitfalls (/50)

Exercise 6: The invisible factor 1: integration by parts in disguise

A function on its own, with no visible product, still lends itself to integration by parts: it is enough to see it as the product of itself by 1, and to choose dv=dxdv=dx. The reflex works for every function whose derivative you know but whose antiderivative you do not: logarithms and inverse functions.

  • a) State the principle, and say which family of functions it applies to.
  • b) Compute ∫arctan⁡x dx\displaystyle\int\arctan x\,dx and ∫arcsin⁡x dx\displaystyle\int\arcsin x\,dx.
  • c) Compute ∫ln⁡(x2+1)dx\displaystyle\int\ln\left(x^{2}+1\right)dx, then check by differentiation.
  • d) Establish the reduction formula for ∫(ln⁡x)ndx\displaystyle\int\left(\ln x\right)^{n}dx and compute ∫(ln⁡x)2dx\displaystyle\int\left(\ln x\right)^{2}dx.
  • e) Compute ∫ln⁡(x+x2+1)dx\displaystyle\int\ln\left(x+\sqrt{x^{2}+1}\right)dx.

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

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

Answers

  • a) ∫f=xf−∫xf′\int f=xf-\int xf': logarithms and inverse functions
  • b) xarctan⁡x−12ln⁡(1+x2)+Cx\arctan x-\frac{1}{2}\ln(1+x^{2})+C; xarcsin⁡x+1−x2+Cx\arcsin x+\sqrt{1-x^{2}}+C
  • c) xln⁡(x2+1)−2x+2arctan⁡x+Cx\ln(x^{2}+1)-2x+2\arctan x+C
  • d) x(ln⁡x)2−2xln⁡x+2x+Cx(\ln x)^{2}-2x\ln x+2x+C
  • e) xsinh⁡−1x−x2+1+Cx\sinh^{-1}x-\sqrt{x^{2}+1}+C
a)

Write f(x)=f(x)⋅1f(x)=f(x)\cdot 1 and set u=f(x)u=f(x), dv=dxdv=dx, so v=xv=x: ∫f=xf(x)−∫xf′(x) dx\int f=xf(x)-\int xf'(x)\,dx. The method pays off whenever f′f' is ALGEBRAIC while ff is not, which is exactly the case of logarithms and inverse trigonometric functions. The case ∫ln⁡x dx=xln⁡x−x\int\ln x\,dx=x\ln x-x is treated in the set on integration techniques; the following ones are its variants.

b)

For arctan⁡\arctan: u=arctan⁡xu=\arctan x, du=dx1+x2du=\dfrac{dx}{1+x^{2}}, v=xv=x. Then ∫arctan⁡x dx=xarctan⁡x−∫x dx1+x2=xarctan⁡x−12ln⁡(1+x2)+C\int\arctan x\,dx=x\arctan x-\int\dfrac{x\,dx}{1+x^{2}}=x\arctan x-\dfrac{1}{2}\ln\left(1+x^{2}\right)+C. For arcsin⁡\arcsin: du=dx1−x2du=\dfrac{dx}{\sqrt{1-x^{2}}}, hence ∫arcsin⁡x dx=xarcsin⁡x−∫x dx1−x2=xarcsin⁡x+1−x2+C\int\arcsin x\,dx=x\arcsin x-\int\dfrac{x\,dx}{\sqrt{1-x^{2}}}=x\arcsin x+\sqrt{1-x^{2}}+C. In both cases, the remaining integral is done by an immediate substitution.

c)

u=ln⁡(x2+1)u=\ln\left(x^{2}+1\right), du=2x dxx2+1du=\dfrac{2x\,dx}{x^{2}+1}, v=xv=x: ∫ln⁡(x2+1)dx=xln⁡(x2+1)−∫2x2x2+1dx\int\ln\left(x^{2}+1\right)dx=x\ln\left(x^{2}+1\right)-\int\dfrac{2x^{2}}{x^{2}+1}dx. Now 2x2x2+1=2−2x2+1\dfrac{2x^{2}}{x^{2}+1}=2-\dfrac{2}{x^{2}+1}, an antiderivative of which is 2x−2arctan⁡x2x-2\arctan x. Hence ∫ln⁡(x2+1)dx=xln⁡(x2+1)−2x+2arctan⁡x+C\int\ln\left(x^{2}+1\right)dx=x\ln\left(x^{2}+1\right)-2x+2\arctan x+C. Check: differentiating, ln⁡(x2+1)+2x2x2+1−2+2x2+1=ln⁡(x2+1)+2x2+2x2+1−2=ln⁡(x2+1)\ln\left(x^{2}+1\right)+\dfrac{2x^{2}}{x^{2}+1}-2+\dfrac{2}{x^{2}+1}=\ln\left(x^{2}+1\right)+\dfrac{2x^{2}+2}{x^{2}+1}-2=\ln\left(x^{2}+1\right).

d)

With u=(ln⁡x)nu=\left(\ln x\right)^{n} and dv=dxdv=dx: du=n(ln⁡x)n−1dxxdu=n\left(\ln x\right)^{n-1}\dfrac{dx}{x} and v=xv=x, so ∫(ln⁡x)ndx=x(ln⁡x)n−n∫(ln⁡x)n−1dx\int\left(\ln x\right)^{n}dx=x\left(\ln x\right)^{n}-n\int\left(\ln x\right)^{n-1}dx. The exponent drops by one at each round, and the recurrence stops at ∫dx=x\int dx=x. For n=2n=2: ∫(ln⁡x)2dx=x(ln⁡x)2−2∫ln⁡x dx=x(ln⁡x)2−2(xln⁡x−x)=x(ln⁡x)2−2xln⁡x+2x+C\int\left(\ln x\right)^{2}dx=x\left(\ln x\right)^{2}-2\int\ln x\,dx=x\left(\ln x\right)^{2}-2\left(x\ln x-x\right)=x\left(\ln x\right)^{2}-2x\ln x+2x+C.

e)

The function is sinh⁡−1x\sinh^{-1}x, whose derivative is 1x2+1\dfrac{1}{\sqrt{x^{2}+1}}. With dv=dxdv=dx: ∫sinh⁡−1x dx=xsinh⁡−1x−∫x dxx2+1=xsinh⁡−1x−x2+1+C\int\sinh^{-1}x\,dx=x\sinh^{-1}x-\int\dfrac{x\,dx}{\sqrt{x^{2}+1}}=x\sinh^{-1}x-\sqrt{x^{2}+1}+C, the last integral being done with w=x2+1w=x^{2}+1. Check: the derivative is sinh⁡−1x+xx2+1−xx2+1=sinh⁡−1x\sinh^{-1}x+\dfrac{x}{\sqrt{x^{2}+1}}-\dfrac{x}{\sqrt{x^{2}+1}}=\sinh^{-1}x. The result has exactly the same shape as ∫arcsin⁡\int\arcsin, which is no coincidence: both functions are inverses of functions whose derivative is algebraic.

Exercise 7: The system of two integrals, and the equation where I appears on both sides

Some integrals cannot be computed on their own, only in pairs: two integrations by parts produce two equations linking II and JJ, and all that is left is a linear system. In other cases, it is II itself that comes back, and the equation is solved in one line.

  • a) Let I=∫excos⁡2x dxI=\displaystyle\int e^{x}\cos 2x\,dx and J=∫exsin⁡2x dxJ=\displaystyle\int e^{x}\sin 2x\,dx. By differentiating excos⁡2xe^{x}\cos 2x and exsin⁡2xe^{x}\sin 2x, write two relations between II and JJ.
  • b) Solve the system and give II and JJ.
  • c) Find II again in one line through ∫e(1+2i)xdx\displaystyle\int e^{\left(1+2i\right)x}dx, by taking the real part.
  • d) Evaluate ∫0πexcos⁡2x dx\displaystyle\int_{0}^{\pi}e^{x}\cos 2x\,dx.
  • e) Compute ∫0π/4ln⁡(1+tan⁡x)dx\displaystyle\int_{0}^{\pi/4}\ln\left(1+\tan x\right)dx using tan⁡(π4−x)=1−tan⁡x1+tan⁡x\tan\left(\frac{\pi}{4}-x\right)=\dfrac{1-\tan x}{1+\tan x}.

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

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

Answers

  • a) I−2J=excos⁡2xI-2J=e^{x}\cos 2x and 2I+J=exsin⁡2x2I+J=e^{x}\sin 2x
  • b) I=ex(cos⁡2x+2sin⁡2x)5I=\frac{e^{x}(\cos 2x+2\sin 2x)}{5}, J=ex(sin⁡2x−2cos⁡2x)5J=\frac{e^{x}(\sin 2x-2\cos 2x)}{5}
  • c) Real part of e(1+2i)x1+2i\frac{e^{(1+2i)x}}{1+2i}
  • d) eπ−15≈4.428\frac{e^{\pi}-1}{5}\approx 4.428
  • e) πln⁡28≈0.2722\frac{\pi\ln 2}{8}\approx 0.2722
a)

ddx[excos⁡2x]=excos⁡2x−2exsin⁡2x\dfrac{d}{dx}\left[e^{x}\cos 2x\right]=e^{x}\cos 2x-2e^{x}\sin 2x. Integrating both sides: excos⁡2x=I−2Je^{x}\cos 2x=I-2J. Likewise ddx[exsin⁡2x]=exsin⁡2x+2excos⁡2x\dfrac{d}{dx}\left[e^{x}\sin 2x\right]=e^{x}\sin 2x+2e^{x}\cos 2x gives exsin⁡2x=J+2Ie^{x}\sin 2x=J+2I. We thus have the system I−2J=excos⁡2xI-2J=e^{x}\cos 2x and 2I+J=exsin⁡2x2I+J=e^{x}\sin 2x.

b)

From the second equation, J=exsin⁡2x−2IJ=e^{x}\sin 2x-2I. Substituting into the first: I−2exsin⁡2x+4I=excos⁡2xI-2e^{x}\sin 2x+4I=e^{x}\cos 2x, so 5I=ex(cos⁡2x+2sin⁡2x)5I=e^{x}\left(\cos 2x+2\sin 2x\right) and I=ex(cos⁡2x+2sin⁡2x)5+CI=\dfrac{e^{x}\left(\cos 2x+2\sin 2x\right)}{5}+C. Then J=exsin⁡2x−2ex(cos⁡2x+2sin⁡2x)5=ex(sin⁡2x−2cos⁡2x)5+CJ=e^{x}\sin 2x-\dfrac{2e^{x}\left(\cos 2x+2\sin 2x\right)}{5}=\dfrac{e^{x}\left(\sin 2x-2\cos 2x\right)}{5}+C. Check by differentiating II: ex(cos⁡2x+2sin⁡2x)+ex(−2sin⁡2x+4cos⁡2x)5=5excos⁡2x5=excos⁡2x\dfrac{e^{x}\left(\cos 2x+2\sin 2x\right)+e^{x}\left(-2\sin 2x+4\cos 2x\right)}{5}=\dfrac{5e^{x}\cos 2x}{5}=e^{x}\cos 2x.

c)

∫e(1+2i)xdx=e(1+2i)x1+2i=ex(cos⁡2x+isin⁡2x)(1−2i)5\int e^{\left(1+2i\right)x}dx=\dfrac{e^{\left(1+2i\right)x}}{1+2i}=\dfrac{e^{x}\left(\cos 2x+i\sin 2x\right)\left(1-2i\right)}{5}, after multiplying by the conjugate. The real part of the numerator is ex(cos⁡2x+2sin⁡2x)e^{x}\left(\cos 2x+2\sin 2x\right), so I=ex(cos⁡2x+2sin⁡2x)5I=\dfrac{e^{x}\left(\cos 2x+2\sin 2x\right)}{5}, and the imaginary part gives JJ along the way. A single integral, done like an ordinary exponential, replaces two integrations by parts: it is the most convincing argument for complex notation, and it works for every ∫eaxcos⁡bx dx\int e^{ax}\cos bx\,dx.

d)

∫0πexcos⁡2x dx=[ex(cos⁡2x+2sin⁡2x)5]0π\displaystyle\int_{0}^{\pi}e^{x}\cos 2x\,dx=\left[\dfrac{e^{x}\left(\cos 2x+2\sin 2x\right)}{5}\right]_{0}^{\pi}. At x=πx=\pi: cos⁡2π=1\cos 2\pi=1 and sin⁡2π=0\sin 2\pi=0, hence eπ5\dfrac{e^{\pi}}{5}. At x=0x=0: 15\dfrac{1}{5}. The result is eπ−15≈4.428\dfrac{e^{\pi}-1}{5}\approx 4.428.

e)

Call this integral II and apply King's rule with x↦π4−xx\mapsto\frac{\pi}{4}-x: I=∫0π/4ln⁡(1+1−tan⁡x1+tan⁡x)dx=∫0π/4ln⁡21+tan⁡x dxI=\displaystyle\int_{0}^{\pi/4}\ln\left(1+\dfrac{1-\tan x}{1+\tan x}\right)dx=\int_{0}^{\pi/4}\ln\dfrac{2}{1+\tan x}\,dx. Splitting the logarithm: I=∫0π/4ln⁡2 dx−∫0π/4ln⁡(1+tan⁡x)dx=π4ln⁡2−II=\displaystyle\int_{0}^{\pi/4}\ln 2\,dx-\int_{0}^{\pi/4}\ln\left(1+\tan x\right)dx=\dfrac{\pi}{4}\ln 2-I. Hence 2I=π4ln⁡22I=\dfrac{\pi}{4}\ln 2 and I=πln⁡28≈0.2722I=\dfrac{\pi\ln 2}{8}\approx 0.2722. It is the most striking example of the chapter: the antiderivative of ln⁡(1+tan⁡x)\ln\left(1+\tan x\right) is not elementary, and yet the definite integral falls in three lines, only because II reappears on the other side of the equal sign.

Exercise 8: The substitution that swaps x and its reciprocal

The change x↦1xx\mapsto\frac{1}{x} maps (0,∞)\left(0,\infty\right) onto itself and swaps (0,1)\left(0,1\right) with (1,∞)\left(1,\infty\right). Like King's rule, it computes nothing by itself: it provides a second expression of the same integral, and the addition concludes.

  • a) Show that ∫0∞f(x) dx=∫0∞1x2f ⁣(1x)dx\displaystyle\int_{0}^{\infty}f(x)\,dx=\int_{0}^{\infty}\dfrac{1}{x^{2}}f\!\left(\dfrac{1}{x}\right)dx when both integrals converge.
  • b) Deduce that ∫0∞ln⁡x1+x2 dx=0\displaystyle\int_{0}^{\infty}\dfrac{\ln x}{1+x^{2}}\,dx=0.
  • c) Show that ∫0∞dx(1+x2)(1+xn)=π4\displaystyle\int_{0}^{\infty}\dfrac{dx}{\left(1+x^{2}\right)\left(1+x^{n}\right)}=\dfrac{\pi}{4} for every real nn.
  • d) Compute ∫1/22arctan⁡xx dx\displaystyle\int_{1/2}^{2}\dfrac{\arctan x}{x}\,dx.
  • e) Compute ∫0π/2ln⁡(sin⁡x)dx\displaystyle\int_{0}^{\pi/2}\ln\left(\sin x\right)dx through a symmetry in the same spirit.

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

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

Answers

  • a) x=1ux=\frac{1}{u}: same domain
  • b) I=−II=-I, so 00
  • c) π4\frac{\pi}{4} for every nn
  • d) πln⁡22≈1.089\frac{\pi\ln 2}{2}\approx 1.089
  • e) −π2ln⁡2≈−1.089-\frac{\pi}{2}\ln 2\approx-1.089
a)

Let x=1ux=\dfrac{1}{u}, so dx=−duu2dx=-\dfrac{du}{u^{2}}. When x→0+x\to 0^{+}, u→+∞u\to+\infty; when x→+∞x\to+\infty, u→0+u\to 0^{+}. Then ∫0∞f(x) dx=∫∞0f ⁣(1u)(−duu2)=∫0∞1u2f ⁣(1u)du\int_{0}^{\infty}f(x)\,dx=\int_{\infty}^{0}f\!\left(\frac{1}{u}\right)\left(-\frac{du}{u^{2}}\right)=\int_{0}^{\infty}\dfrac{1}{u^{2}}f\!\left(\dfrac{1}{u}\right)du. The domain is INVARIANT AS A WHOLE: that is the entire strength of the method.

b)

With f(x)=ln⁡x1+x2f(x)=\dfrac{\ln x}{1+x^{2}}: 1x2f ⁣(1x)=1x2⋅−ln⁡x1+1x2=−ln⁡xx2+1=−f(x)\dfrac{1}{x^{2}}f\!\left(\dfrac{1}{x}\right)=\dfrac{1}{x^{2}}\cdot\dfrac{-\ln x}{1+\frac{1}{x^{2}}}=\dfrac{-\ln x}{x^{2}+1}=-f(x). The formula of a therefore gives I=−II=-I, so 2I=02I=0 and I=0I=0. An integral with no elementary antiderivative is computed without integrating anything: the contribution of (0,1)\left(0,1\right), where ln⁡x<0\ln x<0, exactly cancels that of (1,∞)\left(1,\infty\right).

c)

Call the integral II. With f(x)=1(1+x2)(1+xn)f(x)=\dfrac{1}{\left(1+x^{2}\right)\left(1+x^{n}\right)}, we have 1x2f ⁣(1x)=1x2⋅x21+x2⋅xn1+xn=xn(1+x2)(1+xn)\dfrac{1}{x^{2}}f\!\left(\dfrac{1}{x}\right)=\dfrac{1}{x^{2}}\cdot\dfrac{x^{2}}{1+x^{2}}\cdot\dfrac{x^{n}}{1+x^{n}}=\dfrac{x^{n}}{\left(1+x^{2}\right)\left(1+x^{n}\right)}. Hence I=∫0∞xn dx(1+x2)(1+xn)I=\displaystyle\int_{0}^{\infty}\dfrac{x^{n}\,dx}{\left(1+x^{2}\right)\left(1+x^{n}\right)}. Adding the two expressions, the factor 1+xn1+x^{n} cancels: 2I=∫0∞dx1+x2=[arctan⁡x]0∞=π22I=\displaystyle\int_{0}^{\infty}\dfrac{dx}{1+x^{2}}=\left[\arctan x\right]_{0}^{\infty}=\dfrac{\pi}{2}, so I=π4I=\dfrac{\pi}{4}, independently of nn. It is the exact counterpart of question c of exercise 1.

d)

The interval [12,2]\left[\frac{1}{2},2\right] is also invariant under x↦1xx\mapsto\frac{1}{x}, and dxx\dfrac{dx}{x} becomes −duu-\dfrac{du}{u}, the bounds being swapped. Hence I=∫1/22arctan⁡1xx dxI=\displaystyle\int_{1/2}^{2}\dfrac{\arctan\frac{1}{x}}{x}\,dx. Adding, and since arctan⁡x+arctan⁡1x=π2\arctan x+\arctan\dfrac{1}{x}=\dfrac{\pi}{2} for x>0x>0: 2I=π2∫1/22dxx=π2ln⁡4=πln⁡22I=\dfrac{\pi}{2}\displaystyle\int_{1/2}^{2}\dfrac{dx}{x}=\dfrac{\pi}{2}\ln 4=\pi\ln 2. Hence I=πln⁡22≈1.089I=\dfrac{\pi\ln 2}{2}\approx 1.089.

e)

Let I=∫0π/2ln⁡(sin⁡x)dxI=\displaystyle\int_{0}^{\pi/2}\ln\left(\sin x\right)dx. King's rule gives I=∫0π/2ln⁡(cos⁡x)dxI=\displaystyle\int_{0}^{\pi/2}\ln\left(\cos x\right)dx. Adding: 2I=∫0π/2ln⁡(sin⁡xcos⁡x)dx=∫0π/2ln⁡sin⁡2x2 dx=∫0π/2ln⁡(sin⁡2x)dx−π2ln⁡22I=\displaystyle\int_{0}^{\pi/2}\ln\left(\sin x\cos x\right)dx=\int_{0}^{\pi/2}\ln\dfrac{\sin 2x}{2}\,dx=\int_{0}^{\pi/2}\ln\left(\sin 2x\right)dx-\dfrac{\pi}{2}\ln 2. In the remaining integral, let u=2xu=2x: it equals 12∫0πln⁡(sin⁡u)du\dfrac{1}{2}\displaystyle\int_{0}^{\pi}\ln\left(\sin u\right)du, and by the symmetry of sin⁡\sin about π2\frac{\pi}{2} (exercise 3 d) this is 12⋅2I=I\dfrac{1}{2}\cdot 2I=I. We thus get 2I=I−π2ln⁡22I=I-\dfrac{\pi}{2}\ln 2, that is I=−π2ln⁡2≈−1.089I=-\dfrac{\pi}{2}\ln 2\approx-1.089. The integral is improper at 0, but convergent, and the result is negative as it should be, since sin⁡x≤1\sin x\leq 1 on the interval.

12340.20.40.60.811.21/3131/(1 + x²)

Exercise 9: The five pitfalls that cost the most marks

Each of the following five situations produces a perfectly presentable and perfectly wrong result. Spotting them is worth more than knowing one more technique: they are what makes the difference between 80 and 95 on a final exam.

  • a) A student writes ∫−11dxx2=[−1x]−11=−1−1=−2\displaystyle\int_{-1}^{1}\dfrac{dx}{x^{2}}=\left[-\dfrac{1}{x}\right]_{-1}^{1}=-1-1=-2. What is the actual value of this integral?
  • b) He computes ∫−11x2dx\displaystyle\int_{-1}^{1}x^{2}dx by setting u=x2u=x^{2}. Why is the substitution illegitimate?
  • c) He claims that ∫−22x2 dx=[x22]−22=0\displaystyle\int_{-2}^{2}\sqrt{x^{2}}\,dx=\left[\dfrac{x^{2}}{2}\right]_{-2}^{2}=0. Correct him.
  • d) He writes ∫dxx=ln⁡x+C\displaystyle\int\dfrac{dx}{x}=\ln x+C and deduces ∫−2−1dxx=ln⁡(−1)−ln⁡(−2)\displaystyle\int_{-2}^{-1}\dfrac{dx}{x}=\ln\left(-1\right)-\ln\left(-2\right). Correct him and give the value.
  • e) Write the list of checks to make BEFORE writing down any antiderivative, and say which one would have caught each of the four errors above, as well as the one in exercise 2 d.

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

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

Answers

  • a) Diverges: 00 is inside
  • b) u=x2u=x^{2} not monotonic; 23\frac{2}{3}
  • c) x2=∣x∣\sqrt{x^{2}}=|x|: 44
  • d) ln⁡∣x∣\ln|x|: −ln⁡2≈−0.693-\ln 2\approx-0.693
  • e) Continuity, monotonicity, sign under roots, domain, plausibility
a)

The function 1x2\dfrac{1}{x^{2}} is not defined at 0, which is INSIDE the interval: the fundamental theorem does not apply, because it requires continuity on all of [−1,1][-1,1]. You must split: ∫01dxx2=lim⁡ε→0+[−1x]ε1=lim⁡(−1+1ε)=+∞\displaystyle\int_{0}^{1}\dfrac{dx}{x^{2}}=\lim_{\varepsilon\to 0^{+}}\left[-\dfrac{1}{x}\right]_{\varepsilon}^{1}=\lim\left(-1+\dfrac{1}{\varepsilon}\right)=+\infty. The integral DIVERGES. The alarm signal was immediate: the integrand is strictly positive, so a negative answer is impossible.

b)

The substitution u=x2u=x^{2} is not MONOTONIC on [−1,1][-1,1]: it decreases then increases, and is therefore not one-to-one. Formally, du=2x dxdu=2x\,dx forces dx=du2x=du±2udx=\dfrac{du}{2x}=\dfrac{du}{\pm 2\sqrt{u}}, with a sign that changes at 0: you cannot write a single integral in uu. The correct way out is to split at 0 and treat each half, or more simply to use parity: ∫−11x2dx=2∫01x2dx=23\displaystyle\int_{-1}^{1}x^{2}dx=2\int_{0}^{1}x^{2}dx=\dfrac{2}{3}.

c)

x2=∣x∣\sqrt{x^{2}}=\left|x\right|, not xx. The antiderivative x22\dfrac{x^{2}}{2} is that of xx, not that of ∣x∣\left|x\right|. Correctly: ∫−22∣x∣dx=2∫02x dx=2⋅2=4\displaystyle\int_{-2}^{2}\left|x\right|dx=2\int_{0}^{2}x\,dx=2\cdot 2=4. Here again, a positive function cannot have a zero integral over a non-degenerate interval. The rule A2=∣A∣\sqrt{A^{2}}=\left|A\right| is also the one that requires absolute values in arc lengths.

d)

The antiderivative of 1x\dfrac{1}{x} is ln⁡∣x∣\ln\left|x\right|, valid separately on (−∞,0)\left(-\infty,0\right) and on (0,∞)\left(0,\infty\right). On [−2,−1][-2,-1], where x<0x<0: ∫−2−1dxx=[ln⁡∣x∣]−2−1=ln⁡1−ln⁡2=−ln⁡2≈−0.693\displaystyle\int_{-2}^{-1}\dfrac{dx}{x}=\left[\ln\left|x\right|\right]_{-2}^{-1}=\ln 1-\ln 2=-\ln 2\approx-0.693. The result is negative, which is correct: the integrand is negative on the whole interval. Writing ln⁡(−1)\ln\left(-1\right) makes no sense in the real numbers.

e)

Checklist. (1) Is the integrand CONTINUOUS on the whole closed interval? If not, the integral is improper and must go through a limit; this question catches error a. (2) Is every substitution you consider MONOTONIC on the interval? This question catches error b and, above all, the one in exercise 2 d, where tan⁡x2\tan\frac{x}{2} blows up at x=πx=\pi. (3) Do I have a ROOT or an absolute value whose sign I assumed? This question catches error c. (4) Is my antiderivative valid on the interval UNDER CONSIDERATION, in particular for ln⁡∣x∣\ln\left|x\right|? This question catches error d. (5) Finally, a plausibility check: is the SIGN of the result compatible with that of the integrand, and is the order of magnitude compatible with the length of the interval times a typical value? This last question, which takes five seconds, would have caught all five errors.

Exercise 10: Synthesis problem: the formula that eliminates the factor x

All the tricks of Part A converge on a single identity, valid for every continuous function ff: ∫0πx f ⁣(sin⁡x)dx=π2∫0πf ⁣(sin⁡x)dx\displaystyle\int_{0}^{\pi}x\,f\!\left(\sin x\right)dx=\dfrac{\pi}{2}\int_{0}^{\pi}f\!\left(\sin x\right)dx. It removes the factor xx, that is, precisely what made the integral out of reach.

  • a) Prove this identity.
  • b) Recover in two lines the value of ∫0πxsin⁡x1+cos⁡2x dx\displaystyle\int_{0}^{\pi}\dfrac{x\sin x}{1+\cos^{2}x}\,dx, computed in exercise 1 d.
  • c) Compute ∫0πxsin⁡3x dx\displaystyle\int_{0}^{\pi}x\sin^{3}x\,dx.
  • d) Compute ∫0πx dx1+sin⁡x\displaystyle\int_{0}^{\pi}\dfrac{x\,dx}{1+\sin x}, reusing the antiderivative of exercise 2 b.
  • e) Write the complete decision tree of the set: faced with a definite integral that resists the four techniques of the course, which questions should you ask, in which order, and which exercise illustrates each one?

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

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

Answers

  • a) King's rule with x↦π−xx\mapsto\pi-x: 2I=π∫0πf(sin⁡x)dx2I=\pi\int_{0}^{\pi}f(\sin x)dx
  • b) π24\frac{\pi^{2}}{4}
  • c) 2π3≈2.094\frac{2\pi}{3}\approx 2.094
  • d) π\pi
  • e) Course techniques, then symmetries, reduction, systems, Bioche, hyperbolic functions, checks
a)

Apply King's rule with x↦π−xx\mapsto\pi-x. Since sin⁡(π−x)=sin⁡x\sin\left(\pi-x\right)=\sin x, the argument of ff is unchanged: I=∫0π(π−x)f ⁣(sin⁡x)dx=π∫0πf ⁣(sin⁡x)dx−II=\displaystyle\int_{0}^{\pi}\left(\pi-x\right)f\!\left(\sin x\right)dx=\pi\int_{0}^{\pi}f\!\left(\sin x\right)dx-I. Hence 2I=π∫0πf ⁣(sin⁡x)dx2I=\pi\displaystyle\int_{0}^{\pi}f\!\left(\sin x\right)dx and I=π2∫0πf ⁣(sin⁡x)dxI=\dfrac{\pi}{2}\displaystyle\int_{0}^{\pi}f\!\left(\sin x\right)dx. Everything rests on the fact that sin⁡\sin is symmetric about x=π2x=\frac{\pi}{2}: the formula would be WRONG with cos⁡\cos in place of sin⁡\sin.

b)

Here f(s)=s1+(1−s2)=s2−s2f(s)=\dfrac{s}{1+\left(1-s^{2}\right)}=\dfrac{s}{2-s^{2}} works, because 1+cos⁡2x=2−sin⁡2x1+\cos^{2}x=2-\sin^{2}x: the integrand is indeed of the form x f ⁣(sin⁡x)x\,f\!\left(\sin x\right). Hence K=π2∫0πsin⁡x1+cos⁡2x dx=π2⋅π2=π24K=\dfrac{\pi}{2}\displaystyle\int_{0}^{\pi}\dfrac{\sin x}{1+\cos^{2}x}\,dx=\dfrac{\pi}{2}\cdot\dfrac{\pi}{2}=\dfrac{\pi^{2}}{4}, the value π2\frac{\pi}{2} having been obtained with u=cos⁡xu=\cos x in exercise 1. Two lines instead of five.

c)

∫0πxsin⁡3x dx=π2∫0πsin⁡3x dx\displaystyle\int_{0}^{\pi}x\sin^{3}x\,dx=\dfrac{\pi}{2}\displaystyle\int_{0}^{\pi}\sin^{3}x\,dx. By the symmetry of exercise 3 d, ∫0πsin⁡3x dx=2∫0π/2sin⁡3x dx=2I3=2⋅23=43\displaystyle\int_{0}^{\pi}\sin^{3}x\,dx=2\int_{0}^{\pi/2}\sin^{3}x\,dx=2I_{3}=2\cdot\dfrac{2}{3}=\dfrac{4}{3}, where I3I_{3} comes from the Wallis integrals. Hence the result is π2⋅43=2π3≈2.094\dfrac{\pi}{2}\cdot\dfrac{4}{3}=\dfrac{2\pi}{3}\approx 2.094. Three tricks of the set follow one another in a single line.

d)

With f(s)=11+sf(s)=\dfrac{1}{1+s}: ∫0πx dx1+sin⁡x=π2∫0πdx1+sin⁡x\displaystyle\int_{0}^{\pi}\dfrac{x\,dx}{1+\sin x}=\dfrac{\pi}{2}\displaystyle\int_{0}^{\pi}\dfrac{dx}{1+\sin x}. The antiderivative found in exercise 2 b is −21+tan⁡x2-\dfrac{2}{1+\tan\frac{x}{2}}, allowed here because tan⁡x2\tan\frac{x}{2} stays continuous on [0,π)\left[0,\pi\right) and tends to +∞+\infty at π\pi. As x→π−x\to\pi^{-} the antiderivative tends to 0, and at x=0x=0 it equals −2-2: the integral is 0−(−2)=20-\left(-2\right)=2. Hence ∫0πx dx1+sin⁡x=π2⋅2=π≈3.142\displaystyle\int_{0}^{\pi}\dfrac{x\,dx}{1+\sin x}=\dfrac{\pi}{2}\cdot 2=\pi\approx 3.142. Note that the bound π\pi is a limit here, not a value: that is exactly the precaution that was missing in exercise 2 d.

e)

DECISION TREE. (0) First the four techniques of the course: substitution, integration by parts, partial fractions, trigonometric substitution. If one of them works, look no further. (1) Is the interval SYMMETRIC and the integrand even or odd? Exercise 3. (2) Is the integrand PERIODIC, with the interval containing a whole number of periods? Exercise 3 e. (3) Does the replacement x↦a+b−xx\mapsto a+b-x give back an expression related to the integrand, in particular by swapping sin⁡\sin and cos⁡\cos or through an isolated factor xx? Exercises 1 and 10. (4) Is the domain invariant under x↦1xx\mapsto\frac{1}{x}, with a factor dxx\frac{dx}{x}? Exercise 8. (5) Does the integrand contain an INTEGER EXPONENT nn? Look for a reduction formula. Exercise 5. (6) Does integration by parts bring back the original integral, or a second integral of the same type? Solve the system. Exercise 7. (7) Is the integrand a rational function of sin⁡\sin and cos⁡\cos? Try Bioche's three rules first, then Weierstrass. Exercise 2. (8) Is there a x2±a2\sqrt{x^{2}\pm a^{2}}? Hyperbolic functions are shorter than the triangle. Exercise 4. (9) Finally, at every step: continuity, monotonicity of the substitution, sign under the roots. Exercise 9.

Part C: the classics (/50)

Exercise 11: Bioche's rules: u = cos x, u = sin x or u = tan x

Faced with a fraction in sin⁡x\sin x and cos⁡x\cos x, look at what becomes of the expression f(x) dxf(x)\,dx when xx is replaced by −x-x, by π−x\pi-x or by π+x\pi+x. If it is unchanged, set u=cos⁡xu=\cos x, u=sin⁡xu=\sin x or u=tan⁡xu=\tan x respectively. Weierstrass is only a last resort.

  • a) Check that sin⁡3x2+cos⁡xdx\frac{\sin^{3}x}{2+\cos x}dx is invariant under x↦−xx\mapsto -x, then compute ∫sin⁡3x2+cos⁡xdx\int\frac{\sin^{3}x}{2+\cos x}dx.
  • b) Compute ∫0π/2dx1+cos⁡2x\int_{0}^{\pi/2}\frac{dx}{1+\cos^{2}x} with u=tan⁡xu=\tan x, justifying this choice.
  • c) Compute ∫cos⁡x dxsin⁡x(1+sin⁡x)\int\frac{\cos x\,dx}{\sin x\left(1+\sin x\right)} after identifying the invariance.
  • d) A student computes ∫0πdx1+cos⁡2x\int_{0}^{\pi}\frac{dx}{1+\cos^{2}x} with the antiderivative found in b) and gets 00. Where is the error, and what is the true value?
  • e) Show that none of the three rules applies to ∫dxsin⁡x+cos⁡x\int\frac{dx}{\sin x+\cos x}, then compute this integral without Weierstrass by writing sin⁡x+cos⁡x=2sin⁡(x+π4)\sin x+\cos x=\sqrt{2}\sin\left(x+\frac{\pi}{4}\right).

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

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

Answers

  • a) u=cos⁡xu=\cos x: cos⁡2x2−2cos⁡x+3ln⁡(2+cos⁡x)+C\frac{\cos^{2}x}{2}-2\cos x+3\ln(2+\cos x)+C
  • b) u=tan⁡xu=\tan x: π22≈1.111\frac{\pi}{2\sqrt{2}}\approx 1.111
  • c) u=sin⁡xu=\sin x: ln⁡∣sin⁡x1+sin⁡x∣+C\ln\left|\frac{\sin x}{1+\sin x}\right|+C
  • d) Wrong 00; true value π2≈2.221\frac{\pi}{\sqrt{2}}\approx 2.221
  • e) 12ln⁡∣tan⁡(x2+π8)∣+C\frac{1}{\sqrt{2}}\ln\left|\tan\left(\frac{x}{2}+\frac{\pi}{8}\right)\right|+C
a)

Under x↦−xx\mapsto -x: sin⁡3(−x)2+cos⁡(−x) d(−x)=−sin⁡3x2+cos⁡x(−dx)=sin⁡3x2+cos⁡xdx\frac{\sin^{3}(-x)}{2+\cos(-x)}\,d(-x)=\frac{-\sin^{3}x}{2+\cos x}(-dx)=\frac{\sin^{3}x}{2+\cos x}dx: invariant, so u=cos⁡xu=\cos x. Write sin⁡3x dx=(1−u2)sin⁡x dx=−(1−u2)du\sin^{3}x\,dx=(1-u^{2})\sin x\,dx=-(1-u^{2})du, which gives ∫u2−1u+2du\int\frac{u^{2}-1}{u+2}du. Long division gives u2−1u+2=u−2+3u+2\frac{u^{2}-1}{u+2}=u-2+\frac{3}{u+2}, hence u22−2u+3ln⁡∣u+2∣\frac{u^{2}}{2}-2u+3\ln|u+2|, that is cos⁡2x2−2cos⁡x+3ln⁡(2+cos⁡x)+C\frac{\cos^{2}x}{2}-2\cos x+3\ln(2+\cos x)+C.

b)

Under x↦π+xx\mapsto\pi+x, cos⁡2\cos^{2} is unchanged and so is dxdx: set u=tan⁡xu=\tan x. Then cos⁡2x=11+u2\cos^{2}x=\frac{1}{1+u^{2}} and dx=du1+u2dx=\frac{du}{1+u^{2}}, so dx1+cos⁡2x=du(1+u2)+1=duu2+2\frac{dx}{1+\cos^{2}x}=\frac{du}{(1+u^{2})+1}=\frac{du}{u^{2}+2}. As xx goes from 00 to π2\frac{\pi}{2}, uu goes from 00 to +∞+\infty: [12arctan⁡u2]0+∞=π22≈1.111\left[\frac{1}{\sqrt{2}}\arctan\frac{u}{\sqrt{2}}\right]_{0}^{+\infty}=\frac{\pi}{2\sqrt{2}}\approx 1.111.

c)

Under x↦π−xx\mapsto\pi-x: cos⁡(π−x)=−cos⁡x\cos(\pi-x)=-\cos x, sin⁡(π−x)=sin⁡x\sin(\pi-x)=\sin x and d(π−x)=−dxd(\pi-x)=-dx, and the two minus signs cancel: invariant, so u=sin⁡xu=\sin x, du=cos⁡x dxdu=\cos x\,dx. We get ∫duu(1+u)=∫(1u−11+u)du=ln⁡∣sin⁡x1+sin⁡x∣+C\int\frac{du}{u(1+u)}=\int\left(\frac{1}{u}-\frac{1}{1+u}\right)du=\ln\left|\frac{\sin x}{1+\sin x}\right|+C.

d)

The antiderivative 12arctan⁡tan⁡x2\frac{1}{\sqrt{2}}\arctan\frac{\tan x}{\sqrt{2}} is not defined at x=π2x=\frac{\pi}{2}, where tan⁡x\tan x blows up: it equals 00 at 00 and at π\pi, hence the wrong 00. Yet the integrand is everywhere greater than 12\frac{1}{2}: the integral is at least π2\frac{\pi}{2}. Split at π2\frac{\pi}{2}; the two halves are equal (the integrand is symmetric about π2\frac{\pi}{2}), so the true value is 2×π22=π2≈2.2212\times\frac{\pi}{2\sqrt{2}}=\frac{\pi}{\sqrt{2}}\approx 2.221.

e)

Under x↦−xx\mapsto -x: −dxcos⁡x−sin⁡x\frac{-dx}{\cos x-\sin x}, different. Under x↦π−xx\mapsto\pi-x: −dxsin⁡x−cos⁡x=dxcos⁡x−sin⁡x\frac{-dx}{\sin x-\cos x}=\frac{dx}{\cos x-\sin x}, different. Under x↦π+xx\mapsto\pi+x: dx−sin⁡x−cos⁡x\frac{dx}{-\sin x-\cos x}, different. No rule applies. But sin⁡x+cos⁡x=2sin⁡(x+π4)\sin x+\cos x=\sqrt{2}\sin\left(x+\frac{\pi}{4}\right), so the integral equals 12∫csc⁡(x+π4)dx=12ln⁡∣tan⁡(x2+π8)∣+C\frac{1}{\sqrt{2}}\int\csc\left(x+\frac{\pi}{4}\right)dx=\frac{1}{\sqrt{2}}\ln\left|\tan\left(\frac{x}{2}+\frac{\pi}{8}\right)\right|+C, using ∫csc⁡t dt=ln⁡∣tan⁡t2∣\int\csc t\,dt=\ln\left|\tan\frac{t}{2}\right|. The coefficient is 12≈0.707\frac{1}{\sqrt{2}}\approx 0.707.

Exercise 12: Integrating an inverse function without knowing it: the complementary rectangle

Let ff be continuous, strictly increasing and differentiable on [0,a][0, a], with f(0)=0f(0)=0. The area under the graph of ff and the area “to the left” of the graph, between the curve and the vertical axis, exactly fill the rectangle [0,a]×[0,f(a)][0, a]\times[0, f(a)]. The figure in the solution shows the case g(x)=x3+xg(x)=x^{3}+x on [0,1][0, 1].

The figure below shows the situation.

xyaf(a)∫ f∫ f⁻¹y = f(x)
  • a) Prove that ∫0af(x) dx+∫0f(a)f−1(y) dy=a f(a)\int_{0}^{a}f(x)\,dx+\int_{0}^{f(a)}f^{-1}(y)\,dy=a\,f(a), by the substitution y=f(x)y=f(x) followed by an integration by parts.
  • b) Apply the formula to f=sin⁡f=\sin on [0,π2]\left[0, \frac{\pi}{2}\right] to compute ∫01arcsin⁡y dy\int_{0}^{1}\arcsin y\,dy.
  • c) Compute ∫0e−1ln⁡(1+y) dy\int_{0}^{e-1}\ln(1+y)\,dy by choosing the right function ff.
  • d) The function g(x)=x3+xg(x)=x^{3}+x is strictly increasing, but its inverse has no simple formula. Compute ∫02g−1(y) dy\int_{0}^{2}g^{-1}(y)\,dy all the same.
  • e) Compute g−1(10)g^{-1}(10), then ∫010g−1(y) dy\int_{0}^{10}g^{-1}(y)\,dy.

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

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

Answers

  • a) ∫0af+∫0f(a)f−1=a f(a)\int_{0}^{a}f+\int_{0}^{f(a)}f^{-1}=a\,f(a)
  • b) π2−1≈0.5708\frac{\pi}{2}-1\approx 0.5708
  • c) 11
  • d) 54\frac{5}{4}
  • e) g−1(10)=2g^{-1}(10)=2; integral 1414
a)

In ∫0f(a)f−1(y) dy\int_{0}^{f(a)}f^{-1}(y)\,dy, let y=f(x)y=f(x): dy=f′(x) dxdy=f'(x)\,dx, f−1(y)=xf^{-1}(y)=x, and yy going from 00 to f(a)f(a) corresponds to xx going from 00 to aa. The integral becomes ∫0ax f′(x) dx=[x f(x)]0a−∫0af(x) dx=a f(a)−∫0af(x) dx\int_{0}^{a}x\,f'(x)\,dx=\left[x\,f(x)\right]_{0}^{a}-\int_{0}^{a}f(x)\,dx=a\,f(a)-\int_{0}^{a}f(x)\,dx, which gives the formula. The figure shows how to read it: the two areas complete each other in the rectangle.

b)

a=π2a=\frac{\pi}{2} and f(a)=1f(a)=1: ∫01arcsin⁡y dy=π2×1−∫0π/2sin⁡x dx=π2−1≈0.5708\int_{0}^{1}\arcsin y\,dy=\frac{\pi}{2}\times 1-\int_{0}^{\pi/2}\sin x\,dx=\frac{\pi}{2}-1\approx 0.5708. No integration by parts on the arcsine was needed.

c)

ln⁡(1+y)\ln(1+y) is the inverse of f(x)=ex−1f(x)=e^{x}-1, strictly increasing with f(0)=0f(0)=0 and f(1)=e−1f(1)=e-1. Hence ∫0e−1ln⁡(1+y) dy=1×(e−1)−∫01(ex−1) dx=(e−1)−(e−2)=1\int_{0}^{e-1}\ln(1+y)\,dy=1\times(e-1)-\int_{0}^{1}(e^{x}-1)\,dx=(e-1)-(e-2)=1.

d)

g(1)=2g(1)=2, so a=1a=1: ∫02g−1(y) dy=1×2−∫01(x3+x) dx=2−(14+12)=54\int_{0}^{2}g^{-1}(y)\,dy=1\times 2-\int_{0}^{1}(x^{3}+x)\,dx=2-\left(\frac{1}{4}+\frac{1}{2}\right)=\frac{5}{4}. We have integrated a function for which we know no expression at all: only its values at the bounds mattered.

e)

g(2)=8+2=10g(2)=8+2=10, so g−1(10)=2g^{-1}(10)=2. Then ∫010g−1(y) dy=2×10−∫02(x3+x) dx=20−(4+2)=14\int_{0}^{10}g^{-1}(y)\,dy=2\times 10-\int_{0}^{2}(x^{3}+x)\,dx=20-(4+2)=14. Plausibility check: the average value of g−1g^{-1} on [0,10][0, 10] is 1.41.4, between 00 and 22, and closer to 22 since g−1g^{-1} rises quickly at first and then flattens out.

0.20.40.60.811.21.40.511.522.5∫ g = 3/4∫ g⁻¹ = 5/4(1, 2)

Exercise 13: Three famous integrals reduced to that of ln sin

Exercise 8 established ∫0π/2ln⁡(sin⁡x) dx=−π2ln⁡2\int_{0}^{\pi/2}\ln(\sin x)\,dx=-\frac{\pi}{2}\ln 2, and exercise 7 established ∫0π/4ln⁡(1+tan⁡x) dx=πln⁡28\int_{0}^{\pi/4}\ln(1+\tan x)\,dx=\frac{\pi\ln 2}{8}. These two results contain many others, obtained without looking for a single antiderivative.

  • a) Compute ∫0π/2ln⁡(cos⁡x) dx\int_{0}^{\pi/2}\ln(\cos x)\,dx.
  • b) Compute ∫0π/2ln⁡(tan⁡x) dx\int_{0}^{\pi/2}\ln(\tan x)\,dx.
  • c) Using integration by parts, compute ∫0π/2xtan⁡x dx\int_{0}^{\pi/2}\frac{x}{\tan x}\,dx. Handle the boundary term at 00 carefully.
  • d) Compute ∫01ln⁡(1+x)1+x2 dx\int_{0}^{1}\frac{\ln(1+x)}{1+x^{2}}\,dx with the substitution x=tan⁡θx=\tan\theta.
  • e) Compute ∫0πxln⁡(sin⁡x) dx\int_{0}^{\pi}x\ln(\sin x)\,dx using the identity of exercise 10.

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

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

Answers

  • a) −π2ln⁡2≈−1.089-\frac{\pi}{2}\ln 2\approx-1.089
  • b) 00
  • c) π2ln⁡2≈1.089\frac{\pi}{2}\ln 2\approx 1.089
  • d) πln⁡28≈0.2722\frac{\pi\ln 2}{8}\approx 0.2722
  • e) −π2ln⁡22≈−3.421-\frac{\pi^{2}\ln 2}{2}\approx-3.421
a)

King's rule, x↦π2−xx\mapsto\frac{\pi}{2}-x, swaps sin⁡\sin and cos⁡\cos: ∫0π/2ln⁡(cos⁡x) dx=∫0π/2ln⁡(sin⁡x) dx=−π2ln⁡2≈−1.089\int_{0}^{\pi/2}\ln(\cos x)\,dx=\int_{0}^{\pi/2}\ln(\sin x)\,dx=-\frac{\pi}{2}\ln 2\approx-1.089.

b)

ln⁡(tan⁡x)=ln⁡(sin⁡x)−ln⁡(cos⁡x)\ln(\tan x)=\ln(\sin x)-\ln(\cos x): the integral is −π2ln⁡2−(−π2ln⁡2)=0-\frac{\pi}{2}\ln 2-\left(-\frac{\pi}{2}\ln 2\right)=0. Another reading: King's rule changes tan⁡x\tan x into 1tan⁡x\frac{1}{\tan x}, hence ln⁡(tan⁡x)\ln(\tan x) into its opposite, and the integral equals its own opposite.

c)

u=xu=x, dv=cos⁡xsin⁡xdxdv=\frac{\cos x}{\sin x}dx, v=ln⁡(sin⁡x)v=\ln(\sin x): ∫0π/2xtan⁡xdx=[xln⁡(sin⁡x)]0π/2−∫0π/2ln⁡(sin⁡x) dx\int_{0}^{\pi/2}\frac{x}{\tan x}dx=\left[x\ln(\sin x)\right]_{0}^{\pi/2}-\int_{0}^{\pi/2}\ln(\sin x)\,dx. At π2\frac{\pi}{2}, ln⁡1=0\ln 1=0. At 00, xln⁡(sin⁡x)≈xln⁡x→0x\ln(\sin x)\approx x\ln x\to 0, since a power beats the logarithm. The boundary term is therefore zero and the integral equals π2ln⁡2≈1.089\frac{\pi}{2}\ln 2\approx 1.089. The integrand itself causes no trouble at 00: xtan⁡x→1\frac{x}{\tan x}\to 1.

d)

x=tan⁡θx=\tan\theta, dx=(1+tan⁡2θ) dθdx=(1+\tan^{2}\theta)\,d\theta, and θ\theta goes from 00 to π4\frac{\pi}{4}: ln⁡(1+x)1+x2dx=ln⁡(1+tan⁡θ) dθ\frac{\ln(1+x)}{1+x^{2}}dx=\ln(1+\tan\theta)\,d\theta. The integral is exactly the one of exercise 7: πln⁡28≈0.2722\frac{\pi\ln 2}{8}\approx 0.2722. This is Serret's integral, formidable in its first form, immediate in the second.

e)

The identity ∫0πx f(sin⁡x) dx=π2∫0πf(sin⁡x) dx\int_{0}^{\pi}x\,f(\sin x)\,dx=\frac{\pi}{2}\int_{0}^{\pi}f(\sin x)\,dx applies with f=ln⁡f=\ln; the integrals are improper at 00 and π\pi but convergent, and the proof by King's rule remains valid. By the symmetry of exercise 3 d), ∫0πln⁡(sin⁡x) dx=2×(−π2ln⁡2)=−πln⁡2\int_{0}^{\pi}\ln(\sin x)\,dx=2\times\left(-\frac{\pi}{2}\ln 2\right)=-\pi\ln 2. Hence ∫0πxln⁡(sin⁡x) dx=π2×(−πln⁡2)=−π2ln⁡22≈−3.421\int_{0}^{\pi}x\ln(\sin x)\,dx=\frac{\pi}{2}\times(-\pi\ln 2)=-\frac{\pi^{2}\ln 2}{2}\approx-3.421.

Exercise 14: Problem: Buffon's needle and the measurement of π

A floor is made of boards of width dd. A needle of length L≤dL\leq d is dropped on it at random. Let yy be the distance from the midpoint of the needle to the nearest line, uniform on [0,d2]\left[0, \frac{d}{2}\right], and θ\theta the angle between the needle and the lines, uniform on [0,π][0, \pi]. The needle crosses a line exactly when y≤L2sin⁡θy\leq\frac{L}{2}\sin\theta.

The figure below shows the situation.

θydL
  • a) Each drop is a point of the rectangle [0,π]×[0,d2][0, \pi]\times\left[0, \frac{d}{2}\right]. Which region corresponds to a crossing? What is the area of the rectangle?
  • b) Compute the area of this region, using the symmetry of the sine about π2\frac{\pi}{2}.
  • c) Deduce the probability of a crossing, then its value for L=dL=d.
  • d) With L=4L=4 cm and d=5d=5 cm, the needle is dropped 10001000 times and 509509 crossings are counted. What is the theoretical probability, and what value of π\pi does the experiment give?
  • e) A classmate measures the angle on [0,2π][0, 2\pi] and writes the area of the region as ∫02πL2sin⁡θ dθ\int_{0}^{2\pi}\frac{L}{2}\sin\theta\,d\theta. What does he get, and how should it be corrected? Does the probability change?

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

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

Answers

  • a) Below the curve y=L2sin⁡θy=\frac{L}{2}\sin\theta; rectangle πd2\frac{\pi d}{2}
  • b) Area LL
  • c) P=2LπdP=\frac{2L}{\pi d}; 2π≈0.6366\frac{2}{\pi}\approx 0.6366
  • d) P≈0.5093P\approx 0.5093; π≈3.143\pi\approx 3.143
  • e) 00 without absolute value; same probability with it
a)

The crossing region is the set of points lying BELOW the curve y=L2sin⁡θy=\frac{L}{2}\sin\theta, the shaded zone in the figure of the solution. The rectangle has area π×d2=πd2\pi\times\frac{d}{2}=\frac{\pi d}{2}. Since the two variables are uniform and independent, the probability is the ratio of the areas.

b)

∫0πL2sin⁡θ dθ=2∫0π/2L2sin⁡θ dθ=L[−cos⁡θ]0π/2=L\int_{0}^{\pi}\frac{L}{2}\sin\theta\,d\theta=2\int_{0}^{\pi/2}\frac{L}{2}\sin\theta\,d\theta=L\left[-\cos\theta\right]_{0}^{\pi/2}=L. The curve never leaves the rectangle, since L2≤d2\frac{L}{2}\leq\frac{d}{2}.

c)

P=Lπd/2=2LπdP=\frac{L}{\pi d/2}=\frac{2L}{\pi d}. For L=dL=d: P=2π≈0.6366P=\frac{2}{\pi}\approx 0.6366. The number π\pi comes out of an experiment in which no circle appears: it is the uniform angle that brings it in.

d)

P=2×45π=85π≈0.5093P=\frac{2\times 4}{5\pi}=\frac{8}{5\pi}\approx 0.5093. The experiment gives P≈5091000P\approx\frac{509}{1000}, hence π≈8×10005×509=80002545≈3.143\pi\approx\frac{8\times 1000}{5\times 509}=\frac{8000}{2545}\approx 3.143. The gap with π\pi is about 0.060.06 percent; with 10001000 drops, the typical uncertainty is rather 22 to 33 percent, so this result is a little lucky.

e)

He gets 00, since the sine is negative on (π,2π)(\pi, 2\pi). But the crossing condition is about the DISTANCE L2∣sin⁡θ∣\frac{L}{2}|\sin\theta|: the correct area is ∫02πL2∣sin⁡θ∣ dθ=2L\int_{0}^{2\pi}\frac{L}{2}|\sin\theta|\,d\theta=2L, and the rectangle has area 2π×d2=πd2\pi\times\frac{d}{2}=\pi d. The probability is still 2Lπd\frac{2L}{\pi d}: it does not change, and the classmate's 00 came from a forgotten absolute value, the pitfall of exercise 3 e).

0.511.522.533.50.20.40.60.811.21.4crossingy = d/2y = (L/2) sin θ

Exercise 15: Problem: the mean distance between two points of a circle

A point AA is fixed on a circle of radius RR, and a point MM is chosen at random on this circle: the central angle θ=∠AOM\theta=\angle AOM is uniform on [0,2π][0, 2\pi]. We want the mean distance AMAM.

The figure below shows the situation.

θOAMR
  • a) Show that AM2=2R2(1−cos⁡θ)AM^{2}=2R^{2}(1-\cos\theta), then that AM=2R∣sin⁡θ2∣AM=2R\left|\sin\frac{\theta}{2}\right|.
  • b) Compute the mean distance 12π∫02πAM dθ\frac{1}{2\pi}\int_{0}^{2\pi}AM\,d\theta, in multiples of RR.
  • c) A student takes θ\theta uniform on [−π,π][-\pi, \pi], writes AM=2Rsin⁡θ2AM=2R\sin\frac{\theta}{2} and finds a mean of zero. Explain and correct.
  • d) Compute the mean of AM2AM^{2}, then the root mean square AM2‾\sqrt{\overline{AM^{2}}}. Compare with b).
  • e) Two runners are placed at random on a 400400 m circular track. What is the mean straight-line distance between them? And along the track, by the shorter way?

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

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

Answers

  • a) AM=2R∣sin⁡θ2∣AM=2R\left|\sin\frac{\theta}{2}\right|
  • b) 4Rπ≈1.273 R\frac{4R}{\pi}\approx 1.273\,R
  • c) Forgotten absolute value: even function, same 4Rπ\frac{4R}{\pi}
  • d) AM2‾=2R2\overline{AM^{2}}=2R^{2}; R2≈1.414 RR\sqrt{2}\approx 1.414\,R
  • e) ≈81.06\approx 81.06 m in a straight line, 100100 m along the track
a)

Law of cosines in the triangle AOMAOM, isosceles with sides RR: AM2=R2+R2−2R2cos⁡θ=2R2(1−cos⁡θ)AM^{2}=R^{2}+R^{2}-2R^{2}\cos\theta=2R^{2}(1-\cos\theta). With 1−cos⁡θ=2sin⁡2θ21-\cos\theta=2\sin^{2}\frac{\theta}{2}: AM2=4R2sin⁡2θ2AM^{2}=4R^{2}\sin^{2}\frac{\theta}{2}, and since a distance is positive, AM=2R∣sin⁡θ2∣AM=2R\left|\sin\frac{\theta}{2}\right|.

b)

On [0,2π][0, 2\pi], θ2∈[0,π]\frac{\theta}{2}\in[0, \pi] and the sine is positive: the absolute value drops. ∫02π2Rsin⁡θ2 dθ=2R[−2cos⁡θ2]02π=2R×4=8R\int_{0}^{2\pi}2R\sin\frac{\theta}{2}\,d\theta=2R\left[-2\cos\frac{\theta}{2}\right]_{0}^{2\pi}=2R\times 4=8R. Mean: 8R2π=4Rπ≈1.273 R\frac{8R}{2\pi}=\frac{4R}{\pi}\approx 1.273\,R.

c)

On [−π,0)[-\pi, 0), sin⁡θ2<0\sin\frac{\theta}{2}<0: without the absolute value, the function is odd and its integral over the symmetric interval is zero. With the absolute value, 2R∣sin⁡θ2∣2R\left|\sin\frac{\theta}{2}\right| is EVEN: 12π×2∫0π2Rsin⁡θ2 dθ=12π×2×4R=4Rπ\frac{1}{2\pi}\times 2\int_{0}^{\pi}2R\sin\frac{\theta}{2}\,d\theta=\frac{1}{2\pi}\times 2\times 4R=\frac{4R}{\pi}, the same value. A zero mean for positive distances is impossible: the sign check would have flagged it.

d)

12π∫02π2R2(1−cos⁡θ) dθ=12π×2R2×2π=2R2\frac{1}{2\pi}\int_{0}^{2\pi}2R^{2}(1-\cos\theta)\,d\theta=\frac{1}{2\pi}\times 2R^{2}\times 2\pi=2R^{2}, the integral of the cosine over one period being zero. Root mean square: R2≈1.414 RR\sqrt{2}\approx 1.414\,R, larger than the mean 1.273 R1.273\,R, as always: large distances weigh more once squared.

e)

2πR=4002\pi R=400 gives R=200π≈63.66R=\frac{200}{\pi}\approx 63.66 m. Mean straight-line distance: 4Rπ=800π2≈81.06\frac{4R}{\pi}=\frac{800}{\pi^{2}}\approx 81.06 m. Along the track, the distance by the shorter way is min⁡(s,400−s)\min(s, 400-s) with ss uniform on [0,400][0, 400], whose mean is 100100 m. On average, the chord saves almost a fifth of the trip. The figure in the solution plots AMR\frac{AM}{R} as a function of θ\theta, with its mean.

12345670.40.81.21.622.4AM/R = 2 sin(θ/2)mean 4/π
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 Trigonometric integrals, 201-SN3-RE Next chapter Indeterminate forms and L'Hôpital's rule, 201-SN3-RE (201-NYB)

© Ahmed Squalli Houssaini. Exercise set published at www.letuteurscientifique.ca/en/exercices/cegep-calc2-integration-tricks. 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. The last question of a 201-SN3-RE exam is almost always an integral that resists the four techniques of the course: those are exactly the ones worked on here.

Site by Studio Squalli