Integral Calculus 201-SN3-RE • CEGEP, Montreal

Corrected exercises: substitution, integration by parts and partial fractions (201-SN3-RE)

Here is a long set of 20 corrected exercises on the three techniques that make up most of an integral calculus course, as 201-SN3-RE (formerly 201-NYB) requires them: substitution (change of variable), integration by parts and partial fraction decomposition. The sets organized by chapter introduce them; this one exhausts them, with the cases textbooks dispatch in one line, such as the cover-up method, the repeated irreducible quadratic, the tabular method or the clever choice of the constant in v.

Work through it in four sessions of about 75 minutes, one per part. Part A, substitution: the five forms where the derivative is already present, the case where an x survives the substitution, rationalizing substitutions that turn an exponential or a root into a rational function, handling the limits of a definite integral with the monotonicity condition, and the three situations where substitution cannot work. Part B, integration by parts: the LIATE rule and why it works, repeated parts with the tabular method, the cyclic case and its general formula, the boundary term on a definite integral, and the invisible factor 1 beyond the logarithm. Part C, partial fractions: the four cases of decomposition, the cover-up method and its exact limits, long division of improper fractions, the irreducible quadratic that produces a logarithm and an arctangent, and the three settings where the decomposition really pays off. Part D, strategy.

The thread of the set fits in one question, asked before any other in front of an unfamiliar integral: is the factor next to the complicated expression its DERIVATIVE? If so, a substitution is enough. If not, check whether it is a product of different families, in which case it is integration by parts, or a quotient of polynomials, in which case it is partial fractions. The order in which you ask these questions matters as much as the techniques themselves.

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

  • • The five forms of direct substitution: ∫f′f=ln⁡∣f∣\int\frac{f'}{f}=\ln\left|f\right|; ∫f′fn=fn+1n+1\int f'f^{n}=\frac{f^{n+1}}{n+1}; ∫f′ef=ef\int f'e^{f}=e^{f}; ∫f′f=2f\int\frac{f'}{\sqrt{f}}=2\sqrt{f}; ∫f′cos⁡f=sin⁡f\int f'\cos f=\sin f. The test: differentiate the most complicated expression and look for the result elsewhere in the integrand.
  • • Substitution with a way back: if an xx survives, express it in terms of uu. Rationalizing substitutions: x=unx=u^{n} in front of xn\sqrt[n]{x}, x=umx=u^{m} with mm the LCM in front of several roots, u=exu=e^{x} in front of an exponential. In a definite integral, the substitution must be MONOTONIC on the interval.
  • • Parts: ∫u dv=uv−∫v du\int u\,dv=uv-\int v\,du, and on a definite integral the boundary term [uv]ab\left[uv\right]_{a}^{b} is evaluated at BOTH limits. Priority order for uu: LIATE, Logarithmic, Inverse trigonometric, Algebraic, Trigonometric, Exponential. Tabular method as soon as a polynomial factor eventually differentiates to zero.
  • • Cyclic case: ∫eaxsin⁡(bx)dx=eax(asin⁡bx−bcos⁡bx)a2+b2\int e^{ax}\sin\left(bx\right)dx=\frac{e^{ax}\left(a\sin bx-b\cos bx\right)}{a^{2}+b^{2}} and ∫eaxcos⁡(bx)dx=eax(acos⁡bx+bsin⁡bx)a2+b2\int e^{ax}\cos\left(bx\right)dx=\frac{e^{ax}\left(a\cos bx+b\sin bx\right)}{a^{2}+b^{2}}. Keep the SAME choice of uu in both rounds, otherwise the calculation goes back to where it started.
  • • Partial fractions: divide if the numerator reaches the degree of the denominator, factor, then one term per simple factor, as many terms as the multiplicity for a repeated factor, and a numerator Bx+CBx+C for each irreducible quadratic. The number of constants always equals the DEGREE of the denominator.
  • • Cover-up method: for the coefficient of 1x−a\frac{1}{x-a}, cover (x−a)\left(x-a\right) and evaluate the rest at aa. On a repeated factor it gives only the highest power, and nothing at all on an irreducible quadratic. Remember: ∫dxx2−a2=12aln⁡∣x−ax+a∣\int\frac{dx}{x^{2}-a^{2}}=\frac{1}{2a}\ln\left|\frac{x-a}{x+a}\right|, whereas ∫dxx2+a2=1aarctan⁡xa\int\frac{dx}{x^{2}+a^{2}}=\frac{1}{a}\arctan\frac{x}{a}.

Part A: Substitution in all its forms (/50)

Exercise 1: The five forms where the derivative is already there

A substitution is not invented: it is SPOTTED. In almost every exam case, the integrand already contains, up to a constant factor, the derivative of the expression to substitute. Five forms keep coming back.

  • a) Compute ∫3x2+2x3+2x+1dx\int\frac{3x^{2}+2}{x^{3}+2x+1}dx and ∫cos⁡x2+sin⁡xdx\int\frac{\cos x}{2+\sin x}dx. Which form do you recognize?
  • b) Compute ∫x(x2+1)5dx\int x\left(x^{2}+1\right)^{5}dx and ∫(ln⁡x)3xdx\int\frac{\left(\ln x\right)^{3}}{x}dx.
  • c) Compute ∫esin⁡xcos⁡x dx\int e^{\sin x}\cos x\,dx and ∫sec⁡2x etan⁡xdx\int\sec^{2}x\,e^{\tan x}dx.
  • d) Compute ∫x dxx2+4\int\frac{x\,dx}{\sqrt{x^{2}+4}} and ∫dxx(1+x)2\int\frac{dx}{\sqrt{x}\left(1+\sqrt{x}\right)^{2}}.
  • e) State the five forms in their general form, then say in one sentence the test that decides, in three seconds, whether a direct substitution will work.

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

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

Answers

  • a) ln⁡∣x3+2x+1∣+C\ln|x^{3}+2x+1|+C; ln⁡(2+sin⁡x)+C\ln(2+\sin x)+C
  • b) (x2+1)612+C\frac{(x^{2}+1)^{6}}{12}+C; (ln⁡x)44+C\frac{(\ln x)^{4}}{4}+C
  • c) esin⁡x+Ce^{\sin x}+C; etan⁡x+Ce^{\tan x}+C
  • d) x2+4+C\sqrt{x^{2}+4}+C; −21+x+C-\frac{2}{1+\sqrt{x}}+C
  • e) Is the derivative of the inside a factor?
a)

Form ∫f′f\int\frac{f'}{f}, whose antiderivative is ln⁡∣f∣\ln\left|f\right|. The numerator 3x2+23x^{2}+2 is exactly the derivative of x3+2x+1x^{3}+2x+1: the answer is ln⁡∣x3+2x+1∣+C\ln\left|x^{3}+2x+1\right|+C. Likewise cos⁡x\cos x is the derivative of 2+sin⁡x2+\sin x, hence ln⁡(2+sin⁡x)+C\ln\left(2+\sin x\right)+C, the absolute value being unnecessary since 2+sin⁡x2+\sin x stays positive.

b)

Form ∫f′fn\int f'f^{n}, with antiderivative fn+1n+1\frac{f^{n+1}}{n+1}. Here xx is half the derivative of x2+1x^{2}+1: 12∫u5du=(x2+1)612+C\frac{1}{2}\int u^{5}du=\frac{\left(x^{2}+1\right)^{6}}{12}+C. For the second, 1x\frac{1}{x} is the derivative of ln⁡x\ln x, hence (ln⁡x)44+C\frac{\left(\ln x\right)^{4}}{4}+C.

c)

Form ∫f′ef\int f'e^{f}, with antiderivative efe^{f}. Since cos⁡x=(sin⁡x)′\cos x=\left(\sin x\right)': esin⁡x+Ce^{\sin x}+C. Since sec⁡2x=(tan⁡x)′\sec^{2}x=\left(\tan x\right)': etan⁡x+Ce^{\tan x}+C. These two integrals look fearsome and are settled without writing a single line of substitution, provided you have the table of derivatives in your head.

d)

Form ∫f′f\int\frac{f'}{\sqrt{f}}, with antiderivative 2f2\sqrt{f}. Here x=12(x2+4)′x=\frac{1}{2}\left(x^{2}+4\right)', hence x2+4+C\sqrt{x^{2}+4}+C. For the second, 12x\frac{1}{2\sqrt{x}} is the derivative of 1+x1+\sqrt{x}: the integral equals 2∫duu22\int\frac{du}{u^{2}} with u=1+xu=1+\sqrt{x}, that is −21+x+C-\frac{2}{1+\sqrt{x}}+C.

e)

The five forms: ∫f′f=ln⁡∣f∣\int\frac{f'}{f}=\ln\left|f\right|; ∫f′fn=fn+1n+1\int f'f^{n}=\frac{f^{n+1}}{n+1} for n≠−1n\neq -1; ∫f′ef=ef\int f'e^{f}=e^{f}; ∫f′f=2f\int\frac{f'}{\sqrt{f}}=2\sqrt{f}; and ∫f′cos⁡f=sin⁡f\int f'\cos f=\sin f, with its trigonometric variants. The test fits in one question: mentally DIFFERENTIATE the most complicated expression in the integrand, the one inside a power, a logarithm, an exponential or a root, and look at whether the result appears elsewhere in the integrand, up to a constant factor. If it does, the substitution is immediate; if not, no direct substitution will work and you must change technique.

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: When an x is left standing

Sometimes the substitution cleans up the hard part but leaves an isolated xx that the dudu does not absorb. The move is then to express this xx IN TERMS OF uu, which the substitution relation always allows.

  • a) Compute ∫xx+1 dx\int x\sqrt{x+1}\,dx.
  • b) Compute ∫x(x+2)3dx\int\frac{x}{\left(x+2\right)^{3}}dx.
  • c) Compute ∫x3x2+1 dx\int x^{3}\sqrt{x^{2}+1}\,dx. How does this case differ from the previous two?
  • d) Compute ∫dx1+x\int\frac{dx}{1+\sqrt{x}}.
  • e) Compare ∫xx+1 dx\int x\sqrt{x+1}\,dx and ∫xx2+1 dx\int x\sqrt{x^{2}+1}\,dx: why is the second one much faster?

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

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

Answers

  • a) 25(x+1)5/2−23(x+1)3/2+C\frac{2}{5}(x+1)^{5/2}-\frac{2}{3}(x+1)^{3/2}+C
  • b) −1x+2+1(x+2)2+C-\frac{1}{x+2}+\frac{1}{(x+2)^{2}}+C
  • c) (x2+1)5/25−(x2+1)3/23+C\frac{(x^{2}+1)^{5/2}}{5}-\frac{(x^{2}+1)^{3/2}}{3}+C
  • d) 2x−2ln⁡(1+x)+C2\sqrt{x}-2\ln(1+\sqrt{x})+C
  • e) The factor xx is the hidden derivative
a)

Let u=x+1u=x+1, so x=u−1x=u-1 and dx=dudx=du: ∫(u−1)u du=∫(u3/2−u1/2)du=2u5/25−2u3/23\int(u-1)\sqrt{u}\,du=\int\left(u^{3/2}-u^{1/2}\right)du=\frac{2u^{5/2}}{5}-\frac{2u^{3/2}}{3}, that is 2(x+1)5/25−2(x+1)3/23+C\frac{2\left(x+1\right)^{5/2}}{5}-\frac{2\left(x+1\right)^{3/2}}{3}+C. The remaining xx was replaced by u−1u-1: that is the whole trick.

b)

u=x+2u=x+2, x=u−2x=u-2: ∫u−2u3du=∫(u−2−2u−3)du=−1u+1u2\int\frac{u-2}{u^{3}}du=\int\left(u^{-2}-2u^{-3}\right)du=-\frac{1}{u}+\frac{1}{u^{2}}, that is −1x+2+1(x+2)2+C-\frac{1}{x+2}+\frac{1}{\left(x+2\right)^{2}}+C.

c)

u=x2+1u=x^{2}+1 gives du=2x dxdu=2x\,dx: one factor xx is ABSORBED by the dudu, and what remains is x2=u−1x^{2}=u-1, which is expressed without a root. 12∫(u−1)u du=u5/25−u3/23\frac{1}{2}\int(u-1)\sqrt{u}\,du=\frac{u^{5/2}}{5}-\frac{u^{3/2}}{3}, that is (x2+1)5/25−(x2+1)3/23+C\frac{\left(x^{2}+1\right)^{5/2}}{5}-\frac{\left(x^{2}+1\right)^{3/2}}{3}+C. The difference from the first two cases is that the power of xx was ODD: one factor goes into the dudu and the rest, an even power, converts cleanly. This is exactly the mechanism behind odd powers of sine.

d)

u=xu=\sqrt{x}, so x=u2x=u^{2} and dx=2u dudx=2u\,du: ∫2u1+udu=2∫(1−11+u)du=2u−2ln⁡∣1+u∣\int\frac{2u}{1+u}du=2\int\left(1-\frac{1}{1+u}\right)du=2u-2\ln\left|1+u\right|, that is 2x−2ln⁡(1+x)+C2\sqrt{x}-2\ln\left(1+\sqrt{x}\right)+C. Note the division done along the way: as soon as a quotient has comparable degrees, divide before integrating.

