Navigation

Integration

1.9 Trigonometric Substitution

28 problems · hints, answers and solutions shown beside each one

Recall that we are using logx\log x to denote the logarithm of xx with base ee. In other courses it is often denoted lnx\ln x.

1Stage 1Conceptual

Do you understand the idea? Usually little or no calculation.

Q1Stage 1Past exam · 2015A

For each of the following integrals, choose the substitution that is most beneficial for evaluating the integral.

  1. 2x29x216dx\displaystyle \int \frac{2x^2}{\sqrt{9x^2-16}} \, \dee{x}

  2. x4314x2dx\displaystyle \int \frac{x^4-3}{\sqrt{1-4x^2}} \, \dee{x}

  3. (25+x2)5/2dx\displaystyle \int {(25+x^2)}^{-5/2} \, \dee{x}

Hint

The beginning of this section has a template for choosing a substitution. Your goal is to use a trig identity to turn the argument of the square root into a perfect square, so you can cancel (something)2=something\sqrt{(\text{something})^2}=|\text{something}|.

Answer

(a) x=43secθx=\dfrac{4}{3}\sec\theta (b) x=12sinθx=\dfrac{1}{2}\sin\theta (c) x=5tanθx=5\tan\theta

Full solution

In the text, there is a template for choosing an appropriate substitution, but for this problem we will explain the logic of the choices.

The trig identities that we can use are:

1sin2θ=cos2θtan2θ+1=sec2θsec2θ1=tan2θ\begin{align*}&1-\sin^2\theta=\cos^2\theta & &\tan^2 \theta +1 = \sec^2 \theta & &\sec^2 \theta - 1 =\tan^2 \theta\end{align*}

They have the following forms:

constant  functionfunction + constantfunction  constant\begin{align*}&\text{constant } - \text{ function} &&\text{function } + \text{ constant} & &\text{function } - \text{ constant}\end{align*}

In order to cancel out the square root, we should choose a substitution that will match the argument under the square root with the trig identity of the corresponding form.

(a) There's not an obvious non-trig substitution for evaluating this problem, so we want a trigonometric substitution to get rid of the square root in the denominator. Under the square root is the function 9x2169x^2-16, which has the form (function) - (constant). This form matches the trig identity sec2θ1=tan2θ\sec^2 \theta - 1 = \tan^2 \theta. We can set xx to be whatever we need it to be, but we don't have the same control over the constant, 16. So, to make the substitution work, we use a different form of the trig identity: multiplying both sides by 16, we get

 16sec2θ16=16tan2θ\begin{align*}~16\sec^2\theta - 16 &= 16\tan^2\theta\end{align*}

What we want is a substitution that gives us

9x216=16sec2θ16So,9x2=16sec2θx=43secθ\begin{align*}9x^2-16&=16\sec^2\theta - 16\\ \text{So,}\qquad 9x^2&=16\sec^2\theta\\ x &= \frac{4}{3}\sec\theta\end{align*}

Using this substitution,

9x216=16sec2θ16=16tan2θ=4tanθ\begin{align*}\sqrt{9x^2-16}&=\sqrt{16\sec^2\theta-16}\\ &=\sqrt{16\tan^2\theta}\\ &=4|\tan\theta|\end{align*}

So, we eliminated the square root.

(b) There's not an obvious non-trig substitution for evaluating this problem, so we want a trigonometric substitution to get rid of the square root in the denominator. Under the square root is the function 14x21-4x^2, which has the form (constant) - (function). This form matches the trig identity 1sin2θ=cos2θ1-\sin^2\theta = \cos^2\theta. What we want is a substitution that gives us

14x2=1sin2θSo,4x2=sin2θx=12sinθ\begin{align*}1-4x^2&=1-\sin^2\theta\\ \text{So,}\qquad 4x^2&=\sin^2\theta\\ x &= \frac{1}{2}\sin\theta\end{align*}

Using this substitution,

14x2=1sin2θ=cos2θ=cosθ\begin{align*}\sqrt{1-4x^2}&=\sqrt{1-\sin^2\theta}\\ &=\sqrt{\cos^2\theta}\\ &=|\cos\theta|\end{align*}

So, we eliminated the square root. We remark that the absolute value signs are not needed in cosθ|\cos\theta|, because, for 12x12-\frac{1}{2}\le x\le\frac{1}{2}, we have θ=arcsin(2x)\theta=\arcsin(2x) between π2-\frac{\pi}{2} and π2\frac{\pi}{2}, and cos(θ)0\cos(\theta)\ge 0 for those θ\theta's.

(c) There's not an obvious non-trig substitution for evaluating this problem, so we want a trigonometric substitution to get rid of the fractional power. (That is, we want to eliminate the square root.) The function under the power is 25+x225+x^2, which has the form (constant) ++ (function). This form matches the trig identity tan2θ+1=sec2θ\tan^2 \theta + 1 = \sec^2 \theta. We can set xx to be whatever we need it to be, but we don't have the same control over the constant, 25. So, to make the substitution work, we use a different form of the trig identity: multiplying both sides by 25, we get

25tan2θ+25=25sec2θ\begin{align*}25\tan^2 \theta + 25 &= 25\sec^2 \theta\end{align*}

What we want is a substitution that gives us

25+x2=25tan2θ+25So,x2=25tan2θx=5tanθ\begin{align*}25+x^2&=25\tan^2\theta+25\\ \text{So,}\qquad x^2&=25\tan^2\theta\\ x &= 5\tan\theta\end{align*}

Using this substitution,

(25+x2)5/2=(25+25tan2θ)5/2=(25sec2θ)5/2=(5secθ)5\begin{align*}(25+x^2)^{-5/2}&=(25+25\tan^2\theta)^{-5/2}\\ &=(25\sec^2\theta)^{-5/2}\\ &=(5|\sec\theta|)^{-5}\end{align*}

So, we eliminated the square root. We remark that the absolute value signs are not needed in secθ|\sec\theta|, because, for <x<-\infty< x<\infty, we have θ=arctan(x/5)\theta=\arctan(x/5) between π2-\frac{\pi}{2} and π2\frac{\pi}{2}, and sec(θ)0\sec(\theta)\ge 0 for those θ\theta's.

Q2Stage 1

For each of the following integrals, choose a trigonometric substitution that will eliminate the roots.

  1. 1x24x+1 dx\displaystyle\int \dfrac{1}{\sqrt{x^2-4x+1}}~\dee{x}

  2. (x1)6(x2+2x+4)3/2 dx\displaystyle\int \dfrac{(x-1)^6}{(-x^2+2x+4)^{3/2}}~\dee{x}

  3. 14x2+6x+10 dx\displaystyle\int \dfrac{1}{\sqrt{4x^2+6x+10}}~\dee{x}

  4. x2x dx\displaystyle\int \sqrt{x^2-x}~\dee{x}

Hint

You want to do the same thing you did in Question 1, but you'll have to complete the square first.

Answer

(a) x2=3secux-2=\sqrt{3}\sec u (b) x1=5sinux-1=\sqrt{5}\sin u (c) (2x+32)=312tanu\left(2x+\dfrac{3}{2}\right) =\dfrac{\sqrt{31}}{2}\tan u

(d) x12=12secux - \dfrac{1}{2}=\dfrac{1}{2}\sec u

Full solution

Just as in Question 1, we want to choose a trigonometric substitution that will allow us to eliminate the square roots. Before we can make that choice, though, we need to complete the square. In subsequent problems, we won't show the algebra behind completing the square, but for this problem we'll work it out explicitly. After some practice, you'll be able to do this step in your head for many cases.

After the squares are completed, the choice of trig substitution follows the logic outlined in the solutions to Question 1, or (equivalently) the template in the text.

  1. The quadratic function under the square root is x24x+1x^2-4x+1. To complete the square, we match the non-constant terms to those of a perfect square.

    (ax+b)2=a2x2+2abx+b2x24x+1=a2x2+2abx+b2+cfor some constant c\begin{align*} (ax+b)^2&=a^2x^2+2abx+b^2\\ \textcolor{red}{x^2}-\textcolor{blue}{4x}+1&=\textcolor{red}{a^2x^2} + \textcolor{blue}{2abx} +b^2 + c \quad\text{for some constant }c\text{} \end{align*}
    • Looking at the leading term tells us a=1a=1.

    • Then the second term tells us 4=2ab=2b-4=2ab=2b, so b=2b=-2.

    • Finally, the constant terms give us 1=b2+c=4+c1=b^2+c=4+c, so c=3c=-3.

    1x24x+1 dx=1(x2)23 dx=1(x23)232 dx\displaystyle\int \dfrac{1}{\sqrt{x^2-4x+1}}~\dee{x}=\displaystyle\int \dfrac{1}{\sqrt{(x-2)^2-3}}~\dee{x}=\displaystyle\int \dfrac{1}{\sqrt{\left(x-2\vphantom{\sqrt{3}}\right)^2-\sqrt{3}^2}}~\dee{x}

    So we use the substitution (x2)=3secu(x-2) = \sqrt{3}\sec u, which eliminates the square root:

    (x2)23=3sec2u3=3tan2u=3tanu\sqrt{\left(x-2\right)^2-3}=\sqrt{3\sec^2 u - 3} = \sqrt{3\tan^2 u} = \sqrt{3}|\tan u|
  2. The quadratic function under the square root is x2+2x+4=[x22x4]-x^2+2x+4=-[x^2-2x-4]. To complete the square, we match the non-constant terms to those of a perfect square. We factored out the negative to make things a little easier–don't forget to put it back in before choosing a substitution!

    (ax+b)2=a2x2+2abx+b2x22x4=a2x2+2abx+b2+cfor some constant c\begin{align*} (ax+b)^2&=a^2x^2+2abx+b^2\\ \textcolor{red}{x^2}-\textcolor{blue}{2x}-4&=\textcolor{red}{a^2x^2} + \textcolor{blue}{2abx} +b^2 + c \quad\text{for some constant }c\text{} \end{align*}
    • Looking at the leading term tells us a=1a=1.

    • Then the second term tells us 2=2ab=2b-2=2ab=2b, so b=1b=-1.

    • Finally, the constant terms give us 4=b2+c=1+c-4=b^2+c=1+c, so c=5c=-5.

    • Then x2+2x+4=[x22x4]=[(x1)25]=5(x1)2-x^2+2x+4 = -[x^2-2x-4]=-[(x-1)^2-5]=5-(x-1)^2.

    (x1)6(x2+2x+4)3/2 dx=(x1)6(5(x1)2)3/2 dx=(x1)6(52(x13)2)3/2 dx\displaystyle\int \dfrac{(x-1)^6}{(-x^2+2x+4)^{3/2}}~\dee{x}=\displaystyle\int \dfrac{(x-1)^6}{(5-(x-1)^2)^{3/2}}~\dee{x}=\displaystyle\int \dfrac{(x-1)^6}{\left(\sqrt{5}^2-\left(x-1\vphantom{\sqrt{3}}\right)^2\right)^{3/2}}~\dee{x}

    So we use the substitution (x1)=5sinu(x-1) = \sqrt{5}\sin u, which eliminates the square root (fractional power):

    (5(x1)2)3/2=(55sin2u)3/2=(5cos2u)3/2=55cos3u(5-\left(x-1\right)^2)^{3/2}=\left(5-5\sin^2u\right)^{3/2} = \left(5\cos^2 u\right)^{3/2} = 5\sqrt{5}|\cos^3 u|
  3. The quadratic function under the square root is 4x2+6x+104x^2+6x+10. To complete the square, we match the non-constant terms to those of a perfect square.

    (ax+b)2=a2x2+2abx+b24x2+6x+10=a2x2+2abx+b2+cfor some constant c\begin{align*} (ax+b)^2&=a^2x^2+2abx+b^2\\ \textcolor{red}{4x^2}+\textcolor{blue}{6x}+10&=\textcolor{red}{a^2x^2} + \textcolor{blue}{2abx} +b^2 + c \quad\text{for some constant }c\text{} \end{align*}
    • Looking at the leading term tells us a=2a=2.

    • Then the second term tells us 6=2ab=4b6=2ab=4b, so b=32b=\frac{3}{2}.

    • Finally, the constant terms give us 10=b2+c=94+c10=b^2+c=\frac{9}{4}+c, so c=314c=\frac{31}{4}.

    14x2+6x+10 dx=1(2x+32)2+314 dx=1(2x+32)2+(312)2 dx\displaystyle\int \dfrac{1}{\sqrt{4x^2+6x+10}}~\dee{x}=\displaystyle\int \dfrac{1}{\sqrt{\left(2x+\frac{3}{2}\right)^2+\frac{31}{4}}}~\dee{x} =\displaystyle\int \dfrac{1}{\sqrt{\left(2x+\frac{3}{2}\right)^2+\left(\frac{\sqrt{31}}{2}\right)^2}}~\dee{x}

    So we use the substitution (2x+32)=312tanu\left(2x+\frac{3}{2}\right) =\frac{\sqrt{31}}{2}\tan u, which eliminates the square root:

    (2x+32)2+314=314tan2u+314=314sec2u=312secu\sqrt{\left(2x+\frac{3}{2}\right)^2+\frac{31}{4}}=\sqrt{\frac{31}{4}\tan^2 u +\frac{31}{4}} = \sqrt{\frac{31}{4}\sec^2 u} =\frac{\sqrt{31}}{2}|\sec u|
  4. The quadratic function under the square root is x2xx^2-x. To complete the square, we match the non-constant terms to those of a perfect square.

    (ax+b)2=a2x2+2abx+b2x2x=a2x2+2abx+b2+cfor some constant c\begin{align*} (ax+b)^2&=a^2x^2+2abx+b^2\\ \textcolor{red}{x^2}-\textcolor{blue}{x}&=\textcolor{red}{a^2x^2} + \textcolor{blue}{2abx} +b^2 + c \quad\text{for some constant }c\text{} \end{align*}
    • Looking at the leading term tells us a=1a=1.

    • Then the second term tells us 1=2ab=2b-1=2ab=2b, so b=12b=-\frac{1}{2}.

    • Finally, the constant terms give us 0=b2+c=14+c0=b^2+c=\frac{1}{4}+c, so c=14c=-\frac{1}{4}.

    x2x dx=(x12)214 dx=(x12)2(12)2 dx\displaystyle\int \sqrt{x^2-x}~\dee{x}=\displaystyle\int \sqrt{\left(x-\frac{1}{2}\right)^2 -\frac{1}{4}}~\dee{x}=\displaystyle\int \sqrt{\left(x-\frac{1}{2}\right)^2 -\left(\frac{1}{2}\right)^2}~\dee{x}

    So we use the substitution (x1/2)=12secu(x-1/2) = \frac{1}{2}\sec u, which eliminates the square root:

    (x12)214=14sec2u14=14tan2u=12tanu\sqrt{\left(x-\frac{1}{2}\right)^2-\frac{1}{4}}=\sqrt{\frac{1}{4}{\sec\vphantom{|}}^2 u - \frac{1}{4}} = \sqrt{\frac{1}{4}\tan^2 u} =\frac{1}{2}|\tan u|
