Integral Calculus 201-SN3-RE • CEGEP, Montreal

Corrected exercises: trigonometric integrals (201-SN3-RE)

This is a long set of 20 corrected exercises devoted to a single topic: integrating the trigonometric functions and their inverses, in Integral Calculus, 201-SN3-RE (formerly 201-NYB). It is the chapter of integral calculus where students lose the most marks, not because the computations are hard, but because about ten families look alike and no question ever says which one it belongs to. The set covers them ALL, including the ones textbooks dispatch in a single line: the cosecant, the cotangent, the inverse cotangent and the inverse secant with its absolute value.

It is meant to be worked in four sessions of about 75 minutes, one per part, not in one sitting. Part A, powers and products: the three cases of sine and cosine, the antiderivative of the secant and that of the cosecant, the tangent-secant family with its reduction formula, its mirror image the cotangent-cosecant family, and the identities that replace an entire technique. Part B, the three trigonometric substitutions, with completing the square and, above all, the cases where a trigonometric substitution is a bad idea. Part C, the six inverse functions: the three basic forms to recognize, integration by parts with the invisible factor 1, products with x, the inverse secant and its absolute value, then compositions and identities. Part D, definite and improper integrals, antiderivatives that look different, geometric applications and a final decision tree.

Nearly every exercise ends with a question of method rather than of computation, because that is where the mark is decided. The thread of the whole set fits in one sentence: before choosing a technique, look at the NUMERATOR, then at the parity of the exponents, then at the sign under the root. Trigonometric substitution is the last resort of the chapter, never the first reflex.

20 corrected exercises • 200 points • 300 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

  • • Powers of sine and cosine: if one exponent is ODD, split off one factor from it and substitute the other function; if both are EVEN, reduce the powers with sin⁡2x=1−cos⁡2x2\sin^{2}x=\frac{1-\cos 2x}{2} and cos⁡2x=1+cos⁡2x2\cos^{2}x=\frac{1+\cos 2x}{2}. Shortcut: sin⁡xcos⁡x=sin⁡2x2\sin x\cos x=\frac{\sin 2x}{2}.
  • • Tangent-secant family: if the power of sec⁡\sec is EVEN, split off sec⁡2x\sec^{2}x and set u=tan⁡xu=\tan x; if the power of tan⁡\tan is ODD, split off sec⁡xtan⁡x\sec x\tan x and set u=sec⁡xu=\sec x. Otherwise, convert with tan⁡2x=sec⁡2x−1\tan^{2}x=\sec^{2}x-1. The cotangent-cosecant family is identical up to sign, every name that starts with “co” carrying a minus sign.
  • • The four antiderivatives to know by heart: ∫tan⁡x dx=−ln⁡∣cos⁡x∣\int\tan x\,dx=-\ln\left|\cos x\right|, ∫cot⁡x dx=ln⁡∣sin⁡x∣\int\cot x\,dx=\ln\left|\sin x\right|, ∫sec⁡x dx=ln⁡∣sec⁡x+tan⁡x∣\int\sec x\,dx=\ln\left|\sec x+\tan x\right|, ∫csc⁡x dx=−ln⁡∣csc⁡x+cot⁡x∣\int\csc x\,dx=-\ln\left|\csc x+\cot x\right|. And the cyclic case ∫sec⁡3x dx=12(sec⁡xtan⁡x+ln⁡∣sec⁡x+tan⁡x∣)\int\sec^{3}x\,dx=\frac{1}{2}\left(\sec x\tan x+\ln\left|\sec x+\tan x\right|\right).
  • • Substitutions: a2−x2\sqrt{a^{2}-x^{2}} calls for x=asin⁡θx=a\sin\theta; a2+x2\sqrt{a^{2}+x^{2}} calls for x=atan⁡θx=a\tan\theta; x2−a2\sqrt{x^{2}-a^{2}} calls for x=asec⁡θx=a\sec\theta, with two branches and x2−a2=a∣tan⁡θ∣\sqrt{x^{2}-a^{2}}=a\left|\tan\theta\right|. A quadratic always comes down to one of the three by completing the square.
  • • The three inverse forms: ∫dua2−u2=arcsin⁡ua\int\frac{du}{\sqrt{a^{2}-u^{2}}}=\arcsin\frac{u}{a}; ∫dua2+u2=1aarctan⁡ua\int\frac{du}{a^{2}+u^{2}}=\frac{1}{a}\arctan\frac{u}{a}; ∫duuu2−a2=1aarcsec∣ua∣\int\frac{du}{u\sqrt{u^{2}-a^{2}}}=\frac{1}{a}\mathrm{arcsec}\left|\frac{u}{a}\right|. The absolute value in the third is not decoration: without it, the antiderivative is wrong on the negative branch.
  • • Integrating an inverse function: parts with dv=dxdv=dx, the invisible factor 1. ∫arcsin⁡x dx=xarcsin⁡x+1−x2\int\arcsin x\,dx=x\arcsin x+\sqrt{1-x^{2}}; ∫arctan⁡x dx=xarctan⁡x−12ln⁡(1+x2)\int\arctan x\,dx=x\arctan x-\frac{1}{2}\ln\left(1+x^{2}\right); the arccos and arccot versions change sign, and the sum of the two antiderivatives of a pair is always πx2\frac{\pi x}{2}.

Part A: Powers and products of trigonometric functions (/50)

Exercise 1: Powers of sine and cosine: the three cases

Every product sin⁡mxcos⁡nx\sin^{m}x\cos^{n}x is handled according to the PARITY of the two exponents, and there are only three situations. You split off one factor from the ODD power, because that factor will supply the dudu; if both exponents are even, no factor can be split off and the powers must be reduced.

  • a) Compute ∫sin⁡5xcos⁡2x dx\int\sin^{5}x\cos^{2}x\,dx, stating which power you attack and why.
  • b) Compute ∫cos⁡5x dx\int\cos^{5}x\,dx.
  • c) Compute ∫sin⁡4x dx\int\sin^{4}x\,dx by power reduction. How many times must the power be lowered?
  • d) Compute ∫sin⁡2xcos⁡2x dx\int\sin^{2}x\cos^{2}x\,dx in the shortest possible way.
  • e) Compute ∫0π/2sin⁡6x dx\int_{0}^{\pi/2}\sin^{6}x\,dx and state the decision rule of the whole exercise in two sentences.

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

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

Answers

  • a) −cos⁡3x3+2cos⁡5x5−cos⁡7x7+C-\frac{\cos^{3}x}{3}+\frac{2\cos^{5}x}{5}-\frac{\cos^{7}x}{7}+C
  • b) sin⁡x−2sin⁡3x3+sin⁡5x5+C\sin x-\frac{2\sin^{3}x}{3}+\frac{\sin^{5}x}{5}+C
  • c) 3x8−sin⁡2x4+sin⁡4x32+C\frac{3x}{8}-\frac{\sin 2x}{4}+\frac{\sin 4x}{32}+C, two reductions
  • d) x8−sin⁡4x32+C\frac{x}{8}-\frac{\sin 4x}{32}+C
  • e) 5π32≈0.4909\frac{5\pi}{32}\approx 0.4909; odd: split off, even: reduce
a)

The sine carries the odd power: split off one factor from it. ∫sin⁡4xcos⁡2x⋅sin⁡x dx=∫(1−cos⁡2x)2cos⁡2xsin⁡x dx\int\sin^{4}x\cos^{2}x\cdot\sin x\,dx=\int(1-\cos^{2}x)^{2}\cos^{2}x\sin x\,dx. With u=cos⁡xu=\cos x and du=−sin⁡x dxdu=-\sin x\,dx: −∫(1−u2)2u2du=−∫(u2−2u4+u6)du-\int(1-u^{2})^{2}u^{2}du=-\int(u^{2}-2u^{4}+u^{6})du, that is −cos⁡3x3+2cos⁡5x5−cos⁡7x7+C-\frac{\cos^{3}x}{3}+\frac{2\cos^{5}x}{5}-\frac{\cos^{7}x}{7}+C. You attack the odd power because, once one factor has been taken from it, what remains is an EVEN power, the only kind the identity sin⁡2=1−cos⁡2\sin^{2}=1-\cos^{2} can convert.

b)

∫cos⁡4x⋅cos⁡x dx=∫(1−sin⁡2x)2cos⁡x dx\int\cos^{4}x\cdot\cos x\,dx=\int(1-\sin^{2}x)^{2}\cos x\,dx. With u=sin⁡xu=\sin x: ∫(1−u2)2du=u−2u33+u55\int(1-u^{2})^{2}du=u-\frac{2u^{3}}{3}+\frac{u^{5}}{5}, that is sin⁡x−2sin⁡3x3+sin⁡5x5+C\sin x-\frac{2\sin^{3}x}{3}+\frac{\sin^{5}x}{5}+C. A cosine alone, to an odd power, is handled exactly like the mixed case: it is the case n=0n=0.

c)

No odd power: the power must be reduced with sin⁡2x=1−cos⁡2x2\sin^{2}x=\frac{1-\cos 2x}{2}. ∫sin⁡4x dx=14∫(1−2cos⁡2x+cos⁡22x) dx\int\sin^{4}x\,dx=\frac{1}{4}\int(1-2\cos 2x+\cos^{2}2x)\,dx. The term cos⁡22x\cos^{2}2x forces a SECOND reduction: cos⁡22x=1+cos⁡4x2\cos^{2}2x=\frac{1+\cos 4x}{2}. This gives 14[x−sin⁡2x+x2+sin⁡4x8]=3x8−sin⁡2x4+sin⁡4x32+C\frac{1}{4}\left[x-\sin 2x+\frac{x}{2}+\frac{\sin 4x}{8}\right]=\frac{3x}{8}-\frac{\sin 2x}{4}+\frac{\sin 4x}{32}+C. Rule: a power 2k2k calls for kk successive reductions, and the term in xx that comes out of them explains why the integral of an even power is never periodic.

d)

The short route goes through the double angle BEFORE reducing: sin⁡2xcos⁡2x=(sin⁡xcos⁡x)2=sin⁡22x4=1−cos⁡4x8\sin^{2}x\cos^{2}x=\left(\sin x\cos x\right)^{2}=\frac{\sin^{2}2x}{4}=\frac{1-\cos 4x}{8}. Hence ∫sin⁡2xcos⁡2x dx=x8−sin⁡4x32+C\int\sin^{2}x\cos^{2}x\,dx=\frac{x}{8}-\frac{\sin 4x}{32}+C, in one line instead of three. Recognizing sin⁡xcos⁡x=sin⁡2x2\sin x\cos x=\frac{\sin 2x}{2} always saves one reduction.

e)

An even power on a standard interval: Wallis's formula gives ∫0π/2sin⁡nx dx=n−1n⋅n−3n−2⋯12⋅π2\int_{0}^{\pi/2}\sin^{n}x\,dx=\frac{n-1}{n}\cdot\frac{n-3}{n-2}\cdots\frac{1}{2}\cdot\frac{\pi}{2} for even nn, here 56⋅34⋅12⋅π2=5π32≈0.4909\frac{5}{6}\cdot\frac{3}{4}\cdot\frac{1}{2}\cdot\frac{\pi}{2}=\frac{5\pi}{32}\approx 0.4909. Decision rule: if one of the two exponents is ODD, split off one factor from it and substitute the other function; if BOTH are even, reduce the powers with the double-angle formulas, as many times as needed.

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: Secant and cosecant: the two antiderivatives you cannot guess

∫sec⁡x dx\int\sec x\,dx does not follow from any formula in the table: it takes an artificial multiplication, found in the 17th century for the needs of Mercator's map projection. The same trick, transposed, gives the cosecant.

  • a) Prove that ∫sec⁡x dx=ln⁡∣sec⁡x+tan⁡x∣+C\int\sec x\,dx=\ln\left|\sec x+\tan x\right|+C by multiplying the integrand by sec⁡x+tan⁡xsec⁡x+tan⁡x\dfrac{\sec x+\tan x}{\sec x+\tan x}. What structure then appears?
  • b) Obtain ∫csc⁡x dx\int\csc x\,dx the same way and write the result in two equivalent forms.
  • c) Show that ln⁡∣sec⁡x+tan⁡x∣\ln\left|\sec x+\tan x\right| and −ln⁡∣sec⁡x−tan⁡x∣-\ln\left|\sec x-\tan x\right| are the same function, without differentiating.
  • d) Compute ∫0π/4sec⁡x dx\int_{0}^{\pi/4}\sec x\,dx and give a decimal value.
  • e) A student writes ∫sec⁡x dx=sec⁡2x2+C\int\sec x\,dx=\frac{\sec^{2}x}{2}+C by analogy with ∫x dx\int x\,dx. Refute this, then say which of the four integrals sec⁡x\sec x, sec⁡2x\sec^{2}x, sec⁡xtan⁡x\sec x\tan x, sec⁡3x\sec^{3}x are immediate and why.

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

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

Answers

  • a) ln⁡∣sec⁡x+tan⁡x∣+C\ln|\sec x+\tan x|+C, form f′f\frac{f'}{f}
  • b) −ln⁡∣csc⁡x+cot⁡x∣+C=ln⁡∣csc⁡x−cot⁡x∣+C-\ln|\csc x+\cot x|+C=\ln|\csc x-\cot x|+C
  • c) Product equal to 11: opposite logarithms
  • d) ln⁡(2+1)≈0.8814\ln(\sqrt{2}+1)\approx 0.8814
  • e) False; sec⁡2x\sec^{2}x and sec⁡xtan⁡x\sec x\tan x are immediate
a)

∫sec⁡x⋅sec⁡x+tan⁡xsec⁡x+tan⁡xdx=∫sec⁡2x+sec⁡xtan⁡xsec⁡x+tan⁡xdx\int\sec x\cdot\frac{\sec x+\tan x}{\sec x+\tan x}dx=\int\frac{\sec^{2}x+\sec x\tan x}{\sec x+\tan x}dx. Now the numerator is exactly the DERIVATIVE of the denominator, since (sec⁡x+tan⁡x)′=sec⁡xtan⁡x+sec⁡2x(\sec x+\tan x)'=\sec x\tan x+\sec^{2}x. This is the form ∫f′f\int\frac{f'}{f}, hence ln⁡∣sec⁡x+tan⁡x∣+C\ln\left|\sec x+\tan x\right|+C. The whole trick is to manufacture a denominator whose derivative is the numerator.

b)

Multiply by csc⁡x+cot⁡xcsc⁡x+cot⁡x\frac{\csc x+\cot x}{\csc x+\cot x}: the numerator becomes csc⁡2x+csc⁡xcot⁡x\csc^{2}x+\csc x\cot x, that is, the NEGATIVE of the derivative of csc⁡x+cot⁡x\csc x+\cot x, since (csc⁡x+cot⁡x)′=−csc⁡xcot⁡x−csc⁡2x(\csc x+\cot x)'=-\csc x\cot x-\csc^{2}x. Hence ∫csc⁡x dx=−ln⁡∣csc⁡x+cot⁡x∣+C\int\csc x\,dx=-\ln\left|\csc x+\cot x\right|+C, also written ln⁡∣csc⁡x−cot⁡x∣+C\ln\left|\csc x-\cot x\right|+C, or ln⁡∣tan⁡x2∣+C\ln\left|\tan\frac{x}{2}\right|+C, this last form being the most convenient for evaluating at bounds.