e)

In the second one, the derivative of the inside is 2x2x: the factor xx in front of the root IS the hidden derivative, the substitution absorbs everything and you get (x2+1)3/23+C\frac{\left(x^{2}+1\right)^{3/2}}{3}+C in two lines. In the first one, the derivative of x+1x+1 is 1: the factor xx has nothing to do with it, it survives the substitution and must be re-expressed, which doubles the length of the calculation. The general rule is that the cost of a substitution is measured by what it leaves standing.

Exercise 3: Rationalizing: nested roots and exponentials

A well-chosen substitution turns an irrational or exponential integral into a simple RATIONAL FUNCTION, which Part C will then be able to decompose. This is the most underrated job of substitution: it does not compute, it changes the family.

  • a) Compute ∫dx1+ex\int\frac{dx}{1+e^{x}} by letting u=exu=e^{x}.
  • b) Compute ∫e2x1+exdx\int\frac{e^{2x}}{1+e^{x}}dx.
  • c) Compute ∫dxx+x3\int\frac{dx}{\sqrt{x}+\sqrt[3]{x}}. Which exponent should you choose for the substitution, and why?
  • d) Compute ∫dxex+e−x\int\frac{dx}{e^{x}+e^{-x}}.
  • e) State the rule for choosing the rationalizing substitution in front of xn\sqrt[n]{x}, in front of exe^{x} and in front of ax+bn\sqrt[n]{ax+b}.

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

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

Answers

  • a) x−ln⁡(1+ex)+Cx-\ln(1+e^{x})+C
  • b) ex−ln⁡(1+ex)+Ce^{x}-\ln(1+e^{x})+C
  • c) x=u6x=u^{6}: 2u3−3u2+6u−6ln⁡∣u+1∣+C2u^{3}-3u^{2}+6u-6\ln|u+1|+C
  • d) arctan⁡(ex)+C\arctan(e^{x})+C
  • e) x=unx=u^{n}, LCM of the indices, u=exu=e^{x}, u=ax+bnu=\sqrt[n]{ax+b}
a)

u=exu=e^{x} gives du=exdxdu=e^{x}dx, so dx=duudx=\frac{du}{u}: ∫duu(1+u)\int\frac{du}{u\left(1+u\right)}. The decomposition 1u(1+u)=1u−11+u\frac{1}{u(1+u)}=\frac{1}{u}-\frac{1}{1+u} gives ln⁡∣u∣−ln⁡∣1+u∣=ln⁡u1+u\ln\left|u\right|-\ln\left|1+u\right|=\ln\frac{u}{1+u}, that is x−ln⁡(1+ex)+Cx-\ln\left(1+e^{x}\right)+C. An exponential integral has become a rational function in two lines.

b)

u=exu=e^{x} and dx=duudx=\frac{du}{u}: ∫u21+u⋅duu=∫u1+udu=∫(1−11+u)du=u−ln⁡∣1+u∣\int\frac{u^{2}}{1+u}\cdot\frac{du}{u}=\int\frac{u}{1+u}du=\int\left(1-\frac{1}{1+u}\right)du=u-\ln\left|1+u\right|, that is ex−ln⁡(1+ex)+Ce^{x}-\ln\left(1+e^{x}\right)+C.

c)

You need a substitution that makes BOTH exponents whole numbers at once: let x=u6x=u^{6}, because 6 is the least common multiple of 2 and 3. Then x=u3\sqrt{x}=u^{3}, x3=u2\sqrt[3]{x}=u^{2} and dx=6u5dudx=6u^{5}du: ∫6u5u3+u2du=∫6u3u+1du\int\frac{6u^{5}}{u^{3}+u^{2}}du=\int\frac{6u^{3}}{u+1}du. Long division gives u3u+1=u2−u+1−1u+1\frac{u^{3}}{u+1}=u^{2}-u+1-\frac{1}{u+1}, hence 2u3−3u2+6u−6ln⁡∣u+1∣+C2u^{3}-3u^{2}+6u-6\ln\left|u+1\right|+C with u=x1/6u=x^{1/6}. A smaller exponent would leave a root, and a larger one would make the polynomial needlessly heavy.

d)

Multiply top and bottom by exe^{x}: ∫exdxe2x+1\int\frac{e^{x}dx}{e^{2x}+1}. With u=exu=e^{x}, this is ∫duu2+1=arctan⁡u\int\frac{du}{u^{2}+1}=\arctan u, that is arctan⁡(ex)+C\arctan\left(e^{x}\right)+C. The preliminary multiplication was essential: without it, no substitution gives a clean result. Notice along the way that 1ex+e−x=12cosh⁡x\frac{1}{e^{x}+e^{-x}}=\frac{1}{2\cosh x}, which explains why this result is related to the hyperbolic functions.

e)

In front of xn\sqrt[n]{x}, let x=unx=u^{n}. In front of several roots with different indices, let x=umx=u^{m} where mm is the LCM of the indices. In front of exe^{x}, let u=exu=e^{x}, which always gives dx=duudx=\frac{du}{u} and turns any fraction in exe^{x} into a rational function of uu. In front of ax+bn\sqrt[n]{ax+b}, let u=ax+bnu=\sqrt[n]{ax+b}, so x=un−bax=\frac{u^{n}-b}{a}. In all four cases the goal is the same: make the fractional exponents disappear to land on a rational function, the only family we know how to integrate systematically.

Exercise 4: Substituting in a definite integral

In a definite integral, two strategies are correct: change the limits of integration along with the variable, or go back to xx before evaluating. The first is almost always shorter, but it requires a check that the second does not.

  • a) Compute ∫1eln⁡xxdx\int_{1}^{e}\frac{\ln x}{x}dx by changing the limits.
  • b) Compute ∫01x dxx2+1\int_{0}^{1}\frac{x\,dx}{x^{2}+1} and ∫0ln⁡2ex1+e2xdx\int_{0}^{\ln 2}\frac{e^{x}}{1+e^{2x}}dx.
  • c) Compute ∫04dx1+x\int_{0}^{4}\frac{dx}{1+\sqrt{x}}.
  • d) A student computes ∫−11x3(x4+1)2dx\int_{-1}^{1}x^{3}\left(x^{4}+1\right)^{2}dx by letting u=x4+1u=x^{4}+1 and finds zero because both limits become u=2u=2. Is the answer right? Is the reasoning?
  • e) What condition must a substitution satisfy for changing the limits to be enough? Give a counterexample.

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

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

Answers

  • a) 12\frac{1}{2}
  • b) ln⁡22≈0.3466\frac{\ln 2}{2}\approx 0.3466; arctan⁡2−π4≈0.3218\arctan 2-\frac{\pi}{4}\approx 0.3218
  • c) 2(2−ln⁡3)≈1.8032(2-\ln 3)\approx 1.803
  • d) Right because the integrand is odd, wrong reasoning
  • e) Monotonic substitution; u=x2u=x^{2} on [−1,1][-1, 1] fails
a)

u=ln⁡xu=\ln x, du=dxxdu=\frac{dx}{x}; x=1x=1 gives u=0u=0 and x=ex=e gives u=1u=1: ∫01u du=12\int_{0}^{1}u\,du=\frac{1}{2}.

b)

For the first, u=x2+1u=x^{2}+1 goes from 1 to 2: 12∫12duu=ln⁡22≈0.3466\frac{1}{2}\int_{1}^{2}\frac{du}{u}=\frac{\ln 2}{2}\approx 0.3466. For the second, u=exu=e^{x} goes from 1 to 2: ∫12du1+u2=arctan⁡2−arctan⁡1≈1.1071−0.7854≈0.3218\int_{1}^{2}\frac{du}{1+u^{2}}=\arctan 2-\arctan 1\approx 1.1071-0.7854\approx 0.3218.

c)

u=xu=\sqrt{x} goes from 0 to 2, with dx=2u dudx=2u\,du: ∫022u1+udu=2∫02(1−11+u)du=2[u−ln⁡(1+u)]02=2(2−ln⁡3)≈1.803\int_{0}^{2}\frac{2u}{1+u}du=2\int_{0}^{2}\left(1-\frac{1}{1+u}\right)du=2\left[u-\ln\left(1+u\right)\right]_{0}^{2}=2\left(2-\ln 3\right)\approx 1.803.

d)

The answer is RIGHT, but the reasoning is wrong, and that is worse. The integrand x3(x4+1)2x^{3}\left(x^{4}+1\right)^{2} is an ODD function integrated over a symmetric interval: that is why it equals zero. The argument of equal limits is worthless here: the substitution u=x4+1u=x^{4}+1 is not one-to-one on [−1,1]\left[-1, 1\right], since xx and −x-x give the same uu. Writing ∫22\int_{2}^{2} amounts to folding the interval onto itself, merging two pieces that do cancel here, but that would ADD UP for an even function. The same reasoning applied to ∫−11x3(x4+1)2⋅x dx\int_{-1}^{1}x^{3}\left(x^{4}+1\right)^{2}\cdot x\,dx, an even integrand that is positive everywhere except at 0, would again give zero, which would be absurd.

e)

The substitution must be MONOTONIC, hence one-to-one, on the interval of integration: that is what guarantees a correspondence without folding between the values of xx and those of uu. Counterexample: on [−1,1]\left[-1, 1\right], the substitution u=x2u=x^{2} fails, because it sends −1-1 and 11 to the same u=1u=1. For ∫−11x2dx\int_{-1}^{1}x^{2}dx, it would give ∫11\int_{1}^{1}, so zero, whereas the true value is 23\frac{2}{3}. The remedy is to split the interval at x=0x=0, where the substitution stops being monotonic, and to handle the two pieces separately.

in x, from 1 to e1/2y = ln(x)/xin u = ln x, from 0 to 11/2y = u

Exercise 5: When substitution cannot work

Knowing that a technique will fail saves as much time as knowing which one to apply. Three families of integrands resist substitution completely, and each one points to another technique.

  • a) Compare ∫xex2dx\int xe^{x^{2}}dx and ∫ex2dx\int e^{x^{2}}dx. What can be said about the second one?
  • b) Compare ∫ln⁡xxdx\int\frac{\ln x}{x}dx and ∫ln⁡x dx\int\ln x\,dx. Which technique does the second one call for?
  • c) Compare ∫x dx1−x2\int\frac{x\,dx}{\sqrt{1-x^{2}}} and ∫dx1−x2\int\frac{dx}{\sqrt{1-x^{2}}}, then ∫x dxx2−1\int\frac{x\,dx}{x^{2}-1} and ∫dxx2−1\int\frac{dx}{x^{2}-1}.
  • d) Facing ∫x2+1x2−4dx\int\frac{x^{2}+1}{x^{2}-4}dx, a student spends ten minutes looking for a substitution. What should they have seen immediately?
  • e) Write the list of signals that, on first reading, RULE OUT substitution and point to the technique to use.

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

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

Answers

  • a) ex22+C\frac{e^{x^{2}}}{2}+C; ∫ex2dx\int e^{x^{2}}dx not elementary
  • b) (ln⁡x)22+C\frac{(\ln x)^{2}}{2}+C; parts: xln⁡x−x+Cx\ln x-x+C
  • c) −1−x2-\sqrt{1-x^{2}}, 12ln⁡∣x2−1∣\frac{1}{2}\ln|x^{2}-1|; arcsin⁡x\arcsin x, 12ln⁡∣x−1x+1∣\frac{1}{2}\ln\left|\frac{x-1}{x+1}\right|
  • d) Divide: 1+5x2−41+\frac{5}{x^{2}-4}
  • e) Product: parts; fraction: decomposition; root: trigonometric substitution
a)

The first contains the factor xx, half the derivative of x2x^{2}: immediate substitution, ex22+C\frac{e^{x^{2}}}{2}+C. The second does not, and no substitution can handle it. Better still: its antiderivative is not an ELEMENTARY function, it cannot be expressed with any finite combination of the usual functions. This is not a limit of our skill but a theorem, and the only acceptable answer is numerical, or by a power series.

b)

The first has the form ∫f′f\int f'f with f=ln⁡xf=\ln x: it equals (ln⁡x)22+C\frac{\left(\ln x\right)^{2}}{2}+C. The second has no factor 1x\frac{1}{x}: it calls for integration by PARTS, with the invisible factor 1, and gives xln⁡x−x+Cx\ln x-x+C. The presence or absence of the 1x\frac{1}{x} tips you from one technique to the other.

c)

With the factor xx: −1−x2+C-\sqrt{1-x^{2}}+C by substitution, and 12ln⁡∣x2−1∣+C\frac{1}{2}\ln\left|x^{2}-1\right|+C likewise. Without it: arcsin⁡x+C\arcsin x+C, which requires a TRIGONOMETRIC substitution, and 12ln⁡∣x−1x+1∣+C\frac{1}{2}\ln\left|\frac{x-1}{x+1}\right|+C, which requires PARTIAL FRACTIONS. A single factor xx therefore separates four different techniques, and it is the first detail to look at in the whole chapter.

d)