Q3Stage 1

In each part of this question, assume θ\theta is an angle in the interval [0,π/2]\left[ 0,\pi/2\right].

  1. If sinθ=120\sin\theta=\dfrac{1}{20}, what is cosθ\cos\theta ?

  2. If tanθ=7\tan\theta=7, what is cscθ\csc\theta ?

  3. If secθ=x12\sec\theta=\dfrac{\sqrt{x-1}}{2}, what is tanθ\tan\theta ?

Hint

Since θ\theta is acute, you can draw it as an angle of a right triangle. The given information will let you label two sides of the triangle, and the Pythagorean Theorem will lead you to the third.

Answer

(a) 39920\dfrac{\sqrt{399}}{20} (b) 527\dfrac{5\sqrt{2}}{7} (c) x52\dfrac{\sqrt{x-5}}{2}

Full solution
  1. If sinθ=120\sin\theta=\dfrac{1}{20} and θ\theta is between 0 and π/2\pi/2, then we can draw a right triangle with angle θ\theta that has opposite side length 1, and hypotenuse length 20. By the Pythagorean Theorem, the adjacent side has length 20212=399\sqrt{20^2-1^2}=\sqrt{399}. So, cosθ=adjhyp=39920\cos\theta = \dfrac{\mathrm{adj}}{\mathrm{hyp}}=\dfrac{\sqrt{399}}{20}.

    Figure from prob_s1.9, line 217

    Figure from prob_s1.9, line 217

    We can do a quick “reasonableness" check here: 120\frac{1}{20} is pretty close to 0, so we might expect θ\theta to be pretty close to 0, and so cosθ\cos \theta should be pretty close to 1. Indeed it is: 3992040020=2020=1\dfrac{\sqrt{399}}{20}\approx \dfrac{\sqrt{400}}{20}=\dfrac{20}{20}=1.

    Alternately, we can solve this problem using identities.

    sin2θ+cos2θ=1(120)2+cos2θ=1cosθ=±11400=±39920\begin{align*}\sin^2 \theta + \cos^2 \theta &=1\\ \left(\frac{1}{20}\right)^2+ \cos^2 \theta &=1\\ \cos\theta &= \pm\sqrt{1-\frac{1}{400}}=\pm\frac{\sqrt{399}}{20}\end{align*}

    Since 0θπ20 \leq \theta \leq \frac{\pi}{2}, cosθ0\cos\theta \geq 0, so

    cosθ=39920\begin{align*}\cos\theta &= \frac{\sqrt{399}}{20}\end{align*}
  2. If tanθ=7\tan\theta=7 and θ\theta is between 0 and π/2\pi/2, then we can draw a right triangle with angle θ\theta that has opposite side length 7 and adjacent side length 1. By the Pythagorean Theorem, the hypotenuse has length 72+12=50=52\sqrt{7^2+1^2} = \sqrt{50}=5\sqrt{2}. So, cscθ=hypopp=527\csc\theta = \dfrac{\mathrm{hyp}}{\mathrm{opp}}=\dfrac{5\sqrt{2}}{7}.

    Figure from prob_s1.9, line 217

    Figure from prob_s1.9, line 217

    Again, we can do a quick reasonableness check. Since 7 is much larger than 1, the triangle we're thinking of doesn't look much like the triangle in our standardized picture above: it's really quite tall, with a small base. So, the opposite side and hypotenuse are pretty close in length. Indeed, 5277.071\dfrac{5\sqrt{2}}{7}\approx 7.071, so this dimension seems reasonable.

  3. If secθ=x12\sec\theta=\dfrac{\sqrt{x-1}}{2} and θ\theta is between 0 and π/2\pi/2, then we can draw a right triangle with angle θ\theta that has hypotenuse length x1\sqrt{x-1} and adjacent side length 2. By the Pythagorean Theorem, the opposite side has length x1222=x14=x5\sqrt{\sqrt{x-1}^2 - 2^2} = \sqrt{x-1-4}=\sqrt{x-5}. So, tanθ=oppadj=x52\tan\theta = \dfrac{\mathrm{opp}}{\mathrm{adj}}=\dfrac{\sqrt{x-5}}{2}.

    Figure from prob_s1.9, line 217

    Figure from prob_s1.9, line 217

    We can also solve this using identities. Note that since secθ\sec\theta exists, θπ2\theta \neq \frac{\pi}{2}.

    tan2θ+1=sec2θtan2θ+1=(x12)2=x14tanθ=±x141=±x52\begin{align*}\tan^2\theta+1&=\sec^2\theta\\ \tan^2\theta+1&=\left(\frac{\sqrt{x-1}}{2}\right)^2=\frac{x-1}{4}\\ \tan\theta &= \pm\sqrt{\frac{x-1}{4}-1} = \pm\frac{\sqrt{x-5}}{2}\end{align*}

    Since 0θ<π20 \leq \theta < \frac{\pi}{2}, tanθ0\tan\theta \geq 0, so

    tanθ=x52\begin{align*}\tan\theta &= \frac{\sqrt{x-5}}{2}\end{align*}
Q4Stage 1

Simplify the following expressions.

  1. sin(arccos(x2))\sin\left(\arccos \left(\frac{x}{2}\right)\right)

  2. sin(arctan(13))\sin\left(\arctan \left(\frac{1}{\sqrt{3}}\right)\right)

  3. sec(arcsin(x))\sec\left(\arcsin \left(\sqrt{x}\right)\right)

Hint

You can draw a right triangle with angle θ\theta, and use the given information to label two of the sides. The Pythagorean Theorem gives you the third side.

Answer

(a) 4x22\dfrac{\sqrt{4-x^2}}{2} (b) 12\dfrac{1}{2} (c) 11x\dfrac{1}{\sqrt{1-x}}

Full solution
  1. Let θ=arccos(x2)\theta = \arccos \left(\frac{x}{2}\right). That is, cos(θ)=x2\cos(\theta) = \frac{x}{2}, and 0θπ0 \leq \theta \leq \pi. Then we can draw the corresponding right triangle with angle θ\theta with adjacent side of signed length xx (we note that if θ>π2\theta > \frac{\pi}{2}, then xx is negative) and hypotenuse of length 22. By the Pythagorean Theorem, the opposite side of the triangle has length 4x2\sqrt{4-x^2}.

    Figure from prob_s1.9, line 276

    Figure from prob_s1.9, line 276

    So,

    sin(arccos(x2))=sinθ=opphyp=4x22\sin\left(\arccos \left(\frac{x}{2}\right)\right)=\sin \theta = \frac{\mathrm{opp}}{\mathrm{hyp}} = \frac{\sqrt{4-x^2}}{2}
  2. Let θ=arctan(13)\theta = \arctan \left(\frac{1}{\sqrt{3}}\right). That is, tan(θ)=13\tan(\theta) = \frac{1}{\sqrt{3}}, and π2θπ2-\frac{\pi}{2} \leq \theta \leq \frac{\pi}{2}.

    • Then θ=π6\theta = \dfrac{\pi}{6}, so sinθ=12\sin\theta = \dfrac{1}{2}.

    • Then we can draw the corresponding right triangle with angle θ\theta with opposite side of length 11 and adjacent side of length 3\sqrt{3}. By the Pythagorean Theorem, the hypotenuse of the triangle has length 32+12=2\sqrt{\sqrt{3}^2+1^2}=2.

      Figure from prob_s1.9, line 276

      Figure from prob_s1.9, line 276

      So,

      sin(arctan(13))=sinθ=opphyp=12\sin\left(\arctan \left(\frac{1}{\sqrt{3}}\right)\right)=\sin \theta = \frac{\mathrm{opp}}{\mathrm{hyp}} = \frac{1}{2}
  3. Let θ=arcsin(x)\theta = \arcsin \left(\sqrt{x}\right). That is, sin(θ)=x\sin(\theta) = \sqrt{x}, and π2θπ2-\frac{\pi}{2} \leq \theta \leq \frac{\pi}{2}. Then we can draw the corresponding right triangle with angle θ\theta with opposite side of length x\sqrt{x} and hypotenuse of length 11. By the Pythagorean Theorem, the adjacent side of the triangle has length 1x\sqrt{1-x}.

    Figure from prob_s1.9, line 276

    Figure from prob_s1.9, line 276

    So,

    sec(arcsin(x))=secθ=hypadj=11x\sec\left(\arcsin \left(\sqrt{x}\right)\right)=\sec \theta = \frac{\mathrm{hyp}}{\mathrm{adj}} = \frac{1}{\sqrt{1-x}}

2Stage 2Procedural

Practising the skill itself, until applying it is automatic.

Q5Stage 2Past exam · 2016Q4

Evaluate 1(x2+4)3/2dx.\displaystyle\int \frac1{(x^2+4)^{3/2}} \,\dee{x}.

Hint

As in Question 1, choose an appropriate substitution. Your answer should be in terms of your original variable, xx, which can be achieved using the methods of Question 3.

Answer

14xx2+4+C\dfrac14\cdot \dfrac x{\sqrt{x^2+4}} + C

Full solution

Let x=2tanθx = 2\tan\theta, so that x2+4=4tan2θ+4=4sec2θx^2+4 = 4\tan^2\theta+4=4\sec^2\theta and dx=2sec2θdθ\dee{x} = 2\sec^2\theta\,\dee{\theta}. Then

1(x2+4)3/2dx=1(4sec2θ)3/22sec2θdθ=2sec2θ8sec3θdθ=14cosθdθ=14sinθ+C=14xx2+4+C\begin{align*} \int \frac1{(x^2+4)^{3/2}} \,\dee{x} &= \int \frac1{(4\sec^2\theta)^{3/2}} \cdot 2\sec^2\theta\,\dee{\theta} \\ &= \int \frac{2\sec^2\theta}{8\sec^3\theta} \,\dee{\theta} \\ &=\frac14 \int \cos\theta\,\dee{\theta} \\ &= \frac14\sin\theta+C = \frac14 \frac x{\sqrt{x^2+4}} + C \qquad\qquad\smash{ } \end{align*}

Figure from prob_s1.9, line 332

Figure from prob_s1.9, line 332