c)

Because (sec⁡x+tan⁡x)(sec⁡x−tan⁡x)=sec⁡2x−tan⁡2x=1(\sec x+\tan x)(\sec x-\tan x)=\sec^{2}x-\tan^{2}x=1: the two quantities are RECIPROCALS of each other. Since the logarithm of a reciprocal is the negative of the logarithm, ln⁡∣sec⁡x−tan⁡x∣=−ln⁡∣sec⁡x+tan⁡x∣\ln\left|\sec x-\tan x\right|=-\ln\left|\sec x+\tan x\right|, which gives the stated equality. Two formulas that look different in two different textbooks can therefore denote exactly the same antiderivative.

d)

[ln⁡∣sec⁡x+tan⁡x∣]0π/4=ln⁡(2+1)−ln⁡(1+0)=ln⁡(2+1)≈0.8814\left[\ln\left|\sec x+\tan x\right|\right]_{0}^{\pi/4}=\ln\left(\sqrt{2}+1\right)-\ln\left(1+0\right)=\ln\left(\sqrt{2}+1\right)\approx 0.8814.

e)

The refutation is immediate by differentiation: (sec⁡2x2)′=sec⁡x⋅sec⁡xtan⁡x=sec⁡2xtan⁡x\left(\frac{\sec^{2}x}{2}\right)'=\sec x\cdot\sec x\tan x=\sec^{2}x\tan x, which is not sec⁡x\sec x. The analogy with ∫x dx\int x\,dx fails because sec⁡x\sec x is not the variable of integration: the power rule applies only to xx, never to a function. Of the four, TWO are immediate and can be read straight off the table of derivatives, backwards: ∫sec⁡2x dx=tan⁡x+C\int\sec^{2}x\,dx=\tan x+C and ∫sec⁡xtan⁡x dx=sec⁡x+C\int\sec x\tan x\,dx=\sec x+C. The other two are not: sec⁡x\sec x requires the trick of a), and sec⁡3x\sec^{3}x a cyclic integration by parts.

Exercise 3: Tangent and secant: the two cases and the stubborn case

The family tan⁡mxsec⁡nx\tan^{m}x\sec^{n}x obeys two rules, based on the two derivatives (tan⁡x)′=sec⁡2x(\tan x)'=\sec^{2}x and (sec⁡x)′=sec⁡xtan⁡x(\sec x)'=\sec x\tan x, and on the identity sec⁡2x=1+tan⁡2x\sec^{2}x=1+\tan^{2}x. Only one case escapes both rules.

  • a) Compute ∫sec⁡4x dx\int\sec^{4}x\,dx. Which factor do you split off, and which substitution follows?
  • b) Compute ∫tan⁡3xsec⁡3x dx\int\tan^{3}x\sec^{3}x\,dx. Which factor do you split off this time?
  • c) Compute ∫tan⁡4x dx\int\tan^{4}x\,dx. Why does neither rule apply directly, and what move replaces them?
  • d) Compute ∫sec⁡3x dx\int\sec^{3}x\,dx by parts, setting u=sec⁡xu=\sec x and dv=sec⁡2x dxdv=\sec^{2}x\,dx.
  • e) Derive the reduction formula ∫sec⁡nx dx=sec⁡n−2xtan⁡xn−1+n−2n−1∫sec⁡n−2x dx\int\sec^{n}x\,dx=\frac{\sec^{n-2}x\tan x}{n-1}+\frac{n-2}{n-1}\int\sec^{n-2}x\,dx and check that it gives back the result of d).

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

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

Answers

  • a) tan⁡x+tan⁡3x3+C\tan x+\frac{\tan^{3}x}{3}+C
  • b) sec⁡5x5−sec⁡3x3+C\frac{\sec^{5}x}{5}-\frac{\sec^{3}x}{3}+C
  • c) tan⁡3x3−tan⁡x+x+C\frac{\tan^{3}x}{3}-\tan x+x+C
  • d) 12(sec⁡xtan⁡x+ln⁡∣sec⁡x+tan⁡x∣)+C\frac{1}{2}(\sec x\tan x+\ln|\sec x+\tan x|)+C
  • e) Reduction formula for sec⁡n\sec^{n}; n=3n=3 gives back d)
a)

The power of the secant is EVEN: split off sec⁡2x\sec^{2}x, which will be the dudu. ∫sec⁡2x⋅sec⁡2x dx=∫(1+tan⁡2x)sec⁡2x dx\int\sec^{2}x\cdot\sec^{2}x\,dx=\int(1+\tan^{2}x)\sec^{2}x\,dx. With u=tan⁡xu=\tan x and du=sec⁡2x dxdu=\sec^{2}x\,dx: ∫(1+u2)du=u+u33\int(1+u^{2})du=u+\frac{u^{3}}{3}, that is tan⁡x+tan⁡3x3+C\tan x+\frac{\tan^{3}x}{3}+C.

b)

The power of the tangent is ODD: this time split off the block sec⁡xtan⁡x\sec x\tan x, the derivative of the secant. ∫tan⁡2xsec⁡2x⋅sec⁡xtan⁡x dx=∫(sec⁡2x−1)sec⁡2x⋅sec⁡xtan⁡x dx\int\tan^{2}x\sec^{2}x\cdot\sec x\tan x\,dx=\int(\sec^{2}x-1)\sec^{2}x\cdot\sec x\tan x\,dx. With u=sec⁡xu=\sec x: ∫(u2−1)u2du=u55−u33\int(u^{2}-1)u^{2}du=\frac{u^{5}}{5}-\frac{u^{3}}{3}, that is sec⁡5x5−sec⁡3x3+C\frac{\sec^{5}x}{5}-\frac{\sec^{3}x}{3}+C.

c)

Here n=0n=0: there is no secant from which to split off a sec⁡2x\sec^{2}x, and the power of the tangent is even, so sec⁡xtan⁡x\sec x\tan x cannot be split off either. The move is to MANUFACTURE the missing secant with tan⁡2x=sec⁡2x−1\tan^{2}x=\sec^{2}x-1: ∫tan⁡2x(sec⁡2x−1)dx=∫tan⁡2xsec⁡2x dx−∫tan⁡2x dx=tan⁡3x3−(tan⁡x−x)+C\int\tan^{2}x(\sec^{2}x-1)dx=\int\tan^{2}x\sec^{2}x\,dx-\int\tan^{2}x\,dx=\frac{\tan^{3}x}{3}-(\tan x-x)+C. You go down two powers at a time this way, until you reach ∫tan⁡2x=tan⁡x−x\int\tan^{2}x=\tan x-x or ∫tan⁡x=−ln⁡∣cos⁡x∣\int\tan x=-\ln|\cos x|.

d)

With u=sec⁡xu=\sec x, du=sec⁡xtan⁡x dxdu=\sec x\tan x\,dx, dv=sec⁡2x dxdv=\sec^{2}x\,dx and v=tan⁡xv=\tan x: I=sec⁡xtan⁡x−∫sec⁡xtan⁡2x dx=sec⁡xtan⁡x−∫sec⁡x(sec⁡2x−1)dx=sec⁡xtan⁡x−I+∫sec⁡x dxI=\sec x\tan x-\int\sec x\tan^{2}x\,dx=\sec x\tan x-\int\sec x(\sec^{2}x-1)dx=\sec x\tan x-I+\int\sec x\,dx. The integral you are looking for reappears on both sides: 2I=sec⁡xtan⁡x+ln⁡∣sec⁡x+tan⁡x∣2I=\sec x\tan x+\ln\left|\sec x+\tan x\right|, hence I=12(sec⁡xtan⁡x+ln⁡∣sec⁡x+tan⁡x∣)+CI=\frac{1}{2}\left(\sec x\tan x+\ln\left|\sec x+\tan x\right|\right)+C. This is the CYCLIC case, the only one in the family that does not reduce to a substitution.

e)

Generalize d) by setting u=sec⁡n−2xu=\sec^{n-2}x and dv=sec⁡2x dxdv=\sec^{2}x\,dx: ∫sec⁡nx dx=sec⁡n−2xtan⁡x−(n−2)∫sec⁡n−2xtan⁡2x dx\int\sec^{n}x\,dx=\sec^{n-2}x\tan x-(n-2)\int\sec^{n-2}x\tan^{2}x\,dx. Replacing tan⁡2x\tan^{2}x with sec⁡2x−1\sec^{2}x-1, the original integral comes back with the coefficient −(n−2)-(n-2): (n−1)∫sec⁡nx dx=sec⁡n−2xtan⁡x+(n−2)∫sec⁡n−2x dx(n-1)\int\sec^{n}x\,dx=\sec^{n-2}x\tan x+(n-2)\int\sec^{n-2}x\,dx, which gives the stated formula. For n=3n=3: sec⁡xtan⁡x2+12∫sec⁡x dx\frac{\sec x\tan x}{2}+\frac{1}{2}\int\sec x\,dx, exactly the result of d). For n=4n=4, it also gives back a), which provides an independent check.

Exercise 4: Cotangent and cosecant: the mirror image, and its signs

The family cot⁡mxcsc⁡nx\cot^{m}x\csc^{n}x is the mirror image of the previous one, with (cot⁡x)′=−csc⁡2x(\cot x)'=-\csc^{2}x and (csc⁡x)′=−csc⁡xcot⁡x(\csc x)'=-\csc x\cot x and the identity csc⁡2x=1+cot⁡2x\csc^{2}x=1+\cot^{2}x. The two minus signs are the only difficulty, and they are enough to cost a lot of marks.

  • a) Compute ∫cot⁡x dx\int\cot x\,dx and compare with ∫tan⁡x dx\int\tan x\,dx.
  • b) Compute ∫cot⁡3x dx\int\cot^{3}x\,dx.
  • c) Compute ∫cot⁡4xcsc⁡4x dx\int\cot^{4}x\csc^{4}x\,dx.
  • d) Compute ∫csc⁡3x dx\int\csc^{3}x\,dx by parts, then check that the result is indeed the mirror image of ∫sec⁡3x dx\int\sec^{3}x\,dx.
  • e) Draw up the table of the six basic trigonometric derivatives and of the matching antiderivatives, showing exactly where the minus signs are.

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

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

Answers

  • a) ln⁡∣sin⁡x∣+C\ln|\sin x|+C versus −ln⁡∣cos⁡x∣+C-\ln|\cos x|+C
  • b) −cot⁡2x2−ln⁡∣sin⁡x∣+C-\frac{\cot^{2}x}{2}-\ln|\sin x|+C
  • c) −cot⁡5x5−cot⁡7x7+C-\frac{\cot^{5}x}{5}-\frac{\cot^{7}x}{7}+C
  • d) 12(−csc⁡xcot⁡x−ln⁡∣csc⁡x+cot⁡x∣)+C\frac{1}{2}(-\csc x\cot x-\ln|\csc x+\cot x|)+C
  • e) The co functions carry the minus sign
a)

∫cot⁡x dx=∫cos⁡xsin⁡xdx=ln⁡∣sin⁡x∣+C\int\cot x\,dx=\int\frac{\cos x}{\sin x}dx=\ln\left|\sin x\right|+C, a direct f′f\frac{f'}{f} form. For the tangent, ∫tan⁡x dx=∫sin⁡xcos⁡xdx=−ln⁡∣cos⁡x∣+C\int\tan x\,dx=\int\frac{\sin x}{\cos x}dx=-\ln\left|\cos x\right|+C, also written ln⁡∣sec⁡x∣+C\ln\left|\sec x\right|+C. The minus sign comes from the derivative of the cosine being negative: it is the prototype of every sign error in the cotangent-cosecant family.

b)

∫cot⁡x(csc⁡2x−1)dx=∫cot⁡xcsc⁡2x dx−∫cot⁡x dx\int\cot x(\csc^{2}x-1)dx=\int\cot x\csc^{2}x\,dx-\int\cot x\,dx. For the first one, u=cot⁡xu=\cot x and du=−csc⁡2x dxdu=-\csc^{2}x\,dx give −cot⁡2x2-\frac{\cot^{2}x}{2}. Hence −cot⁡2x2−ln⁡∣sin⁡x∣+C-\frac{\cot^{2}x}{2}-\ln\left|\sin x\right|+C. Note the two minus signs, one from the substitution, the other from a).

c)

The power of the cosecant is even: split off csc⁡2x\csc^{2}x. ∫cot⁡4x(1+cot⁡2x)csc⁡2x dx\int\cot^{4}x(1+\cot^{2}x)\csc^{2}x\,dx; with u=cot⁡xu=\cot x and du=−csc⁡2x dxdu=-\csc^{2}x\,dx: −∫(u4+u6)du=−u55−u77-\int(u^{4}+u^{6})du=-\frac{u^{5}}{5}-\frac{u^{7}}{7}, that is −cot⁡5x5−cot⁡7x7+C-\frac{\cot^{5}x}{5}-\frac{\cot^{7}x}{7}+C. The rule is the one for the secant, up to an overall sign.

d)

With u=csc⁡xu=\csc x and dv=csc⁡2x dxdv=\csc^{2}x\,dx, so v=−cot⁡xv=-\cot x: I=−csc⁡xcot⁡x−∫csc⁡xcot⁡2x dx=−csc⁡xcot⁡x−∫csc⁡x(csc⁡2x−1)dx=−csc⁡xcot⁡x−I+∫csc⁡x dxI=-\csc x\cot x-\int\csc x\cot^{2}x\,dx=-\csc x\cot x-\int\csc x(\csc^{2}x-1)dx=-\csc x\cot x-I+\int\csc x\,dx. Hence I=12(−csc⁡xcot⁡x−ln⁡∣csc⁡x+cot⁡x∣)+CI=\frac{1}{2}\left(-\csc x\cot x-\ln\left|\csc x+\cot x\right|\right)+C. This is indeed the exact mirror image of ∫sec⁡3x dx=12(sec⁡xtan⁡x+ln⁡∣sec⁡x+tan⁡x∣)\int\sec^{3}x\,dx=\frac{1}{2}\left(\sec x\tan x+\ln\left|\sec x+\tan x\right|\right), with the opposite overall sign: every time you go from a function to its cofunction, a minus sign appears.

e)