That the degree of the numerator EQUALS that of the denominator: the fraction is improper, and no substitution can apply before the division. x2+1x2−4=1+5x2−4\frac{x^{2}+1}{x^{2}-4}=1+\frac{5}{x^{2}-4}, and the remainder is decomposed into partial fractions. The rule is absolute: as soon as a rational function has a numerator of degree greater than or equal to that of the denominator, LONG DIVISION comes before everything else.

e)

First signal: the integrand is a PRODUCT of two functions from different families, a polynomial and an exponential, a polynomial and a logarithm, an inverse trigonometric function and something else, without one being the derivative of the inside of the other. That is integration by parts. Second signal: the integrand is a RATIONAL FUNCTION, a quotient of two polynomials, without the numerator being proportional to the derivative of the denominator. That is partial fractions, preceded by a division if the degree of the top reaches that of the bottom. Third signal: a ROOT of the form a2±x2\sqrt{a^{2}\pm x^{2}} or x2−a2\sqrt{x^{2}-a^{2}} remains, with no factor xx to absorb it. That is trigonometric substitution. And if none of the three applies and substitution fails too, consider that the antiderivative may simply not exist in elementary form.

Part B: Integration by parts (/50)

Exercise 6: Choosing u: the LIATE rule and why it works

The formula ∫u dv=uv−∫v du\int u\,dv=uv-\int v\,du does not say which factor to take as uu, and yet that is the whole problem: a good choice simplifies the remaining integral, a bad one makes it worse. The acronym LIATE, for Logarithmic, Inverse trigonometric, Algebraic, Trigonometric, Exponential, gives the priority order for uu.

  • a) Compute ∫xln⁡x dx\int x\ln x\,dx, justifying the choice of uu with LIATE.
  • b) Compute ∫xe−xdx\int xe^{-x}dx and ∫xcos⁡x dx\int x\cos x\,dx.
  • c) Compute ∫ln⁡x dx\int\ln x\,dx. Why is the choice dv=dxdv=dx forced here rather than clever?
  • d) Redo ∫xexdx\int xe^{x}dx with the WRONG choice, u=exu=e^{x} and dv=x dxdv=x\,dx. Write the new integral and say precisely how the situation got worse.
  • e) Justify the LIATE order: what property do the functions at the front share, and which one do those at the back share?

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

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

Answers

  • a) x22ln⁡x−x24+C\frac{x^{2}}{2}\ln x-\frac{x^{2}}{4}+C
  • b) −(x+1)e−x+C-(x+1)e^{-x}+C; xsin⁡x+cos⁡x+Cx\sin x+\cos x+C
  • c) xln⁡x−x+Cx\ln x-x+C, the only possible choice
  • d) x22ex−12∫x2exdx\frac{x^{2}}{2}e^{x}-\frac{1}{2}\int x^{2}e^{x}dx: worse
  • e) At the front: simple derivative; at the back: antiderivative that reproduces itself
a)

The logarithm is at the front of LIATE: take u=ln⁡xu=\ln x and dv=x dxdv=x\,dx, so du=dxxdu=\frac{dx}{x} and v=x22v=\frac{x^{2}}{2}. Hence x22ln⁡x−∫x22⋅dxx=x22ln⁡x−12∫x dx=x22ln⁡x−x24+C\frac{x^{2}}{2}\ln x-\int\frac{x^{2}}{2}\cdot\frac{dx}{x}=\frac{x^{2}}{2}\ln x-\frac{1}{2}\int x\,dx=\frac{x^{2}}{2}\ln x-\frac{x^{2}}{4}+C. The remaining integral has become a polynomial one: the logarithm has disappeared, which is exactly what we wanted.

b)

Here A comes before E: u=xu=x and dv=e−xdxdv=e^{-x}dx, so v=−e−xv=-e^{-x}. ∫xe−xdx=−xe−x+∫e−xdx=−xe−x−e−x=−(x+1)e−x+C\int xe^{-x}dx=-xe^{-x}+\int e^{-x}dx=-xe^{-x}-e^{-x}=-\left(x+1\right)e^{-x}+C. Likewise, u=xu=x and dv=cos⁡x dxdv=\cos x\,dx give xsin⁡x−∫sin⁡x dx=xsin⁡x+cos⁡x+Cx\sin x-\int\sin x\,dx=x\sin x+\cos x+C. In both cases, differentiating xx makes it disappear.

c)

There is only one factor: to apply the formula you MUST make a second one, and the only one available is the factor 1, invisible in the notation. So let u=ln⁡xu=\ln x and dv=1⋅dxdv=1\cdot dx, hence v=xv=x: xln⁡x−∫x⋅dxx=xln⁡x−x+Cx\ln x-\int x\cdot\frac{dx}{x}=x\ln x-x+C. This is not a trick but the only possible route, because no antiderivative of the logarithm is known when you start, which rules out taking it as dvdv.

d)

With u=exu=e^{x} and dv=x dxdv=x\,dx: v=x22v=\frac{x^{2}}{2} and du=exdxdu=e^{x}dx, so ∫xexdx=x22ex−12∫x2exdx\int xe^{x}dx=\frac{x^{2}}{2}e^{x}-\frac{1}{2}\int x^{2}e^{x}dx. The equality is perfectly TRUE, but useless: the degree of the polynomial went from 1 to 2, the remaining integral is harder than the original, and repeating the operation would only make it worse indefinitely. Integration by parts is never wrong; it is only fruitless or productive.

e)

The functions at the front, logarithms and inverse trigonometric functions, have two properties: their DERIVATIVE is algebraic, hence simpler than they are, and their antiderivative is not known at the start. They are therefore the obvious candidates for uu, the role of the one you differentiate. The functions at the back, exponentials and trigonometric functions, have the opposite property: they reproduce themselves when integrated, without getting more complicated, which makes them convenient choices for dvdv. Algebraic functions sit in the middle because they lose one degree at each differentiation: they eventually disappear, provided you differentiate them. LIATE is therefore not an arbitrary recipe, it is the ranking of functions according to what differentiation does to them.

1234512345∫ v du∫ u dv∫ u dv + ∫ v du = uvuv

Exercise 7: Repeated parts and the tabular method

When the algebraic factor has degree nn, it takes nn successive integrations by parts to use it up. Laying them out in a TABLE lets you carry them all out at once, in a single line of calculation.

  • a) Compute ∫x2exdx\int x^{2}e^{x}dx by two successive integrations by parts.
  • b) Describe the tabular method: two columns, which operations, which signs, and when do you stop?
  • c) Compute ∫x3e2xdx\int x^{3}e^{2x}dx by the tabular method.
  • d) Compute ∫x2sin⁡3x dx\int x^{2}\sin 3x\,dx.
  • e) Does the tabular method apply to ∫xln⁡x dx\int x\ln x\,dx? To ∫excos⁡x dx\int e^{x}\cos x\,dx? Justify in both cases.

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

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

Answers

  • a) ex(x2−2x+2)+Ce^{x}(x^{2}-2x+2)+C
  • b) Differentiate on the left, integrate on the right, alternating signs, stop at 0
  • c) e2x(x32−3x24+3x4−38)+Ce^{2x}\left(\frac{x^{3}}{2}-\frac{3x^{2}}{4}+\frac{3x}{4}-\frac{3}{8}\right)+C
  • d) −x2cos⁡3x3+2xsin⁡3x9+2cos⁡3x27+C-\frac{x^{2}\cos 3x}{3}+\frac{2x\sin 3x}{9}+\frac{2\cos 3x}{27}+C
  • e) No in both cases
a)

First round: u=x2u=x^{2}, dv=exdxdv=e^{x}dx, hence x2ex−2∫xexdxx^{2}e^{x}-2\int xe^{x}dx. Second round on the remaining integral: ∫xexdx=xex−ex\int xe^{x}dx=xe^{x}-e^{x}. Altogether, x2ex−2xex+2ex+C=ex(x2−2x+2)+Cx^{2}e^{x}-2xe^{x}+2e^{x}+C=e^{x}\left(x^{2}-2x+2\right)+C. The polynomial lost one degree at each round, until it disappeared.

b)

Draw two columns. On the left, the ALGEBRAIC factor, which you DIFFERENTIATE from row to row until you get zero. On the right, the other factor, which you INTEGRATE from row to row as many times. Then multiply along the diagonals, each product taking an alternating sign ++, −-, ++, −-, starting with ++. Stop as soon as the left column reaches zero, which happens after n+1n+1 rows for a polynomial of degree nn.

c)

Left column: x3x^{3}, 3x23x^{2}, 6x6x, 66, 00. Right column: e2xe^{2x}, e2x2\frac{e^{2x}}{2}, e2x4\frac{e^{2x}}{4}, e2x8\frac{e^{2x}}{8}, e2x16\frac{e^{2x}}{16}. Diagonal products, with alternating signs: +x3e2x2−3x2e2x4+6xe2x8−6e2x16+x^{3}\frac{e^{2x}}{2}-3x^{2}\frac{e^{2x}}{4}+6x\frac{e^{2x}}{8}-6\frac{e^{2x}}{16}, that is e2x(x32−3x24+3x4−38)+Ce^{2x}\left(\frac{x^{3}}{2}-\frac{3x^{2}}{4}+\frac{3x}{4}-\frac{3}{8}\right)+C. Three integrations by parts carried out in one go.

d)

Left column: x2x^{2}, 2x2x, 22, 00. Right column: sin⁡3x\sin 3x, −cos⁡3x3-\frac{\cos 3x}{3}, −sin⁡3x9-\frac{\sin 3x}{9}, cos⁡3x27\frac{\cos 3x}{27}. Hence −x2cos⁡3x3+2xsin⁡3x9+2cos⁡3x27+C-\frac{x^{2}\cos 3x}{3}+\frac{2x\sin 3x}{9}+\frac{2\cos 3x}{27}+C, remembering that the alternating sign of the third term, ++, combines with the sign of the antiderivative.

e)

For ∫xln⁡x dx\int x\ln x\,dx, NO: the column to differentiate would have to contain the logarithm, which never reaches zero by differentiation, and the column to integrate would contain xx, whose degree would grow indefinitely. The tabular method requires a polynomial factor that eventually becomes zero. For ∫excos⁡x dx\int e^{x}\cos x\,dx, NO as well, but for another reason: neither factor becomes zero by differentiation, so the two columns would go on forever. This is the CYCLIC case, which is solved differently, as the next exercise shows.

Exercise 8: The cyclic case: when the integral comes back

If neither factor simplifies when differentiated, two integrations by parts bring back the original integral. Far from being a failure, this is an EQUATION whose unknown is the integral.

  • a) Compute ∫excos⁡x dx\int e^{x}\cos x\,dx by carrying out two integrations by parts, then solving the resulting equation.
  • b) Why must you keep the SAME kind of choice in the second round? What happens if you swap the roles?
  • c) Compute ∫e2xsin⁡3x dx\int e^{2x}\sin 3x\,dx.
  • d) Derive the general formula for ∫eaxsin⁡(bx)dx\int e^{ax}\sin\left(bx\right)dx and check that it gives back the result of c).
  • e) Compute ∫sin⁡(ln⁡x)dx\int\sin\left(\ln x\right)dx. In what way is this case cyclic too?

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

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

Answers

  • a) ex(sin⁡x+cos⁡x)2+C\frac{e^{x}(\sin x+\cos x)}{2}+C
  • b) Swapping gives I=II=I
  • c) e2x(2sin⁡3x−3cos⁡3x)13+C\frac{e^{2x}(2\sin 3x-3\cos 3x)}{13}+C
  • d) eax(asin⁡bx−bcos⁡bx)a2+b2+C\frac{e^{ax}(a\sin bx-b\cos bx)}{a^{2}+b^{2}}+C
  • e) x(sin⁡(ln⁡x)−cos⁡(ln⁡x))2+C\frac{x(\sin(\ln x)-\cos(\ln x))}{2}+C
a)

Let I=∫excos⁡x dxI=\int e^{x}\cos x\,dx. With u=exu=e^{x} and dv=cos⁡x dxdv=\cos x\,dx: I=exsin⁡x−∫exsin⁡x dxI=e^{x}\sin x-\int e^{x}\sin x\,dx. On the latter, the same choice: ∫exsin⁡x dx=−excos⁡x+∫excos⁡x dx=−excos⁡x+I\int e^{x}\sin x\,dx=-e^{x}\cos x+\int e^{x}\cos x\,dx=-e^{x}\cos x+I. Substituting back: I=exsin⁡x+excos⁡x−II=e^{x}\sin x+e^{x}\cos x-I, so 2I=ex(sin⁡x+cos⁡x)2I=e^{x}\left(\sin x+\cos x\right) and I=ex(sin⁡x+cos⁡x)2+CI=\frac{e^{x}\left(\sin x+\cos x\right)}{2}+C.

b)

Because swapping the roles in the second round UNDOES exactly what the first one did: you land back on the identity I=II=I, true but empty, and the calculation literally goes in circles. So decide once and for all, for example always differentiate the exponential, and stick to it until the integral reappears. This is the most common error on this type of exercise, and it is frustrating because nothing is wrong: the calculation simply stands still.

c)