To find sinθ\sin\theta in terms of xx, we construct the right triangle above. Since tanθ=x2=oppadj\tan\theta = \dfrac{x}{2} = \dfrac{\text{opp}}{\text{adj}}, we label the opposite side xx and the adjacent side 22. By the Pythagorean Theorem, the hypotenuse has length x2+4\sqrt{x^2+4}. Then sinθ=opphyp=xx2+4\sin\theta = \dfrac{\text{opp}}{\text{hyp}} = \dfrac{x}{\sqrt{x^2+4}}.

To see why we could write (sec2θ)3/2=sec3θ(\sec^2\theta)^{3/2} =\sec^3\theta, as opposed to (sec2θ)3/2=sec3θ(\sec^2\theta)^{3/2} =\big|\sec^3\theta\big|, in the second line above, see Example 1.9.5 in the CLP-2 text.

As a check, we observe that the derivative of the answer

ddx(14xx2+4+C)=141x2+412×4x(2x)(x2+4)3/2=x24+1x24(x2+4)3/2=1(x2+4)3/2\begin{align*} \diff{}{x} \left(\frac14 \frac x{\sqrt{x^2+4}} +C\right) &=\frac14\frac 1{\sqrt{x^2+4}} - \frac{1}{2\times 4}\frac{x(2x)}{{\big(x^2+4\big)}^{3/2}} =\frac{\frac{x^2}{4}+1-\frac{x^2}{4}}{{\big(x^2+4\big)}^{3/2}} \\ &=\frac{1}{{\big(x^2+4\big)}^{3/2}} \end{align*}

is exactly the integrand.

Q6Stage 2Past exam · 2016Q4

Evaluate 041(4+x2)3/2dx\displaystyle\int_0^4 \frac{1}{{(4+x^2)}^{3/2}}\,\dee{x}. Your answer may not contain inverse trigonometric functions.

Hint

As in Question 1, choose an appropriate substitution. Your answer will be a number, so as long as you change your limits of integration when you substitute, you don't need to bother changing the antiderivative back into the original variable xx. However, you might want to use the techniques of Question 4 to simplify your final answer.

Answer

125\dfrac{1}{2\sqrt{5}}

Full solution
  • As in Question 5, substitute x=2tanux=2\tan u, dx=2sec2udu\dee{x}=2 \sec^2u\,\dee{u}. Note that when x=4x=4 we have 4=2tanu4=2\tan u, so that tanu=2\tan u=2.

    041(4+x2)3/2dx=0arctan21(4+4tan2u)3/22sec2udu=0arctan22sec2u(2secu)3du=140arctan2sec2usec3udu=140arctan2cosudu=[14sinu]0arctan2=14(sin(arctan2)0)=125\begin{align*} \int_0^4 \frac{1}{{(4+x^2)}^{3/2}}\,\dee{x} &=\int_0^{\arctan 2} \frac{1}{{(4+4\tan^2 u)}^{3/2}}\,2\sec^2 u\,\dee{u} \\[0.1in] &=\int_0^{\arctan 2} \frac{2\sec^2 u}{{(2\sec u)}^{3}}\,\dee{u} \\[0.1in] &=\frac{1}{4}\int_0^{\arctan 2} \frac{\sec^2u}{\sec^3u}\,\dee{u}\\[0.1in] &=\frac{1}{4}\int_0^{\arctan 2} \cos u\,\dee{u} \qquad\qquad\smash{{ }} \\ &=\bigg[\frac{1}{4}\sin u \bigg]_0^{\arctan2} \\ &=\frac{1}{4} \big( \sin(\arctan 2) - 0 \big) = \frac{1}{2\sqrt{5}} \end{align*}

    Figure from prob_s1.9, line 373

    Figure from prob_s1.9, line 373

    To find sin(arctan2)\sin(\arctan 2), we use the right triangle above, with angle u=arctan2u=\arctan 2. Since tanu=2=oppadj\tan u=2 = \dfrac{\text{opp}}{\text{adj}}, we label the opposite side as 2, and the adjacent side as 1. The Pythagorean Theorem tells us the hypotenuse has length 5\sqrt{5}, so sinu=opphyp=25\sin u = \dfrac{\text{opp}}{\text{hyp}} = \dfrac{2}{\sqrt{5}}.

  • Using our result from Question 5,

    041(4+x2)3/2dx=14[xx2+4]04=14442+4=125\begin{align*} \int_0^4 \frac{1}{{(4+x^2)}^{3/2}}\,\dee{x}&=\frac{1}{4}\left[ \dfrac x{\sqrt{x^2+4}}\right]_0^4\\ &=\frac{1}{4}\cdot \dfrac{4}{\sqrt{4^2+4}}=\frac{1}{2\sqrt{5}} \end{align*}
Q7Stage 2Past exam · M105 2013A

Evaluate 05/2dx25x2\displaystyle\int_0^{5/2} \frac{\dee{x}}{\sqrt{25-x^2}}.

Hint

Question 1 guides the way to finding the appropriate substitution. Since the integral is definite, your final answer will be a number. Your limits of integration should be common reference angles.

Answer

π6\dfrac{\pi}{6}

Full solution

Make the change of variables x=5sinθx=5\sin\theta, dx=5cosθdθ\dee{x}=5\cos\theta\,\dee{\theta}. Since x=0x=0 corresponds to θ=0\theta=0 and x=52x=\frac{5}{2} correponds to sinθ=12\sin\theta=\half or θ=π6\theta =\frac{\pi}{6},

05/2dx25x2=0π/65cosθdθ2525sin2θ=0π/6dθ=π6\begin{align*} \int_0^{5/2} \frac{\dee{x}}{\sqrt{25-x^2}} =\int_0^{\pi/6} \frac{5\cos\theta\,\dee{\theta}}{\sqrt{25-25\sin^2\theta}} =\int_0^{\pi/6} \dee{\theta} =\frac{\pi}{6} \end{align*}
Q8Stage 2Past exam · M105 2015A

Evaluate dxx2+25\displaystyle\int \frac{\dee{x}}{\sqrt{x^2+25}}. You may use that secx dx=logsecx+tanx+C{\displaystyle\int} \sec x\ \dee{x} = \log\big|\sec x+\tan x\big|+C.

Hint

Question 1 guides the way to finding the appropriate substitution. Since you have in indefinite integral, make sure to get your answer back in terms of the original variable, xx. Question 3 gives a reliable method for this.

Answer

log1+x225+x5+C\displaystyle\log\left|\sqrt{1+\frac{x^2}{25}}+\frac{x}{5}\right|+C

Full solution

Substitute x=5tanux=5\tan u, so that dx=5sec2udu\dee{x}=5 \sec^2u\,\dee{u}.

1x2+25dx=125tan2u+255sec2udu=5sec2u5secudu=secudu=logsecu+tanu+C=log1+x225+x5+C\begin{align*} \int\frac{1}{\sqrt{x^2+25}}\,\dee{x} &=\int \frac{1}{\sqrt{25\tan^2 u+25}}\,5\sec^2 u\,\dee{u} \\[0.1in] &=\int \frac{5\sec^2u}{5\sec u}\,\dee{u} =\int \sec u\,\dee{u} \\[0.1in] &= \log\big|\sec u+\tan u\big|+C \qquad\qquad\smash{ } \\ &= \log\Big|\sqrt{1+\frac{x^2}{25}}+\frac{x}{5}\Big|+C \end{align*}

Figure from prob_s1.9, line 449

Figure from prob_s1.9, line 449

To find secu\sec u and tanu\tan u, we have two options. One is to set up a right triangle with angle uu and tanu=x5\tan u = \frac{x}{5}. Then we can label the opposite side xx and the adjacent side 5, and use Pythagoras to find that the hypotenuse is x2+25\sqrt{x^2+25}.

Another option is to look back at our work a little more closely–in fact, we've already found what we're looking for. Since we used the substitution x=5tanux=5\tan u, this gives us tanu=x5\tan u = \frac{x}{5}. In the denominator of the integrand, we simplified x2+25=5secu\sqrt{x^2+25} = 5\sec u, so secu=15x2+25=1+x225\sec u = \frac{1}{5}\sqrt{x^2+25} = \sqrt{1+\frac{x^2}{25}}.

To see why we could write x2+25=5secu\sqrt{x^2+25} =5\sec u, as opposed to x2+25=5secu\sqrt{x^2+25} =5|\sec u|, see Example 1.9.5 in the CLP-2 text.

Q9Stage 2

Evaluate x+12x2+4xdx\displaystyle\int\frac{x+1}{\sqrt{2x^2+4x}} \, \dee{x}.

Hint

A trig substitution is not the easiest path.

Answer

122x2+4x+C\dfrac{1}{2}\sqrt{2x^2+4x}+C

Full solution

The quadratic formula underneath the square root makes us think of a trig substitution, but in the interest of developing good habits, let's check for an easier way first. If we let u=2x2+4xu=2x^2+4x, then du=(4x+4) dx\dee{u} = (4x+4)~\dee{x}, so 14du=(x+1)dx\frac{1}{4}\,\dee{u}=(x+1)\,\dee{x}. This substitution looks easier than a trig substitution (which would start with completing the square).

x+12x2+4xdx=141udu=12u+C=122x2+4x+C\begin{align*} \int\frac{x+1}{\sqrt{2x^2+4x}} \, \dee{x}&=\frac{1}{4}\int \frac{1}{\sqrt{u}}\,\dee{u} = \frac{1}{2}\sqrt{u}+C = \frac{1}{2}\sqrt{2x^2+4x}+C \end{align*}
Q10Stage 2Past exam · 2014D

Evaluate dxx2x2+16\displaystyle\int\frac{\dee{x}}{x^2\sqrt{x^2+16}}.

Hint

To antidifferentiate, change your trig functions into sines and cosines.

Answer

116x2+16x+C-\displaystyle\frac{1}{16}\dfrac{\sqrt{x^2+16}}{x}+C

Full solution

Substitute x=4tanux=4\tan u, dx=4sec2udu\dee{x}=4 \sec^2u\,\dee{u}.

1x2x2+16dx=116tan2u16tan2u+164sec2udu=sec2u16tan2usecudu=116secutan2udu=116cosusin2udu\begin{align*} \int\frac{1}{x^2\sqrt{x^2+16}}\,\dee{x} &=\int \frac{1}{16\tan^2 u \sqrt{16\tan^2 u+16}}\,4\sec^2 u\,\dee{u} \\[0.1in] &=\int \frac{\sec^2u}{16\tan^2u\sec u}\,\dee{u} =\frac{1}{16}\int \frac{\sec u}{\tan^2u}\,\dee{u} \\[0.1in] &= \frac{1}{16}\int\frac{\cos u}{\sin^2 u}\,\dee{u} \end{align*}

To finish off the integral, we'll substitute v=sinuv=\sin u, dv=cosudu\dee{v}=\cos u\,\dee{u}.

1x2x2+16dx=116cosusin2udu=116dvv2=116v+C=116sinu+C=116x2+16x+C\begin{align*} \int\frac{1}{x^2\sqrt{x^2+16}}\,\dee{x} &=\frac{1}{16} \int\frac{\cos u}{\sin^2 u}\,\dee{u} = \frac{1}{16}\int\frac{\dee{v}}{v^2} =-\frac{1}{16v} +C \\ &=-\frac{1}{16\sin u} +C =-\frac{1}{16}\dfrac{\sqrt{x^2+16}}{x}+C \hskip0.5in\smash{ } \end{align*}

Figure from prob_s1.9, line 516

Figure from prob_s1.9, line 516

To find sinu\sin u, we draw a right triangle with angle uu and tanu=x4\tan u = \frac{x}{4}. We label the opposite side xx and the adjacent side 44, and then from Pythagoras we find that the hypotenuse has length x2+16\sqrt{x^2+16}. So, sinu=x2+16x\sin u = \dfrac{\sqrt{x^2+16}}{x}.

As a check, we observe that the derivative of the answer

ddx(116x2+16x+C)=116x2+16x2116xxx2+16=116(x2+16)x2x2x2+16=1x2x2+16\begin{align*} \diff{}{x}\left(-\frac{1}{16}\frac{\sqrt{x^2+16}}{x}+C\right) &=\frac{1}{16}\frac{\sqrt{x^2+16}}{x^2} -\frac{1}{16}\frac{x}{x\sqrt{x^2+16}} =\frac{1}{16}\frac{(x^2+16)-x^2}{x^2\sqrt{x^2+16}} \\ &=\frac{1}{x^2\sqrt{x^2+16}} \end{align*}

is exactly the integrand.

Q11Stage 2Past exam · 2016A