Derivatives: (sin⁡)′=cos⁡(\sin)'=\cos; (cos⁡)′=−sin⁡(\cos)'=-\sin; (tan⁡)′=sec⁡2(\tan)'=\sec^{2}; (cot⁡)′=−csc⁡2(\cot)'=-\csc^{2}; (sec⁡)′=sec⁡tan⁡(\sec)'=\sec\tan; (csc⁡)′=−csc⁡cot⁡(\csc)'=-\csc\cot. Matching antiderivatives: ∫cos⁡=sin⁡\int\cos=\sin; ∫sin⁡=−cos⁡\int\sin=-\cos; ∫sec⁡2=tan⁡\int\sec^{2}=\tan; ∫csc⁡2=−cot⁡\int\csc^{2}=-\cot; ∫sec⁡tan⁡=sec⁡\int\sec\tan=\sec; ∫csc⁡cot⁡=−csc⁡\int\csc\cot=-\csc. Then the ones that are not immediate: ∫tan⁡=−ln⁡∣cos⁡∣\int\tan=-\ln|\cos| and ∫cot⁡=+ln⁡∣sin⁡∣\int\cot=+\ln|\sin|, as well as ∫sec⁡=ln⁡∣sec⁡+tan⁡∣\int\sec=\ln|\sec+\tan| and ∫csc⁡=−ln⁡∣csc⁡+cot⁡∣\int\csc=-\ln|\csc+\cot|. The memory rule fits in one sentence: EVERY function whose name starts with “co” (cosine, cotangent, cosecant) carries a minus sign in its derivative, and therefore in the antiderivative of its cofunction.

Exercise 5: The identities that replace a technique

Some trigonometric integrals seem to call for a heavy change of variable when an identity makes them immediate. We will use 1+cos⁡x=2cos⁡2x21+\cos x=2\cos^{2}\frac{x}{2}, 1−cos⁡x=2sin⁡2x21-\cos x=2\sin^{2}\frac{x}{2}, and multiplication by the conjugate.

  • a) Compute ∫dx1+cos⁡x\int\frac{dx}{1+\cos x} with the half-angle identity.
  • b) Compute ∫dx1−cos⁡x\int\frac{dx}{1-\cos x}.
  • c) Compute ∫dx1+sin⁡x\int\frac{dx}{1+\sin x} by multiplying by the conjugate 1−sin⁡x1-\sin x.
  • d) Compute ∫0π1−cos⁡x dx\int_{0}^{\pi}\sqrt{1-\cos x}\,dx.
  • e) A student computes ∫02π1+cos⁡x dx\int_{0}^{2\pi}\sqrt{1+\cos x}\,dx and finds zero. Where is the error, and what is the true value?

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

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

Answers

  • a) tan⁡x2+C\tan\frac{x}{2}+C
  • b) −cot⁡x2+C-\cot\frac{x}{2}+C
  • c) tan⁡x−sec⁡x+C\tan x-\sec x+C
  • d) 22≈2.8282\sqrt{2}\approx 2.828
  • e) Absolute value forgotten; 42≈5.6574\sqrt{2}\approx 5.657
a)

1+cos⁡x=2cos⁡2x21+\cos x=2\cos^{2}\frac{x}{2}, so ∫dx2cos⁡2x2=12∫sec⁡2x2dx=tan⁡x2+C\int\frac{dx}{2\cos^{2}\frac{x}{2}}=\frac{1}{2}\int\sec^{2}\frac{x}{2}dx=\tan\frac{x}{2}+C, the factor 2 from the inner derivative cancelling the 12\frac{1}{2}. Three lines, where the Weierstrass substitution would have taken ten.

b)

Symmetrically, 1−cos⁡x=2sin⁡2x21-\cos x=2\sin^{2}\frac{x}{2} gives 12∫csc⁡2x2dx=−cot⁡x2+C\frac{1}{2}\int\csc^{2}\frac{x}{2}dx=-\cot\frac{x}{2}+C.

c)

∫1−sin⁡x(1+sin⁡x)(1−sin⁡x)dx=∫1−sin⁡xcos⁡2xdx=∫(sec⁡2x−sec⁡xtan⁡x)dx=tan⁡x−sec⁡x+C\int\frac{1-\sin x}{(1+\sin x)(1-\sin x)}dx=\int\frac{1-\sin x}{\cos^{2}x}dx=\int\left(\sec^{2}x-\sec x\tan x\right)dx=\tan x-\sec x+C. The conjugate turns a stubborn denominator into cos⁡2x\cos^{2}x, and both pieces are then antiderivatives from the table. It is the same idea as the denominator sec⁡x+tan⁡x\sec x+\tan x in the integral of the secant.

d)

1−cos⁡x=2∣sin⁡x2∣\sqrt{1-\cos x}=\sqrt{2}\left|\sin\frac{x}{2}\right|, and on [0,π][0, \pi] the argument x2\frac{x}{2} stays in [0,π2][0, \frac{\pi}{2}], where the sine is positive: the absolute value drops. ∫0π2sin⁡x2dx=2[−2cos⁡x2]0π=2(0+2)=22≈2.828\int_{0}^{\pi}\sqrt{2}\sin\frac{x}{2}dx=\sqrt{2}\left[-2\cos\frac{x}{2}\right]_{0}^{\pi}=\sqrt{2}(0+2)=2\sqrt{2}\approx 2.828.

e)

The error is writing 1+cos⁡x=2cos⁡x2\sqrt{1+\cos x}=\sqrt{2}\cos\frac{x}{2} and forgetting the ABSOLUTE VALUE. On [0,2π][0, 2\pi], the argument x2\frac{x}{2} runs over [0,π][0, \pi] and the cosine changes sign there at π2\frac{\pi}{2}, that is, at x=πx=\pi. Without the absolute value, the second half of the integral exactly cancels the first and you get zero, which is absurd for a positive function. You must split: ∫02π2∣cos⁡x2∣dx=2∫0π2cos⁡x2dx=22[2sin⁡x2]0π=42≈5.657\int_{0}^{2\pi}\sqrt{2}\left|\cos\frac{x}{2}\right|dx=2\int_{0}^{\pi}\sqrt{2}\cos\frac{x}{2}dx=2\sqrt{2}\left[2\sin\frac{x}{2}\right]_{0}^{\pi}=4\sqrt{2}\approx 5.657. General rule: u2=∣u∣\sqrt{u^{2}}=\left|u\right|, never uu, and you must ALWAYS check the sign on the interval before simplifying a root.

Part B: Trigonometric substitutions (/50)

Exercise 6: The root of a squared minus x squared: the sine

In front of a2−x2\sqrt{a^{2}-x^{2}}, set x=asin⁡θx=a\sin\theta with θ∈[−π2,π2]\theta\in\left[-\frac{\pi}{2}, \frac{\pi}{2}\right]: the root becomes acos⁡θa\cos\theta, positive on that whole interval, and the radical disappears. The return to the variable xx is read off a right triangle with hypotenuse aa.

  • a) Compute ∫dx9−x2\int\frac{dx}{\sqrt{9-x^{2}}} and say why the result contains no root.
  • b) Compute ∫x24−x2dx\int\frac{x^{2}}{\sqrt{4-x^{2}}}dx, showing the return to xx through the triangle in detail.
  • c) Compute ∫9−x2x2dx\int\frac{\sqrt{9-x^{2}}}{x^{2}}dx.
  • d) Compute ∫024−x2 dx\int_{0}^{2}\sqrt{4-x^{2}}\,dx by changing the bounds, then recover the result by geometry.
  • e) Why do we require θ∈[−π2,π2]\theta\in\left[-\frac{\pi}{2}, \frac{\pi}{2}\right] and not just any interval? What would happen with θ\theta in the second quadrant?

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

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

Answers

  • a) arcsin⁡x3+C\arcsin\frac{x}{3}+C
  • b) 2arcsin⁡x2−x4−x22+C2\arcsin\frac{x}{2}-\frac{x\sqrt{4-x^{2}}}{2}+C
  • c) −9−x2x−arcsin⁡x3+C-\frac{\sqrt{9-x^{2}}}{x}-\arcsin\frac{x}{3}+C
  • d) π\pi, a quarter of the disk of radius 2
  • e) Inverse defined, cos⁡θ≥0\cos\theta\geq 0, xx runs over [−a,a][-a, a]
a)

x=3sin⁡θx=3\sin\theta, dx=3cos⁡θ dθdx=3\cos\theta\,d\theta and 9−x2=3cos⁡θ\sqrt{9-x^{2}}=3\cos\theta. The integral becomes ∫3cos⁡θ3cos⁡θdθ=∫dθ=θ+C=arcsin⁡x3+C\int\frac{3\cos\theta}{3\cos\theta}d\theta=\int d\theta=\theta+C=\arcsin\frac{x}{3}+C. The result contains no root because the substitution was used precisely to eliminate it: the inverse sine is what keeps track of it, and that is the deep reason why inverse trigonometric functions show up everywhere in this chapter.

b)

x=2sin⁡θx=2\sin\theta: ∫4sin⁡2θ2cos⁡θ⋅2cos⁡θ dθ=4∫sin⁡2θ dθ=2θ−2sin⁡θcos⁡θ+C\int\frac{4\sin^{2}\theta}{2\cos\theta}\cdot 2\cos\theta\,d\theta=4\int\sin^{2}\theta\,d\theta=2\theta-2\sin\theta\cos\theta+C. The right triangle with angle θ\theta, opposite side xx and hypotenuse 2 gives sin⁡θ=x2\sin\theta=\frac{x}{2}, cos⁡θ=4−x22\cos\theta=\frac{\sqrt{4-x^{2}}}{2} and θ=arcsin⁡x2\theta=\arcsin\frac{x}{2}. Hence 2arcsin⁡x2−x4−x22+C2\arcsin\frac{x}{2}-\frac{x\sqrt{4-x^{2}}}{2}+C.

c)

x=3sin⁡θx=3\sin\theta: ∫3cos⁡θ9sin⁡2θ⋅3cos⁡θ dθ=∫cos⁡2θsin⁡2θdθ=∫cot⁡2θ dθ=∫(csc⁡2θ−1)dθ=−cot⁡θ−θ+C\int\frac{3\cos\theta}{9\sin^{2}\theta}\cdot 3\cos\theta\,d\theta=\int\frac{\cos^{2}\theta}{\sin^{2}\theta}d\theta=\int\cot^{2}\theta\,d\theta=\int(\csc^{2}\theta-1)d\theta=-\cot\theta-\theta+C. The triangle gives cot⁡θ=9−x2x\cot\theta=\frac{\sqrt{9-x^{2}}}{x}, hence −9−x2x−arcsin⁡x3+C-\frac{\sqrt{9-x^{2}}}{x}-\arcsin\frac{x}{3}+C. Notice that Part A of the set has just been put to use: a trigonometric substitution almost always ends with an integral of trigonometric powers.

d)

With x=2sin⁡θx=2\sin\theta, the bound x=0x=0 becomes θ=0\theta=0 and the bound x=2x=2 becomes θ=π2\theta=\frac{\pi}{2}. ∫0π/22cos⁡θ⋅2cos⁡θ dθ=4∫0π/2cos⁡2θ dθ=4⋅π4=π\int_{0}^{\pi/2}2\cos\theta\cdot 2\cos\theta\,d\theta=4\int_{0}^{\pi/2}\cos^{2}\theta\,d\theta=4\cdot\frac{\pi}{4}=\pi. Geometrically, y=4−x2y=\sqrt{4-x^{2}} is the upper half of the circle of radius 2, and the interval [0,2][0, 2] cuts out a QUARTER of the disk: its area is π(2)24=π\frac{\pi(2)^{2}}{4}=\pi, which confirms the computation without writing a single antiderivative.

e)

For three reasons that go together. First, the inverse sine is defined as an inverse only on that interval: without this restriction, θ\theta could not be recovered uniquely from xx. Next, the cosine is POSITIVE or zero there, which lets you write a2−x2=acos⁡θ\sqrt{a^{2}-x^{2}}=a\cos\theta without an absolute value; in the second quadrant the cosine is negative and you would have to write −acos⁡θ-a\cos\theta, with a sign that would spread through the whole computation. Finally, x=asin⁡θx=a\sin\theta runs there over exactly [−a,a][-a, a], that is, the whole domain of the integrand, once and only once.

θax√(a² − x²)x = a sin θso √(a² − x²) = a cos θ

Exercise 7: The root of a squared plus x squared: the tangent

In front of a2+x2\sqrt{a^{2}+x^{2}}, set x=atan⁡θx=a\tan\theta with θ∈(−π2,π2)\theta\in\left(-\frac{\pi}{2}, \frac{\pi}{2}\right): the identity 1+tan⁡2θ=sec⁡2θ1+\tan^{2}\theta=\sec^{2}\theta turns the root into asec⁡θa\sec\theta, and dx=asec⁡2θ dθdx=a\sec^{2}\theta\,d\theta.

  • a) Compute ∫dxx2x2+4\int\frac{dx}{x^{2}\sqrt{x^{2}+4}}.
  • b) Compute ∫dx(x2+9)3/2\int\frac{dx}{\left(x^{2}+9\right)^{3/2}} and comment on how unexpectedly simple the result is.
  • c) Compute ∫x2+9 dx\int\sqrt{x^{2}+9}\,dx. Which integral from Part A shows up along the way?
  • d) Evaluate ∫03x2+9 dx\int_{0}^{3}\sqrt{x^{2}+9}\,dx and give a decimal value.
  • e) The same integral can be done with x=3sinh⁡ux=3\sinh u. Write the first two lines of that computation and say in which case this route is preferable.

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

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

Answers

  • a) −x2+44x+C-\frac{\sqrt{x^{2}+4}}{4x}+C
  • b) x9x2+9+C\frac{x}{9\sqrt{x^{2}+9}}+C
  • c) xx2+92+92ln⁡∣x+x2+9∣+C\frac{x\sqrt{x^{2}+9}}{2}+\frac{9}{2}\ln|x+\sqrt{x^{2}+9}|+C, via ∫sec⁡3\int\sec^{3}
  • d) ≈10.33\approx 10.33
  • e) 9∫cosh⁡2u du9\int\cosh^{2}u\,du: a power reduction
a)

x=2tan⁡θx=2\tan\theta, dx=2sec⁡2θ dθdx=2\sec^{2}\theta\,d\theta, x2+4=2sec⁡θ\sqrt{x^{2}+4}=2\sec\theta: ∫2sec⁡2θ4tan⁡2θ⋅2sec⁡θdθ=14∫sec⁡θtan⁡2θdθ=14∫cos⁡θsin⁡2θdθ=−14sin⁡θ+C\int\frac{2\sec^{2}\theta}{4\tan^{2}\theta\cdot 2\sec\theta}d\theta=\frac{1}{4}\int\frac{\sec\theta}{\tan^{2}\theta}d\theta=\frac{1}{4}\int\frac{\cos\theta}{\sin^{2}\theta}d\theta=-\frac{1}{4\sin\theta}+C. The triangle with legs xx and 2 and hypotenuse x2+4\sqrt{x^{2}+4} gives sin⁡θ=xx2+4\sin\theta=\frac{x}{\sqrt{x^{2}+4}}, hence −x2+44x+C-\frac{\sqrt{x^{2}+4}}{4x}+C.