Let I=∫e2xsin⁡3x dxI=\int e^{2x}\sin 3x\,dx. With u=e2xu=e^{2x} and dv=sin⁡3x dxdv=\sin 3x\,dx: I=−e2xcos⁡3x3+23∫e2xcos⁡3x dxI=-\frac{e^{2x}\cos 3x}{3}+\frac{2}{3}\int e^{2x}\cos 3x\,dx. Then ∫e2xcos⁡3x dx=e2xsin⁡3x3−23I\int e^{2x}\cos 3x\,dx=\frac{e^{2x}\sin 3x}{3}-\frac{2}{3}I. Substituting back: I=−e2xcos⁡3x3+2e2xsin⁡3x9−49II=-\frac{e^{2x}\cos 3x}{3}+\frac{2e^{2x}\sin 3x}{9}-\frac{4}{9}I, so 139I=e2x(2sin⁡3x9−cos⁡3x3)\frac{13}{9}I=e^{2x}\left(\frac{2\sin 3x}{9}-\frac{\cos 3x}{3}\right) and I=e2x(2sin⁡3x−3cos⁡3x)13+CI=\frac{e^{2x}\left(2\sin 3x-3\cos 3x\right)}{13}+C.

d)

The same calculation carried out with letters gives ∫eaxsin⁡(bx)dx=eax(asin⁡bx−bcos⁡bx)a2+b2+C\int e^{ax}\sin\left(bx\right)dx=\frac{e^{ax}\left(a\sin bx-b\cos bx\right)}{a^{2}+b^{2}}+C, and symmetrically ∫eaxcos⁡(bx)dx=eax(acos⁡bx+bsin⁡bx)a2+b2+C\int e^{ax}\cos\left(bx\right)dx=\frac{e^{ax}\left(a\cos bx+b\sin bx\right)}{a^{2}+b^{2}}+C. With a=2a=2 and b=3b=3: denominator 4+9=134+9=13 and numerator e2x(2sin⁡3x−3cos⁡3x)e^{2x}\left(2\sin 3x-3\cos 3x\right), exactly c). The denominator a2+b2a^{2}+b^{2} also betrays the complex origin of the result: it is the squared modulus of a+iba+ib, and the integral is computed in one line through ∫e(a+ib)xdx\int e^{\left(a+ib\right)x}dx, of which you take the imaginary part.

e)

With u=sin⁡(ln⁡x)u=\sin\left(\ln x\right) and dv=dxdv=dx, so v=xv=x: I=xsin⁡(ln⁡x)−∫cos⁡(ln⁡x)dxI=x\sin\left(\ln x\right)-\int\cos\left(\ln x\right)dx. On the latter, the same choice: ∫cos⁡(ln⁡x)dx=xcos⁡(ln⁡x)+∫sin⁡(ln⁡x)dx=xcos⁡(ln⁡x)+I\int\cos\left(\ln x\right)dx=x\cos\left(\ln x\right)+\int\sin\left(\ln x\right)dx=x\cos\left(\ln x\right)+I. Hence I=xsin⁡(ln⁡x)−xcos⁡(ln⁡x)−II=x\sin\left(\ln x\right)-x\cos\left(\ln x\right)-I, that is I=x(sin⁡(ln⁡x)−cos⁡(ln⁡x))2+CI=\frac{x\left(\sin\left(\ln x\right)-\cos\left(\ln x\right)\right)}{2}+C. The case is cyclic because differentiating a sine of a logarithm gives back a cosine of a logarithm divided by xx, which the v=xv=x exactly compensates: the structure reproduces itself identically, just as with the exponential.

Exercise 9: Parts on a definite integral: the boundary term

On a definite integral, the formula becomes ∫abu dv=[uv]ab−∫abv du\int_{a}^{b}u\,dv=\left[uv\right]_{a}^{b}-\int_{a}^{b}v\,du. The bracket, called the boundary term, is evaluated AT BOTH LIMITS, and forgetting it is the costliest error of the chapter.

  • a) Compute ∫01xexdx\int_{0}^{1}xe^{x}dx.
  • b) Compute ∫1eln⁡x dx\int_{1}^{e}\ln x\,dx and interpret the result geometrically.
  • c) Compute ∫0πxsin⁡x dx\int_{0}^{\pi}x\sin x\,dx.
  • d) Compute ∫0+∞xe−xdx\int_{0}^{+\infty}xe^{-x}dx. What happens to the boundary term, and why is a limit needed?
  • e) A student writes ∫01xexdx=[xex]01−∫01exdx=e−ex\int_{0}^{1}xe^{x}dx=\left[xe^{x}\right]_{0}^{1}-\int_{0}^{1}e^{x}dx=e-e^{x}. Point out the two faults.

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

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

Answers

  • a) 11
  • b) 11: area under ln⁡\ln between 11 and ee
  • c) π\pi
  • d) 11, the boundary term tends to 00
  • e) exe^{x} instead of e−1e-1, an answer that depends on xx
a)

u=xu=x, dv=exdxdv=e^{x}dx: [xex]01−∫01exdx=(e−0)−[ex]01=e−(e−1)=1\left[xe^{x}\right]_{0}^{1}-\int_{0}^{1}e^{x}dx=\left(e-0\right)-\left[e^{x}\right]_{0}^{1}=e-\left(e-1\right)=1. A perfectly round result, which is a good sign.

b)

u=ln⁡xu=\ln x, dv=dxdv=dx: [xln⁡x]1e−∫1edx=(e⋅1−1⋅0)−(e−1)=1\left[x\ln x\right]_{1}^{e}-\int_{1}^{e}dx=\left(e\cdot 1-1\cdot 0\right)-\left(e-1\right)=1. Geometrically, the area under the graph of the logarithm between 1 and ee is exactly 1. You can see it another way: the rectangle [0,e]×[0,1]\left[0, e\right]\times\left[0, 1\right] has area ee, and the area to the left of the curve, between the vertical axis and the logarithm, is ∫01eydy=e−1\int_{0}^{1}e^{y}dy=e-1; the difference is indeed 1.

c)

u=xu=x, dv=sin⁡x dxdv=\sin x\,dx, v=−cos⁡xv=-\cos x: [−xcos⁡x]0π+∫0πcos⁡x dx=(π−0)+[sin⁡x]0π=π+0=π\left[-x\cos x\right]_{0}^{\pi}+\int_{0}^{\pi}\cos x\,dx=\left(\pi-0\right)+\left[\sin x\right]_{0}^{\pi}=\pi+0=\pi.

d)

The integral is improper, so you must write lim⁡b→+∞∫0bxe−xdx=lim⁡b→+∞([−xe−x]0b+∫0be−xdx)\lim_{b\to+\infty}\int_{0}^{b}xe^{-x}dx=\lim_{b\to+\infty}\left(\left[-xe^{-x}\right]_{0}^{b}+\int_{0}^{b}e^{-x}dx\right). The boundary term equals −be−b-be^{-b}, which tends to ZERO by comparison of growth rates, the decaying exponential winning over the linear factor. What remains is lim⁡b→+∞[−e−x]0b=1\lim_{b\to+\infty}\left[-e^{-x}\right]_{0}^{b}=1. The limit is essential: without it, you would write an expression containing ∞×0\infty\times 0, an indeterminate form whose value cannot be guessed.

e)

The boundary term is right: [xex]01\left[xe^{x}\right]_{0}^{1} equals 1⋅e−0⋅e0=e1\cdot e-0\cdot e^{0}=e. First fault: the remaining integral ∫01exdx\int_{0}^{1}e^{x}dx was replaced by the antiderivative exe^{x}, with no brackets and no limits. It had to be evaluated, [ex]01=e−1\left[e^{x}\right]_{0}^{1}=e-1: the lower limit, which subtracts e0=1e^{0}=1, vanished along with the brackets. Second fault, more serious: the final answer, e−exe-e^{x}, still contains the variable xx, which is impossible for a definite integral, since it must produce a number. That is the alarm signal to know: an integral between limits can never depend on xx. The correct value is e−(e−1)=1e-\left(e-1\right)=1.

-0.50.511.522.5-1123456y = x·eˣy = eˣarea 1

Exercise 10: The invisible factor 1, beyond the logarithm

Whenever an integrand is made of a SINGLE block whose derivative is known but whose antiderivative is not, integration by parts with dv=dxdv=dx settles the question. The family is larger than you might think.

  • a) Compute ∫ln⁡(x2+1)dx\int\ln\left(x^{2}+1\right)dx.
  • b) Compute ∫(ln⁡x)2dx\int\left(\ln x\right)^{2}dx.
  • c) Compute ∫xln⁡(x+1)dx\int x\ln\left(x+1\right)dx, taking care with the division that follows.
  • d) Compute ∫ln⁡(x+x2+1)dx\int\ln\left(x+\sqrt{x^{2}+1}\right)dx.
  • e) Derive the reduction formula for ∫(ln⁡x)ndx\int\left(\ln x\right)^{n}dx and deduce ∫(ln⁡x)3dx\int\left(\ln x\right)^{3}dx.

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

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

Answers

  • a) xln⁡(x2+1)−2x+2arctan⁡x+Cx\ln(x^{2}+1)-2x+2\arctan x+C
  • b) x(ln⁡x)2−2xln⁡x+2x+Cx(\ln x)^{2}-2x\ln x+2x+C
  • c) x22ln⁡(x+1)−x24+x2−12ln⁡∣x+1∣+C\frac{x^{2}}{2}\ln(x+1)-\frac{x^{2}}{4}+\frac{x}{2}-\frac{1}{2}\ln|x+1|+C
  • d) xln⁡(x+x2+1)−x2+1+Cx\ln(x+\sqrt{x^{2}+1})-\sqrt{x^{2}+1}+C
  • e) In=x(ln⁡x)n−nIn−1I_{n}=x(\ln x)^{n}-nI_{n-1}; I3=x(ln⁡x)3−3x(ln⁡x)2+6xln⁡x−6x+CI_{3}=x(\ln x)^{3}-3x(\ln x)^{2}+6x\ln x-6x+C
a)

u=ln⁡(x2+1)u=\ln\left(x^{2}+1\right), dv=dxdv=dx: xln⁡(x2+1)−∫2x2x2+1dxx\ln\left(x^{2}+1\right)-\int\frac{2x^{2}}{x^{2}+1}dx. The degree of the numerator equals that of the denominator, so divide: 2x2x2+1=2−2x2+1\frac{2x^{2}}{x^{2}+1}=2-\frac{2}{x^{2}+1}. Hence xln⁡(x2+1)−2x+2arctan⁡x+Cx\ln\left(x^{2}+1\right)-2x+2\arctan x+C.

b)

u=(ln⁡x)2u=\left(\ln x\right)^{2}, dv=dxdv=dx: x(ln⁡x)2−∫x⋅2ln⁡xxdx=x(ln⁡x)2−2∫ln⁡x dx=x(ln⁡x)2−2(xln⁡x−x)x\left(\ln x\right)^{2}-\int x\cdot\frac{2\ln x}{x}dx=x\left(\ln x\right)^{2}-2\int\ln x\,dx=x\left(\ln x\right)^{2}-2\left(x\ln x-x\right), that is x(ln⁡x)2−2xln⁡x+2x+Cx\left(\ln x\right)^{2}-2x\ln x+2x+C. Two successive applications, the second being the integral of the logarithm, already known.

c)

u=ln⁡(x+1)u=\ln\left(x+1\right), dv=x dxdv=x\,dx, v=x22v=\frac{x^{2}}{2}: x22ln⁡(x+1)−12∫x2x+1dx\frac{x^{2}}{2}\ln\left(x+1\right)-\frac{1}{2}\int\frac{x^{2}}{x+1}dx. Long division gives x2x+1=x−1+1x+1\frac{x^{2}}{x+1}=x-1+\frac{1}{x+1}, whose integral is x22−x+ln⁡∣x+1∣\frac{x^{2}}{2}-x+\ln\left|x+1\right|. Result: x22ln⁡(x+1)−x24+x2−12ln⁡∣x+1∣+C\frac{x^{2}}{2}\ln\left(x+1\right)-\frac{x^{2}}{4}+\frac{x}{2}-\frac{1}{2}\ln\left|x+1\right|+C. You could also choose v=x2−12v=\frac{x^{2}-1}{2}, an equally valid antiderivative of xx, which would bring out x2−1x+1=x−1\frac{x^{2}-1}{x+1}=x-1 and remove the final logarithm: choosing the CONSTANT in vv wisely is a little-known trick.

d)

u=ln⁡(x+x2+1)u=\ln\left(x+\sqrt{x^{2}+1}\right), whose derivative is 1x2+1\frac{1}{\sqrt{x^{2}+1}}, and dv=dxdv=dx: xln⁡(x+x2+1)−∫x dxx2+1=xln⁡(x+x2+1)−x2+1+Cx\ln\left(x+\sqrt{x^{2}+1}\right)-\int\frac{x\,dx}{\sqrt{x^{2}+1}}=x\ln\left(x+\sqrt{x^{2}+1}\right)-\sqrt{x^{2}+1}+C, the last integral being a direct substitution. Note that this function is none other than the inverse hyperbolic sine, so you find the same structure as for the arcsine.

e)