Evaluate dxx2x29\displaystyle\int \frac{\dee{x}}{x^2\sqrt{x^2-9}} for x3x\ge 3. Do not include any inverse trigonometric functions in your answer.

Hint

The integrand should simplify quite far after your substitution.

Answer

x299x+C\displaystyle\frac{\sqrt{x^2-9}}{9x} +C

Full solution

Substitute x=3secux=3\sec u with 0u<π20\le u<\frac{\pi}{2}. Then dx=3secutanudu\dee{x}= 3\sec u\tan u\,\dee{u} and x29=9sec2u9=9tan2u=3tanu\sqrt{x^2-9}=\sqrt{9\sec^2 u-9} =\sqrt{ 9\tan^2 u}=3\tan u, so that

dxx2x29=3secutanu du9sec2u9tan2u=19dusecu=19cosu du=19sinu+C.\begin{align*}\int \frac{\dee{x}}{x^2\sqrt{x^2-9}} &=\int \frac{3\sec u\tan u\ \dee{u}} {9\sec^2u\sqrt{9\tan^2u}} \\ &=\frac{1}{9}\int\frac{\dee{u}}{\sec u} \\ &=\frac{1}{9}\int \cos u\ \dee{u} =\frac{1}{9}\sin u +C.\qquad \smash{ }\end{align*}

Figure from prob_s1.9, line 573

Figure from prob_s1.9, line 573

To evaluate sinu\sin u, we make a right triangle with angle uu. Since secu=x3=hypadj\sec u = \dfrac{x}{3} = \dfrac{\text{hyp}}{\text{adj}}, we label the hypotenuse xx and the adjacent side 33. Using the Pythagorean Theorem, the opposite side has length x29\sqrt{x^2-9}. So, sinu=x29x\sin u = \dfrac{\sqrt{x^2-9}}x and

dxx2x29=x299x+C.\begin{align*}\int \frac{\dee{x}}{x^2\sqrt{x^2-9}} &= \frac{\sqrt{x^2-9}}{9x} +C.\end{align*}

As a check, we observe that the derivative of the answer

ddx(x299x+C)=x299x2+x9xx29=19 (x29)+x2x2x29=1x2x29\begin{align*} \diff{}{x} \left( \frac{\sqrt{x^2-9}}{9x}+C\right) &=-\frac{\sqrt{x^2-9}}{9x^2} + \frac{x}{9x\sqrt{x^2-9}} =\frac{1}{9}\ \frac{-(x^2-9)+x^2}{x^2\sqrt{x^2-9}} \\ &=\frac{1}{x^2\sqrt{x^2-9}} \end{align*}

is exactly the integrand. (We remark that this is the case even for x3x\le -3.)

Q12Stage 2Past exam · 2013A

(a) Show that 0π/4cos4θ dθ=(8+3π)/32\displaystyle\int_0^{\pi/4}\cos^4\theta\ \dee{\theta}=(8+3\pi)/32.

(b) Evaluate 11dx(x2+1)3\displaystyle\int_{-1}^1\frac{\dee{x}}{{(x^2+1)}^3}.

Hint

In part (a) you are asked to integrate an even power of cosx\cos x. For part (b) you can use a trigonometric substitution to reduce the integral of part (b) almost to the integral of part (a).

Answer

(a) We'll use the trig identity cos2θ=2cos2θ1\cos2\theta=2\cos^2\theta-1. It implies that

cos2θ=cos2θ+12    cos4θ=14[cos22θ+2cos2θ+1]=14[cos4θ+12+2cos2θ+1]=cos4θ8+cos2θ2+38\begin{align*}\cos^2\theta=\frac{\cos2\theta+1}{2} \implies \cos^4\theta &=\frac{1}{4}\big[\cos^22\theta+2\cos2\theta+1\big] =\frac{1}{4}\Big[\frac{\cos4\theta+1}{2}+2\cos2\theta+1\Big]\\ &=\frac{\cos4\theta}{8}+\frac{\cos2\theta}{2}+\frac{3}{8}\end{align*}

So,

0π/4cos4θ dθ=0π/4(cos4θ8+cos2θ2+38) dθ=[sin4θ32+sin2θ4+38θ]0π/4=14+38π4=8+3π32\begin{align*}\int_0^{\pi/4}\cos^4\theta\ \dee{\theta} &=\int_0^{\pi/4}\Big(\frac{\cos4\theta}{8}+\frac{\cos2\theta}{2}+\frac{3}{8}\Big) \ \dee{\theta} \\ &=\left[\frac{\sin4\theta}{32}+\frac{\sin2\theta}{4}+\frac{3}{8}\theta\right]_0^{\pi/4}\\ &= \frac{1}{4}+\frac{3}{8}\cdot \frac{\pi}{4}\\ &=\frac{8+3\pi}{32}\end{align*}

as required.

(b) 8+3π16\dfrac{8+3\pi}{16}

Full solution

(a) We'll use the trig identity cos2θ=2cos2θ1\cos2\theta=2\cos^2\theta-1. It implies that

cos2θ=cos2θ+12    cos4θ=14[cos22θ+2cos2θ+1]=14[cos4θ+12+2cos2θ+1]=cos4θ8+cos2θ2+38\begin{align*}\cos^2\theta=\frac{\cos2\theta+1}{2} \implies \cos^4\theta &=\frac{1}{4}\big[\cos^22\theta+2\cos2\theta+1\big] =\frac{1}{4}\Big[\frac{\cos4\theta+1}{2}+2\cos2\theta+1\Big]\\ &=\frac{\cos4\theta}{8}+\frac{\cos2\theta}{2}+\frac{3}{8}\end{align*}

So,

0π/4cos4θ dθ=0π/4(cos4θ8+cos2θ2+38) dθ=[sin4θ32+sin2θ4+38θ]0π/4=14+38π4=8+3π32\begin{align*}\int_0^{\pi/4}\cos^4\theta\ \dee{\theta} &=\int_0^{\pi/4}\Big(\frac{\cos4\theta}{8}+\frac{\cos2\theta}{2}+\frac{3}{8}\Big) \ \dee{\theta} \\ &=\left[\frac{\sin4\theta}{32}+\frac{\sin2\theta}{4}+\frac{3}{8}\theta\right]_0^{\pi/4}\\ &= \frac{1}{4}+\frac{3}{8}\cdot \frac{\pi}{4}\\ &=\frac{8+3\pi}{32}\end{align*}

as required.

(b) We'll use the trig substitution x=tanθx=\tan\theta, dx=sec2θ dθ\dee{x}=\sec^2\theta\ \dee{\theta}. Note that when θ=±π4\theta=\pm\frac{\pi}{4}, we have x=±1x=\pm 1. Also note that dividing the trig identity sin2θ+cos2θ=1\sin^2\theta+\cos^2\theta=1 by cos2θ\cos^2\theta gives the trig identity tan2θ+1=sec2θ\tan^2\theta+1=\sec^2\theta. So

11dx(x2+1)3=201dx(x2+1)3(even integrand)=20π/4sec2θ dθ(tan2θ+1)3=20π/4sec2θ dθ(sec2θ)3=20π/4cos4θ dθ=8+3π16\begin{align*} \int_{-1}^1\frac{\dee{x}}{{(x^2+1)}^3} &=2\int_0^1\frac{\dee{x}}{{(x^2+1)}^3}&\text{(even integrand)}\\ &=2\int_0^{\pi/4}\frac{\sec^2\theta\ \dee{\theta}}{{(\tan^2\theta+1)}^3}\\ &=2\int_0^{\pi/4}\frac{\sec^2\theta\ \dee{\theta}}{{(\sec^2\theta)}^3}\\ &=2\int_0^{\pi/4}\cos^4\theta\ \dee{\theta}\\ &=\frac{8+3\pi}{16} \end{align*}

by part (a).

Q13Stage 2

Evaluate π/12π/1215x3(x2+1)(9x2)5/2 dx\displaystyle\int_{-\pi/12}^{\pi/12} \dfrac{15x^3}{(x^2+1)(9-x^2)^{5/2}}~\dee{x}.

Hint

What is the symmetry of the integrand?

Answer

0

Full solution

The integrand is an odd function, and the limits of integration are symmetric, so π/12π/1215x3(x2+1)9x25 dx=0\displaystyle\int_{-\pi/12}^{\pi/12} \dfrac{15x^3}{(x^2+1)\sqrt{9-x^2}^5}~\dee{x}=0.

Q14Stage 2Past exam · M121 2014A

Evaluate 4x2dx{\displaystyle\int} \sqrt{4-x^2}\,\dee{x}.

Hint

See Example 1.9.3 in the CLP-2 text.

Answer

2arcsinx2+x24x2+C\displaystyle2\arcsin\frac{x}{2}+\frac{x}{2}\sqrt{4-x^2}+ C

Full solution

Substitute x=2sinux=2\sin u, so that dx=2cosudu\dee{x}=2 \cos u\,\dee{u}.

4x2dx=44sin2u 2cosudu=4cos2u 2cosudu=4cos2udu=2(1+cos(2u))du=2u+sin(2u)+C=2u+2sinucosu+C=2arcsinx2+x24x2+C\begin{align*} \int \sqrt{4-x^2}\,\dee{x} &=\int \sqrt{4-4\sin^2u}\ 2\cos u\,\dee{u} \\ &=\int \sqrt{4\cos^2u}\ 2\cos u\,\dee{u} \\ &=\int 4\cos^2 u\,\dee{u} =2\int \big(1+\cos(2u)\big)\,\dee{u} \\ &= 2u +\sin(2u) + C \\ &=2u + 2\sin u\cos u + C \\ &=2\arcsin\frac{x}{2} + \frac{ x}{2}\sqrt{4-x^2} + C \hskip0.5in\smash{ } \end{align*}

Figure from prob_s1.9, line 710

Figure from prob_s1.9, line 710

To see why we could write 4cos2u=2cosu\sqrt{4\cos^2 u} =2\cos u, as opposed to 4cos2u=2cosu\sqrt{4\cos^2 u} =2|\cos u|, in the third line above, see Example 1.9.2 in the CLP-2 text.

We used the substitution x=2sinux = 2\sin u, so we know sinu=x2\sin u = \frac{x}{2} and u=arcsin(x2)u=\arcsin(\frac{x}{2}). We have three options for finding cosu\cos u.

First, we can draw a right triangle with angle uu. Since sinu=x2\sin u = \frac{x}{2}, we label the opposite side xx and the hypotenuse 2, then by the Pythagorean Theorem the adjacent side has length 4x2\sqrt{4-x^2}. So, cosu=adjhyp=4x22\cos u = \dfrac{\text{adj}}{\text{hyp}} = \dfrac{\sqrt{4-x^2}}{2}.

Second, we can look back carefully at our work. We simplified 4x2=2cosu\sqrt{4-x^2} = 2\cos u, so cosu=4x22\cos u = \dfrac{\sqrt{4-x^2}}{2}.

Third, we could use the identity sin2u+cos2u=1\sin^2 u + \cos^2 u =1. Then cosu=±1sin2u=±1x24\cos u = \pm\sqrt{1-\sin^2 u} = \pm\sqrt{1-\frac{x^2}{4}}. Since u=arcsin(x/2)u = \arcsin (x/2), uu is in the range of arcsine, which means π2uπ2-\frac{\pi}{2} \leq u \leq \frac{\pi}{2}. Therefore, cosu0\cos u \geq 0, so cosu=1x24=4x22\cos u = \sqrt{1-\frac{x^2}{4}} = \frac{\sqrt{4-x^2}}{2}.

So,

4x2dx=2u+2sinucosu+C=2arcsinx2+x4x22+C\int \sqrt{4-x^2}\,\dee{x}=2u + 2\sin u\cos u + C= 2\arcsin\frac{x}{2}+x\cdot\frac{\sqrt{4-x^2}}{2}+C
Q15Stage 2Past exam · M105 2012A

Evaluate 25x24xdx\displaystyle\int \frac{\sqrt{25x^2-4}}{x}\,\dee{x} for x>25x>\frac{2}{5}.

Hint

To integrate an even power of tangent, use the identity tan2x=sec2x1\tan^2 x = \sec^2 x - 1.

Answer

25x242arcsec5x2+C\sqrt{25x^2-4}-2\arcsec\frac{5x}{2} + C

Full solution

Substitute x=25secux=\frac{2}{5}\sec u with 0<u<π20< u<\frac{\pi}{2}, so that dx=25secutanudu\dee{x}=\frac{2}{5} \sec u\,\tan u\,\dee{u} and 25x24=4(sec2u1)=4tan2u=2tanu\sqrt{25 x^2-4} = \sqrt{4(\sec^2u-1)} = \sqrt{4\tan^2u}=2\tan u. Then