b)

x=3tan⁡θx=3\tan\theta: (x2+9)3/2=27sec⁡3θ\left(x^{2}+9\right)^{3/2}=27\sec^{3}\theta, so ∫3sec⁡2θ27sec⁡3θdθ=19∫cos⁡θ dθ=sin⁡θ9+C=x9x2+9+C\int\frac{3\sec^{2}\theta}{27\sec^{3}\theta}d\theta=\frac{1}{9}\int\cos\theta\,d\theta=\frac{\sin\theta}{9}+C=\frac{x}{9\sqrt{x^{2}+9}}+C. The result is ALGEBRAIC, with no logarithm and no inverse tangent, although the integrand looked worse than that of ∫dxx2+9\int\frac{dx}{x^{2}+9}, which does give an inverse tangent. The lesson: a higher power in the denominator often simplifies the computation rather than complicating it.

c)

∫3sec⁡θ⋅3sec⁡2θ dθ=9∫sec⁡3θ dθ\int 3\sec\theta\cdot 3\sec^{2}\theta\,d\theta=9\int\sec^{3}\theta\,d\theta, that is, exactly the cyclic integral of Part A. Using its result: 92(sec⁡θtan⁡θ+ln⁡∣sec⁡θ+tan⁡θ∣)\frac{9}{2}\left(\sec\theta\tan\theta+\ln\left|\sec\theta+\tan\theta\right|\right). With tan⁡θ=x3\tan\theta=\frac{x}{3} and sec⁡θ=x2+93\sec\theta=\frac{\sqrt{x^{2}+9}}{3}: xx2+92+92ln⁡∣x+x2+9∣+C\frac{x\sqrt{x^{2}+9}}{2}+\frac{9}{2}\ln\left|x+\sqrt{x^{2}+9}\right|+C, the constant −92ln⁡3-\frac{9}{2}\ln 3 having been absorbed into CC.

d)

At x=3x=3: 3182+92ln⁡(3+18)≈6.364+8.910=15.274\frac{3\sqrt{18}}{2}+\frac{9}{2}\ln\left(3+\sqrt{18}\right)\approx 6.364+8.910=15.274. At x=0x=0: 0+92ln⁡3≈4.9440+\frac{9}{2}\ln 3\approx 4.944. Difference: about 10.3310.33.

e)

x=3sinh⁡ux=3\sinh u gives dx=3cosh⁡u dudx=3\cosh u\,du and x2+9=3cosh⁡u\sqrt{x^{2}+9}=3\cosh u, since cosh⁡2u−sinh⁡2u=1\cosh^{2}u-\sinh^{2}u=1 and the hyperbolic cosine is always positive. The integral becomes 9∫cosh⁡2u du=92∫(1+cosh⁡2u)du9\int\cosh^{2}u\,du=\frac{9}{2}\int(1+\cosh 2u)du, that is, an elementary POWER REDUCTION, where the trigonometric route forced the cyclic integral of sec⁡3\sec^{3}. The hyperbolic route is therefore clearly preferable as soon as the root sits in the numerator, and it gives the logarithm directly since arcsinhx=ln⁡(x+x2+1)\mathrm{arcsinh}x=\ln\left(x+\sqrt{x^{2}+1}\right). The trigonometric route remains preferable when the question imposes a triangle or when the other factors of the integrand are themselves trigonometric.

ax√(a² + x²)θx = a tan θ, so √(a² + x²) = a sec θand dx = a sec² θ dθ

Exercise 8: The root of x squared minus a squared: the secant and its two branches

In front of x2−a2\sqrt{x^{2}-a^{2}}, set x=asec⁡θx=a\sec\theta: the root becomes a∣tan⁡θ∣a\left|\tan\theta\right|. It is the only one of the three substitutions whose domain splits into TWO pieces, x≥ax\geq a and x≤−ax\leq -a, and that is where nearly all the errors hide.

  • a) Compute ∫dxx2−4\int\frac{dx}{\sqrt{x^{2}-4}} for x>2x>2, and express the result without an inverse trigonometric function.
  • b) Compute ∫x2−9xdx\int\frac{\sqrt{x^{2}-9}}{x}dx for x>3x>3.
  • c) Why do we write x2−a2=a∣tan⁡θ∣\sqrt{x^{2}-a^{2}}=a\left|\tan\theta\right| and not atan⁡θa\tan\theta? Give the interval of θ\theta chosen for each of the two branches.
  • d) Check that the antiderivative of a) remains valid on the negative branch by computing ∫−4−3dxx2−4\int_{-4}^{-3}\frac{dx}{\sqrt{x^{2}-4}}, then by computing the same integral again with the substitution x=−ux=-u.
  • e) Summarize the three substitutions of the set in a table: which root, which change of variable, which interval, and what the root turns into.

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

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

Answers

  • a) ln⁡∣x+x2−4∣+C\ln|x+\sqrt{x^{2}-4}|+C
  • b) x2−9−3arccos⁡3x+C\sqrt{x^{2}-9}-3\arccos\frac{3}{x}+C
  • c) u2=∣u∣\sqrt{u^{2}}=|u|: tan⁡θ≤0\tan\theta\leq 0 on the negative branch
  • d) ≈0.3545\approx 0.3545 by both computations
  • e) asin⁡θa\sin\theta, atan⁡θa\tan\theta, asec⁡θa\sec\theta and their intervals
a)

x=2sec⁡θx=2\sec\theta, dx=2sec⁡θtan⁡θ dθdx=2\sec\theta\tan\theta\,d\theta and, for x>2x>2 with θ∈[0,π2)\theta\in\left[0, \frac{\pi}{2}\right), x2−4=2tan⁡θ\sqrt{x^{2}-4}=2\tan\theta without an absolute value, since the tangent is positive there. ∫2sec⁡θtan⁡θ2tan⁡θdθ=∫sec⁡θ dθ=ln⁡∣sec⁡θ+tan⁡θ∣+C\int\frac{2\sec\theta\tan\theta}{2\tan\theta}d\theta=\int\sec\theta\,d\theta=\ln\left|\sec\theta+\tan\theta\right|+C. The triangle gives sec⁡θ=x2\sec\theta=\frac{x}{2} and tan⁡θ=x2−42\tan\theta=\frac{\sqrt{x^{2}-4}}{2}, hence ln⁡∣x+x2−42∣+C=ln⁡∣x+x2−4∣+C′\ln\left|\frac{x+\sqrt{x^{2}-4}}{2}\right|+C=\ln\left|x+\sqrt{x^{2}-4}\right|+C', the constant −ln⁡2-\ln 2 being absorbed.

b)

x=3sec⁡θx=3\sec\theta: ∫3tan⁡θ3sec⁡θ⋅3sec⁡θtan⁡θ dθ=3∫tan⁡2θ dθ=3∫(sec⁡2θ−1)dθ=3tan⁡θ−3θ+C\int\frac{3\tan\theta}{3\sec\theta}\cdot 3\sec\theta\tan\theta\,d\theta=3\int\tan^{2}\theta\,d\theta=3\int(\sec^{2}\theta-1)d\theta=3\tan\theta-3\theta+C. With tan⁡θ=x2−93\tan\theta=\frac{\sqrt{x^{2}-9}}{3} and θ=arcsecx3=arccos⁡3x\theta=\mathrm{arcsec}\frac{x}{3}=\arccos\frac{3}{x}: x2−9−3arccos⁡3x+C\sqrt{x^{2}-9}-3\arccos\frac{3}{x}+C.

c)

Because u2=∣u∣\sqrt{u^{2}}=\left|u\right| without exception, and the tangent CHANGES sign from one branch to the other. On the branch x≥ax\geq a, take θ∈[0,π2)\theta\in\left[0, \frac{\pi}{2}\right), where sec⁡θ≥1\sec\theta\geq 1 and tan⁡θ≥0\tan\theta\geq 0: the absolute value drops. On the branch x≤−ax\leq -a, take θ∈(π2,π]\theta\in\left(\frac{\pi}{2}, \pi\right], where sec⁡θ≤−1\sec\theta\leq -1, as needed to reach the negative values of xx, but where tan⁡θ≤0\tan\theta\leq 0: the root is then −atan⁡θ-a\tan\theta, and a minus sign runs through the whole computation. Forgetting this sign is the classic error, and it produces an antiderivative whose derivative is the negative of the integrand.

d)

With the antiderivative ln⁡∣x+x2−4∣\ln\left|x+\sqrt{x^{2}-4}\right|: at x=−3x=-3, ∣−3+5∣≈0.7639\left|-3+\sqrt{5}\right|\approx 0.7639 and at x=−4x=-4, ∣−4+12∣≈0.5359\left|-4+\sqrt{12}\right|\approx 0.5359; the difference of the logarithms is about −0.2693+0.6238=0.3545-0.2693+0.6238=0.3545. With the substitution x=−ux=-u, the integral becomes ∫34duu2−4=ln⁡(4+12)−ln⁡(3+5)≈2.0101−1.6556=0.3545\int_{3}^{4}\frac{du}{\sqrt{u^{2}-4}}=\ln\left(4+\sqrt{12}\right)-\ln\left(3+\sqrt{5}\right)\approx 2.0101-1.6556=0.3545. The two values agree: the logarithmic form, unlike the inverse secant form, crosses both branches without any adjustment, which makes it the antiderivative to remember.

e)

Root a2−x2\sqrt{a^{2}-x^{2}}: set x=asin⁡θx=a\sin\theta, with θ∈[−π2,π2]\theta\in\left[-\frac{\pi}{2}, \frac{\pi}{2}\right], the root becomes acos⁡θa\cos\theta. Root a2+x2\sqrt{a^{2}+x^{2}}: set x=atan⁡θx=a\tan\theta, with θ∈(−π2,π2)\theta\in\left(-\frac{\pi}{2}, \frac{\pi}{2}\right), the root becomes asec⁡θa\sec\theta. Root x2−a2\sqrt{x^{2}-a^{2}}: set x=asec⁡θx=a\sec\theta, with θ∈[0,π2)\theta\in\left[0, \frac{\pi}{2}\right) if x≥ax\geq a and θ∈(π2,π]\theta\in\left(\frac{\pi}{2}, \pi\right] if x≤−ax\leq -a, the root becomes a∣tan⁡θ∣a\left|\tan\theta\right|. In all three cases, the interval is chosen so that the inverse function exists AND the root is positive without an absolute value.

a√(x² − a²)xθx = a sec θ, √(x² − a²) = a |tan θ|−aax ≤ −ax ≥ aundefined

Exercise 9: Complete the square first

A root or a denominator of degree two almost never comes in the standard form a2±x2a^{2}\pm x^{2}. Completing the square is the step that brings it there, and on its own it decides which of the three substitutions, or which of the three inverse functions, will come out.

  • a) Compute ∫dxx2+2x+5\int\frac{dx}{\sqrt{x^{2}+2x+5}}.
  • b) Compute ∫dx3−2x−x2\int\frac{dx}{\sqrt{3-2x-x^{2}}}. Which detail of the sign of the x2x^{2} term changes everything?
  • c) Compute ∫dxx2+6x+13\int\frac{dx}{x^{2}+6x+13}.
  • d) Compute ∫x+13−2x−x2dx\int\frac{x+1}{\sqrt{3-2x-x^{2}}}dx. Why is this computation much shorter than the one in b)?
  • e) Compute ∫2x+5x2+6x+13dx\int\frac{2x+5}{x^{2}+6x+13}dx, then state the general rule for splitting a first-degree numerator.

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

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

Answers

  • a) ln⁡∣x+1+x2+2x+5∣+C\ln|x+1+\sqrt{x^{2}+2x+5}|+C
  • b) arcsin⁡x+12+C\arcsin\frac{x+1}{2}+C: the sign of x2x^{2} decides
  • c) 12arctan⁡x+32+C\frac{1}{2}\arctan\frac{x+3}{2}+C
  • d) −3−2x−x2+C-\sqrt{3-2x-x^{2}}+C: the numerator is the derivative of the radicand
  • e) ln⁡(x2+6x+13)−12arctan⁡x+32+C\ln(x^{2}+6x+13)-\frac{1}{2}\arctan\frac{x+3}{2}+C
a)

x2+2x+5=(x+1)2+4x^{2}+2x+5=(x+1)^{2}+4: this is the form u2+a2u^{2}+a^{2}, so the root calls for the tangent, or directly for the formula ∫duu2+a2=ln⁡∣u+u2+a2∣\int\frac{du}{\sqrt{u^{2}+a^{2}}}=\ln\left|u+\sqrt{u^{2}+a^{2}}\right|. With u=x+1u=x+1: ln⁡∣x+1+x2+2x+5∣+C\ln\left|x+1+\sqrt{x^{2}+2x+5}\right|+C, which can also be written arcsinhx+12+C\mathrm{arcsinh}\frac{x+1}{2}+C.

b)

The coefficient of x2x^{2} is NEGATIVE: it must be factored out first, 3−2x−x2=3−(x2+2x)=3+1−(x+1)2=4−(x+1)23-2x-x^{2}=3-(x^{2}+2x)=3+1-(x+1)^{2}=4-(x+1)^{2}. This time you get the form a2−u2a^{2}-u^{2}, which calls for the sine and gives an inverse sine: arcsin⁡x+12+C\arcsin\frac{x+1}{2}+C. The sign of the square term therefore decides everything: positive, you get a logarithm or an inverse hyperbolic sine; negative, an inverse sine. A sign error at this step leads to a function of an entirely different type.

c)

x2+6x+13=(x+3)2+4x^{2}+6x+13=(x+3)^{2}+4, the form u2+a2u^{2}+a^{2} in a denominator with no root: this is the inverse tangent. ∫duu2+4=12arctan⁡u2\int\frac{du}{u^{2}+4}=\frac{1}{2}\arctan\frac{u}{2}, that is 12arctan⁡x+32+C\frac{1}{2}\arctan\frac{x+3}{2}+C. The factor 12\frac{1}{2} comes from the aa in the denominator and is very often forgotten.

d)

Because the numerator is proportional to the DERIVATIVE of the radicand: (3−2x−x2)′=−2−2x=−2(x+1)\left(3-2x-x^{2}\right)'=-2-2x=-2(x+1). The integral can therefore be written −12∫(3−2x−x2)′3−2x−x2dx=−12⋅23−2x−x2=−3−2x−x2+C-\frac{1}{2}\int\frac{(3-2x-x^{2})'}{\sqrt{3-2x-x^{2}}}dx=-\frac{1}{2}\cdot 2\sqrt{3-2x-x^{2}}=-\sqrt{3-2x-x^{2}}+C. No completing the square, no trigonometric substitution: having the right factor in the numerator short-circuits the whole machinery. So ALWAYS look at the numerator before completing the square.

e)