Letting In=∫(ln⁡x)ndxI_{n}=\int\left(\ln x\right)^{n}dx with u=(ln⁡x)nu=\left(\ln x\right)^{n} and dv=dxdv=dx: In=x(ln⁡x)n−n∫(ln⁡x)n−1dx=x(ln⁡x)n−nIn−1I_{n}=x\left(\ln x\right)^{n}-n\int\left(\ln x\right)^{n-1}dx=x\left(\ln x\right)^{n}-nI_{n-1}. With I0=xI_{0}=x and I1=xln⁡x−xI_{1}=x\ln x-x, you get I2=x(ln⁡x)2−2I1=x(ln⁡x)2−2xln⁡x+2xI_{2}=x\left(\ln x\right)^{2}-2I_{1}=x\left(\ln x\right)^{2}-2x\ln x+2x, in agreement with b), then I3=x(ln⁡x)3−3I2=x(ln⁡x)3−3x(ln⁡x)2+6xln⁡x−6x+CI_{3}=x\left(\ln x\right)^{3}-3I_{2}=x\left(\ln x\right)^{3}-3x\left(\ln x\right)^{2}+6x\ln x-6x+C. The coefficients 11, 33, 66, 66 are those of the falling factorials, which is no accident: the recurrence multiplies by nn at each step.

Part C: Partial fractions (/50)

Exercise 11: The four cases of decomposition

Every PROPER rational function decomposes into a sum of simple terms, and there are only four types of terms, dictated by the factorization of the denominator: distinct linear factor, repeated linear factor, distinct irreducible quadratic factor, repeated irreducible quadratic factor.

  • a) Decompose and integrate ∫5x−3(x−1)(x+3)dx\int\frac{5x-3}{\left(x-1\right)\left(x+3\right)}dx: DISTINCT linear factors.
  • b) Decompose and integrate ∫3x2−x+1x(x−1)2dx\int\frac{3x^{2}-x+1}{x\left(x-1\right)^{2}}dx: REPEATED linear factor. How many terms does the repeated factor generate, and why?
  • c) Decompose and integrate ∫3x2+x(x+1)(x2+1)dx\int\frac{3x^{2}+x}{\left(x+1\right)\left(x^{2}+1\right)}dx: IRREDUCIBLE quadratic factor. What form must its numerator take?
  • d) Compute ∫dx(x2+1)2\int\frac{dx}{\left(x^{2}+1\right)^{2}}, the case of a REPEATED quadratic.
  • e) Draw up the table of the four cases: which factor of the denominator generates which terms, and which function each one produces after integration.

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

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

Answers

  • a) 12ln⁡∣x−1∣+92ln⁡∣x+3∣+C\frac{1}{2}\ln|x-1|+\frac{9}{2}\ln|x+3|+C
  • b) ln⁡∣x∣+2ln⁡∣x−1∣−3x−1+C\ln|x|+2\ln|x-1|-\frac{3}{x-1}+C
  • c) ln⁡∣x+1∣+ln⁡(x2+1)−arctan⁡x+C\ln|x+1|+\ln(x^{2}+1)-\arctan x+C
  • d) 12(arctan⁡x+xx2+1)+C\frac{1}{2}\left(\arctan x+\frac{x}{x^{2}+1}\right)+C
  • e) Log; log and powers; log and arctangent; reduction
a)

Write 5x−3(x−1)(x+3)=Ax−1+Bx+3\frac{5x-3}{\left(x-1\right)\left(x+3\right)}=\frac{A}{x-1}+\frac{B}{x+3}. Multiplying by (x−1)\left(x-1\right) and evaluating at x=1x=1: A=5−31+3=12A=\frac{5-3}{1+3}=\frac{1}{2}. Likewise at x=−3x=-3: B=−15−3−3−1=92B=\frac{-15-3}{-3-1}=\frac{9}{2}. Hence ∫=12ln⁡∣x−1∣+92ln⁡∣x+3∣+C\int=\frac{1}{2}\ln\left|x-1\right|+\frac{9}{2}\ln\left|x+3\right|+C.

b)

A factor (x−1)2\left(x-1\right)^{2} generates TWO terms, Bx−1\frac{B}{x-1} and C(x−1)2\frac{C}{\left(x-1\right)^{2}}, because you need as many constants as the total degree of the factor to have enough freedom. Write 3x2−x+1x(x−1)2=Ax+Bx−1+C(x−1)2\frac{3x^{2}-x+1}{x\left(x-1\right)^{2}}=\frac{A}{x}+\frac{B}{x-1}+\frac{C}{\left(x-1\right)^{2}}. At x=0x=0: A=1(−1)2=1A=\frac{1}{\left(-1\right)^{2}}=1. At x=1x=1: C=3−1+11=3C=\frac{3-1+1}{1}=3. Comparing the coefficients of x2x^{2}: 3=A+B3=A+B, so B=2B=2. Hence ∫=ln⁡∣x∣+2ln⁡∣x−1∣−3x−1+C\int=\ln\left|x\right|+2\ln\left|x-1\right|-\frac{3}{x-1}+C. Note that the squared term gives a power, not a logarithm.

c)

An irreducible quadratic factor requires a numerator of degree 1, so of the form Bx+CBx+C and not a mere constant: otherwise there would not be enough parameters to represent every possible fraction. Write 3x2+x(x+1)(x2+1)=Ax+1+Bx+Cx2+1\frac{3x^{2}+x}{\left(x+1\right)\left(x^{2}+1\right)}=\frac{A}{x+1}+\frac{Bx+C}{x^{2}+1}. At x=−1x=-1: A=3−11+1=1A=\frac{3-1}{1+1}=1. Substituting back, 3x2+x−(x2+1)=2x2+x−1=(Bx+C)(x+1)3x^{2}+x-\left(x^{2}+1\right)=2x^{2}+x-1=\left(Bx+C\right)\left(x+1\right), and since 2x2+x−1=(2x−1)(x+1)2x^{2}+x-1=\left(2x-1\right)\left(x+1\right), you get B=2B=2 and C=−1C=-1. Hence ∫=ln⁡∣x+1∣+∫2x−1x2+1dx=ln⁡∣x+1∣+ln⁡(x2+1)−arctan⁡x+C\int=\ln\left|x+1\right|+\int\frac{2x-1}{x^{2}+1}dx=\ln\left|x+1\right|+\ln\left(x^{2}+1\right)-\arctan x+C.

d)

This case decomposes no further: (x2+1)2\left(x^{2}+1\right)^{2} is already a simple term. Handle it by trigonometric substitution, x=tan⁡θx=\tan\theta: ∫sec⁡2θsec⁡4θdθ=∫cos⁡2θ dθ=θ2+sin⁡2θ4=θ2+sin⁡θcos⁡θ2\int\frac{\sec^{2}\theta}{\sec^{4}\theta}d\theta=\int\cos^{2}\theta\,d\theta=\frac{\theta}{2}+\frac{\sin 2\theta}{4}=\frac{\theta}{2}+\frac{\sin\theta\cos\theta}{2}. Going back through the triangle: 12(arctan⁡x+xx2+1)+C\frac{1}{2}\left(\arctan x+\frac{x}{x^{2}+1}\right)+C. This is why repeated quadratics are rare on exams: integrating them goes beyond partial fractions.

e)

Factor (x−a)\left(x-a\right): one term Ax−a\frac{A}{x-a}, which gives a LOGARITHM. Factor (x−a)k\left(x-a\right)^{k}: kk terms A1x−a+⋯+Ak(x−a)k\frac{A_{1}}{x-a}+\cdots+\frac{A_{k}}{\left(x-a\right)^{k}}, the first giving a logarithm and the others negative POWERS. Irreducible factor (x2+bx+c)\left(x^{2}+bx+c\right): one term Bx+Cx2+bx+c\frac{Bx+C}{x^{2}+bx+c}, whose part proportional to the derivative gives a logarithm and the rest an ARCTANGENT after completing the square. Factor (x2+bx+c)k\left(x^{2}+bx+c\right)^{k}: kk similar terms, the higher powers requiring a trigonometric substitution or a reduction formula. The total number of constants to determine always equals the DEGREE of the denominator, which gives an immediate check before you start.

Exercise 12: The cover-up method, and when it is no longer enough

For distinct linear factors, there is a shortcut that gives each coefficient in one second, without any system: the cover-up method, or Heaviside's method. It has precise limits, which you must know as well as the method itself.

  • a) State the cover-up method and justify why it works.
  • b) Decompose 2x+7(x−1)(x+2)(x−3)\frac{2x+7}{\left(x-1\right)\left(x+2\right)\left(x-3\right)} by this method, then integrate.
  • c) Check your decomposition by comparing the coefficients of x2x^{2}. What must the sum of the three constants be, and why?
  • d) Apply the method to x+2x(x−1)2\frac{x+2}{x\left(x-1\right)^{2}}. Which coefficients do you get directly, which ones resist, and how do you get them?
  • e) Why does the method fail completely on an irreducible quadratic factor? What are the two strategies available then?

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

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

Answers

  • a) Cover (x−a)(x-a), evaluate at aa
  • b) −32ln⁡∣x−1∣+15ln⁡∣x+2∣+1310ln⁡∣x−3∣+C-\frac{3}{2}\ln|x-1|+\frac{1}{5}\ln|x+2|+\frac{13}{10}\ln|x-3|+C
  • c) A+B+C=0A+B+C=0
  • d) 2ln⁡∣x∣−2ln⁡∣x−1∣−3x−1+C2\ln|x|-2\ln|x-1|-\frac{3}{x-1}+C
  • e) No real root: convenient values or equating coefficients
a)

To find the coefficient associated with the factor (x−a)\left(x-a\right), COVER this factor in the denominator of the original fraction and evaluate everything else at x=ax=a. It works because multiplying the identity by (x−a)\left(x-a\right) removes this factor from the term you want while leaving a factor (x−a)\left(x-a\right) in front of all the others: when you then evaluate at aa, all the other terms vanish and only the coefficient you want remains. The method is therefore nothing but the full calculation, done mentally.

b)

Coefficient of 1x−1\frac{1}{x-1}: cover (x−1)\left(x-1\right) and evaluate at 1, giving 2+7(1+2)(1−3)=9−6=−32\frac{2+7}{\left(1+2\right)\left(1-3\right)}=\frac{9}{-6}=-\frac{3}{2}. Coefficient of 1x+2\frac{1}{x+2}: at −2-2, −4+7(−2−1)(−2−3)=315=15\frac{-4+7}{\left(-2-1\right)\left(-2-3\right)}=\frac{3}{15}=\frac{1}{5}. Coefficient of 1x−3\frac{1}{x-3}: at 3, 6+7(3−1)(3+2)=1310\frac{6+7}{\left(3-1\right)\left(3+2\right)}=\frac{13}{10}. Hence ∫=−32ln⁡∣x−1∣+15ln⁡∣x+2∣+1310ln⁡∣x−3∣+C\int=-\frac{3}{2}\ln\left|x-1\right|+\frac{1}{5}\ln\left|x+2\right|+\frac{13}{10}\ln\left|x-3\right|+C. Three coefficients in three evaluations, without writing a single system.

c)

Putting everything back over the common denominator, the coefficient of x2x^{2} in the numerator is A+B+CA+B+C. But the original numerator, 2x+72x+7, has NO x2x^{2} term: the sum must therefore be zero. Check: −32+15+1310=−1.5+0.2+1.3=0-\frac{3}{2}+\frac{1}{5}+\frac{13}{10}=-1.5+0.2+1.3=0. This check is free and catches almost all sign errors; it applies whenever the degree of the numerator is at least two less than the degree of the denominator.

d)

Cover-up immediately gives the coefficient of 1x\frac{1}{x}, by evaluating x+2(x−1)2\frac{x+2}{\left(x-1\right)^{2}} at x=0x=0, which gives 2; and that of 1(x−1)2\frac{1}{\left(x-1\right)^{2}}, the HIGHEST power of the repeated factor, by evaluating x+2x\frac{x+2}{x} at x=1x=1, which gives 3. On the other hand, the coefficient of 1x−1\frac{1}{x-1} RESISTS: cover-up cannot reach it, because multiplying by (x−1)\left(x-1\right) is not enough to isolate this term. You get it by comparing the coefficients of x2x^{2}: 0=A+B0=A+B, so B=−2B=-2. The decomposition is 2x−2x−1+3(x−1)2\frac{2}{x}-\frac{2}{x-1}+\frac{3}{\left(x-1\right)^{2}}, and the integral is 2ln⁡∣x∣−2ln⁡∣x−1∣−3x−1+C2\ln\left|x\right|-2\ln\left|x-1\right|-\frac{3}{x-1}+C.

e)

Because an irreducible quadratic factor has NO real root: there is no value of xx at which to evaluate so as to cancel the other terms, and the method loses its mechanism. Two strategies remain. The first is to substitute CONVENIENT values of xx, often 0, 1 and −1-1, as many times as there are remaining unknowns, which gives a small, easy system. The second is to expand and EQUATE the coefficients of each power of xx, which is systematic but longer. In practice, you combine the three tools: cover-up for the real roots, convenient values to go fast, equating coefficients to finish.

Exercise 13: Divide first: improper fractions