25x24xdx=2tanu25secu25secutanudu=2tan2udu=2(sec2u1)du=2tanu2u+C=25x242arcsec5x2+C\begin{align*} \int \frac{\sqrt{25x^2-4}}{x}\,\dee{x} &=\int \frac{2\tan u}{\frac{2}{5}\sec u}\cdot\frac{2}{5}\sec u\tan u\,\dee{u} \\ &=2\int \tan^2 u\,\dee{u} =2\int \big(\sec^2 u -1\big)\,\dee{u} \\ &= 2\tan u -2u + C \\ &=\sqrt{25x^2-4}-2\arcsec\tfrac{5x}{2} + C \hskip0.75in\smash{ } \end{align*}

Figure from prob_s1.9, line 757

Figure from prob_s1.9, line 757

To find tanu\tan u, we draw a right triangle with angle uu. Since secu=5x2\sec u =\dfrac{5x}{2}, we label the hypotenuse 5x5x and the adjacent side 2. Then the Pythagorean Theorem gives us the opposite side as length 25x24\sqrt{25x^2-4}. Then tanu=oppadj=25x242\tan u = \dfrac{\text{opp}}{\text{adj}} = \dfrac{\sqrt{25x^2-4}}{2}.

Alternately, we can notice that in our work, we already showed 2tanu=25x242\tan u = \sqrt{25x^2-4}, so tanu=1225x24.\tan u = \frac{1}{2}\sqrt{25x^2-4} .

As a check, we observe that the derivative of the answer

ddx(25x242arcsec5x2+C)=25x25x242525x225x241=25x25x244x25x24since x>0=25x24x25x24=25x24x\begin{align*} \diff{}{x} \left(\sqrt{25x^2-4}-2\arcsec\frac{5x}{2} + C\right) &=\frac{25 x}{\sqrt{25x^2-4}} - 2 \frac{\frac{5}{2}}{\left|\frac{5x}{2}\right|\sqrt{\frac{25x^2}{4}-1}} \\ &= \frac{25 x}{\sqrt{25x^2-4}} - \frac{4}{x\sqrt{25x^2-4}}\qquad\text{since }x>0 \\ &= \frac{25 x^2-4}{x\sqrt{25x^2-4}} \\ &= \frac{\sqrt{25 x^2-4}}{x} \end{align*}

is exactly the integrand (provided x>25x>\frac{2}{5}).

Q16Stage 2

Evaluate 1017x3x21dx\displaystyle\int_{\sqrt{10}}^{\sqrt{17}} \frac{x^3}{\sqrt{x^2-1}}\, \dee{x}.

Hint

A trig substitution is not the easiest path.

Answer

403\dfrac{40}{3}

Full solution

The integrand has a quadratic polynomial under a square root, which makes us think of trig substitutions. However, it's good practice to look for simpler methods before we jump into more complicated ones, and in this case we find something nicer than a trig substitution: the substitution u=x21u=x^2-1, du=2xdx\dee{u}=2x\,\dee{x}. Then xdx=12dux\dee{x} = \frac{1}{2}\dee{u}, and x2=u+1x^2 ={u+1}. When x=10x=\sqrt{10}, u=9u=9, and when x=17x=\sqrt{17}, u=16u=16.

1017x3x21dx=1017x2x21xdx=12916u+1udu=12916(u1/2+u1/2)du=12[23u3/2+2u1/2]916=12[2343+24233323]=403\begin{align*} \int_{\sqrt{10}}^{\sqrt{17}} \frac{x^3}{\sqrt{x^2-1}}\, \dee{x}&= \int_{\sqrt{10}}^{\sqrt{17}} \frac{x^2}{\sqrt{x^2-1}}\, \cdot x\dee{x} \\&=\frac{1}{2} \int_{9}^{16} \frac{u+1}{\sqrt{u}}\,\dee{u}\\ &=\frac{1}{2} \int_{9}^{16}\left(u^{1/2}+u^{-1/2}\right)\,\dee{u} \\&=\frac{1}{2}\left[\frac{2}{3}u^{3/2} + 2u^{1/2} \right]_{9}^{16} \\&=\frac{1}{2}\left[\frac{2}{3}\cdot 4^3 + 2\cdot 4 -\frac{2}{3}\cdot 3^3 -2\cdot 3 \right]\\ &=\frac{40}{3} \end{align*}
Q17Stage 2Past exam · M105 2014A

Evaluate dx32xx2\displaystyle\int \frac{\dee{x}}{\sqrt{3-2x-x^2}}.

Hint

Complete the square. Your final answer will have an inverse trig function in it.

Answer

arcsinx+12+C\arcsin\dfrac{x+1}{2} + C

Full solution

This integrand looks very different from those above. But it is only slightly disguised. If we complete the square

dx32xx2=dx4(x+1)2\begin{align*} \int \frac{\dee{x}}{\sqrt{3-2x-x^2}} = \int \frac{\dee{x}}{\sqrt{4-(x+1)^2}} \end{align*}

and make the substitution y=x+1y=x+1, dy=dx\dee{y}=\dee{x}

dx32xx2=dx4(x+1)2=dy4y2\begin{align*} \int \frac{\dee{x}}{\sqrt{3-2x-x^2}} = \int \frac{\dee{x}}{\sqrt{4-(x+1)^2}} = \int \frac{\dee{y}}{\sqrt{4-y^2}} \end{align*}

we get a typical trig substitution integral. So, we substitute y=2sinθy=2\sin\theta, dy=2cosθdθ\dee{y}=2\cos\theta\,\dee{\theta} to get

dx32xx2=dy4y2=2cosθdθ44sin2θ=2cosθdθ4cos2θ=dθ=θ+C=arcsiny2+C=arcsinx+12+C\begin{align*} \int \frac{\dee{x}}{\sqrt{3-2x-x^2}} &= \int \frac{\dee{y}}{\sqrt{4-y^2}} = \int\frac{2\cos\theta\,\dee{\theta}}{\sqrt{4-4\sin^2\theta}} = \int\frac{2\cos\theta\,\dee{\theta}}{\sqrt{4\cos^2\theta}}\\ &=\int\dee{\theta} =\theta +C =\arcsin\frac{y}{2} + C \\ &=\arcsin\frac{x+1}{2} + C \end{align*}

An experienced integrator would probably substitute x+1=2sinθx+1 = 2\sin\theta directly, without going through yy.

Q18Stage 2

Evaluate 1(2x3)34x212x+8 dx\displaystyle\int \dfrac{1}{(2x-3)^3\sqrt{4x^2-12x+8}}~\dee{x} for x>2x>2.

Hint

To antidifferentiate even powers of cosine, use the formula cos2θ=12(1+cos(2θ))\cos^2\theta = \frac{1}{2}(1+\cos(2\theta)). Then, remember sin(2θ)=2sinθcosθ\sin(2\theta)=2\sin\theta\cos\theta.

Answer

14(arccos(12x3)+4x212x+8(2x3)2)+C\displaystyle\frac{1}{4}\left(\arccos\left(\frac{1}{2x-3}\right) + \frac{\sqrt{4x^2-12x+8}}{(2x-3)^2}\right)+C, or equivalently,
14(arcsec(2x3)+4x212x+8(2x3)2)+C\displaystyle\frac{1}{4}\left(\arcsec\left({2x-3}\right) + \frac{\sqrt{4x^2-12x+8}}{(2x-3)^2}\right)+C

Full solution

Completing the square, we see 4x212x+8=(2x3)214x^2-12x+8 = (2x-3)^2-1.

1(2x3)34x212x+8 dx=1(2x3)3(2x3)21 dx\begin{align*}\int \dfrac{1}{(2x-3)^3\sqrt{4x^2-12x+8}}~\dee{x}&= \int \dfrac{1}{(2x-3)^3\sqrt{(2x-3)^2-1}}~\dee{x}\end{align*}

As x>2x>2, we have 2x3>12x-3>1. We use the substitution 2x3=secθ2x-3 = \sec \theta with 0θ<π20\le\theta<\frac{\pi}{2}. So 2dx=secθtanθ dθ2\,\dee{x}=\sec\theta\tan\theta~\dee{\theta} and (2x3)21=sec2θ1=tan2θ=tanθ\sqrt{(2x-3)^2-1}=\sqrt{\sec^2\theta-1}=\sqrt{\tan^2\theta}=\tan\theta.

=121sec3θsec2θ1secθtanθ dθ=121sec3θtanθsecθtanθ dθ=121sec2θ dθ=12cos2θ dθ=14(1+cos(2θ)) dθ=14(θ+12sin(2θ))+C=14(θ+sinθcosθ)+C=14(arccos(12x3)+4x212x+8(2x3)2)+C\begin{align*}&=\frac{1}{2}\int\frac{1}{\sec^3\theta\sqrt{\sec^2\theta-1}}\sec\theta\tan\theta~\dee{\theta}\\ &=\frac{1}{2}\int\frac{1}{\sec^3\theta\tan\theta}\sec\theta\tan\theta~\dee{\theta} \\&=\frac{1}{2}\int\frac{1}{\sec^2\theta}~\dee{\theta} \\&=\frac{1}{2}\int{\cos^2\theta}~\dee{\theta} \\&=\frac{1}{4}\int{\left(1+\cos(2\theta)\right)}~\dee{\theta} \\&=\frac14\left(\theta + \frac{1}{2}\sin(2\theta)\right)+C \\&=\frac14\left(\theta + \sin\theta\cos\theta\right)+C \\ \hspace{1cm}&=\frac{1}{4}\left(\arccos\left(\frac{1}{2x-3}\right) + \frac{\sqrt{4x^2-12x+8}}{(2x-3)^2}\right)+C\end{align*}

Figure from prob_s1.9, line 871

Figure from prob_s1.9, line 871

Since 2x3=secθ2x-3=\sec\theta, we know cosθ=12x3\cos\theta = \frac{1}{2x-3} and θ=arccos(12x3)\theta = \arccos\left(\frac{1}{2x-3}\right). (Equivalently, θ=arcsec(2x3)\theta = \arcsec(2x-3).) To find sinθ\sin\theta, we draw a right triangle with adjacent side of length 1, and hypotenuse of length 2x32x-3. By the Pythagorean Theorem, the opposite side has length 4x212x+8\sqrt{4x^2-12x+8}.

Q19Stage 2

Evaluate 01x2(x2+1)3/2dx\displaystyle\int_0^1\dfrac{x^2}{(x^2+1)^{3/2}}\dee{x}.

You may use that secxdx=logsecx+tanx+C\int \sec x\dee{x} = \log|\sec x+\tan x| +C.

Hint

After substituting, use the identity tan2x=sec2x1\tan^2 x = \sec^2 x - 1 more than once.
Remember secxdx=logsecx+tanx+C\displaystyle\int \sec x \dee{x} = \log \big|\sec x + \tan x \big|+C.

Answer

log(1+2)12\log(1+\sqrt{2})-\dfrac{1}{\sqrt{2}}

Full solution

We use the substitution x=tanux=\tan u, dx=sec2u du\dee{x}=\sec^2 u~\dee{u}. Note tan0=0\tan 0=0 and tanπ4=1\tan \frac{\pi}{4} =1.

01x2x2+13dx=0π/4tan2utan2u+13sec2u du=0π/4tan2usec2u3sec2u du=0π/4tan2usecu du=0π/4sec2u1secu du=0π/4(secucosu) du=[logsecu+tanusinu]0π/4=(log2+112)(log1+00)=log(1+2)12\begin{align*} \displaystyle\int_0^1\dfrac{x^2}{\sqrt{x^2+1}^3}\dee{x}&= \int_0^{\pi/4}\dfrac{\tan^2 u}{\sqrt{\tan^2 u +1}^3}\sec^2u~\dee{u}\\ &= \int_0^{\pi/4}\dfrac{\tan^2 u}{\sqrt{\sec^2u}^3}\sec^2u~\dee{u}\\ &= \int_0^{\pi/4}\frac{\tan^2 u}{\sec u}~\dee{u}\\&= \int_0^{\pi/4}\frac{\sec^2 u-1}{\sec u}~\dee{u}\\&= \int_0^{\pi/4}\big({\sec u}-\cos u\big)~\dee{u}\\ &=\Big[\log\left|\sec u + \tan u \right| - \sin u\Big]_{0}^{\pi/4} \\ &=\left(\log\left|\sqrt{2} + 1 \right| -\frac{1}{\sqrt{2}}\right) - \left(\log|1+0|-0\right)\\ &=\log(1+\sqrt{2})-\frac{1}{\sqrt{2}} \end{align*}
Q20Stage 2