Split the numerator into two pieces: the one proportional to the derivative of the denominator, and a constant. Here 2x+5=(2x+6)−12x+5=(2x+6)-1, and 2x+62x+6 is exactly (x2+6x+13)′\left(x^{2}+6x+13\right)'. Hence ∫2x+6x2+6x+13dx−∫dxx2+6x+13=ln⁡(x2+6x+13)−12arctan⁡x+32+C\int\frac{2x+6}{x^{2}+6x+13}dx-\int\frac{dx}{x^{2}+6x+13}=\ln\left(x^{2}+6x+13\right)-\frac{1}{2}\arctan\frac{x+3}{2}+C; the absolute value is unnecessary, the quadratic being always strictly positive. General rule: in front of px+qquadratic\frac{px+q}{\text{quadratic}}, write the numerator in the form α×(derivative of the denominator)+β\alpha\times(\text{derivative of the denominator})+\beta. The first term gives a logarithm, the second an inverse tangent after completing the square. Under a root, the first gives a root and the second an inverse sine or a logarithm.

Exercise 10: When a trigonometric substitution is a bad idea

A root of the type a2±x2\sqrt{a^{2}\pm x^{2}} does not automatically call for a trigonometric substitution. In half the cases met on exams, a simple algebraic substitution is enough, and pulling out the triangle costs ten minutes.

  • a) Compute ∫x dx4−x2\int\frac{x\,dx}{\sqrt{4-x^{2}}}, then compare with ∫dx4−x2\int\frac{dx}{\sqrt{4-x^{2}}}. What changes everything?
  • b) Compute ∫xx2−9 dx\int x\sqrt{x^{2}-9}\,dx.
  • c) Compute ∫x31+x2dx\int\frac{x^{3}}{\sqrt{1+x^{2}}}dx. Is an ODD power in the numerator enough?
  • d) Compute ∫x dxx2+4\int\frac{x\,dx}{x^{2}+4} and ∫dxx2+4\int\frac{dx}{x^{2}+4}: two neighbouring integrals, two answers of a different nature.
  • e) State the test that decides, in five seconds, between an algebraic substitution and a trigonometric substitution.

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

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

Answers

  • a) −4−x2+C-\sqrt{4-x^{2}}+C versus arcsin⁡x2+C\arcsin\frac{x}{2}+C
  • b) (x2−9)3/23+C\frac{(x^{2}-9)^{3/2}}{3}+C
  • c) (1+x2)3/23−1+x2+C\frac{(1+x^{2})^{3/2}}{3}-\sqrt{1+x^{2}}+C
  • d) 12ln⁡(x2+4)+C\frac{1}{2}\ln(x^{2}+4)+C; 12arctan⁡x2+C\frac{1}{2}\arctan\frac{x}{2}+C
  • e) The factor xx in the numerator decides
a)

The numerator xx is, up to the factor −12-\frac{1}{2}, the derivative of 4−x24-x^{2}. With u=4−x2u=4-x^{2} and du=−2x dxdu=-2x\,dx: −12∫u−1/2du=−u=−4−x2+C-\frac{1}{2}\int u^{-1/2}du=-\sqrt{u}=-\sqrt{4-x^{2}}+C. The second integral does NOT have this factor xx: no algebraic substitution works, you need x=2sin⁡θx=2\sin\theta, and you get arcsin⁡x2+C\arcsin\frac{x}{2}+C. A single factor xx separates an algebraic answer from an inverse sine.

b)

Same structure: u=x2−9u=x^{2}-9, du=2x dxdu=2x\,dx, so 12∫u1/2du=u3/23=(x2−9)3/23+C\frac{1}{2}\int u^{1/2}du=\frac{u^{3/2}}{3}=\frac{\left(x^{2}-9\right)^{3/2}}{3}+C. A trigonometric substitution would reach the same result after three times as many lines and a return through the triangle.

c)

Yes, provided you adjust. With u=1+x2u=1+x^{2}, you have x2=u−1x^{2}=u-1 and x dx=du2x\,dx=\frac{du}{2}, so ∫x2⋅x dx1+x2=12∫u−1udu=12∫(u1/2−u−1/2)du=u3/23−u1/2\int\frac{x^{2}\cdot x\,dx}{\sqrt{1+x^{2}}}=\frac{1}{2}\int\frac{u-1}{\sqrt{u}}du=\frac{1}{2}\int\left(u^{1/2}-u^{-1/2}\right)du=\frac{u^{3/2}}{3}-u^{1/2}, that is (1+x2)3/23−1+x2+C\frac{\left(1+x^{2}\right)^{3/2}}{3}-\sqrt{1+x^{2}}+C. An odd power always lets you split off an x dxx\,dx and convert the rest, exactly like the odd powers of sine in Part A: it is the same idea in different clothing.

d)

∫x dxx2+4=12ln⁡(x2+4)+C\int\frac{x\,dx}{x^{2}+4}=\frac{1}{2}\ln\left(x^{2}+4\right)+C, the form f′f\frac{f'}{f}, a LOGARITHMIC answer. ∫dxx2+4=12arctan⁡x2+C\int\frac{dx}{x^{2}+4}=\frac{1}{2}\arctan\frac{x}{2}+C, an INVERSE TANGENT answer. Two integrands that differ only by a factor xx, two families of functions with nothing in common. This is the example to keep in mind so that you never answer by reflex.

e)

Look at the NUMERATOR, and at it alone, before anything else. If it contains a factor proportional to the derivative of the expression under the root or in the denominator, that is, a lone xx when the expression is in x2x^{2}, set u=u= that expression and the computation is over in two lines. If it does not, or if it carries an EVEN power of xx, no algebraic substitution can work and the trigonometric substitution becomes necessary. In one sentence: the missing factor xx is exactly what costs you the triangle.

Part C: Inverse trigonometric functions (/50)

Exercise 11: The three basic antiderivatives and how to recognize them

Only three forms produce an inverse trigonometric function: ∫dua2−u2=arcsin⁡ua\int\frac{du}{\sqrt{a^{2}-u^{2}}}=\arcsin\frac{u}{a}, ∫dua2+u2=1aarctan⁡ua\int\frac{du}{a^{2}+u^{2}}=\frac{1}{a}\arctan\frac{u}{a} and ∫duuu2−a2=1aarcsec∣ua∣\int\frac{du}{u\sqrt{u^{2}-a^{2}}}=\frac{1}{a}\mathrm{arcsec}\left|\frac{u}{a}\right|. The whole art is to bring the integrand back to one of the three.

  • a) Tell the three forms apart by their silhouette alone: root in the denominator or not, sign in front of u2u^{2}, presence of a factor uu outside the root. Illustrate with ∫dx25−x2\int\frac{dx}{\sqrt{25-x^{2}}}, ∫dx25+x2\int\frac{dx}{25+x^{2}} and ∫dxxx2−25\int\frac{dx}{x\sqrt{x^{2}-25}}.
  • b) Compute ∫dx8+2x−x2\int\frac{dx}{\sqrt{8+2x-x^{2}}}.
  • c) Compute ∫dx(x+1)x2+2x\int\frac{dx}{(x+1)\sqrt{x^{2}+2x}}.
  • d) Compute ∫02dxx2−2x+5\int_{0}^{2}\frac{dx}{x^{2}-2x+5} and give a decimal value.
  • e) Compute ∫ex1+e2xdx\int\frac{e^{x}}{1+e^{2x}}dx and ∫dxx1−(ln⁡x)2\int\frac{dx}{x\sqrt{1-\left(\ln x\right)^{2}}}. What common observation lets you handle both integrals at a glance?

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

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

Answers

  • a) arcsin⁡x5\arcsin\frac{x}{5}, 15arctan⁡x5\frac{1}{5}\arctan\frac{x}{5}, 15arcsec∣x5∣\frac{1}{5}\mathrm{arcsec}\left|\frac{x}{5}\right|
  • b) arcsin⁡x−13+C\arcsin\frac{x-1}{3}+C
  • c) arcsec∣x+1∣+C\mathrm{arcsec}|x+1|+C
  • d) arctan⁡12≈0.4636\arctan\frac{1}{2}\approx 0.4636
  • e) arctan⁡(ex)+C\arctan(e^{x})+C; arcsin⁡(ln⁡x)+C\arcsin(\ln x)+C
a)

Root in the denominator with a MINUS SIGN in front of u2u^{2}: inverse sine, here arcsin⁡x5+C\arcsin\frac{x}{5}+C. No root, PLUS sign: inverse tangent, here 15arctan⁡x5+C\frac{1}{5}\arctan\frac{x}{5}+C. Root with a minus sign in front of a2a^{2} AND a factor uu ALONE outside the root: inverse secant, here 15arcsec∣x5∣+C\frac{1}{5}\mathrm{arcsec}\left|\frac{x}{5}\right|+C. The silhouette is enough, provided you check the three points in this order: the root, the sign, the outside factor.

b)

Complete the square under the root, factoring out the minus sign first: 8+2x−x2=8−(x2−2x)=8+1−(x−1)2=9−(x−1)28+2x-x^{2}=8-(x^{2}-2x)=8+1-(x-1)^{2}=9-(x-1)^{2}. With u=x−1u=x-1 and a=3a=3, this is the first form: arcsin⁡x−13+C\arcsin\frac{x-1}{3}+C.

c)

Here x2+2x=(x+1)2−1x^{2}+2x=(x+1)^{2}-1, and the factor x+1x+1 outside the root is exactly the uu of the third form: ∫duuu2−1\int\frac{du}{u\sqrt{u^{2}-1}} with u=x+1u=x+1 and a=1a=1. Hence arcsec∣x+1∣+C\mathrm{arcsec}\left|x+1\right|+C. Without the factor x+1x+1 in the denominator, the integral would have given a logarithm and not an inverse secant: that factor, which looks like a nuisance, is in fact what makes the formula applicable.

d)

x2−2x+5=(x−1)2+4x^{2}-2x+5=(x-1)^{2}+4, the second form with u=x−1u=x-1 and a=2a=2. The antiderivative is 12arctan⁡x−12\frac{1}{2}\arctan\frac{x-1}{2}, so [12arctan⁡x−12]02=12(arctan⁡12−arctan⁡(−12))=arctan⁡12≈0.4636\left[\frac{1}{2}\arctan\frac{x-1}{2}\right]_{0}^{2}=\frac{1}{2}\left(\arctan\frac{1}{2}-\arctan\left(-\frac{1}{2}\right)\right)=\arctan\frac{1}{2}\approx 0.4636, the inverse tangent being odd.

e)

In both cases, an INNER substitution brings you back to a basic form. For the first, u=exu=e^{x} gives du=exdxdu=e^{x}dx and ∫du1+u2=arctan⁡u=arctan⁡(ex)+C\int\frac{du}{1+u^{2}}=\arctan u=\arctan\left(e^{x}\right)+C. For the second, u=ln⁡xu=\ln x gives du=dxxdu=\frac{dx}{x} and ∫du1−u2=arcsin⁡u=arcsin⁡(ln⁡x)+C\int\frac{du}{\sqrt{1-u^{2}}}=\arcsin u=\arcsin\left(\ln x\right)+C. The common observation is that the factor that seems to clutter the integrand, exe^{x} on one side and 1x\frac{1}{x} on the other, is precisely the DERIVATIVE of the expression that plays the role of uu. The three basic forms almost never apply as they stand: they apply to a uu, and spotting that uu is all the work.

Exercise 12: The invisible factor 1: integrating an inverse function

An inverse trigonometric function has no obvious antiderivative, but it has a simple DERIVATIVE. That is exactly the situation where integration by parts with dv=dxdv=dx settles everything: differentiate the inverse function and integrate the factor 1, which had stayed invisible.

  • a) Compute ∫arcsin⁡x dx\int\arcsin x\,dx by setting u=arcsin⁡xu=\arcsin x and dv=dxdv=dx.
  • b) Compute ∫arccos⁡x dx\int\arccos x\,dx, then check that the two results are consistent using the identity arcsin⁡x+arccos⁡x=π2\arcsin x+\arccos x=\frac{\pi}{2}.
  • c) Compute ∫arctan⁡x dx\int\arctan x\,dx and ∫arccotx dx\int\mathrm{arccot} x\,dx.
  • d) Compute ∫arcsecx dx\int\mathrm{arcsec} x\,dx for x>1x>1.
  • e) Evaluate ∫01arctan⁡x dx\int_{0}^{1}\arctan x\,dx and give a decimal value.

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

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

Answers

  • a) xarcsin⁡x+1−x2+Cx\arcsin x+\sqrt{1-x^{2}}+C
  • b) xarccos⁡x−1−x2+Cx\arccos x-\sqrt{1-x^{2}}+C
  • c) xarctan⁡x∓12ln⁡(1+x2)+Cx\arctan x\mp\frac{1}{2}\ln(1+x^{2})+C
  • d) x arcsec x−ln⁡∣x+x2−1∣+Cx\,\mathrm{arcsec}\,x-\ln|x+\sqrt{x^{2}-1}|+C
  • e) π4−ln⁡22≈0.4388\frac{\pi}{4}-\frac{\ln 2}{2}\approx 0.4388
a)

u=arcsin⁡xu=\arcsin x gives du=dx1−x2du=\frac{dx}{\sqrt{1-x^{2}}}, and dv=dxdv=dx gives v=xv=x. Hence ∫arcsin⁡x dx=xarcsin⁡x−∫x dx1−x2\int\arcsin x\,dx=x\arcsin x-\int\frac{x\,dx}{\sqrt{1-x^{2}}}. The second integral is algebraic, the numerator being proportional to the derivative of the radicand: it equals −1−x2-\sqrt{1-x^{2}}. Result: xarcsin⁡x+1−x2+Cx\arcsin x+\sqrt{1-x^{2}}+C.

b)

The same computation, with du=−dx1−x2du=-\frac{dx}{\sqrt{1-x^{2}}}, gives xarccos⁡x−1−x2+Cx\arccos x-\sqrt{1-x^{2}}+C. Check: the sum of the two antiderivatives is x(arcsin⁡x+arccos⁡x)=πx2x\left(\arcsin x+\arccos x\right)=\frac{\pi x}{2}, the two roots cancelling. And that is indeed an antiderivative of arcsin⁡x+arccos⁡x=π2\arcsin x+\arccos x=\frac{\pi}{2}, a constant function. The two computations therefore check each other, and the fact that the roots cancel exactly is no accident: it is the identity, translated.

c)

∫arctan⁡x dx=xarctan⁡x−∫x dx1+x2=xarctan⁡x−12ln⁡(1+x2)+C\int\arctan x\,dx=x\arctan x-\int\frac{x\,dx}{1+x^{2}}=x\arctan x-\frac{1}{2}\ln\left(1+x^{2}\right)+C. For the inverse cotangent, the derivative changes sign: ∫arccotx dx=xarccotx+12ln⁡(1+x2)+C\int\mathrm{arccot}x\,dx=x\mathrm{arccot}x+\frac{1}{2}\ln\left(1+x^{2}\right)+C. Here again, the sum of the two antiderivatives is πx2\frac{\pi x}{2}, since arctan⁡x+arccotx=π2\arctan x+\mathrm{arccot}x=\frac{\pi}{2}.