Partial fraction decomposition exists only for a PROPER fraction, whose numerator has a degree strictly less than that of the denominator. Otherwise, polynomial long division is a required first step, and forgetting it makes the decomposition impossible.

  • a) Compute ∫x3x2−1dx\int\frac{x^{3}}{x^{2}-1}dx.
  • b) Compute ∫x2+1x2−1dx\int\frac{x^{2}+1}{x^{2}-1}dx.
  • c) Derive the formula ∫dxx2−a2=12aln⁡∣x−ax+a∣+C\int\frac{dx}{x^{2}-a^{2}}=\frac{1}{2a}\ln\left|\frac{x-a}{x+a}\right|+C and compare it with ∫dxx2+a2\int\frac{dx}{x^{2}+a^{2}}.
  • d) Compute ∫x3+2xx2+1dx\int\frac{x^{3}+2x}{x^{2}+1}dx.
  • e) What happens if you attempt a partial fraction decomposition WITHOUT dividing first? Illustrate with b).

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

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

Answers

  • a) x22+12ln⁡∣x2−1∣+C\frac{x^{2}}{2}+\frac{1}{2}\ln|x^{2}-1|+C
  • b) x+ln⁡∣x−1x+1∣+Cx+\ln\left|\frac{x-1}{x+1}\right|+C
  • c) 12aln⁡∣x−ax+a∣\frac{1}{2a}\ln\left|\frac{x-a}{x+a}\right| versus 1aarctan⁡xa\frac{1}{a}\arctan\frac{x}{a}
  • d) x22+12ln⁡(x2+1)+C\frac{x^{2}}{2}+\frac{1}{2}\ln(x^{2}+1)+C
  • e) The identity is false: the 11 from the division is missing
a)

The numerator has degree 3, the denominator degree 2: divide. x3x2−1=x+xx2−1\frac{x^{3}}{x^{2}-1}=x+\frac{x}{x^{2}-1}. The first piece integrates to x22\frac{x^{2}}{2}, the second has the form f′f\frac{f'}{f} up to a factor 12\frac{1}{2}: 12ln⁡∣x2−1∣\frac{1}{2}\ln\left|x^{2}-1\right|. Total: x22+12ln⁡∣x2−1∣+C\frac{x^{2}}{2}+\frac{1}{2}\ln\left|x^{2}-1\right|+C. No decomposition was needed.

b)

Equal degrees, so divide again: x2+1x2−1=1+2x2−1\frac{x^{2}+1}{x^{2}-1}=1+\frac{2}{x^{2}-1}. The remainder decomposes: 2(x−1)(x+1)=1x−1−1x+1\frac{2}{\left(x-1\right)\left(x+1\right)}=\frac{1}{x-1}-\frac{1}{x+1}, by cover-up. Hence ∫=x+ln⁡∣x−1∣−ln⁡∣x+1∣+C=x+ln⁡∣x−1x+1∣+C\int=x+\ln\left|x-1\right|-\ln\left|x+1\right|+C=x+\ln\left|\frac{x-1}{x+1}\right|+C.

c)

By cover-up on 1(x−a)(x+a)\frac{1}{\left(x-a\right)\left(x+a\right)}: the coefficient of 1x−a\frac{1}{x-a} is 12a\frac{1}{2a} and that of 1x+a\frac{1}{x+a} is −12a-\frac{1}{2a}. Hence ∫dxx2−a2=12a(ln⁡∣x−a∣−ln⁡∣x+a∣)=12aln⁡∣x−ax+a∣+C\int\frac{dx}{x^{2}-a^{2}}=\frac{1}{2a}\left(\ln\left|x-a\right|-\ln\left|x+a\right|\right)=\frac{1}{2a}\ln\left|\frac{x-a}{x+a}\right|+C. The comparison is instructive: ∫dxx2+a2=1aarctan⁡xa\int\frac{dx}{x^{2}+a^{2}}=\frac{1}{a}\arctan\frac{x}{a} gives an ARCTANGENT, whereas the minus sign gives a LOGARITHM. A single sign separates two families of functions that have nothing in common, and it is the most profitable detail of the whole chapter.

d)

Division: x3+2xx2+1=x+xx2+1\frac{x^{3}+2x}{x^{2}+1}=x+\frac{x}{x^{2}+1}, since x(x2+1)=x3+xx\left(x^{2}+1\right)=x^{3}+x and xx is left over. Hence ∫=x22+12ln⁡(x2+1)+C\int=\frac{x^{2}}{2}+\frac{1}{2}\ln\left(x^{2}+1\right)+C. Note that here the denominator is irreducible but the division is enough: there was no need to decompose at all.

e)

You would write x2+1(x−1)(x+1)=Ax−1+Bx+1\frac{x^{2}+1}{\left(x-1\right)\left(x+1\right)}=\frac{A}{x-1}+\frac{B}{x+1} and find, by cover-up, A=1+12=1A=\frac{1+1}{2}=1 and B=1+1−2=−1B=\frac{1+1}{-2}=-1. But recombining, 1x−1−1x+1=2x2−1\frac{1}{x-1}-\frac{1}{x+1}=\frac{2}{x^{2}-1}, which is NOT the original fraction: exactly the 1 from the division is missing. The proposed identity is therefore false, and integrating it would give an answer missing the term xx. The symptom can be spotted before any calculation: if the degree of the numerator reaches that of the denominator, no sum of proper terms can ever reproduce it, since any sum of proper fractions is itself proper.

-4-3-2-11234-6-4-2246y = x³/(x² − 1)y = x

Exercise 14: The irreducible quadratic: logarithm plus arctangent

A term Bx+Cx2+bx+c\frac{Bx+C}{x^{2}+bx+c} with an irreducible denominator always splits into TWO pieces: the one proportional to the derivative of the denominator, which gives a logarithm, and the constant remainder, which gives an arctangent after completing the square.

  • a) Compute ∫2x+3x2+2x+5dx\int\frac{2x+3}{x^{2}+2x+5}dx by separating the two pieces.
  • b) Compute ∫dxx3+x\int\frac{dx}{x^{3}+x}.
  • c) Compute ∫x2+1x3+x2dx\int\frac{x^{2}+1}{x^{3}+x^{2}}dx.
  • d) Compute ∫x dx(x+1)(x2+4)\int\frac{x\,dx}{\left(x+1\right)\left(x^{2}+4\right)}.
  • e) State the complete five-step procedure for integrating any rational function.

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

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

Answers

  • a) ln⁡(x2+2x+5)+12arctan⁡x+12+C\ln(x^{2}+2x+5)+\frac{1}{2}\arctan\frac{x+1}{2}+C
  • b) ln⁡∣x∣−12ln⁡(x2+1)+C\ln|x|-\frac{1}{2}\ln(x^{2}+1)+C
  • c) −ln⁡∣x∣−1x+2ln⁡∣x+1∣+C-\ln|x|-\frac{1}{x}+2\ln|x+1|+C
  • d) −15ln⁡∣x+1∣+110ln⁡(x2+4)+25arctan⁡x2+C-\frac{1}{5}\ln|x+1|+\frac{1}{10}\ln(x^{2}+4)+\frac{2}{5}\arctan\frac{x}{2}+C
  • e) Degrees, factoring, form, constants, integration
a)

The derivative of the denominator is 2x+22x+2. So write 2x+3=(2x+2)+12x+3=\left(2x+2\right)+1: ∫2x+2x2+2x+5dx+∫dxx2+2x+5\int\frac{2x+2}{x^{2}+2x+5}dx+\int\frac{dx}{x^{2}+2x+5}. The first piece has the form f′f\frac{f'}{f} and equals ln⁡(x2+2x+5)\ln\left(x^{2}+2x+5\right), with no absolute value since the quadratic is always positive. The second requires completing the square, x2+2x+5=(x+1)2+4x^{2}+2x+5=\left(x+1\right)^{2}+4, and equals 12arctan⁡x+12\frac{1}{2}\arctan\frac{x+1}{2}. Total: ln⁡(x2+2x+5)+12arctan⁡x+12+C\ln\left(x^{2}+2x+5\right)+\frac{1}{2}\arctan\frac{x+1}{2}+C.

b)

Factor first: x3+x=x(x2+1)x^{3}+x=x\left(x^{2}+1\right), with one linear factor and one irreducible quadratic. 1x(x2+1)=Ax+Bx+Cx2+1\frac{1}{x\left(x^{2}+1\right)}=\frac{A}{x}+\frac{Bx+C}{x^{2}+1}; cover-up at x=0x=0 gives A=1A=1, then 1−(x2+1)=−x2=(Bx+C)x1-\left(x^{2}+1\right)=-x^{2}=\left(Bx+C\right)x gives B=−1B=-1 and C=0C=0. Hence ∫=ln⁡∣x∣−12ln⁡(x2+1)+C\int=\ln\left|x\right|-\frac{1}{2}\ln\left(x^{2}+1\right)+C, which can be written ln⁡∣x∣x2+1+C\ln\frac{\left|x\right|}{\sqrt{x^{2}+1}}+C.

c)

x3+x2=x2(x+1)x^{3}+x^{2}=x^{2}\left(x+1\right): a REPEATED linear factor and a distinct linear factor. x2+1x2(x+1)=Ax+Bx2+Cx+1\frac{x^{2}+1}{x^{2}\left(x+1\right)}=\frac{A}{x}+\frac{B}{x^{2}}+\frac{C}{x+1}. Cover-up: B=0+10+1=1B=\frac{0+1}{0+1}=1 and C=1+11=2C=\frac{1+1}{1}=2. Coefficients of x2x^{2}: 1=A+C1=A+C, so A=−1A=-1. Hence ∫=−ln⁡∣x∣−1x+2ln⁡∣x+1∣+C\int=-\ln\left|x\right|-\frac{1}{x}+2\ln\left|x+1\right|+C.

d)

x(x+1)(x2+4)=Ax+1+Bx+Cx2+4\frac{x}{\left(x+1\right)\left(x^{2}+4\right)}=\frac{A}{x+1}+\frac{Bx+C}{x^{2}+4}. Cover-up at x=−1x=-1: A=−11+4=−15A=\frac{-1}{1+4}=-\frac{1}{5}. Substituting back: x+15(x2+4)=(Bx+C)(x+1)x+\frac{1}{5}\left(x^{2}+4\right)=\left(Bx+C\right)\left(x+1\right), that is x25+x+45=(Bx+C)(x+1)\frac{x^{2}}{5}+x+\frac{4}{5}=\left(Bx+C\right)\left(x+1\right). Comparing the highest-degree terms, B=15B=\frac{1}{5}, and the constant terms, C=45C=\frac{4}{5}. Hence ∫=−15ln⁡∣x+1∣+110ln⁡(x2+4)+25arctan⁡x2+C\int=-\frac{1}{5}\ln\left|x+1\right|+\frac{1}{10}\ln\left(x^{2}+4\right)+\frac{2}{5}\arctan\frac{x}{2}+C, splitting x+45(x2+4)\frac{x+4}{5\left(x^{2}+4\right)} into its logarithmic part and its arctangent part.

e)

Step one: check the DEGREES, and divide if the numerator reaches the denominator. Step two: FACTOR the denominator completely into linear and irreducible quadratic factors, which is often the real difficulty. Step three: write the form of the decomposition, with as many constants as the degree of the denominator, a numerator Bx+CBx+C for each quadratic and as many terms as the multiplicity for each repeated factor. Step four: determine the constants, by cover-up for the real roots, then by convenient values or equating coefficients for the rest. Step five: integrate term by term, each logarithm being read off directly, each negative power too, and each quadratic splitting into a logarithmic part and an arctangent after completing the square.

Exercise 15: Where partial fractions really pay off

The decomposition is not an algebra exercise for its own sake: it is the tool that unlocks the logistic model, telescoping series and the evaluation of definite integrals. Three uses, three different chapters.

  • a) The logistic model leads to ∫dPP(K−P)\int\frac{dP}{P\left(K-P\right)}. Decompose and integrate.
  • b) Decompose 1n(n+1)\frac{1}{n\left(n+1\right)} and compute ∑n=1∞1n(n+1)\sum_{n=1}^{\infty}\frac{1}{n\left(n+1\right)}.
  • c) Decompose 1n(n+2)\frac{1}{n\left(n+2\right)} and compute ∑n=1∞1n(n+2)\sum_{n=1}^{\infty}\frac{1}{n\left(n+2\right)}. Why is the result no longer 1?
  • d) Compute ∫35dxx2−4\int_{3}^{5}\frac{dx}{x^{2}-4} and give a decimal value.
  • e) In what way is partial fraction decomposition the SAME operation in these three settings, despite very different appearances?

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

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

Answers

  • a) 1Kln⁡∣PK−P∣+C\frac{1}{K}\ln\left|\frac{P}{K-P}\right|+C
  • b) 1n−1n+1\frac{1}{n}-\frac{1}{n+1}; sum 11
  • c) 12(1n−1n+2)\frac{1}{2}\left(\frac{1}{n}-\frac{1}{n+2}\right); sum 34\frac{3}{4}
  • d) 14ln⁡157≈0.1905\frac{1}{4}\ln\frac{15}{7}\approx 0.1905
  • e) Break up into elementary pieces, then read the right table
a)