Evaluate 1(x2+1)2 dx\displaystyle\int \frac{1}{(x^2+1)^2}~\dee{x}.

Hint

There's no square root, but we can still make use of the substitution x=tanθx=\tan\theta.

Answer

12(arctanx+xx2+1)+C\displaystyle\frac{1}{2}\left(\arctan x + \frac{x}{x^2+1}\right)+C

Full solution

There's no square root, but we can still make use of the substitution x=tanθx=\tan\theta, dx=sec2θ dθ\dee{x} = \sec^2\theta~\dee{\theta}.

1(x2+1)2 dx=1(tan2θ+1)2sec2θ dθ=1sec4θsec2θ dθ=cos2θ dθ=12(1+cos(2θ)) dθ=12(θ+12sin(2θ))+C=12(θ+sinθcosθ)+C=12(arctanx+xx2+1)+C\begin{align*} \int \frac{1}{(x^2+1)^2}~\dee{x}&=\int\frac{1}{(\tan^2\theta+1)^2}\sec^2\theta~\dee{\theta}\\ &=\int\frac{1}{\sec^4\theta}\sec^2\theta~\dee{\theta} = \int\cos^2\theta~\dee{\theta}\\ &=\frac{1}{2}\int \big(1 + \cos(2\theta)\big)~\dee{\theta}\\ &=\frac{1}{2}\left(\theta + \frac{1}{2}\sin(2\theta)\right)+C\\ &=\frac{1}{2}\left(\theta + \sin\theta\cos\theta\right)+C\\ \hspace{1cm}&=\frac{1}{2}\left(\arctan x + \frac{x}{x^2+1}\right)+C \end{align*}

Figure from prob_s1.9, line 937

Figure from prob_s1.9, line 937

Since x=tanθx = \tan\theta, we can draw a right triangle with angle θ\theta, opposite side xx, and adjacent side 11. Then by the Pythagorean Theorem, its hypotenuse has length x2+1\sqrt{x^2+1}, which allows us to find sinθ\sin\theta and cosθ\cos\theta.

3Stage 3Application

Further than practice: several ideas at once, or an unfamiliar situation.

Q21Stage 3

Evaluate x2x22x+2 dx\displaystyle\int \dfrac{x^2}{\sqrt{x^2-2x+2}}~\dee{x}.
You may assume without proof that sec3θ dθ=12secθtanθ+12logsecθ+tanθ+C\displaystyle\int \sec^3 \theta~\dee{\theta} = \frac{1}{2}\sec\theta\tan\theta + \frac{1}{2}\log|\sec\theta+\tan\theta|+C.

Hint

You'll probably want to use the identity tan2θ+1=sec2θ\tan^2\theta+1=\sec^2\theta more than once.

Answer

3+x2x22x+2+12logx22x+2+x1+C\dfrac{3+x}{2}\sqrt{x^2-2x+2}+ \dfrac{1}{2}\log\left|\sqrt{x^2-2x+2}+x-1\right|+C

Full solution

We complete the square to find x22x+2=(x1)2+1x^2-2x+2 = (x-1)^2+1.

x2x22x+2 dx=x2(x1)2+1 dx\begin{align*}\int \dfrac{x^2}{\sqrt{x^2-2x+2}}~\dee{x}&= \int \dfrac{x^2}{\sqrt{(x-1)^2+1}}~\dee{x}\end{align*}

We use the substitution x1=tanθx-1=\tan\theta, which implies dx=sec2θ dθ\dee{x}=\sec^2\theta~\dee{\theta} and x=tanθ+1x=\tan\theta+1

=(tanθ+1)2(tanθ)2+1 sec2θ dθ=tan2θ+2tanθ+1secθsec2θ dθ=(sec2θ+2tanθ)secθ dθ=(sec3θ+2tanθsecθ) dθ=12secθtanθ+12logsecθ+tanθ+2secθ+C=12x22x+2(x1)+12logx22x+2+x1+2x22x+2+C=3+x2x22x+2+12logx22x+2+x1+C\begin{align*}&=\int \dfrac{(\tan\theta+1)^2}{\sqrt{(\tan\theta)^2+1}}~\sec^2\theta~\dee{\theta}\\ &=\int\frac{\textcolor{red}{\tan^2\theta}+2\tan\theta+\textcolor{red}1}{\sec\theta}\sec^2\theta~\dee{\theta}\\ &=\int(\textcolor{red}{\sec^2\theta}+2\tan\theta)\sec\theta~\dee{\theta}\\ &=\int\big( \sec^3\theta+2\tan\theta\sec\theta\big)~\dee{\theta} \hspace{2cm}\\ &=\frac{1}{2}\sec\theta\tan\theta + \frac{1}{2}\log|\sec\theta+\tan\theta|+2\sec\theta+C\\ &=\frac{1}{2}\sqrt{x^2-2x+2}(x-1) + \frac{1}{2}\log\left|\sqrt{x^2-2x+2}+x-1\right|\\ &\hskip 1in+2\sqrt{x^2-2x+2}+C\\ &=\frac{3+x}{2}\sqrt{x^2-2x+2}+ \frac{1}{2}\log\left|\sqrt{x^2-2x+2}+x-1\right|+C\end{align*}

Figure from prob_s1.9, line 967

Figure from prob_s1.9, line 967

To see why we could write (tanθ)2+25=secθ\sqrt{(\tan\theta)^2+25} =\sec\theta, as opposed to (tanθ)2+25=secθ\sqrt{(\tan\theta)^2+25} =|\sec\theta|, see Example 1.9.5 in the CLP-2 text.

From our substitution, we know tanθ=x1\tan\theta = x-1. To find secθ\sec\theta, we can notice that in our work we already simplified x22x+1=secθ\sqrt{x^2-2x+1}=\sec\theta. Alternately, we can draw a right triangle with angle θ\theta, opposite side x1x-1, adjacent side 11, and use the Pythagorean Theorem to find the hypotenuse.

Q22Stage 3

Evaluate 13x2+5x dx\displaystyle\int \dfrac{1}{\sqrt{3x^2+5x}}~\dee{x}.

You may use that secxdx=logsecx+tanx+C\int \sec x\dee{x} = \log|\sec x+\tan x| +C.

Hint

Complete the square — refer to Question 2 if you want a refresher. The constants aren't pretty, but don't let them scare you.

Answer

13log(65x+1)+259x2+15x+C\displaystyle\frac{1}{\sqrt{3}}\log\left| \left(\frac{6}{5}x+1\right)+\frac{2}{5}\sqrt{9x^2+15x} \right|+C

Full solution

First, we complete the square. The constants aren't integers, but we can still use the same method as in Question 2. The quadratic function under the square root is 3x2+5x3x^2+5x. We match the non-constant terms to those of a perfect square.

(ax+b)2=a2x2+2abx+b23x2+5x=a2x2+2abx+b2+cfor some constant c\begin{align*} (ax+b)^2&=a^2x^2+2abx+b^2\\ \textcolor{red}{3x^2}+\textcolor{blue}{5x}&=\textcolor{red}{a^2x^2} + \textcolor{blue}{2abx} +b^2 + c \quad\text{for some constant }c\text{} \end{align*}
  • Looking at the leading term tells us a=3a=\sqrt{3}.

  • Then the second term tells us 5=2ab=23b5=2ab=2\sqrt{3}b, so b=523b=\frac{5}{2\sqrt3}.

  • Finally, the constant terms give us 0=b2+c=2512+c0=b^2+c=\frac{25}{12}+c, so c=2512c=-\frac{25}{12}.

So, 3x2+5x=(3x+523)225123x^2+5x=\left(\sqrt{3}x+\frac{5}{2\sqrt{3}}\right)^2-\frac{25}{12}.

13x2+5x dx=1(3x+523)22512 dx\begin{align*}\int \dfrac{1}{\sqrt{3x^2+5x}}~\dee{x}&=\int \dfrac{1}{\sqrt{\left(\sqrt{3}x+\frac{5}{2\sqrt3}\right)^2-\frac{25}{12}}}~\dee{x}\end{align*}

We use the substitution 3x+523=523secθ\sqrt{3}x + \frac{5}{2\sqrt3}=\frac{5}{2\sqrt{3}}\sec\theta, which leads to 3dx=523secθtanθ dθ\sqrt{3}\dee{x} = \frac{5}{2\sqrt{3}}\sec\theta\tan\theta~\dee{\theta}, i.e. dx=56secθtanθ dθ\dee{x} = \frac{5}{6}\sec\theta\tan\theta~\dee{\theta}.

=1(523secθ)2251256secθtanθ dθ=12512sec2θ251256secθtanθ dθ=12512tan2θ56secθtanθ dθ=1523tanθ56secθtanθ dθ=13secθ dθ=13logsecθ+tanθ+C=13log(65x+1)+259x2+15x+C\begin{align*}&=\int\frac{1}{\sqrt{\left(\frac{5}{2\sqrt3}\sec\theta\right)^2-\frac{25}{12}}}\cdot\frac{5}{6}\sec\theta\tan\theta~\dee{\theta}\\ &=\int\frac{1}{\sqrt{\frac{25}{12}\sec^2\theta-\frac{25}{12}}}\cdot\frac{5}{6}\sec\theta\tan\theta~\dee{\theta}\\ &=\int\frac{1}{\sqrt{\frac{25}{12}\tan^2\theta}}\cdot\frac{5}{6}\sec\theta\tan\theta~\dee{\theta}\\ &=\int\frac{1}{{\frac{5}{2\sqrt{3}}\tan\theta}}\cdot\frac{5}{6}\sec\theta\tan\theta~\dee{\theta}\\ &=\frac{1}{\sqrt3}\int\sec\theta~\dee{\theta}\\ &=\frac{1}{\sqrt3}\log\left|\sec\theta+\tan\theta\right|+C\\ \hspace{1.5cm} &=\frac{1}{\sqrt3}\log\left| \left(\frac{6}{5}x+1\right)+\frac{2}{5}\sqrt{9x^2+15x} \right|+C\end{align*}

Figure from prob_s1.9, line 1002

Figure from prob_s1.9, line 1002

Since we used the substitution 3x+523=523secθ\sqrt3x+\frac{5}{2\sqrt{3}}=\frac{5}{2\sqrt3}\sec\theta, we have secθ=65x+1=6x+55\sec\theta = \frac{6}{5}x+1 = \frac{6x+5}{5}. To find tanθ\tan\theta in terms of xx, we have two options. We can make a right triangle with angle θ\theta, hypotenuse 6x+56x+5, and adjacent side 55, then use the Pythagorean Theorem to find the opposite side. Or, we can look through our work and see that 3x2+5=523tanθ\sqrt{3x^2+5}=\frac{5}{2\sqrt3}\tan\theta, so tanθ=2353x2+5=259x2+15\tan\theta = \frac{2\sqrt3}{5}\sqrt{3x^2+5}=\frac{2}{5}\sqrt{9x^2+15}.

As a check, we observe that the derivative of the answer

ddx(13log(65x+1)+259x2+15x+C)=13 65+1518x+159x2+15x(65x+1)+259x2+15x=13 6+36x+59x2+15x(6x+5)+29x2+15x=3 2+6x+59x2+15x(6x+5)+29x2+15x=39x2+15x=13x2+5x\begin{align*} &\diff{}{x}\left( \frac{1}{\sqrt3}\log\left| \left(\frac{6}{5}x+1\right)+\frac{2}{5}\sqrt{9x^2+15x} \right| + C\right) =\frac{1}{\sqrt3}\ \frac{\frac{6}{5} +\frac{1}{5} \frac{18x+15}{\sqrt{9x^2+15 x}}} { \left(\frac{6}{5}x+1\right)+\frac{2}{5}\sqrt{9x^2+15x}} \\ &\hskip0.5in=\frac{1}{\sqrt3}\ \frac{6 + 3\frac{6x+5}{\sqrt{9x^2+15 x}}} { \left(6x+5\right)+ 2\sqrt{9x^2+15x}} =\sqrt3\ \frac{2 + \frac{6x+5}{\sqrt{9x^2+15 x}}} { \left(6x+5\right)+ 2\sqrt{9x^2+15x}} =\frac{\sqrt{3}}{\sqrt{9x^2+15 x}} \\ &\hskip0.5in=\frac{1}{\sqrt{3x^2+5 x}} \end{align*}

is exactly the integrand.

Remark: in applications, often the numbers involved are messier than they are in textbooks. The ideas of this problem are similar to other problems in this section, but it's good practice to apply them in a slightly messy context.

Q23Stage 3

Evaluate (1+x2)3/2xdx\displaystyle\int\dfrac{(1+x^2)^{3/2}}{x}\dee{x}. You may use the fact that cscθ dθ=logcotθcscθ+C\displaystyle\int \csc \theta~\dee{\theta}=\log|\cot \theta - \csc \theta|+C.