d)

u=arcsecxu=\mathrm{arcsec}x gives du=dx∣x∣x2−1du=\frac{dx}{\left|x\right|\sqrt{x^{2}-1}}, which equals dxxx2−1\frac{dx}{x\sqrt{x^{2}-1}} since x>1x>1. Hence ∫arcsecx dx=xarcsecx−∫x dxxx2−1=xarcsecx−∫dxx2−1\int\mathrm{arcsec}x\,dx=x\mathrm{arcsec}x-\int\frac{x\,dx}{x\sqrt{x^{2}-1}}=x\mathrm{arcsec}x-\int\frac{dx}{\sqrt{x^{2}-1}}. The factor xx cancels, and what remains is the integral from Part B: xarcsecx−ln⁡∣x+x2−1∣+Cx\mathrm{arcsec}x-\ln\left|x+\sqrt{x^{2}-1}\right|+C.

e)

[xarctan⁡x−12ln⁡(1+x2)]01=π4−ln⁡22−0=π4−ln⁡22≈0.7854−0.3466≈0.4388\left[x\arctan x-\frac{1}{2}\ln\left(1+x^{2}\right)\right]_{0}^{1}=\frac{\pi}{4}-\frac{\ln 2}{2}-0=\frac{\pi}{4}-\frac{\ln 2}{2}\approx 0.7854-0.3466\approx 0.4388.

Exercise 13: Products with x: the division that follows integration by parts

When an inverse function is multiplied by a power of xx, you still integrate by parts, but the remaining integral is no longer immediate: it requires a polynomial division or an identity. That second step is what separates a careful computation from a sloppy one.

  • a) Compute ∫xarctan⁡x dx\int x\arctan x\,dx, showing in detail the division that follows the integration by parts.
  • b) Compute ∫xarcsin⁡x dx\int x\arcsin x\,dx.
  • c) Compute ∫x2arctan⁡x dx\int x^{2}\arctan x\,dx.
  • d) Evaluate ∫01xarctan⁡x dx\int_{0}^{1}x\arctan x\,dx and give a decimal value.
  • e) Why is the inverse function always chosen as uu, and never as dvdv? Connect your answer to the mnemonic rule for choosing uu.

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

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

Answers

  • a) x2+12arctan⁡x−x2+C\frac{x^{2}+1}{2}\arctan x-\frac{x}{2}+C
  • b) 2x2−14arcsin⁡x+x1−x24+C\frac{2x^{2}-1}{4}\arcsin x+\frac{x\sqrt{1-x^{2}}}{4}+C
  • c) x33arctan⁡x−x26+16ln⁡(1+x2)+C\frac{x^{3}}{3}\arctan x-\frac{x^{2}}{6}+\frac{1}{6}\ln(1+x^{2})+C
  • d) π4−12≈0.2854\frac{\pi}{4}-\frac{1}{2}\approx 0.2854
  • e) Differentiate the inverse function: the I of LIATE
a)

u=arctan⁡xu=\arctan x, dv=x dxdv=x\,dx, so v=x22v=\frac{x^{2}}{2}: x22arctan⁡x−12∫x21+x2dx\frac{x^{2}}{2}\arctan x-\frac{1}{2}\int\frac{x^{2}}{1+x^{2}}dx. The degree of the numerator equals that of the denominator: the division is COMPULSORY before anything else, and it gives x21+x2=1−11+x2\frac{x^{2}}{1+x^{2}}=1-\frac{1}{1+x^{2}}. Hence x22arctan⁡x−12(x−arctan⁡x)=x2+12arctan⁡x−x2+C\frac{x^{2}}{2}\arctan x-\frac{1}{2}\left(x-\arctan x\right)=\frac{x^{2}+1}{2}\arctan x-\frac{x}{2}+C.

b)

u=arcsin⁡xu=\arcsin x, v=x22v=\frac{x^{2}}{2}: x22arcsin⁡x−12∫x21−x2dx\frac{x^{2}}{2}\arcsin x-\frac{1}{2}\int\frac{x^{2}}{\sqrt{1-x^{2}}}dx. The remaining integral is the one from Part B, with a=1a=1: ∫x21−x2dx=12arcsin⁡x−x1−x22\int\frac{x^{2}}{\sqrt{1-x^{2}}}dx=\frac{1}{2}\arcsin x-\frac{x\sqrt{1-x^{2}}}{2}. Hence x22arcsin⁡x−14arcsin⁡x+x1−x24=2x2−14arcsin⁡x+x1−x24+C\frac{x^{2}}{2}\arcsin x-\frac{1}{4}\arcsin x+\frac{x\sqrt{1-x^{2}}}{4}=\frac{2x^{2}-1}{4}\arcsin x+\frac{x\sqrt{1-x^{2}}}{4}+C.

c)

u=arctan⁡xu=\arctan x, v=x33v=\frac{x^{3}}{3}: x33arctan⁡x−13∫x31+x2dx\frac{x^{3}}{3}\arctan x-\frac{1}{3}\int\frac{x^{3}}{1+x^{2}}dx. Division: x31+x2=x−x1+x2\frac{x^{3}}{1+x^{2}}=x-\frac{x}{1+x^{2}}, whose integral is x22−12ln⁡(1+x2)\frac{x^{2}}{2}-\frac{1}{2}\ln\left(1+x^{2}\right). Result: x33arctan⁡x−x26+16ln⁡(1+x2)+C\frac{x^{3}}{3}\arctan x-\frac{x^{2}}{6}+\frac{1}{6}\ln\left(1+x^{2}\right)+C.

d)

[x2+12arctan⁡x−x2]01=(1⋅π4−12)−0=π4−12≈0.2854\left[\frac{x^{2}+1}{2}\arctan x-\frac{x}{2}\right]_{0}^{1}=\left(1\cdot\frac{\pi}{4}-\frac{1}{2}\right)-0=\frac{\pi}{4}-\frac{1}{2}\approx 0.2854.

e)

Because integration by parts only pays off if you DIFFERENTIATE the difficult factor. An inverse trigonometric function has a very simple algebraic derivative, a rational function or a root, whereas none of its antiderivatives is known when you start: taking it as dvdv would force you to integrate what you cannot integrate, and the computation would stop at the first line. This is exactly the order of priority summed up by the acronym LIATE, where the I of Inverse functions comes right after the L of Logarithms: those two families are the ones you always differentiate, and never the ones you integrate.

Exercise 14: The inverse secant and the absolute value

The inverse secant is the only one of the six inverse trigonometric functions whose derivative carries an absolute value: (arcsecx)′=1∣x∣x2−1\left(\mathrm{arcsec}x\right)'=\frac{1}{\left|x\right|\sqrt{x^{2}-1}}. This absolute value is not a matter of careful notation, it is what makes the formula true on both branches of the domain.

  • a) The domain of arcsec\mathrm{arcsec} is ∣x∣≥1\left|x\right|\geq 1, so it comes in two pieces. Justify the presence of ∣x∣\left|x\right| by differentiating arcsecx=arccos⁡1x\mathrm{arcsec}x=\arccos\frac{1}{x} in both sign cases.
  • b) Compute ∫dxxx2−9\int\frac{dx}{x\sqrt{x^{2}-9}} and write the antiderivative in a form valid on BOTH branches.
  • c) A student suggests 13arcsecx3\frac{1}{3}\mathrm{arcsec}\frac{x}{3}, without an absolute value. Test the suggestion at x=−4x=-4 by differentiating, and say exactly what goes wrong.
  • d) Evaluate ∫−6−4dxxx2−9\int_{-6}^{-4}\frac{dx}{x\sqrt{x^{2}-9}}. Could the sign of your answer be predicted without computing?
  • e) Some textbooks define the inverse secant on [0,π2)∪[π,3π2)\left[0, \frac{\pi}{2}\right)\cup\left[\pi, \frac{3\pi}{2}\right) so as to write the derivative without an absolute value. Explain the mechanism and say what drawback this convention brings.

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

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

Answers

  • a) x2=∣x∣\sqrt{x^{2}}=|x|: derivative positive everywhere
  • b) 13arcsec∣x3∣+C\frac{1}{3}\mathrm{arcsec}\left|\frac{x}{3}\right|+C
  • c) At x=−4x=-4: +0.0945+0.0945 versus −0.0945-0.0945
  • d) ≈−0.108\approx -0.108, negative like the integrand
  • e) Derivative without absolute value, but arcsec x≠arccos⁡1x\mathrm{arcsec}\,x\neq\arccos\frac{1}{x}
a)

Differentiating arccos⁡1x\arccos\frac{1}{x}: (arccos⁡1x)′=−11−1x2⋅(−1x2)=1x2x2−1x2=1x2⋅x2−1∣x∣=1∣x∣x2−1\left(\arccos\frac{1}{x}\right)'=-\frac{1}{\sqrt{1-\frac{1}{x^{2}}}}\cdot\left(-\frac{1}{x^{2}}\right)=\frac{1}{x^{2}\sqrt{\frac{x^{2}-1}{x^{2}}}}=\frac{1}{x^{2}\cdot\frac{\sqrt{x^{2}-1}}{\left|x\right|}}=\frac{1}{\left|x\right|\sqrt{x^{2}-1}}. It is the simplification x2=∣x∣\sqrt{x^{2}}=\left|x\right| that produces the absolute value, and it cannot be avoided: for x>1x>1 it gives 1xx2−1\frac{1}{x\sqrt{x^{2}-1}}, but for x<−1x<-1 it gives −1xx2−1-\frac{1}{x\sqrt{x^{2}-1}}, a POSITIVE quantity even though xx is negative. The derivative of the inverse secant is therefore positive everywhere, which is consistent with a function that increases on each of its branches.

b)

With u=x3u=\frac{x}{3}, the third basic form gives 13arcsec∣x3∣+C\frac{1}{3}\mathrm{arcsec}\left|\frac{x}{3}\right|+C, also written 13arccos⁡3∣x∣+C\frac{1}{3}\arccos\frac{3}{\left|x\right|}+C. The absolute value INSIDE is what makes the expression valid for x>3x>3 as well as for x<−3x<-3, without changing formula from one branch to the other.

c)

Without the absolute value, the suggestion reads 13arccos⁡3x\frac{1}{3}\arccos\frac{3}{x}. At x=−4x=-4, its derivative is 13⋅3∣x∣x2−9=1∣x∣x2−9=147≈+0.0945\frac{1}{3}\cdot\frac{3}{\left|x\right|\sqrt{x^{2}-9}}=\frac{1}{\left|x\right|\sqrt{x^{2}-9}}=\frac{1}{4\sqrt{7}}\approx +0.0945, whereas the integrand there is 1xx2−9=1−47≈−0.0945\frac{1}{x\sqrt{x^{2}-9}}=\frac{1}{-4\sqrt{7}}\approx -0.0945. The SIGN is wrong: the suggestion is an antiderivative of the negative of the integrand on the whole negative branch. It remains perfectly correct for x>3x>3, which makes it all the more dangerous: it passes the check if you only test a positive point.

d)

With the correct antiderivative: at x=−4x=-4, 13arccos⁡34≈0.72273≈0.2409\frac{1}{3}\arccos\frac{3}{4}\approx\frac{0.7227}{3}\approx 0.2409; at x=−6x=-6, 13arccos⁡12=π9≈0.3491\frac{1}{3}\arccos\frac{1}{2}=\frac{\pi}{9}\approx 0.3491. The integral is 0.2409−0.3491≈−0.1080.2409-0.3491\approx -0.108. The negative sign was entirely predictable: on [−6,−4]\left[-6, -4\right], the root is positive but xx is negative, so the integrand is negative on the whole interval, and the integral of a negative function can only be negative. This is the check to make every time before accepting an answer.

e)

The mechanism is as follows: on [π,3π2)\left[\pi, \frac{3\pi}{2}\right), the tangent is POSITIVE while the secant is negative, so the relation sec⁡2θ−1=tan⁡θ\sqrt{\sec^{2}\theta-1}=\tan\theta holds without an absolute value and the derivative becomes 1xx2−1\frac{1}{x\sqrt{x^{2}-1}} on both branches. The notation gains from it, and the trigonometric substitutions of Part B become lighter. The drawback is real: this convention breaks the relation arcsecx=arccos⁡1x\mathrm{arcsec}x=\arccos\frac{1}{x}, which is the one calculators and computer algebra systems implement. A result obtained with one convention and checked with the other will look wrong when it is not, and that is exactly why, in a written solution, you must state the convention you use or, more simply, prefer the logarithmic form ln⁡∣x+x2−a2∣\ln\left|x+\sqrt{x^{2}-a^{2}}\right| whenever it is available.

Exercise 15: Compositions and identities: two antiderivatives for one integral

An inverse function composed with something else is handled by substituting first, then integrating by parts. And since inverse functions obey identities, the same integral often has two answers that look incompatible.

  • a) Compute ∫arctan⁡x dx\int\arctan\sqrt{x}\,dx by setting t=xt=\sqrt{x}.
  • b) Compute ∫exarcsin⁡(ex)dx\int e^{x}\arcsin\left(e^{x}\right)dx.
  • c) Compute ∫arctan⁡x1+x2dx\int\frac{\arctan x}{1+x^{2}}dx and ∫dx(1+x2)arctan⁡x\int\frac{dx}{\left(1+x^{2}\right)\arctan x}. What structure do they share?
  • d) Given that arctan⁡x+arctan⁡1x=π2\arctan x+\arctan\frac{1}{x}=\frac{\pi}{2} for x>0x>0, compute ∫arctan⁡1x dx\int\arctan\frac{1}{x}\,dx without any integration by parts.
  • e) Two students compute ∫dxxx2−1\int\frac{dx}{x\sqrt{x^{2}-1}} for x>1x>1. One answers arcsecx\mathrm{arcsec}x, the other arctan⁡x2−1\arctan\sqrt{x^{2}-1}. Settle the matter.

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

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

Answers

  • a) (x+1)arctan⁡x−x+C(x+1)\arctan\sqrt{x}-\sqrt{x}+C
  • b) exarcsin⁡(ex)+1−e2x+Ce^{x}\arcsin(e^{x})+\sqrt{1-e^{2x}}+C
  • c) (arctan⁡x)22+C\frac{(\arctan x)^{2}}{2}+C; ln⁡∣arctan⁡x∣+C\ln|\arctan x|+C
  • d) πx2−xarctan⁡x+12ln⁡(1+x2)+C\frac{\pi x}{2}-x\arctan x+\frac{1}{2}\ln(1+x^{2})+C
  • e) Both: the same function on (1,+∞)(1, +\infty)
a)