1P(K−P)=AP+BK−P\frac{1}{P\left(K-P\right)}=\frac{A}{P}+\frac{B}{K-P}; cover-up at P=0P=0 gives A=1KA=\frac{1}{K}, and at P=KP=K gives B=1KB=\frac{1}{K}. Hence ∫dPP(K−P)=1K(ln⁡∣P∣−ln⁡∣K−P∣)=1Kln⁡∣PK−P∣+C\int\frac{dP}{P\left(K-P\right)}=\frac{1}{K}\left(\ln\left|P\right|-\ln\left|K-P\right|\right)=\frac{1}{K}\ln\left|\frac{P}{K-P}\right|+C. It is this antiderivative which, once inverted, produces the S-shaped logistic curve: without the decomposition, the differential equation would stay stuck at the separation of variables step.

b)

1n(n+1)=1n−1n+1\frac{1}{n\left(n+1\right)}=\frac{1}{n}-\frac{1}{n+1}, by cover-up. The partial sum TELESCOPES: SN=(1−12)+(12−13)+⋯+(1N−1N+1)=1−1N+1S_{N}=\left(1-\frac{1}{2}\right)+\left(\frac{1}{2}-\frac{1}{3}\right)+\cdots+\left(\frac{1}{N}-\frac{1}{N+1}\right)=1-\frac{1}{N+1}, whose limit is 1. The series is therefore worth exactly 1.

c)

1n(n+2)=12(1n−1n+2)\frac{1}{n\left(n+2\right)}=\frac{1}{2}\left(\frac{1}{n}-\frac{1}{n+2}\right). This time the telescoping is SHIFTED by two places: SN=12(1+12−1N+1−1N+2)S_{N}=\frac{1}{2}\left(1+\frac{1}{2}-\frac{1}{N+1}-\frac{1}{N+2}\right), whose limit is 12⋅32=34\frac{1}{2}\cdot\frac{3}{2}=\frac{3}{4}. The result is no longer 1 because TWO terms survive at the start instead of one: the larger the shift, the more terms remain uncancelled, and the sum of a telescoping series is always read from what survives at the two ends.

d)

∫dxx2−4=14ln⁡∣x−2x+2∣\int\frac{dx}{x^{2}-4}=\frac{1}{4}\ln\left|\frac{x-2}{x+2}\right|, from the formula derived earlier with a=2a=2. Between 3 and 5: 14(ln⁡37−ln⁡15)=14ln⁡157≈0.76214≈0.1905\frac{1}{4}\left(\ln\frac{3}{7}-\ln\frac{1}{5}\right)=\frac{1}{4}\ln\frac{15}{7}\approx\frac{0.7621}{4}\approx 0.1905.

e)

In all three cases, the idea is to BREAK UP a complicated object into a sum of elementary objects about which everything is known. For the integral, the elementary objects are 1x−a\frac{1}{x-a}, whose antiderivative is a logarithm. For the series, they are 1n\frac{1}{n} and 1n+k\frac{1}{n+k}, whose partial sums cancel each other. For the logistic model, they are 1P\frac{1}{P} and 1K−P\frac{1}{K-P}, whose antiderivatives, logarithms again, unlock the separation of variables. The algebraic operation is strictly the same; only the table in which you read the result once the decomposition is done changes. That is why it is worth mastering the decomposition for its own sake: it is reused in three chapters that, on the surface, have nothing to do with each other.

Part D: Strategy, combinations and synthesis (/50)

Exercise 16: Look-alike pairs

Nothing wastes more time than applying the right technique to the wrong integral. Here are four pairs whose members differ only by a detail, and whose techniques have nothing in common.

  • a) Compute ∫xex2dx\int xe^{x^{2}}dx and ∫xexdx\int xe^{x}dx.
  • b) Compute ∫x dxx2+1\int\frac{x\,dx}{x^{2}+1} and ∫x dxx+1\int\frac{x\,dx}{x+1}.
  • c) Compute ∫ln⁡xxdx\int\frac{\ln x}{x}dx and ∫ln⁡x dx\int\ln x\,dx.
  • d) Compute ∫xx2+1 dx\int x\sqrt{x^{2}+1}\,dx and ∫xx+1 dx\int x\sqrt{x+1}\,dx.
  • e) For each of the four pairs, say in one sentence which DETAIL tips you from one technique to the other.

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

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

Answers

  • a) ex22+C\frac{e^{x^{2}}}{2}+C; (x−1)ex+C(x-1)e^{x}+C
  • b) 12ln⁡(x2+1)+C\frac{1}{2}\ln(x^{2}+1)+C; x−ln⁡∣x+1∣+Cx-\ln|x+1|+C
  • c) (ln⁡x)22+C\frac{(\ln x)^{2}}{2}+C; xln⁡x−x+Cx\ln x-x+C
  • d) (x2+1)3/23+C\frac{(x^{2}+1)^{3/2}}{3}+C; 25(x+1)5/2−23(x+1)3/2+C\frac{2}{5}(x+1)^{5/2}-\frac{2}{3}(x+1)^{3/2}+C
  • e) Is the outside factor the derivative of the inside?
a)

In the first, xx is half the derivative of x2x^{2}: SUBSTITUTION, and you get ex22+C\frac{e^{x^{2}}}{2}+C. In the second, xx is the derivative of nothing useful, the exponent already being xx: integration by PARTS, with u=xu=x, and you get (x−1)ex+C\left(x-1\right)e^{x}+C.

b)

The first has the form f′f\frac{f'}{f} up to the factor 12\frac{1}{2}: 12ln⁡(x2+1)+C\frac{1}{2}\ln\left(x^{2}+1\right)+C. The second is an IMPROPER rational function, equal degrees: divide first, xx+1=1−1x+1\frac{x}{x+1}=1-\frac{1}{x+1}, hence x−ln⁡∣x+1∣+Cx-\ln\left|x+1\right|+C.

c)

The first contains 1x\frac{1}{x}, the derivative of ln⁡x\ln x: substitution, (ln⁡x)22+C\frac{\left(\ln x\right)^{2}}{2}+C. The second has only one block: parts with the invisible factor 1, xln⁡x−x+Cx\ln x-x+C.

d)

The first has the factor xx that the derivative of x2+1x^{2}+1 calls for: substitution, (x2+1)3/23+C\frac{\left(x^{2}+1\right)^{3/2}}{3}+C. The second does have an xx, but the derivative of x+1x+1 is 1: the xx survives the substitution and must be re-expressed as u−1u-1, hence 2(x+1)5/25−2(x+1)3/23+C\frac{2\left(x+1\right)^{5/2}}{5}-\frac{2\left(x+1\right)^{3/2}}{3}+C.

e)

Pair a: is the exponent of ee a SQUARE, of which xx would be the derivative, or xx itself? Pair b: is the denominator of degree 2, which makes the numerator its derivative, or of degree 1, which makes the fraction improper and forces a division? Pair c: is the factor 1x\frac{1}{x}, the derivative of the logarithm, present or absent? Pair d: does the derivative of what is under the root contain an xx, in which case the outside factor is absorbed, or is it 1, in which case the factor survives? The four questions are really one: IS the outside factor the derivative of the inside?

Exercise 17: Combining: substitute first, integrate by parts next

Many integrals give way to no single technique but fall in two steps: a substitution cleans up the structure, then an integration by parts finishes the job. Recognizing that TWO steps are needed is the difficulty.

  • a) Compute ∫exdx\int e^{\sqrt{x}}dx.
  • b) Compute ∫cos⁡x dx\int\cos\sqrt{x}\,dx.
  • c) Compute ∫x3ex2dx\int x^{3}e^{x^{2}}dx.
  • d) Compute ∫ln⁡(ln⁡x)xdx\int\frac{\ln\left(\ln x\right)}{x}dx.
  • e) What clue, in the way an integrand is written, announces that a substitution alone will not be enough?

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

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

Answers

  • a) 2(x−1)ex+C2(\sqrt{x}-1)e^{\sqrt{x}}+C
  • b) 2(xsin⁡x+cos⁡x)+C2(\sqrt{x}\sin\sqrt{x}+\cos\sqrt{x})+C
  • c) (x2−1)ex22+C\frac{(x^{2}-1)e^{x^{2}}}{2}+C
  • d) ln⁡x⋅ln⁡(ln⁡x)−ln⁡x+C\ln x\cdot\ln(\ln x)-\ln x+C
  • e) A uu survives, multiplied by another function
a)

Let u=xu=\sqrt{x}, so x=u2x=u^{2} and dx=2u dudx=2u\,du: ∫eu⋅2u du=2∫ueudu\int e^{u}\cdot 2u\,du=2\int ue^{u}du. This is now a polynomial times exponential product, so integration by parts: 2(ueu−eu)=2(u−1)eu2\left(ue^{u}-e^{u}\right)=2\left(u-1\right)e^{u}, that is 2(x−1)ex+C2\left(\sqrt{x}-1\right)e^{\sqrt{x}}+C. The substitution did not compute the integral, it made it workable.

b)

Same substitution: 2∫ucos⁡u du=2(usin⁡u+cos⁡u)2\int u\cos u\,du=2\left(u\sin u+\cos u\right), that is 2(xsin⁡x+cos⁡x)+C2\left(\sqrt{x}\sin\sqrt{x}+\cos\sqrt{x}\right)+C.

c)

Let u=x2u=x^{2}, so du=2x dxdu=2x\,dx and x2=ux^{2}=u: ∫x2⋅ex2⋅x dx=12∫ueudu=12(u−1)eu\int x^{2}\cdot e^{x^{2}}\cdot x\,dx=\frac{1}{2}\int ue^{u}du=\frac{1}{2}\left(u-1\right)e^{u}, that is (x2−1)ex22+C\frac{\left(x^{2}-1\right)e^{x^{2}}}{2}+C. One factor xx went into the dudu, and the remaining x2x^{2} became the uu of the product: the odd power did both jobs at once.

d)

Let u=ln⁡xu=\ln x, so du=dxxdu=\frac{dx}{x}: ∫ln⁡u du=uln⁡u−u\int\ln u\,du=u\ln u-u, that is ln⁡x⋅ln⁡(ln⁡x)−ln⁡x+C\ln x\cdot\ln\left(\ln x\right)-\ln x+C. The substitution removed the 1x\frac{1}{x} and turned a double composition into the best-known integral of the chapter.

e)

The clue is a COMPOSITE function for which the count of factors does not come out right: its inner derivative is missing, or it is there but comes with an extra factor that will not go away. In exe^{\sqrt{x}}, the derivative of x\sqrt{x} is 12x\frac{1}{2\sqrt{x}}, which appears nowhere: the substitution will therefore leave a uu standing, and this uu multiplied by an exponential calls for integration by parts. In other words, as soon as a substitution is structurally indicated but the count of factors does not come out right, plan for a second step. The useful reflex is to carry the substitution through to the end WITHOUT being discouraged by a surviving factor, then to look at what remains with fresh eyes.

Exercise 18: Rational functions in disguise

Many integrals that look like nothing special become rational functions after a well-chosen substitution. This is where the three previous parts meet, and one of the most frequent situations on exams.

  • a) Compute ∫cos⁡x dxsin⁡2x+3sin⁡x+2\int\frac{\cos x\,dx}{\sin^{2}x+3\sin x+2}.
  • b) Compute ∫dxx(x4+1)\int\frac{dx}{x\left(x^{4}+1\right)}.
  • c) Compute ∫exdxe2x−1\int\frac{e^{x}dx}{e^{2x}-1}.
  • d) Compute ∫dxx(1+x)\int\frac{dx}{\sqrt{x}\left(1+x\right)}.
  • e) What do the four substitutions used have in common? State the rule in one sentence.

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

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

Answers

  • a) ln⁡∣sin⁡x+1sin⁡x+2∣+C\ln\left|\frac{\sin x+1}{\sin x+2}\right|+C
  • b) 14ln⁡x4x4+1+C\frac{1}{4}\ln\frac{x^{4}}{x^{4}+1}+C
  • c) 12ln⁡∣ex−1ex+1∣+C\frac{1}{2}\ln\left|\frac{e^{x}-1}{e^{x}+1}\right|+C
  • d) 2arctan⁡x+C2\arctan\sqrt{x}+C
  • e) u=g(x)u=g(x) makes the fraction rational
a)

u=sin⁡xu=\sin x gives du=cos⁡x dxdu=\cos x\,dx: ∫duu2+3u+2=∫du(u+1)(u+2)\int\frac{du}{u^{2}+3u+2}=\int\frac{du}{\left(u+1\right)\left(u+2\right)}. By cover-up, 1u+1−1u+2\frac{1}{u+1}-\frac{1}{u+2}, hence ln⁡∣u+1u+2∣\ln\left|\frac{u+1}{u+2}\right|, that is ln⁡∣sin⁡x+1sin⁡x+2∣+C\ln\left|\frac{\sin x+1}{\sin x+2}\right|+C. A trigonometric integral handled entirely by partial fractions.

b)

Multiply top and bottom by x3x^{3} to bring out the derivative of x4x^{4}: ∫x3dxx4(x4+1)\int\frac{x^{3}dx}{x^{4}\left(x^{4}+1\right)}. With u=x4u=x^{4} and du=4x3dxdu=4x^{3}dx: 14∫duu(u+1)=14(ln⁡∣u∣−ln⁡∣u+1∣)\frac{1}{4}\int\frac{du}{u\left(u+1\right)}=\frac{1}{4}\left(\ln\left|u\right|-\ln\left|u+1\right|\right), that is 14ln⁡x4x4+1+C\frac{1}{4}\ln\frac{x^{4}}{x^{4}+1}+C. The preliminary multiplication is the decisive move.