Hint

After substituting, use the identity sec2u=tan2u+1\sec^2 u = \tan^2 u +1. It might help to break the integral into a few pieces.

Answer

131+x2(4+x2)+log11+x2x+C\dfrac{1}{3}\sqrt{1+x^2}(4+x^2)+\log\left|\dfrac{1-\sqrt{1+x^2}}{x} \right|+C

Full solution

We use the substitution x=tanux=\tan u, dx=sec2u du\dee{x}=\sec^2 u~\dee{u}.

1+x23xdx=1+tan2u3tanusec2u du=sec3utanusec2u du=(sec2u)2tanusecu du=(tan2u+1)2tanusecu du=tan4u+2tan2u+1tanusecu du=tan3usecu du+2secutanu du+secutanu du\begin{align*}\int\dfrac{\sqrt{1+x^2}^3}{x}\dee{x}&=\int\frac{\sqrt{1+\tan^2 u}^3}{\tan u}\sec^2 u~\dee{u} \\&=\int\frac{\sec^3u}{\tan u}\sec^2 u~\dee{u} \\&=\int\frac{(\sec^2u)^2}{\tan u}\sec u~\dee{u} \\&=\int\frac{(\tan^2u+1)^2}{\tan u}\sec u~\dee{u} \\&=\int\frac{\tan^4u+2\tan^2 u + 1}{\tan u}\sec u~\dee{u} \\&=\int \tan^3 u \sec u ~\dee{u} + \int 2\sec u \tan u~\dee u + \int \frac{\sec u}{\tan u}~\dee{u}\end{align*}

For the first integral, we use the substitution w=secuw=\sec u. The second is the antiderivative of 2secu2\sec u. The third we simplify as secutanu=1cosucosusinu=cscu\frac{\sec u}{\tan u} = \frac{1}{\cos u}\cdot \frac{\cos u}{\sin u} = \csc u .

=((sec2u1)secutanu) du+2secu+logcotucscu+C=(w21) dw+2secu+logcotucscu+C=13w3w+2secu+logcotucscu+C=13sec3usecu+2secu+logcotucscu+C=13sec3u+secu+logcotucscu+C\begin{align*}&=\int\bigg((\sec^2 u -1)\sec u \tan u\bigg)~\dee{u} + 2\sec u + \log|\cot u - \csc u |+C\\ &=\int (w^2-1)~\dee{w}+2\sec u + \log|\cot u - \csc u|+C\\ &=\frac{1}{3}w^3-w+2\sec u + \log|\cot u - \csc u|+C\\ &=\frac{1}{3}\sec^3u-\sec u+2\sec u + \log|\cot u - \csc u|+C \\ \qquad &=\frac{1}{3}\sec^3u+\sec u + \log|\cot u - \csc u|+C\end{align*}

Figure from prob_s1.9, line 1064

Figure from prob_s1.9, line 1064

We began with the substitution x=tanux=\tan u. Then cotu=1x\cot u = \frac{1}{x}. To find cscu\csc u and secu\sec u, we draw a right triangle with angle uu, opposite side xx, and adjacent side 11. The Pythagorean Theorem gives us the hypotenuse.

=131+x23+1+x2+log1x1+x2x+C=131+x2(4+x2)+log11+x2x+C\begin{align*}&=\frac{1}{3}\sqrt{1+x^2}^3+\sqrt{1+x^2}+\log\left| \frac{1}{x}-\frac{\sqrt{1+x^2}}{x} \right|+C \\&=\frac{1}{3}\sqrt{1+x^2}(4+x^2)+\log\left|\frac{1-\sqrt{1+x^2}}{x} \right|+C\end{align*}
Q24Stage 3

Below is the graph of the ellipse (x4)2+(y2)2=1\left(\frac{x}{4}\right)^2+\left(\frac{y}{2}\right)^2=1. Find the area of the shaded region using the ideas from this section.

Figure from prob_s1.9, line 2

Figure from prob_s1.9, line 2

Hint

Make use of symmetry, and integrate with respect to yy (rather than xx).

Answer

8π3+43\dfrac{8\pi}{3}+4\sqrt{3}

Full solution

The half of the ellipse to the right of the yy-axis is given by the equation

x=f(y)=41(y2)2\begin{align*}x=f(y)&=4\sqrt{1-\left(\frac{y}{2}\right)^2}\end{align*}

The area we want is twice the area between the right-hand side of the curve and the yy-axis, from y=1y=-1 to y=1y=1. In other words,

Area=21141(y2)2 dy=8111(y2)2 dy\begin{align*}\text{Area}&=2\int_{-1}^1 4\sqrt{1-\left(\frac{y}{2}\right)^2}~\dee{y} =8\int_{-1}^1 \sqrt{1-\left(\frac{y}{2}\right)^2}~\dee{y}\end{align*}

Since the integrand 1(y2)2\sqrt{1-\left(\frac{y}{2}\right)^2} is an even function of yy,

111(y2)2 dy=2011(y2)2 dy    Area=16011(y2)2 dy\begin{equation*} \int_{-1}^1 \sqrt{1-\left(\frac{y}{2}\right)^2}~\dee{y} =2\int_0^1 \sqrt{1-\left(\frac{y}{2}\right)^2}~\dee{y} \implies \text{Area}=16\int_{0}^1 \sqrt{1-\left(\frac{y}{2}\right)^2}~\dee{y} \end{equation*}

We use the substitution y2=sinθ\frac{y}{2} = \sin \theta, 12dy=cosθ dθ\frac{1}{2}\dee{y}=\cos\theta~\dee{\theta}. When y=0y=0, sinθ=0\sin\theta=0 so that θ=0\theta=0, and when y=1y=1, sinθ=12\sin\theta=\frac{1}{2} so that θ=π6\theta= \frac{\pi}{6}. Hence

Area=160π/61(sinθ)2  2cosθ dθ=320π/6cos2θ cosθ dθ=320π/6cos2θ dθ=160π/6(1+cos(2θ)) dθ=16[θ+12sin(2θ)]0π/6=16(π6+1232)=8π3+43\begin{align*} \text{Area}&=16\int_{0}^{\pi/6} \sqrt{1-\left(\sin\theta\right)^2}\ \ 2\cos\theta~\dee{\theta} \\&=32\int_{0}^{\pi/6} \sqrt{\cos^2\theta}~\cos\theta~\dee{\theta} \\&=32\int_{0}^{\pi/6}\cos^2\theta~\dee{\theta} \\&=16\int_{0}^{\pi/6}\big(1+\cos(2\theta)\big)~\dee{\theta} \\&=16\left[\theta +\frac{1}{2}\sin(2\theta)\right]_{0}^{\pi/6}\\ &=16\left(\frac{\pi}{6}+\frac{1}{2}\cdot \frac{\sqrt{3}}{2} \right)\\ &=\frac{8\pi}{3}+4\sqrt{3} \end{align*}

Remark: we also investigated areas of ellipses in Question 16, Section 1.2.

Q25Stage 3

Let f(x)=x1x24f(x) = \dfrac{|x|}{\sqrt[4]{1-x^2}}, and let RR be the region between f(x)f(x) and the xx-axis over the interval [12,12][-\frac{1}{2},\frac{1}{2}].

  1. Find the area of RR.

  2. Find the volume of the solid formed by rotating RR about the xx-axis.

Hint

Use the symmetry of the function to re-write your integrals without an absolute value.

Answer

Area: 43434\dfrac{4}{3} - \sqrt[4]{\dfrac{4}{3}} Volume: π263π4\dfrac{\pi^2}{6} - \dfrac{\sqrt{3}\pi}{4}

Full solution

Note that f(x)f(x) is an even function, nonnegative over its entire domain.
(a) To find the area of RR, we evaluate

Area=1/21/2x1x24 dx=201/2x1x24 dx\begin{align*}\text{Area}&=\int _{-1/2}^{1/2} \dfrac{|x|}{\sqrt[4]{1-x^2}}~\dee{x} = 2\int _{0}^{1/2} \dfrac{x}{\sqrt[4]{1-x^2}}~\dee{x}\end{align*}

We use the substitution u=1x2u=1-x^2, du=2x dx\dee{u}=-2x~\dee{x}.

=13/41u1/4 du=[43u3/4]13/4=43((34)3/41)=43434\begin{align*}&=-\int_{1}^{3/4} \frac{1}{u^{1/4}}~\dee{u}\\ &=-\left[\frac{4}{3}u^{3/4}\right]_1^{3/4} = -\frac{4}{3}\left(\left(\frac{3}{4}\right)^{3/4}-1\right)\\ &=\frac{4}{3} - \sqrt[4]{\frac{4}{3}}\end{align*}

(b) We slice the solid of rotation into circular disks of width dx\dee{x} and radius x1x24\dfrac{|x|}{\sqrt[4]{1-x^2}}.

Volume=1/21/2π(x1x24)2 dx=2π01/2x21x2 dx\begin{align*}\text{Volume}&=\int_{-1/2}^{1/2} \pi\left(\dfrac{|x|}{\sqrt[4]{1-x^2}}\right)^2~\dee{x}\\ &=2\pi\int_{0}^{1/2} \dfrac{x^2}{\sqrt{1-x^2}}~\dee{x}\end{align*}

We use the substitution x=sinθx=\sin \theta, dx=cosθ dθ\dee{x} = \cos\theta~\dee{\theta}, so 1x2=1sin2θ=cosθ\sqrt{1-x^2} = \sqrt{1-\sin^2\theta}=\cos \theta. Note sin0=0\sin 0 =0 and sinπ6=12.\sin\frac{\pi}{6}=\frac{1}{2}.

=2π0π/6sin2θcosθcosθ dθ=2π0π/6sin2θ dθ=π0π/6(1cos(2θ)) dθ=π[θ12sin(2θ)]0π/6=π(π61232)=π263π4\begin{align*}&=2\pi\int_{0}^{\pi/6} \frac{\sin^2 \theta}{\cos \theta}\cos \theta~\dee{\theta} \\&=2\pi\int_{0}^{\pi/6} \sin^2 \theta~\dee{\theta} \\&=\pi\int_{0}^{\pi/6}\big(1- \cos(2 \theta)\big)~\dee{\theta}\\ &=\pi\left[\theta - \frac{1}{2}\sin(2\theta)\right]_0^{\pi/6}\\ &=\pi\left(\frac{\pi}{6} - \frac{1}{2}\cdot \frac{\sqrt{3}}{2}\right)\\ &=\frac{\pi^2}{6} - \frac{\sqrt{3}\pi}{4}\end{align*}
Q26Stage 3

Evaluate 1+ex dx\displaystyle\int \sqrt{1+e^x}~\dee{x}. You may use the antiderivative cscθdθ=logcotθcscθ+C\displaystyle\int \csc \theta \dee{\theta} = \log|\cot \theta - \csc \theta|+C.

Hint

Think of exe^x as (ex/2)2\left(e^{x/2}\right)^2, and use a trig substitution. Then, use the identity sec2θ=tan2θ+1\sec^2 \theta = \tan^2 \theta +1.

Answer

21+ex+2log11+exx+C2\sqrt{1+e^x}+2\log\left| 1-\sqrt{1+e^x} \right|-x+C

Full solution

If we think of exe^x as (ex/2)2\left(e^{x/2}\right)^2, the function under the square root suggests the substitution ex/2=tanθe^{x/2}=\tan \theta. Then 12ex/2 dx=sec2θ dθ\frac{1}{2}e^{x/2}~\dee{x}=\sec^2\theta~\dee{\theta}, so dx=2ex/2sec2θ dθ=2tanθsecθ dθ\dee{x} = \frac{2}{e^{x/2}}\sec^2\theta~\dee{\theta} = \frac{2}{\tan\theta}\sec\theta~\dee{\theta}.