t=xt=\sqrt{x} gives x=t2x=t^{2} and dx=2t dtdx=2t\,dt: ∫arctan⁡t⋅2t dt=2∫tarctan⁡t dt\int\arctan t\cdot 2t\,dt=2\int t\arctan t\,dt. This is the integral of exercise 13: 2(t2+12arctan⁡t−t2)=(t2+1)arctan⁡t−t2\left(\frac{t^{2}+1}{2}\arctan t-\frac{t}{2}\right)=\left(t^{2}+1\right)\arctan t-t. Going back to xx: (x+1)arctan⁡x−x+C\left(x+1\right)\arctan\sqrt{x}-\sqrt{x}+C. Substituting first turned a composition into a product already handled.

b)

The factor exe^{x} is the derivative of the argument: that is the signal to set u=exu=e^{x}, hence ∫arcsin⁡u du=uarcsin⁡u+1−u2\int\arcsin u\,du=u\arcsin u+\sqrt{1-u^{2}}, that is exarcsin⁡(ex)+1−e2x+Ce^{x}\arcsin\left(e^{x}\right)+\sqrt{1-e^{2x}}+C, valid for ex≤1e^{x}\leq 1, that is, x≤0x\leq 0.

c)

In both cases, dx1+x2\frac{dx}{1+x^{2}} is exactly d(arctan⁡x)d\left(\arctan x\right): setting u=arctan⁡xu=\arctan x, the first becomes ∫u du=u22\int u\,du=\frac{u^{2}}{2}, that is (arctan⁡x)22+C\frac{\left(\arctan x\right)^{2}}{2}+C, and the second ∫duu=ln⁡∣u∣\int\frac{du}{u}=\ln\left|u\right|, that is ln⁡∣arctan⁡x∣+C\ln\left|\arctan x\right|+C. The shared structure is that the inverse tangent appears TWICE, once as a function and once, in disguise, as a differential. Spotting dx1+x2\frac{dx}{1+x^{2}} as a ready-made dudu brings these integrals down in one line.

d)

∫arctan⁡1xdx=∫(π2−arctan⁡x)dx=πx2−xarctan⁡x+12ln⁡(1+x2)+C\int\arctan\frac{1}{x}dx=\int\left(\frac{\pi}{2}-\arctan x\right)dx=\frac{\pi x}{2}-x\arctan x+\frac{1}{2}\ln\left(1+x^{2}\right)+C, reusing the antiderivative of the inverse tangent. The identity has saved a whole integration by parts, and it is a reminder that arctan⁡1x\arctan\frac{1}{x} is not a new function but the inverse tangent turned around. Be careful, though: for x<0x<0, the identity becomes arctan⁡x+arctan⁡1x=−π2\arctan x+\arctan\frac{1}{x}=-\frac{\pi}{2}, and the constant changes from one branch to the other.

e)

Both are right. Differentiating the second suggestion: (arctan⁡x2−1)′=11+(x2−1)⋅xx2−1=1xx2−1\left(\arctan\sqrt{x^{2}-1}\right)'=\frac{1}{1+\left(x^{2}-1\right)}\cdot\frac{x}{\sqrt{x^{2}-1}}=\frac{1}{x\sqrt{x^{2}-1}}, which is indeed the integrand. The two functions are therefore two antiderivatives of the same function on the interval (1,+∞)\left(1, +\infty\right), which is connected: they differ by a constant, and since both are zero at x=1x=1, that constant is ZERO, and they are exactly equal. It is in fact only a disguised identity: if θ=arcsecx\theta=\mathrm{arcsec}x, then sec⁡θ=x\sec\theta=x and tan⁡θ=x2−1\tan\theta=\sqrt{x^{2}-1}, so θ=arctan⁡x2−1\theta=\arctan\sqrt{x^{2}-1}. The lesson holds for the whole chapter: two answers that look very different are often the same, and the only judge is differentiation.

Part D: Definite integrals, pitfalls and synthesis (/50)

Exercise 16: The bounds you forget to change

In a DEFINITE integral, a change of variable must come with a change of bounds. Two methods are correct: transform the bounds and never come back to xx, or keep the bounds in xx and return to the original variable before evaluating. Mixing the two is the most costly error of the chapter.

  • a) Compute ∫01dx4−x2\int_{0}^{1}\frac{dx}{\sqrt{4-x^{2}}} by trigonometric substitution, transforming the bounds.
  • b) Compute ∫02x24−x2 dx\int_{0}^{2}x^{2}\sqrt{4-x^{2}}\,dx.
  • c) Compute ∫03dx1+x2\int_{0}^{\sqrt{3}}\frac{dx}{1+x^{2}} and interpret the angle obtained geometrically.
  • d) A student writes ∫01dx4−x2=∫01dθ=1\int_{0}^{1}\frac{dx}{\sqrt{4-x^{2}}}=\int_{0}^{1}d\theta=1. Diagnose the error precisely and assess its size.
  • e) State the two correct methods and say which one you would recommend on an exam, with your reason.

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

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

Answers

  • a) π6≈0.5236\frac{\pi}{6}\approx 0.5236
  • b) π\pi
  • c) π3\frac{\pi}{3}, that is 60°60°
  • d) Bounds not changed: 11 instead of π6\frac{\pi}{6}, a 9191% error
  • e) Transform the bounds and stay in θ\theta
a)

Set x=2sin⁡θx=2\sin\theta, so dx=2cos⁡θ dθdx=2\cos\theta\,d\theta and 4−x2=2cos⁡θ\sqrt{4-x^{2}}=2\cos\theta. The bounds follow: x=0x=0 gives θ=0\theta=0, and x=1x=1 gives sin⁡θ=12\sin\theta=\frac{1}{2}, that is θ=π6\theta=\frac{\pi}{6}. The integral becomes ∫0π/6dθ=π6≈0.5236\int_{0}^{\pi/6}d\theta=\frac{\pi}{6}\approx 0.5236. Direct check: [arcsin⁡x2]01=arcsin⁡12=π6\left[\arcsin\frac{x}{2}\right]_{0}^{1}=\arcsin\frac{1}{2}=\frac{\pi}{6}.

b)

Same substitution and bounds, except that x=2x=2 gives θ=π2\theta=\frac{\pi}{2}: ∫0π/24sin⁡2θ⋅2cos⁡θ⋅2cos⁡θ dθ=16∫0π/2sin⁡2θcos⁡2θ dθ\int_{0}^{\pi/2}4\sin^{2}\theta\cdot 2\cos\theta\cdot 2\cos\theta\,d\theta=16\int_{0}^{\pi/2}\sin^{2}\theta\cos^{2}\theta\,d\theta. Part A showed that sin⁡2θcos⁡2θ=1−cos⁡4θ8\sin^{2}\theta\cos^{2}\theta=\frac{1-\cos 4\theta}{8}, hence 2[θ−sin⁡4θ4]0π/2=2⋅π2=π≈3.14162\left[\theta-\frac{\sin 4\theta}{4}\right]_{0}^{\pi/2}=2\cdot\frac{\pi}{2}=\pi\approx 3.1416.

c)

[arctan⁡x]03=arctan⁡3=π3≈1.0472\left[\arctan x\right]_{0}^{\sqrt{3}}=\arctan\sqrt{3}=\frac{\pi}{3}\approx 1.0472. Geometrically, the substitution x=tan⁡θx=\tan\theta makes θ\theta the angle whose tangent is xx: integrating dx1+x2\frac{dx}{1+x^{2}} amounts to accumulating dθd\theta, so the integral measures exactly the angle swept as xx goes from 0 to 3\sqrt{3}, that is, 60 degrees. This is also what makes arctan⁡\arctan the most convenient tool for computing π\pi numerically.

d)

The student did substitute dxdx and the root, but kept the bounds in xx while writing the integral in θ\theta: the upper bound x=1x=1 was copied as θ=1\theta=1. Yet θ=1\theta=1 radian corresponds to x=2sin⁡1≈1.68x=2\sin 1\approx 1.68, which is not the requested bound. The result, 1, exceeds the true value π6≈0.524\frac{\pi}{6}\approx 0.524 by 91%. The symptom is easy to spot: an answer without π\pi for an integral that should have produced one.

e)

First method: transform the bounds along with the variable, then evaluate directly in θ\theta without ever going back to xx. Second method: first work out the INDEFINITE integral, go back to xx through the triangle, then evaluate between the original bounds. On an exam, I recommend the first: it avoids the return through the triangle entirely, and that return is the longest and most error-prone step of any trigonometric substitution. It also has the advantage of producing simple numerical bounds, often 00, π6\frac{\pi}{6}, π4\frac{\pi}{4} or π2\frac{\pi}{2}, which make the evaluation immediate. The only absolute rule is never to leave on the same line a variable and bounds that do not match.

Exercise 17: Two antiderivatives that look different

The same integral can receive answers that look incompatible depending on the method used. The theorem that settles the question is well known, but it carries a hypothesis that the chapter on inverse functions specifically violates.

  • a) Compute ∫sin⁡xcos⁡x dx\int\sin x\cos x\,dx in THREE ways: with u=sin⁡xu=\sin x, with u=cos⁡xu=\cos x, then with the double angle.
  • b) Show that the three answers differ pairwise by a constant, and compute these constants.
  • c) State the theorem that guarantees this result, stressing its hypothesis.
  • d) On R∖{0}\mathbb{R}\setminus\left\{0\right\}, ln⁡∣x∣+3\ln\left|x\right|+3 and the function equal to ln⁡∣x∣\ln\left|x\right| for x>0x>0 and to ln⁡∣x∣+7\ln\left|x\right|+7 for x<0x<0 are both antiderivatives of 1x\frac{1}{x}. Is the hypothesis of c) satisfied?
  • e) Connect this phenomenon to the question about the inverse secant handled earlier, and say what you must write in a solution to be beyond reproach.

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

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

Answers

  • a) sin⁡2x2\frac{\sin^{2}x}{2}, −cos⁡2x2-\frac{\cos^{2}x}{2}, −cos⁡2x4-\frac{\cos 2x}{4}
  • b) Differences 12\frac{1}{2}, 14\frac{1}{4}, −14-\frac{1}{4}
  • c) F−GF-G constant on an INTERVAL
  • d) No: one constant per piece
  • e) State the working interval
a)

With u=sin⁡xu=\sin x: ∫u du=sin⁡2x2+C\int u\,du=\frac{\sin^{2}x}{2}+C. With u=cos⁡xu=\cos x, where du=−sin⁡x dxdu=-\sin x\,dx: −∫u du=−cos⁡2x2+C-\int u\,du=-\frac{\cos^{2}x}{2}+C. With the double angle, sin⁡xcos⁡x=sin⁡2x2\sin x\cos x=\frac{\sin 2x}{2}: 12∫sin⁡2x dx=−cos⁡2x4+C\frac{1}{2}\int\sin 2x\,dx=-\frac{\cos 2x}{4}+C.

b)

sin⁡2x2−(−cos⁡2x2)=sin⁡2x+cos⁡2x2=12\frac{\sin^{2}x}{2}-\left(-\frac{\cos^{2}x}{2}\right)=\frac{\sin^{2}x+\cos^{2}x}{2}=\frac{1}{2}, a constant. sin⁡2x2−(−cos⁡2x4)=sin⁡2x2+1−2sin⁡2x4=14\frac{\sin^{2}x}{2}-\left(-\frac{\cos 2x}{4}\right)=\frac{\sin^{2}x}{2}+\frac{1-2\sin^{2}x}{4}=\frac{1}{4}, a constant as well. And by subtracting the previous two, the third pair differs by −14-\frac{1}{4}. The three answers are therefore the same antiderivative up to a constant, which is exactly what the +C+C allows: three correct methods cannot give essentially different functions.

c)

Theorem: if FF and GG are two antiderivatives of the same function on an INTERVAL, then F−GF-G is constant on that interval. The proof takes one line, (F−G)′=0(F-G)'=0, but it relies on the Mean Value Theorem, which requires an interval, that is, a CONNECTED domain, all in one piece. This is the hypothesis people forget to check, because it is almost always satisfied.

d)

No, it is not: R∖{0}\mathbb{R}\setminus\left\{0\right\} is not an interval but the union of two disjoint intervals. The difference of the two proposed functions is −3-3 on the positive half-line and +4+4 on the negative one: it is LOCALLY constant without being constant. Yet both functions really are antiderivatives of 1x\frac{1}{x} on each of the two pieces. The correct conclusion is therefore that on a domain made of several pieces, an antiderivative carries one constant PER PIECE, and the notation ln⁡∣x∣+C\ln\left|x\right|+C is a convenient abuse that you must know how to defuse when you work on both sides of zero.

e)

It is exactly the same situation. The domain of 1xx2−9\frac{1}{x\sqrt{x^{2}-9}} is (−∞,−3)∪(3,+∞)\left(-\infty, -3\right)\cup\left(3, +\infty\right), also made of two pieces: nothing forces the antiderivative to be written in one piece, and that is why a formula that is correct on one branch can be wrong on the other, like the version of the inverse secant without an absolute value. To be beyond reproach in a solution, do three things: state the working interval before computing, check that the proposed antiderivative is defined and differentiable on it, and, when the domain comes in several pieces, say so explicitly rather than writing a global +C+C that hides the problem. A definite integral is also never computed across a discontinuity: it must be split, or recognized as improper.

Exercise 18: Improper integrals with a trigonometric answer

The inverse trigonometric functions are bounded: that is what lets some integrals over an infinite interval converge, and it is also what makes π\pi appear in results where nothing announced it.

  • a) Compute ∫0+∞dx1+x2\int_{0}^{+\infty}\frac{dx}{1+x^{2}} by going back to the definition with a limit.
  • b) Compute ∫01dx1−x2\int_{0}^{1}\frac{dx}{\sqrt{1-x^{2}}}. In what sense is this integral improper, even though its bounds are finite?
  • c) Compute ∫−∞+∞dxx2+2x+5\int_{-\infty}^{+\infty}\frac{dx}{x^{2}+2x+5}.
  • d) Compute ∫0+∞dx(1+x2)2\int_{0}^{+\infty}\frac{dx}{\left(1+x^{2}\right)^{2}}.
  • e) Compute ∫1+∞dxxx2−1\int_{1}^{+\infty}\frac{dx}{x\sqrt{x^{2}-1}} and explain why this integral, improper at both ends, still converges.

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

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

Answers

  • a) π2\frac{\pi}{2}
  • b) π2\frac{\pi}{2}, integrand infinite at 11
  • c) π2\frac{\pi}{2}
  • d) π4\frac{\pi}{4}
  • e) π2\frac{\pi}{2}: singularity like 1x−1\frac{1}{\sqrt{x-1}}, decrease like 1x2\frac{1}{x^{2}}
a)