c)

u=exu=e^{x} gives du=exdxdu=e^{x}dx: ∫duu2−1=12ln⁡∣u−1u+1∣\int\frac{du}{u^{2}-1}=\frac{1}{2}\ln\left|\frac{u-1}{u+1}\right|, from the formula of Part C with a=1a=1. Result: 12ln⁡∣ex−1ex+1∣+C\frac{1}{2}\ln\left|\frac{e^{x}-1}{e^{x}+1}\right|+C.

d)

u=xu=\sqrt{x} gives x=u2x=u^{2} and dx=2u dudx=2u\,du: ∫2u duu(1+u2)=2∫du1+u2=2arctan⁡u\int\frac{2u\,du}{u\left(1+u^{2}\right)}=2\int\frac{du}{1+u^{2}}=2\arctan u, that is 2arctan⁡x+C2\arctan\sqrt{x}+C. The uu in the numerator and the one in the denominator cancel, which is precisely the effect you want.

e)

In all four cases, the substitution replaces a building block of the integrand, the sine, the fourth power, the exponential or the root, by a single variable, turning the integrand into a quotient of POLYNOMIALS. The rule: as soon as an integrand is a fraction whose numerator and denominator depend on xx only through one and the same function g(x)g\left(x\right), and g′(x)g'\left(x\right) is present in the numerator or can be made to appear there, let u=g(x)u=g\left(x\right) and you will get a rational function, which Part C can always integrate. That is the deep reason why partial fractions are worth mastering: they are the end point of a great many calculations that did not look like it.

Exercise 19: Checking your result: three free checks

An antiderivative can always be checked, and in a few seconds. No other part of the course offers such an immediate check, and yet it is the one where the most wrong answers are handed in.

  • a) A student proposes ∫dxx2+4=arctan⁡x2+C\int\frac{dx}{x^{2}+4}=\arctan\frac{x}{2}+C. Check by differentiating and correct it.
  • b) Another proposes ∫xx+1 dx=x22⋅2(x+1)3/23+C\int x\sqrt{x+1}\,dx=\frac{x^{2}}{2}\cdot\frac{2\left(x+1\right)^{3/2}}{3}+C. Refute it in one line, without differentiating.
  • c) A third proposes ∫01dxx−2=[ln⁡∣x−2∣]01=ln⁡1−ln⁡2=−ln⁡2\int_{0}^{1}\frac{dx}{x-2}=\left[\ln\left|x-2\right|\right]_{0}^{1}=\ln 1-\ln 2=-\ln 2. Is the result right? Was the sign predictable?
  • d) A fourth proposes ∫−11dxx2=[−1x]−11=−1−1=−2\int_{-1}^{1}\frac{dx}{x^{2}}=\left[-\frac{1}{x}\right]_{-1}^{1}=-1-1=-2. Where is the fault, and which check would have revealed it?
  • e) State the three checks to make systematically before handing in an answer.

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

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

Answers

  • a) 12arctan⁡x2+C\frac{1}{2}\arctan\frac{x}{2}+C
  • b) Product integrated factor by factor: wrong
  • c) Right, and negative like the integrand
  • d) Singularity at 00: the integral diverges
  • e) Differentiate, sign and order of magnitude, domain
a)

(arctan⁡x2)′=11+x24⋅12=44+x2⋅12=2x2+4\left(\arctan\frac{x}{2}\right)'=\frac{1}{1+\frac{x^{2}}{4}}\cdot\frac{1}{2}=\frac{4}{4+x^{2}}\cdot\frac{1}{2}=\frac{2}{x^{2}+4}, that is TWICE the integrand. The correct answer is therefore 12arctan⁡x2+C\frac{1}{2}\arctan\frac{x}{2}+C. This is the most common error of the whole chapter: the factor 1a\frac{1}{a} in the arctangent formula gets forgotten because it cannot be guessed from the way the integrand is written.

b)

Without differentiating, it is enough to notice that the student integrated the two factors SEPARATELY, as if the integral of a product were the product of the integrals. That rule does not exist, and an immediate counterexample confirms it: ∫x⋅x dx=x33\int x\cdot x\,dx=\frac{x^{3}}{3}, whereas the product of the integrals would give x22⋅x22=x44\frac{x^{2}}{2}\cdot\frac{x^{2}}{2}=\frac{x^{4}}{4}. The right answer is the one from Part A, obtained by substitution with u=x+1u=x+1.

c)

The result is RIGHT, and its sign was entirely predictable: on [0,1]\left[0, 1\right], the quantity x−2x-2 stays negative, so the integrand 1x−2\frac{1}{x-2} is negative everywhere, and the integral of a negative function can only be negative. The calculation is legitimate because the interval [0,1]\left[0, 1\right] does not contain the singularity x=2x=2: the function is continuous there, and the absolute value in the logarithm handles the sign correctly.

d)

The integrand 1x2\frac{1}{x^{2}} is not defined at x=0x=0, which is INSIDE the interval: the integral is improper and the fundamental theorem does not apply. You must split it in two, and each piece DIVERGES, so the integral does not exist. The check that would have revealed it is the simplest of all: 1x2\frac{1}{x^{2}} is strictly POSITIVE wherever it is defined, so no integral of it can be negative. A result of −2-2 is absurd before any analysis, and that glance alone was enough.

e)

First check, the safest: DIFFERENTIATE the proposed antiderivative and check that you get back the integrand. It is infallible and takes ten seconds; there is no excuse for skipping it on an indefinite integral. Second check, for a definite integral: the SIGN and the order of magnitude. A positive function gives a positive integral; a function between 1 and 2 on an interval of length 3 gives an integral between 3 and 6. Third check: the DOMAIN. Is the integrand defined and continuous on the whole interval? Is there a singularity inside? Is the proposed antiderivative valid on the whole interval, or only on one branch? These three checks catch almost all errors and cost almost nothing.

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

Twelve mixed integrals, with no hint about the method. As on the exam, the difficulty is not the calculation but the DIAGNOSIS. Work through them in order and write down, for each one, the question that decided the technique.

  • a) Compute ∫2x+1x2+x+7dx\int\frac{2x+1}{x^{2}+x+7}dx, ∫dxx2+x−6\int\frac{dx}{x^{2}+x-6} and ∫x2x−2dx\int\frac{x^{2}}{x-2}dx.
  • b) Compute ∫x2ln⁡x dx\int x^{2}\ln x\,dx, ∫ln⁡xx3dx\int\frac{\ln x}{x^{3}}dx and ∫e3xsin⁡2x dx\int e^{3x}\sin 2x\,dx.
  • c) Compute ∫dxxln⁡x\int\frac{dx}{x\ln x}, ∫e2xex+1dx\int\frac{e^{2x}}{e^{x}+1}dx and ∫dx1+x3\int\frac{dx}{1+\sqrt[3]{x}}.
  • d) Compute ∫dx4−x2\int\frac{dx}{\sqrt{4-x^{2}}}, ∫x dx4−x2\int\frac{x\,dx}{\sqrt{4-x^{2}}} and ∫dxx2−6x+13\int\frac{dx}{x^{2}-6x+13}.
  • e) Write the complete decision tree of the set: which questions to ask, in what order, in front of an unfamiliar integral?

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

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

Answers

  • a) ln⁡(x2+x+7)\ln(x^{2}+x+7); 15ln⁡∣x−2x+3∣\frac{1}{5}\ln\left|\frac{x-2}{x+3}\right|; x22+2x+4ln⁡∣x−2∣\frac{x^{2}}{2}+2x+4\ln|x-2|
  • b) x33ln⁡x−x39\frac{x^{3}}{3}\ln x-\frac{x^{3}}{9}; −ln⁡x2x2−14x2-\frac{\ln x}{2x^{2}}-\frac{1}{4x^{2}}; e3x(3sin⁡2x−2cos⁡2x)13\frac{e^{3x}(3\sin 2x-2\cos 2x)}{13}
  • c) ln⁡∣ln⁡x∣\ln|\ln x|; ex−ln⁡(ex+1)e^{x}-\ln(e^{x}+1); 3u22−3u+3ln⁡∣1+u∣\frac{3u^{2}}{2}-3u+3\ln|1+u|
  • d) arcsin⁡x2\arcsin\frac{x}{2}; −4−x2-\sqrt{4-x^{2}}; 12arctan⁡x−32\frac{1}{2}\arctan\frac{x-3}{2}
  • e) Table, derivative present, product, fraction, rationalize, trigonometric substitution
a)

The first has a numerator exactly equal to the derivative of the denominator: form f′f\frac{f'}{f}, so ln⁡(x2+x+7)+C\ln\left(x^{2}+x+7\right)+C. The second has a denominator that FACTORS, (x+3)(x−2)\left(x+3\right)\left(x-2\right): partial fractions, with by cover-up −1/5x+3+1/5x−2\frac{-1/5}{x+3}+\frac{1/5}{x-2}, hence 15ln⁡∣x−2x+3∣+C\frac{1}{5}\ln\left|\frac{x-2}{x+3}\right|+C. The third is improper: divide first, x2x−2=x+2+4x−2\frac{x^{2}}{x-2}=x+2+\frac{4}{x-2}, hence x22+2x+4ln⁡∣x−2∣+C\frac{x^{2}}{2}+2x+4\ln\left|x-2\right|+C.

b)

Polynomial times logarithm product: parts with u=ln⁡xu=\ln x. ∫x2ln⁡x dx=x33ln⁡x−x39+C\int x^{2}\ln x\,dx=\frac{x^{3}}{3}\ln x-\frac{x^{3}}{9}+C. The same with dv=x−3dxdv=x^{-3}dx: ∫ln⁡xx3dx=−ln⁡x2x2−14x2+C\int\frac{\ln x}{x^{3}}dx=-\frac{\ln x}{2x^{2}}-\frac{1}{4x^{2}}+C. The third is the cyclic case: ∫e3xsin⁡2x dx=e3x(3sin⁡2x−2cos⁡2x)13+C\int e^{3x}\sin 2x\,dx=\frac{e^{3x}\left(3\sin 2x-2\cos 2x\right)}{13}+C.

c)

The first contains 1x\frac{1}{x}, the derivative of ln⁡x\ln x: substitution, ln⁡∣ln⁡x∣+C\ln\left|\ln x\right|+C. The second becomes rational with u=exu=e^{x}, with dx=duudx=\frac{du}{u}: ∫uu+1du=u−ln⁡∣u+1∣\int\frac{u}{u+1}du=u-\ln\left|u+1\right|, that is ex−ln⁡(ex+1)+Ce^{x}-\ln\left(e^{x}+1\right)+C. The third is rationalized by x=u3x=u^{3}: ∫3u21+udu=3∫(u−1+11+u)du=3u22−3u+3ln⁡∣1+u∣\int\frac{3u^{2}}{1+u}du=3\int\left(u-1+\frac{1}{1+u}\right)du=\frac{3u^{2}}{2}-3u+3\ln\left|1+u\right| with u=x3u=\sqrt[3]{x}.

d)

Root a2−x2\sqrt{a^{2}-x^{2}} with no factor xx: basic form, arcsin⁡x2+C\arcsin\frac{x}{2}+C. With the factor xx: algebraic substitution, −4−x2+C-\sqrt{4-x^{2}}+C. The third has an IRREDUCIBLE quadratic denominator, its discriminant being 36−52<036-52<0: completing the square, (x−3)2+4\left(x-3\right)^{2}+4, hence 12arctan⁡x−32+C\frac{1}{2}\arctan\frac{x-3}{2}+C.

e)

Question 1: is the integrand a form from the TABLE, directly or after an elementary rewriting? Question 2: is there, in the numerator or as a factor, the DERIVATIVE of something that appears elsewhere? If so, substitution, and the matter is closed. Question 3: is it a PRODUCT of two different families, polynomial and exponential, polynomial and logarithm, exponential and trigonometric, or a single function of which only the derivative is known? If so, integration by parts, differentiating according to LIATE. Question 4: is it a RATIONAL FUNCTION? If so, compare the degrees, divide if needed, factor the denominator and decompose. Question 5: can it be MADE rational by a substitution, by letting uu equal the exponential, the root or the trigonometric function that keeps coming back? Question 6, and only then: is there a root of the type a2±x2\sqrt{a^{2}\pm x^{2}} or x2−a2\sqrt{x^{2}-a^{2}} left, with no factor to absorb it? Trigonometric substitution. And if all six questions fail, consider that the antiderivative may not be elementary, or that a symmetry trick is expected. The order matters as much as the list: the costly techniques come last.

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 Integration techniques, 201-SN3-RE Next chapter Trigonometric integrals, 201-SN3-RE

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

See also

Looking for an integral calculus tutor in Montreal?

Get in touch for a first session. We work on the decision tree rather than on recipes: recognizing in thirty seconds whether an integral calls for a substitution, integration by parts or a decomposition, and knowing why.

Site by Studio Squalli