1+ex dx=21+tan2θtanθsec2θ dθ=2sec3θtanθ dθ=2secθ(tan2θ+1)tanθ dθ=2(secθtanθ+secθtanθ) dθ=2(secθtanθ+cscθ) dθ=2secθ+2logcotθcscθ+C=21+ex+2log1ex/21+exex/2+C=21+ex+2log11+ex2log(ex/2)+C=21+ex+2log11+exx+C\begin{align*} \int \sqrt{1+e^x}~\dee{x}&=\int\frac{2\sqrt{1+\tan^2 \theta}}{\tan\theta}\sec^2\theta~\dee{\theta}\\ &=2\int \frac{\sec^3\theta}{\tan\theta}~\dee{\theta}\\ &=2\int \frac{\sec\theta(\tan^2\theta+1)}{\tan\theta}~\dee{\theta}\\ &=2\int \left(\sec\theta \tan\theta + \frac{\sec \theta}{\tan\theta}\right)~\dee{\theta}\\ &=2\int\big( \sec\theta \tan\theta + \csc\theta\big)~\dee{\theta}\\ \hspace{2cm}&=2\sec\theta + 2\log|\cot\theta-\csc\theta|+C\\ &=2\sqrt{1+e^x}+2\log\left| \frac{1}{e^{x/2}} - \frac{\sqrt{1+e^x}}{e^{x/2}} \right|+C\\ &=2\sqrt{1+e^x}+2\log\left| 1-\sqrt{1+e^x} \right|-2\log(e^{x/2})+C \\&=2\sqrt{1+e^x}+2\log\left| 1-\sqrt{1+e^x} \right|-x+C \end{align*}

Figure from prob_s1.9, line 1191

Figure from prob_s1.9, line 1191

We used the substitution ex/2=tanθe^{x/2}=\tan\theta, so cotθ=1ex/2\cot\theta = \frac{1}{e^{x/2}}. To find secθ\sec \theta and cscθ\csc\theta, we draw a right triangle with opposite side ex/2e^{x/2} and adjacent side 1. They by the Pythagorean Theorem, the hypotenuse has length 1+ex\sqrt{1+e^x}.

Remark: if we use the substitution u=1+exu=\sqrt{1+e^x}, then we can change the integral to 2u2u21 du\displaystyle\int \dfrac{2u^2}{u^2-1}~\dee{u}. We can integrate this using the method of partial fractions, which we'll learn in the next section. You can explore this option in Question 26, Section 1.10.

Q27Stage 3

Consider the following work.

11x2 dx=11sin2θcosθ dθusing x=sinθ,dx=cosθ dθ=cosθcos2θ dθ=secθ dθ=logsecθ+tanθ+CExample 1.8.19 in the CLP-2 text=log11x2+x1x2+C=log1+x1x2+C\begin{align*} \int \frac{1}{1-x^2}~\dee{x}&=\int\dfrac{1}{1-\sin^2 \theta}\cos\theta~\dee{\theta}&\text{using } x=\sin\theta,\quad \dee{x}=\cos\theta~\dee{\theta}\\ &=\int \frac{\cos \theta}{\cos^2 \theta}~\dee\theta\\ &=\int \sec \theta~\dee{\theta}\\ &=\log|\sec \theta + \tan \theta| +C & \text{Example~\text{1.8.19} in the CLP-2 text}\\ &=\log\left | \dfrac{1}{\sqrt{1-x^2}}+\dfrac{x}{\sqrt{1-x^2}} \right| +C\\ \qquad&=\log\left | \dfrac{1+x}{\sqrt{1-x^2}} \right| +C \end{align*}

Figure from prob_s1.9, line 1210

Figure from prob_s1.9, line 1210

  1. Differentiate log1+x1x2\log\left| \dfrac{1+x}{\sqrt{1-x^2}}\right|.

  2. True or false: 2311x2 dx=[log1+x1x2]x=2x=3\displaystyle\int_{2}^{3} \frac{1}{1-x^2}~\dee{x} = \left[\log\left| \dfrac{1+x}{\sqrt{1-x^2}}\right|\right]_{x=2}^{x=3}

  3. Was the work in the question correct? Explain.

Hint
  1. Use logarithm rules to simplify first.

  2. Think about domains.

  3. What went wrong in part (b)? At what point in the work was that problem introduced?
    There is a subtle but important point mentioned in the introductory text to Section 1.9 of the CLP-2 text that may help you make sense of things.

Answer
  1. 11x2\dfrac{1}{1-x^2}

  2. False

  3. The work in the question is not correct. The most salient problem is that when we make the substitution x=sinθx=\sin\theta, we restrict the possible values of xx to [1,1][-1,1], since this is the range of the sine function. However, the original integral had no such restriction.

    How can we be sure we avoid this problem in the future? In the introductory text to Section 1.9 (before Example 1.9.1), the CLP-2 text tells us that we are allowed to write our old variable as a function of a new variable (say x=s(u)x=s(u)) as long as that function is invertible to recover our original variable xx. There is one very obvious reason why invertibility is necessary: after we antidifferentiate using our new variable uu, we need to get it back in terms of our original variable, so we need to be able to recover xx. Moreover, invertibility reconciles potential problems with domains: if an inverse function u=s1(x)u=s^{-1}(x) exists, then for any xx, there exists a uu with s(u)=xs(u)=x. (This was not the case in the work for the question, because we chose x=sinθx=\sin \theta, but if x=2x=2, there is no corresponding θ\theta. Note, however, that x=sinθx=\sin\theta is invertible over [1,1][-1,1], so the work is correct if we restrict xx to those values.)

Full solution
  1. We can save ourselves some trouble by applying logarithm rules before we differentiate.

    log1+x1x2=log1+xlog1x2=log1+x12log1x2=log1+x12log(1+x)(1x)=log1+x12log1+x12log1xddx{log1+x1x2}=ddx{log1+x12log1+x12log1x}=11+x1/21+x+1/21x=1/21+x+1/21x=11x2\begin{align*} \log\left| \dfrac{1+x}{\sqrt{1-x^2}}\right|&=\log|1+x| - \log|\sqrt{1-x^2}|\\ &=\log|1+x| - \frac{1}{2}\log|1-x^2|\\ &=\log|1+x| - \frac{1}{2}\log|(1+x)(1-x)|\\ &=\log|1+x| - \frac{1}{2}\log|1+x|- \frac{1}{2}\log|1-x|\\ \diff{}{x}\left\{\log\left| \dfrac{1+x}{\sqrt{1-x^2}}\right|\right\}&= \diff{}{x}\left\{\log|1+x| - \frac{1}{2}\log|1+x|- \frac{1}{2}\log|1-x|\right\}\\ &=\frac{1}{1+x} - \frac{1/2}{1+x}+ \frac{1/2}{1-x}\\ &= \frac{1/2}{1+x}+ \frac{1/2}{1-x}\\ &=\frac{1}{1-x^2} \end{align*}

    Notice this is the integrand from our work in blue.

  2. False: 2311x2 dx\displaystyle\int_{2}^{3} \frac{1}{1-x^2}~\dee{x} is a number, because it is the area under a finite portion of a continuous curve. (We note that the integrand is continuous over the interval [2,3][2,3], although it is not continuous everywhere.) However, [log1+x1x2]x=2x=3\left[\log\left| \dfrac{1+x}{\sqrt{1-x^2}}\right|\right]_{x=2}^{x=3} is not defined, since the denominator takes the square root of a negative number. So, these two expressions are not the same.

  3. The work in the question is not correct. The most salient problem is that when we make the substitution x=sinθx=\sin\theta, we restrict the possible values of xx to [1,1][-1,1], since this is the range of the sine function. However, the original integral had no such restriction.

    How can we be sure we avoid this problem in the future? In the introductory text to Section 1.9 (before Example 1.9.1), the CLP-2 text tells us that we are allowed to write our old variable as a function of a new variable (say x=s(u)x=s(u)) as long as that function is invertible to recover our original variable xx. There is one very obvious reason why invertibility is necessary: after we antidifferentiate using our new variable uu, we need to get it back in terms of our original variable, so we need to be able to recover xx. Moreover, invertibility reconciles potential problems with domains: if an inverse function u=s1(x)u=s^{-1}(x) exists, then for any xx, there exists a uu with s(u)=xs(u)=x. (This was not the case in the work for the question, because we chose x=sinθx=\sin \theta, but if x=2x=2, there is no corresponding θ\theta. Note, however, that x=sinθx=\sin\theta is invertible over [1,1][-1,1], so the work is correct if we restrict xx to those values.)

    Remark: in the next section, you will learn to use partial fractions to find 11x2 dx=log1+x12log1x\displaystyle\int \dfrac{1}{1-x^2}~\dee{x} = \log|1+x|-\dfrac{1}{2}\log|1-x|. When 1<x<1-1<x<1, this is equivalent to log1+x1x2\log\left| \dfrac{1+x}{\sqrt{1-x^2}}\right|.

Q28Stage 3
  1. Suppose we are evaluating an integral that contains the term a2x2\sqrt{a^2-x^2}, where aa is a positive constant, and we use the substitution x=asinux=a\sin u (with inverse u=arcsin(x/a)u = \arcsin(x/a)), so that

    a2x2=a2cos2u=acosu\sqrt{a^2-x^2} = \sqrt{a^2\cos^2u}= |a\cos u|

    Under what circumstances is acosuacosu|a\cos u|\neq a\cos u?

  2. Suppose we are evaluating an integral that contains the term a2+x2\sqrt{a^2+x^2}, where aa is a positive constant, and we use the substitution x=atanux=a\tan u (with inverse u=arctan(x/a)u = \arctan(x/a)), so that

    a2+x2=a2sec2u=asecu\sqrt{a^2+x^2} = \sqrt{a^2\sec^2u}= |a\sec u|

    Under what circumstances is asecuasecu|a\sec u|\neq a\sec u?

  3. Suppose we are evaluating an integral that contains the term x2a2\sqrt{x^2-a^2}, where aa is a positive constant, and we use the substitution x=asecux=a\sec u (with inverse u=arcsec(x/a)=arccos(a/x)u = \arcsec(x/a)=\arccos(a/x)), so that

    x2a2=a2tan2u=atanu\sqrt{x^2-a^2} = \sqrt{a^2\tan^2u}= |a\tan u|

    Under what circumstances is atanuatanu|a\tan u|\neq a\tan u?

Hint

Consider the ranges of the inverse trigonometric functions. For (c), also consider the domain of x2a2\sqrt{x^2-a^2}.

Answer

(a), (b): None. (c): x<ax< -a

Full solution

Remember that for any value XX,

X={Xif X0Xif X0|X| = \left\{\begin{array}{rl} X&\text{if }X \ge 0\\ -X&\text{if }X \le 0 \end{array}\right.

So, XX|X| \neq X precisely when X<0X<0.

(a) The range of arcsine is [π2,π2]\big[-\frac{\pi}{2},\frac{\pi}{2}\big]. So, since u=arcsin(x/a)u=\arcsin(x/a), uu is in the range [π2,π2]\big[-\frac{\pi}{2},\frac{\pi}{2}\big]. Therefore cosu0\cos u \geq 0. Since aa is positive, acosu0a\cos u \ge 0, so acosu=acosua\cos u = |a\cos u|. That is,

a2x2=acosu=acosu\sqrt{a^2-x^2}=|a\cos u|=a\cos u

all the time.

(b) The range of arctangent is (π2,π2)\big(-\frac{\pi}{2},\frac{\pi}{2}\big). So, since u=arctan(x/a)u=\arctan(x/a), uu is in the range (π2,π2)\big(-\frac{\pi}{2},\frac{\pi}{2}\big). Therefore secu=1cosu>0\sec u = \frac{1}{\cos u} >0. Since aa is positive, asecu>0a\sec u > 0, so asecu=asecua\sec u = |a\sec u|.That is,

a2+x2=asecu=asecu\sqrt{a^2+x^2}=|a\sec u|=a\sec u

all the time.

(c) The range of arccosine is [0,π]\big[0,\pi \big]. So, since u=arcsec(x/a)=arccos(a/x)u=\arcsec(x/a) = \arccos(a/x), uu is in the range [0,π]\big[0,\pi\big]. (Actually, it's in the range [0,π2)(π2,π][0,\frac{\pi}{2}) \cup (\frac{\pi}{2},\pi], since secant is undefined at π/2\pi/2.) If atanuatanu|a\tan u| \neq a\tan u, then tanu<0\tan u <0, which happens when uu is in the range (π2,π)\big (\frac{\pi}{2},\pi). This is the same range over which 1<cosu<0-1<\cos u <0, and so 1<ax<0-1<\frac{a}{x}<0. Since ax<0\frac{a}{x}<0, aa and xx have different signs, so x<0x<0. Then since 1<ax-1<\frac{a}{x}, also x<ax<-a.

So,

x2a2=atanu=atanuatanu\sqrt{x^2-a^2} = |a\tan u| = -a\tan u \neq a\tan u

happens precisely when when x<ax< -a.

My list

nothing marked yet

Loading…

Open the whole list →

Your tutor can open this list with you. It follows your account, so it is there on whichever device you study on.

From the UBC Math 101 open textbook project, © Joel Feldman, Andrew Rechnitzer, Elyse Yeager and others. Licensed CC BY-NC-SA 4.0; this HTML adaptation is released under the same licence. Full attribution.