By definition, ∫0+∞dx1+x2=lim⁡b→+∞∫0bdx1+x2=lim⁡b→+∞arctan⁡b=π2≈1.5708\int_{0}^{+\infty}\frac{dx}{1+x^{2}}=\lim_{b\to+\infty}\int_{0}^{b}\frac{dx}{1+x^{2}}=\lim_{b\to+\infty}\arctan b=\frac{\pi}{2}\approx 1.5708. Convergence rests entirely on the inverse tangent being BOUNDED: the area keeps accumulating but stays capped, the integrand decreasing like 1x2\frac{1}{x^{2}}.

b)

Its bounds are finite, but the INTEGRAND is not: 11−x2\frac{1}{\sqrt{1-x^{2}}} tends to infinity as x→1−x\to 1^{-}. It is an improper integral of the second kind, and you must write lim⁡b→1−[arcsin⁡x]0b=lim⁡b→1−arcsin⁡b=π2\lim_{b\to 1^{-}}\left[\arcsin x\right]_{0}^{b}=\lim_{b\to 1^{-}}\arcsin b=\frac{\pi}{2}. An infinitely tall yet finite area: the graph shoots up vertically at x=1x=1 while enclosing only π2\frac{\pi}{2} of area. Notice the unsettling result: it is the same value as in a), obtained on a bounded interval.

c)

Complete the square: x2+2x+5=(x+1)2+4x^{2}+2x+5=(x+1)^{2}+4, so the antiderivative is 12arctan⁡x+12\frac{1}{2}\arctan\frac{x+1}{2}. The integral, improper at both bounds, is split in two and equals 12(π2−(−π2))=π2≈1.5708\frac{1}{2}\left(\frac{\pi}{2}-\left(-\frac{\pi}{2}\right)\right)=\frac{\pi}{2}\approx 1.5708. Each of the two halves converges separately, an essential condition for being allowed to conclude.

d)

The substitution x=tan⁡θx=\tan\theta turns the bounds 00 and +∞+\infty into 00 and π2\frac{\pi}{2}, which makes the integral PROPER: ∫0π/2sec⁡2θsec⁡4θdθ=∫0π/2cos⁡2θ dθ=π4≈0.7854\int_{0}^{\pi/2}\frac{\sec^{2}\theta}{\sec^{4}\theta}d\theta=\int_{0}^{\pi/2}\cos^{2}\theta\,d\theta=\frac{\pi}{4}\approx 0.7854. This is one of the great services of the trigonometric substitution: it brings an infinite interval down to a bounded one, and the question of convergence settles itself.

e)

The integral is improper at 11, where the denominator vanishes, and at +∞+\infty. The antiderivative is arcsecx\mathrm{arcsec}x, so the value is lim⁡b→+∞arcsecb−lim⁡a→1+arcseca=π2−0=π2\lim_{b\to+\infty}\mathrm{arcsec}b-\lim_{a\to 1^{+}}\mathrm{arcsec}a=\frac{\pi}{2}-0=\frac{\pi}{2}. It converges at both ends for two distinct reasons: at 11, the singularity behaves like 1x−1\frac{1}{\sqrt{x-1}}, with exponent 12<1\frac{1}{2}<1, hence integrable; at infinity, the integrand decreases like 1x2\frac{1}{x^{2}}, with exponent 2>12>1, hence integrable as well. The fact that the inverse secant is bounded by π2\frac{\pi}{2} sums up both at once, and the same value comes back for the fourth time, after a), b) and c): this is no coincidence, the four integrands are images of one another under the substitutions of the chapter.

12345678-0.20.20.40.60.811.21.41.61.8π/2arctan x (dashed)area

Exercise 19: Applications: area, arc length and volume

The integrals of this chapter are not algebra drills: they come up naturally in the three great applications of integral calculus, and that is where you meet them, in physics as well as in geometry.

  • a) Prove the formula for the area of a disk by computing 4∫0aa2−x2 dx4\int_{0}^{a}\sqrt{a^{2}-x^{2}}\,dx.
  • b) Compute the length of the curve y=ln⁡(cos⁡x)y=\ln\left(\cos x\right) for x∈[0,π4]x\in\left[0, \frac{\pi}{4}\right]. Which integral from Part A do you recognize?
  • c) Compute the length of the parabola y=x22y=\frac{x^{2}}{2} for x∈[0,1]x\in\left[0, 1\right].
  • d) Compute the volume generated by rotating about the xx-axis the region under y=11+x2y=\frac{1}{\sqrt{1+x^{2}}} for x∈[0,1]x\in\left[0, 1\right].
  • e) A part has the shape of the region under y=11+x2y=\frac{1}{1+x^{2}} for x≥0x\geq 0. Is its area finite? And the volume generated by rotating it about the xx-axis?

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

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

Answers

  • a) 4⋅πa24=πa24\cdot\frac{\pi a^{2}}{4}=\pi a^{2}
  • b) ∫0π/4sec⁡x dx≈0.8814\int_{0}^{\pi/4}\sec x\,dx\approx 0.8814
  • c) 22+12ln⁡(1+2)≈1.148\frac{\sqrt{2}}{2}+\frac{1}{2}\ln(1+\sqrt{2})\approx 1.148
  • d) π24≈2.467\frac{\pi^{2}}{4}\approx 2.467
  • e) Area π2\frac{\pi}{2}, volume π24\frac{\pi^{2}}{4}: both finite
a)

By symmetry, the quarter disk in the first quadrant has area ∫0aa2−x2 dx\int_{0}^{a}\sqrt{a^{2}-x^{2}}\,dx. With x=asin⁡θx=a\sin\theta, the bounds become 00 and π2\frac{\pi}{2}: ∫0π/2acos⁡θ⋅acos⁡θ dθ=a2∫0π/2cos⁡2θ dθ=a2⋅π4\int_{0}^{\pi/2}a\cos\theta\cdot a\cos\theta\,d\theta=a^{2}\int_{0}^{\pi/2}\cos^{2}\theta\,d\theta=a^{2}\cdot\frac{\pi}{4}. Multiplying by 4: πa2\pi a^{2}. The formula for the area of a disk, learned in high school without proof, thus comes out of a trigonometric substitution and the power reduction of cos⁡2\cos^{2}.

b)

y′=−tan⁡xy'=-\tan x, so 1+y′2=1+tan⁡2x=sec⁡x\sqrt{1+y'^{2}}=\sqrt{1+\tan^{2}x}=\sec x, the secant being positive on [0,π4]\left[0, \frac{\pi}{4}\right]. The length is ∫0π/4sec⁡x dx=ln⁡(2+1)≈0.8814\int_{0}^{\pi/4}\sec x\,dx=\ln\left(\sqrt{2}+1\right)\approx 0.8814. This is exactly the integral of the secant computed in Part A, and the coincidence is no coincidence: the identity 1+tan⁡2=sec⁡21+\tan^{2}=\sec^{2} brings out the secant in every arc length of a curve whose slope is a tangent.

c)

y′=xy'=x, so the length is ∫011+x2 dx\int_{0}^{1}\sqrt{1+x^{2}}\,dx, the integral from Part B with a=1a=1: [x1+x22+12ln⁡(x+1+x2)]01=22+12ln⁡(1+2)≈0.7071+0.4407≈1.148\left[\frac{x\sqrt{1+x^{2}}}{2}+\frac{1}{2}\ln\left(x+\sqrt{1+x^{2}}\right)\right]_{0}^{1}=\frac{\sqrt{2}}{2}+\frac{1}{2}\ln\left(1+\sqrt{2}\right)\approx 0.7071+0.4407\approx 1.148. Compare with the chord, of length 1+0.25≈1.118\sqrt{1+0.25}\approx 1.118: the parabola is only 3% longer than the segment joining its endpoints.

d)

By the disk method, V=π∫01dx1+x2=π[arctan⁡x]01=π24≈2.467V=\pi\int_{0}^{1}\frac{dx}{1+x^{2}}=\pi\left[\arctan x\right]_{0}^{1}=\frac{\pi^{2}}{4}\approx 2.467. A volume equal to π24\frac{\pi^{2}}{4}: the square of π\pi appears because π\pi comes once from the rotation and once from the inverse tangent, two completely independent origins.

e)

The area is ∫0+∞dx1+x2=π2\int_{0}^{+\infty}\frac{dx}{1+x^{2}}=\frac{\pi}{2}, so it is FINITE. The volume of revolution is π∫0+∞dx(1+x2)2=π⋅π4=π24≈2.467\pi\int_{0}^{+\infty}\frac{dx}{\left(1+x^{2}\right)^{2}}=\pi\cdot\frac{\pi}{4}=\frac{\pi^{2}}{4}\approx 2.467, finite as well. Both converge because the integrand decreases fast enough, like 1x2\frac{1}{x^{2}} for the area and like 1x4\frac{1}{x^{4}} for the volume: squaring speeds up the decrease and makes convergence even more comfortable. This is not always the case, and the comparison is worth making with Gabriel's horn, generated by y=1xy=\frac{1}{x} on [1,+∞)\left[1, +\infty\right), whose volume is finite while the area under the curve is infinite.

Exercise 20: Synthesis problem: eight integrals, one decision tree

Here are eight mixed integrals, with no hint about the method, as on an exam. For each one, the difficulty is not the computation but the DIAGNOSIS: identifying in a few seconds which family it belongs to.

  • a) Compute ∫sin⁡3xcos⁡4x dx\int\sin^{3}x\cos^{4}x\,dx and ∫sec⁡4xtan⁡2x dx\int\sec^{4}x\tan^{2}x\,dx.
  • b) Compute ∫dxx2−16\int\frac{dx}{\sqrt{x^{2}-16}} and ∫x dxx2−16\int\frac{x\,dx}{\sqrt{x^{2}-16}}.
  • c) Compute ∫dxx2+4x+8\int\frac{dx}{x^{2}+4x+8} and ∫dxx2x2+1\int\frac{dx}{x^{2}\sqrt{x^{2}+1}}.
  • d) Compute ∫arctan⁡(3x)dx\int\arctan\left(3x\right)dx and ∫xarcsin⁡(x2)dx\int x\arcsin\left(x^{2}\right)dx.
  • e) Write out the complete decision tree of the set: in front of a trigonometric integral or one with a quadratic under a root, which questions should you ask, and in what order?

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

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

Answers

  • a) −cos⁡5x5+cos⁡7x7+C-\frac{\cos^{5}x}{5}+\frac{\cos^{7}x}{7}+C; tan⁡3x3+tan⁡5x5+C\frac{\tan^{3}x}{3}+\frac{\tan^{5}x}{5}+C
  • b) ln⁡∣x+x2−16∣+C\ln|x+\sqrt{x^{2}-16}|+C; x2−16+C\sqrt{x^{2}-16}+C
  • c) 12arctan⁡x+22+C\frac{1}{2}\arctan\frac{x+2}{2}+C; −x2+1x+C-\frac{\sqrt{x^{2}+1}}{x}+C
  • d) xarctan⁡3x−16ln⁡(1+9x2)+Cx\arctan 3x-\frac{1}{6}\ln(1+9x^{2})+C; x2arcsin⁡(x2)+1−x42+C\frac{x^{2}\arcsin(x^{2})+\sqrt{1-x^{4}}}{2}+C
  • e) Derivative in the numerator, inverse function, parity, square, triangle
a)

Odd power of sine: split off sin⁡x\sin x and set u=cos⁡xu=\cos x, hence −∫(1−u2)u4du=−cos⁡5x5+cos⁡7x7+C-\int(1-u^{2})u^{4}du=-\frac{\cos^{5}x}{5}+\frac{\cos^{7}x}{7}+C. For the second, EVEN power of secant: split off sec⁡2x\sec^{2}x and set u=tan⁡xu=\tan x, hence ∫(1+u2)u2du=tan⁡3x3+tan⁡5x5+C\int(1+u^{2})u^{2}du=\frac{\tan^{3}x}{3}+\frac{\tan^{5}x}{5}+C.

b)

The first has no factor xx in the numerator: it is the substitution x=4sec⁡θx=4\sec\theta, or the formula directly, and you get ln⁡∣x+x2−16∣+C\ln\left|x+\sqrt{x^{2}-16}\right|+C. The second has one, and it is proportional to the derivative of the radicand: algebraic substitution u=x2−16u=x^{2}-16, hence x2−16+C\sqrt{x^{2}-16}+C. Two neighbouring integrals, two opposite families, and the factor xx is the only judge.

c)

x2+4x+8=(x+2)2+4x^{2}+4x+8=(x+2)^{2}+4: complete the square, then inverse tangent, 12arctan⁡x+22+C\frac{1}{2}\arctan\frac{x+2}{2}+C. For the second, a root of the form x2+a2\sqrt{x^{2}+a^{2}} with no useful factor in the numerator: substitution x=tan⁡θx=\tan\theta, which gives −x2+1x+C-\frac{\sqrt{x^{2}+1}}{x}+C.

d)

An inverse function alone: integration by parts with the invisible factor 1. ∫arctan⁡3x dx=xarctan⁡3x−∫3x dx1+9x2=xarctan⁡3x−16ln⁡(1+9x2)+C\int\arctan 3x\,dx=x\arctan 3x-\int\frac{3x\,dx}{1+9x^{2}}=x\arctan 3x-\frac{1}{6}\ln\left(1+9x^{2}\right)+C. For the second, the factor xx is the derivative of x2x^{2}: first substitute u=x2u=x^{2}, which gives 12∫arcsin⁡u du=12(uarcsin⁡u+1−u2)\frac{1}{2}\int\arcsin u\,du=\frac{1}{2}\left(u\arcsin u+\sqrt{1-u^{2}}\right), that is x2arcsin⁡(x2)+1−x42+C\frac{x^{2}\arcsin\left(x^{2}\right)+\sqrt{1-x^{4}}}{2}+C.

e)

First question: is there, in the numerator, a factor proportional to the DERIVATIVE of what is under the root or in the denominator? If so, algebraic substitution, and the work is done. Second question: is the integrand an inverse trigonometric function, alone or multiplied by a power of xx? If so, integration by parts, differentiating the inverse function. Third question: is it a product of trigonometric powers? If so, apply the parity rule, splitting off one factor from the odd power or reducing the powers if both are even. Fourth question: is the denominator or the radicand a quadratic? If so, complete the square, which brings you back to one of the three standard forms. Only then, fifth question: is there still a root of the type a2−x2\sqrt{a^{2}-x^{2}}, a2+x2\sqrt{a^{2}+x^{2}} or x2−a2\sqrt{x^{2}-a^{2}}? Then, and only then, bring out the trigonometric substitution and its triangle. The order matters as much as the list: the trigonometric substitution is the last resort, not the first reflex, and half the marks lost on exams come from drawing it too early.

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 Substitution, parts and partial fractions, 201-SN3-RE Next chapter Integration tricks: Weierstrass, King's rule, Wallis, 201-SN3-RE

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

See also

Looking for an integral calculus tutor in Montreal?

Get in touch for a first session. We go through the chapter family by family, with a method for spotting in thirty seconds which of the ten techniques applies, instead of trying them all.

Site by Studio Squalli