MATH 205 Calculus II • Concordia University, Montreal

Corrected exercises: partial fractions (MATH 205)

Exercises: partial fractions (MATH 205)

Name: Class: Date:

Solutions

Suggested time: 3 h 00 · Calculator allowed · 12 exercises
https://www.letuteurscientifique.ca/en/exercices/math205-partial-fractions

This is the corrected exercise set for the integration of rational functions by partial fractions in MATH 205, Differential and Integral Calculus II, at Concordia University, section 8.5 of Thomas' Calculus.

What the set covers, the traps it targets

It covers proper and improper rational functions, the long division, distinct and repeated linear factors, irreducible quadratic factors, the Heaviside cover-up method, the comparison of coefficients and the method of differentiating, and the substitutions that lead to a rational function.

At the end you can evaluate any integral of this kind, in the form a midterm asks for, with the exact value.

One idea runs through the set: the degree, then the denominator. Compare the degrees and divide if the numerator is not of lower degree; factor the denominator completely, the discriminant deciding each quadratic; write the form before any constant; then integrate each term with its own rule. The marks are lost in the algebra around the method: the subtraction inside the long division, the factorisation of the denominator, completing the square, the sign of the root in the cover-up, the inner coefficient of a logarithm.

The traps named in the solutions: an improper fraction decomposed without the division (exercises 1 and 10), the constants that look right while the identity is false (1), the inner coefficient 12\frac{1}{2} of ln⁡∣2x+1∣\ln|2x + 1| (2), the absolute value dropped on an interval where a factor is negative (2), the missing Ax\frac{A}{x} of a repeated factor (3 and 8), ∫dxx2+16\int \frac{dx}{x^2 + 16} without its 14\frac{1}{4} (4), e2x dxe^{2x}\,dx converted to dudu (5), a quadratic declared irreducible without its discriminant (6 and 8), a decomposition where a substitution takes one line (7), the cover-up done at x=2x = 2 for the factor x+2x + 2 (8), and the sign of ∫dQ24−Q\int \frac{dQ}{24 - Q} in the logistic model (9).

  • 12 corrected exercises • 120 points • 180 minutes
  • Self-checking, 131 answers
  • Calculator
Start exercise 0.1 The chapter sheet
Print

Print the homework or the solutions

The homework without solutions, one exercise per page, and the solutions on their own: it comes with your free space. An email is enough, no password, and you come back here.

Create my free space

Already have one? Sign in

Course recap

  • • Degree check: if deg⁡f≥deg⁡g\deg f \ge \deg g, divide first: fg=q+rg\frac{f}{g} = q + \frac{r}{g} with deg⁡r<deg⁡g\deg r < \deg g; only rg\frac{r}{g} is decomposed.
  • • Each linear factor (ax+b)m(ax + b)^m brings A1ax+b+⋯+Am(ax+b)m\frac{A_1}{ax + b} + \dots + \frac{A_m}{(ax + b)^m}; each irreducible (x2+bx+c)n(x^2 + bx + c)^n, with b2−4c<0b^2 - 4c < 0, brings B1x+C1x2+bx+c+⋯+Bnx+Cn(x2+bx+c)n\frac{B_1x + C_1}{x^2 + bx + c} + \dots + \frac{B_nx + C_n}{(x^2 + bx + c)^n}.
  • • Heaviside cover-up: for a non-repeated factor x−rx - r, cover it and evaluate the rest at x=rx = r. The other constants: values of xx, coefficients, or differentiating.
  • • ∫dxax+b=1aln⁡∣ax+b∣+C\int \frac{dx}{ax + b} = \frac{1}{a}\ln|ax + b| + C and ∫dx(x−r)k=−1(k−1)(x−r)k−1+C\int \frac{dx}{(x - r)^k} = -\frac{1}{(k - 1)(x - r)^{k - 1}} + C for k≥2k \ge 2.
  • • Irreducible quadratic: complete the square, (x−h)2+k2(x - h)^2 + k^2, split the numerator, then ∫duu2+k2=1karctan⁡uk+C\int \frac{du}{u^2 + k^2} = \frac{1}{k}\arctan\frac{u}{k} + C.
  • • Substitutions: u=exu = e^x gives dx=duudx = \frac{du}{u}; u=xu = \sqrt x gives dx=2u dudx = 2u\,du.

Calculations: decompositions to write

Exercise 0.1: Decompositions to write: ten direct calculations

25 answers to check

For each rational function, find the constants of its partial fraction decomposition (Thomas 8.5). The form is given on each line; on the last line the numerator has the larger degree, and the polynomial part comes first.

One method for all ten lines. Linear factors that are not repeated: the Heaviside cover-up method, which multiplies the identity by one factor and sets xx equal to the root of that factor. A repeated factor or a quadratic factor: the cover-up gives the top term only, and the others come from a convenient value of xx or from comparing the coefficients of one power of xx. Check each line at one value of xx that is not a root.

  • a) 7(x−2)(x+5)=Ax−2+Bx+5\frac{7}{(x - 2)(x + 5)} = \frac{A}{x - 2} + \frac{B}{x + 5}.
  • b) 5x−5x2−x−6=Ax−3+Bx+2\frac{5x - 5}{x^2 - x - 6} = \frac{A}{x - 3} + \frac{B}{x + 2}.
  • c) x+9x2+3x=Ax+Bx+3\frac{x + 9}{x^2 + 3x} = \frac{A}{x} + \frac{B}{x + 3}.
  • d) 52x2+3x−2=A2x−1+Bx+2\frac{5}{2x^2 + 3x - 2} = \frac{A}{2x - 1} + \frac{B}{x + 2}.
  • e) 2x2+6x+8(x−1)(x+1)(x+3)=Ax−1+Bx+1+Cx+3\frac{2x^2 + 6x + 8}{(x - 1)(x + 1)(x + 3)} = \frac{A}{x - 1} + \frac{B}{x + 1} + \frac{C}{x + 3}.
  • f) 2x−5(x−4)2=Ax−4+B(x−4)2\frac{2x - 5}{(x - 4)^2} = \frac{A}{x - 4} + \frac{B}{(x - 4)^2}.
  • g) 3x2−5x+6x2(x−3)=Ax+Bx2+Cx−3\frac{3x^2 - 5x + 6}{x^2(x - 3)} = \frac{A}{x} + \frac{B}{x^2} + \frac{C}{x - 3}.
  • h) 3x2+2x3+2x=Ax+Bx+Cx2+2\frac{3x^2 + 2}{x^3 + 2x} = \frac{A}{x} + \frac{Bx + C}{x^2 + 2}.
  • i) x2−x+5(x−1)(x2+4)=Ax−1+Bx+Cx2+4\frac{x^2 - x + 5}{(x - 1)(x^2 + 4)} = \frac{A}{x - 1} + \frac{Bx + C}{x^2 + 4}.
  • j) x3+2xx2−1=q(x)+Ax−1+Bx+1\frac{x^3 + 2x}{x^2 - 1} = q(x) + \frac{A}{x - 1} + \frac{B}{x + 1}, with qq a polynomial: give q(2)q(2), then AA and BB.

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

a)
b)
c)
d)
e)
f)
g)
h)
i)
j)
Show the solution

Answers

  • a) A=1A = 1, B=−1B = -1
  • b) A=2A = 2, B=3B = 3
  • c) A=3A = 3, B=−2B = -2
  • d) A=2A = 2, B=−1B = -1
  • e) A=2A = 2, B=−1B = -1, C=1C = 1
  • f) A=2A = 2, B=3B = 3
  • g) A=1A = 1, B=−2B = -2, C=2C = 2
  • h) A=1A = 1, B=2B = 2, C=0C = 0
  • i) A=1A = 1, B=0B = 0, C=−1C = -1
  • j) q(x)=xq(x) = x, so q(2)=2q(2) = 2; A=32A = \frac{3}{2}, B=32B = \frac{3}{2}

The gesture that decides each line: cover the factor, then set xx equal to the root of that factor, sign included (x+5x + 5 covered means x=−5x = -5).

A non-monic factor such as 2x−12x - 1 has the root 12\frac{1}{2}, and the factor itself stays in the denominator of its term.

a)

Cover x−2x - 2 and set x=2x = 2: A=72+5=1A = \frac{7}{2 + 5} = 1.

Cover x+5x + 5 and set x=−5x = -5: B=7−5−2=−1B = \frac{7}{-5 - 2} = -1.

Check at x=0x = 0: 7−10=−0.7\frac{7}{-10} = -0.7 and 1−2+−15=−0.7\frac{1}{-2} + \frac{-1}{5} = -0.7.

b)

Factor first: x2−x−6=(x−3)(x+2)x^2 - x - 6 = (x - 3)(x + 2), two numbers of product −6-6 and sum −1-1.

A=5⋅3−53+2=2A = \frac{5 \cdot 3 - 5}{3 + 2} = 2 and B=5(−2)−5−2−3=3B = \frac{5(-2) - 5}{-2 - 3} = 3.

Check at x=0x = 0: −5−6=56\frac{-5}{-6} = \frac{5}{6} and 2−3+32=56\frac{2}{-3} + \frac{3}{2} = \frac{5}{6}.

c)

x2+3x=x(x+3)x^2 + 3x = x(x + 3): a common factor, the root 00 is a root like any other.

A=0+90+3=3A = \frac{0 + 9}{0 + 3} = 3 and B=−3+9−3=−2B = \frac{-3 + 9}{-3} = -2.

Check at x=1x = 1: 104=2.5\frac{10}{4} = 2.5 and 3−24=2.53 - \frac{2}{4} = 2.5.

d)

2x2+3x−2=(2x−1)(x+2)2x^2 + 3x - 2 = (2x - 1)(x + 2); expanding gives 2x2+4x−x−22x^2 + 4x - x - 2.

Cover 2x−12x - 1 and set x=12x = \frac{1}{2}: A=512+2=2A = \frac{5}{\frac{1}{2} + 2} = 2.

Cover x+2x + 2 and set x=−2x = -2: B=52(−2)−1=−1B = \frac{5}{2(-2) - 1} = -1.

Pitfall: writing the first term Ax−12\frac{A}{x - \frac{1}{2}} with the same AA; that form exists, but its constant is 11, not 22.

e)

Three linear factors, three cover-ups.

A=2+6+8(2)(4)=2A = \frac{2 + 6 + 8}{(2)(4)} = 2, B=2−6+8(−2)(2)=−1B = \frac{2 - 6 + 8}{(-2)(2)} = -1, C=18−18+8(−4)(−2)=1C = \frac{18 - 18 + 8}{(-4)(-2)} = 1.

Check at x=0x = 0: 8−3=−83\frac{8}{-3} = -\frac{8}{3} and −2−1+13=−83-2 - 1 + \frac{1}{3} = -\frac{8}{3}.

f)

Repeated factor: the cover-up of (x−4)2(x - 4)^2 at x=4x = 4 gives the top power only: B=2⋅4−5=3B = 2 \cdot 4 - 5 = 3.

Then 2x−5=A(x−4)+32x - 5 = A(x - 4) + 3 for all xx; the coefficients of xx give A=2A = 2.

Check at x=0x = 0: −516-\frac{5}{16} and −24+316=−516-\frac{2}{4} + \frac{3}{16} = -\frac{5}{16}.

g)

Multiply by x2(x−3)x^2(x - 3): 3x2−5x+6=Ax(x−3)+B(x−3)+Cx23x^2 - 5x + 6 = Ax(x - 3) + B(x - 3) + Cx^2.

x=0x = 0: 6=−3B6 = -3B, so B=−2B = -2. x=3x = 3: 27−15+6=9C27 - 15 + 6 = 9C, so C=2C = 2.

Coefficients of x2x^2: 3=A+C3 = A + C, so A=1A = 1.

Pitfall: the term Ax\frac{A}{x} is not found by any cover-up, and it is the one students drop.

h)

x3+2x=x(x2+2)x^3 + 2x = x(x^2 + 2), and x2+2x^2 + 2 has discriminant −8<0-8 < 0: irreducible, so its numerator is linear.

Cover-up for xx: A=22=1A = \frac{2}{2} = 1.

Then 3x2+2−(x2+2)=2x2=(Bx+C)x3x^2 + 2 - (x^2 + 2) = 2x^2 = (Bx + C)x, so B=2B = 2 and C=0C = 0.

i)

Cover-up for x−1x - 1: A=1−1+51+4=1A = \frac{1 - 1 + 5}{1 + 4} = 1.

Then x2−x+5−(x2+4)=−x+1=(Bx+C)(x−1)x^2 - x + 5 - (x^2 + 4) = -x + 1 = (Bx + C)(x - 1), so Bx+C=−1Bx + C = -1: B=0B = 0, C=−1C = -1.

A zero constant is a possible answer; the term Bx+Cx2+4\frac{Bx + C}{x^2 + 4} still had to be in the form.

j)

Degree 33 over degree 22: divide first. x3+2x=x(x2−1)+3xx^3 + 2x = x(x^2 - 1) + 3x, so q(x)=xq(x) = x and the remainder is 3x3x.

3x(x−1)(x+1)\frac{3x}{(x - 1)(x + 1)}: A=32A = \frac{3}{2} at x=1x = 1, B=−3−2=32B = \frac{-3}{-2} = \frac{3}{2} at x=−1x = -1.

Pitfall: decomposing x3+2xx2−1\frac{x^3 + 2x}{x^2 - 1} without the division; no constants AA, BB can work, since the right side tends to 00 and the left side does not.

Tick the exercises you have done or want to review: a free account, no password, keeps your ticks and your right answers from one visit to the next, tells you which chapter to tackle next and lets you ask for the exercise you are missing. Create your space, an email is enough.

Calculations: integrals to evaluate

Exercise 0.2: Definite integrals of rational functions: ten direct calculations

10 answers to check

Evaluate each definite integral. Give the exact value (a combination of logarithms, of π\pi, of integers), then a decimal to four places, the form a MATH 205 paper asks for: “give the exact answer, do not approximate”, the decimal only checking it.

One method for all ten lines: degree check (divide if needed), factor, decompose, then one rule per term: ∫dxax+b=1aln⁡∣ax+b∣+C\int \frac{dx}{ax + b} = \frac{1}{a}\ln|ax + b| + C, ∫dx(x−a)2=−1x−a+C\int \frac{dx}{(x - a)^2} = -\frac{1}{x - a} + C, and, after completing the square, ∫dx(x−h)2+k2=1karctan⁡x−hk+C\int \frac{dx}{(x - h)^2 + k^2} = \frac{1}{k}\arctan\frac{x - h}{k} + C. On every interval below the denominator does not vanish.

  • a) ∫12dxx2+2x\int_1^2 \frac{dx}{x^2 + 2x}
  • b) ∫01dx(x+1)(x+2)(x+3)\int_0^1 \frac{dx}{(x + 1)(x + 2)(x + 3)}
  • c) ∫012x+3(x+1)2 dx\int_0^1 \frac{2x + 3}{(x + 1)^2}\,dx
  • d) ∫13dxx2−2x+5\int_1^3 \frac{dx}{x^2 - 2x + 5}
  • e) ∫01x+3x2+1 dx\int_0^1 \frac{x + 3}{x^2 + 1}\,dx
  • f) ∫02x2x+2 dx\int_0^2 \frac{x^2}{x + 2}\,dx
  • g) ∫24x+1x2−x dx\int_2^4 \frac{x + 1}{x^2 - x}\,dx
  • h) ∫01x3x2+1 dx\int_0^1 \frac{x^3}{x^2 + 1}\,dx
  • i) ∫12dxx3+x2\int_1^2 \frac{dx}{x^3 + x^2}
  • j) ∫564x−6x2−3x dx\int_5^6 \frac{4x - 6}{x^2 - 3x}\,dx, by partial fractions, then by a substitution.

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

a)
b)
c)
d)
e)
f)
g)
h)
i)
j)
Show the solution

Answers

  • a) 12ln⁡32≈0.2027\frac{1}{2}\ln\frac{3}{2} \approx 0.2027
  • b) 52ln⁡2−32ln⁡3≈0.0849\frac{5}{2}\ln 2 - \frac{3}{2}\ln 3 \approx 0.0849
  • c) 2ln⁡2+12≈1.88632\ln 2 + \frac{1}{2} \approx 1.8863
  • d) π8≈0.3927\frac{\pi}{8} \approx 0.3927
  • e) 12ln⁡2+3π4≈2.7028\frac{1}{2}\ln 2 + \frac{3\pi}{4} \approx 2.7028
  • f) 4ln⁡2−2≈0.77264\ln 2 - 2 \approx 0.7726
  • g) ln⁡92≈1.5041\ln\frac{9}{2} \approx 1.5041
  • h) 12−12ln⁡2≈0.1534\frac{1}{2} - \frac{1}{2}\ln 2 \approx 0.1534
  • i) 12+ln⁡34≈0.2123\frac{1}{2} + \ln\frac{3}{4} \approx 0.2123
  • j) 2ln⁡95≈1.17562\ln\frac{9}{5} \approx 1.1756 by both routes

The gesture that decides each line comes before any antiderivative: is the fraction proper, is the denominator factored, and is the quadratic irreducible (discriminant)?

a)

x2+2x=x(x+2)x^2 + 2x = x(x + 2) and 1x(x+2)=1/2x−1/2x+2\frac{1}{x(x + 2)} = \frac{1/2}{x} - \frac{1/2}{x + 2}.

[12ln⁡xx+2]12=12(ln⁡12−ln⁡13)=12ln⁡32≈0.2027\left[\frac{1}{2}\ln\frac{x}{x + 2}\right]_1^2 = \frac{1}{2}\left(\ln\frac{1}{2} - \ln\frac{1}{3}\right) = \frac{1}{2}\ln\frac{3}{2} \approx 0.2027.

b)

Cover-up: 12\frac{1}{2} at x=−1x = -1, 1(1)(−1)=−1\frac{1}{(1)(-1)} = -1 at x=−2x = -2, 1(−2)(−1)=12\frac{1}{(-2)(-1)} = \frac{1}{2} at x=−3x = -3.

[12ln⁡(x+1)−ln⁡(x+2)+12ln⁡(x+3)]01=12ln⁡2−ln⁡3+ln⁡2−(−ln⁡2+12ln⁡3)\left[\frac{1}{2}\ln(x + 1) - \ln(x + 2) + \frac{1}{2}\ln(x + 3)\right]_0^1 = \frac{1}{2}\ln 2 - \ln 3 + \ln 2 - \left(-\ln 2 + \frac{1}{2}\ln 3\right).

Total: 52ln⁡2−32ln⁡3≈0.0849\frac{5}{2}\ln 2 - \frac{3}{2}\ln 3 \approx 0.0849, small and positive, as an integrand below 16\frac{1}{6} on an interval of length 11 requires.

c)

2x+3(x+1)2=2x+1+1(x+1)2\frac{2x + 3}{(x + 1)^2} = \frac{2}{x + 1} + \frac{1}{(x + 1)^2}, since 2x+3=2(x+1)+12x + 3 = 2(x + 1) + 1.

[2ln⁡(x+1)−1x+1]01=2ln⁡2−12+1=2ln⁡2+12≈1.8863\left[2\ln(x + 1) - \frac{1}{x + 1}\right]_0^1 = 2\ln 2 - \frac{1}{2} + 1 = 2\ln 2 + \frac{1}{2} \approx 1.8863.

Pitfall: ∫dx(x+1)2\int \frac{dx}{(x + 1)^2} is a power, −1x+1-\frac{1}{x + 1}, never a logarithm.

d)

Discriminant 4−20<04 - 20 < 0: complete the square, x2−2x+5=(x−1)2+4x^2 - 2x + 5 = (x - 1)^2 + 4.

[12arctan⁡x−12]13=12(arctan⁡1−arctan⁡0)=π8≈0.3927\left[\frac{1}{2}\arctan\frac{x - 1}{2}\right]_1^3 = \frac{1}{2}\left(\arctan 1 - \arctan 0\right) = \frac{\pi}{8} \approx 0.3927.

e)

Split the numerator: xx2+1+3x2+1\frac{x}{x^2 + 1} + \frac{3}{x^2 + 1}.

[12ln⁡(x2+1)+3arctan⁡x]01=12ln⁡2+3π4≈2.7028\left[\frac{1}{2}\ln(x^2 + 1) + 3\arctan x\right]_0^1 = \frac{1}{2}\ln 2 + \frac{3\pi}{4} \approx 2.7028.

f)

Degree 22 over degree 11: divide. x2=(x−2)(x+2)+4x^2 = (x - 2)(x + 2) + 4, so x2x+2=x−2+4x+2\frac{x^2}{x + 2} = x - 2 + \frac{4}{x + 2}.

[x22−2x+4ln⁡(x+2)]02=2−4+4ln⁡4−4ln⁡2=4ln⁡2−2≈0.7726\left[\frac{x^2}{2} - 2x + 4\ln(x + 2)\right]_0^2 = 2 - 4 + 4\ln 4 - 4\ln 2 = 4\ln 2 - 2 \approx 0.7726.

g)

x+1x(x−1)=−1x+2x−1\frac{x + 1}{x(x - 1)} = -\frac{1}{x} + \frac{2}{x - 1} (cover-up: 1−1\frac{1}{-1} at 00, 21\frac{2}{1} at 11).

[−ln⁡x+2ln⁡(x−1)]24=−ln⁡4+2ln⁡3+ln⁡2=ln⁡92≈1.5041\left[-\ln x + 2\ln(x - 1)\right]_2^4 = -\ln 4 + 2\ln 3 + \ln 2 = \ln\frac{9}{2} \approx 1.5041.

h)

Divide: x3=x(x2+1)−xx^3 = x(x^2 + 1) - x, so x3x2+1=x−xx2+1\frac{x^3}{x^2 + 1} = x - \frac{x}{x^2 + 1}.

[x22−12ln⁡(x2+1)]01=12−12ln⁡2≈0.1534\left[\frac{x^2}{2} - \frac{1}{2}\ln(x^2 + 1)\right]_0^1 = \frac{1}{2} - \frac{1}{2}\ln 2 \approx 0.1534.

i)

x3+x2=x2(x+1)x^3 + x^2 = x^2(x + 1), and 1x2(x+1)=−1x+1x2+1x+1\frac{1}{x^2(x + 1)} = -\frac{1}{x} + \frac{1}{x^2} + \frac{1}{x + 1} (1x2\frac{1}{x^2} and 1x+1\frac{1}{x + 1} by cover-up, then the x2x^2 coefficients: 0=A+10 = A + 1).

[−ln⁡x−1x+ln⁡(x+1)]12=−ln⁡2−12+ln⁡3−(−1+ln⁡2)=12+ln⁡34≈0.2123\left[-\ln x - \frac{1}{x} + \ln(x + 1)\right]_1^2 = -\ln 2 - \frac{1}{2} + \ln 3 - (-1 + \ln 2) = \frac{1}{2} + \ln\frac{3}{4} \approx 0.2123.

j)

Partial fractions: 4x−6x(x−3)=2x+2x−3\frac{4x - 6}{x(x - 3)} = \frac{2}{x} + \frac{2}{x - 3}, so [2ln⁡x+2ln⁡(x−3)]56=2ln⁡6+2ln⁡3−2ln⁡5−2ln⁡2=2ln⁡95\left[2\ln x + 2\ln(x - 3)\right]_5^6 = 2\ln 6 + 2\ln 3 - 2\ln 5 - 2\ln 2 = 2\ln\frac{9}{5}.

Substitution: 4x−6=2(2x−3)4x - 6 = 2(2x - 3) is twice the derivative of x2−3xx^2 - 3x, so the integral is [2ln⁡(x2−3x)]56=2ln⁡1810=2ln⁡95≈1.1756\left[2\ln(x^2 - 3x)\right]_5^6 = 2\ln\frac{18}{10} = 2\ln\frac{9}{5} \approx 1.1756.

When the numerator is a multiple of the derivative of the denominator, the substitution is shorter: look for it before decomposing.

Part A: the basics (/50)

Exercise 1: Degree first: the long division before any decomposition

11 answers to check

The method of partial fractions (Thomas 8.5) applies to a proper rational function f(x)g(x)\frac{f(x)}{g(x)}, one where the degree of ff is less than the degree of gg. If not, the first line of the answer is a long division, fg=q+rg\frac{f}{g} = q + \frac{r}{g} with deg⁡r<deg⁡g\deg r < \deg g, and only the remainder fraction rg\frac{r}{g} is decomposed. Skipping this line is the most expensive error of the chapter: the constants can still look right, and the answer is wrong.

The figure shows y=x2+11x2−25y = \frac{x^2 + 11}{x^2 - 25}, the vertical lines x=±5x = \pm 5 and the dashed line y=1y = 1.

−10−8−6−4−2246810−4−3−2−1123456y = 1x = 5x = −5x
  • a) For each fraction, say whether a long division comes first: f1=x2+11x2−25f_1 = \frac{x^2 + 11}{x^2 - 25} • f2=6x−1x2+x−20f_2 = \frac{6x - 1}{x^2 + x - 20} • f3=x3−7x3+2xf_3 = \frac{x^3 - 7}{x^3 + 2x} • f4=x4x5−32f_4 = \frac{x^4}{x^5 - 32}.
  • b) Divide, decompose and find ∫x2+11x2−25 dx\int \frac{x^2 + 11}{x^2 - 25}\,dx.
  • c) A student skips the division, writes x2+11x2−25=Ax−5+Bx+5\frac{x^2 + 11}{x^2 - 25} = \frac{A}{x - 5} + \frac{B}{x + 5} and finds A=185A = \frac{18}{5}, B=−185B = -\frac{18}{5} by the cover-up method. Compare the two sides at x=0x = 0, then as x→∞x \to \infty, and explain with the figure what the student lost.
  • d) Evaluate ∫01x3+4x2+5x+1x2+4x+3 dx\int_0^1 \frac{x^3 + 4x^2 + 5x + 1}{x^2 + 4x + 3}\,dx exactly.

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

a)
b)
c)
d)
Show the solution

Answers

  • a) f1f_1 and f3f_3: divide first (equal degrees); f2f_2 and f4f_4: proper, decompose directly
  • b) x2+11x2−25=1+18/5x−5−18/5x+5\frac{x^2 + 11}{x^2 - 25} = 1 + \frac{18/5}{x - 5} - \frac{18/5}{x + 5}; ∫=x+185ln⁡∣x−5x+5∣+C\int = x + \frac{18}{5}\ln\left|\frac{x - 5}{x + 5}\right| + C
  • c) At x=0x = 0: −1125-\frac{11}{25} against −3625-\frac{36}{25}, a gap of 11; as x→∞x \to \infty the fraction tends to 11, the student's form to 00: the quotient 11 is missing
  • d) 12+92ln⁡2−52ln⁡3≈0.8726\frac{1}{2} + \frac{9}{2}\ln 2 - \frac{5}{2}\ln 3 \approx 0.8726
a)

Compare the degrees, nothing else.

f1f_1: 22 and 22, equal, so divide. f2f_2: 1<21 < 2, proper. f3f_3: 33 and 33, divide. f4f_4: 4<54 < 5, proper.

Pitfall: “divide when the numerator is bigger” misses the case of equal degrees, the usual exam case.

b)

Division: x2+11=1⋅(x2−25)+36x^2 + 11 = 1 \cdot (x^2 - 25) + 36, so x2+11x2−25=1+36x2−25\frac{x^2 + 11}{x^2 - 25} = 1 + \frac{36}{x^2 - 25}.

Factor: x2−25=(x−5)(x+5)x^2 - 25 = (x - 5)(x + 5), a difference of squares.

Form: 36(x−5)(x+5)=Ax−5+Bx+5\frac{36}{(x - 5)(x + 5)} = \frac{A}{x - 5} + \frac{B}{x + 5}.

Cover-up: A=3610=185A = \frac{36}{10} = \frac{18}{5} at x=5x = 5, B=36−10=−185B = \frac{36}{-10} = -\frac{18}{5} at x=−5x = -5.

∫x2+11x2−25 dx=x+185ln⁡∣x−5∣−185ln⁡∣x+5∣+C=x+185ln⁡∣x−5x+5∣+C\int \frac{x^2 + 11}{x^2 - 25}\,dx = x + \frac{18}{5}\ln|x - 5| - \frac{18}{5}\ln|x + 5| + C = x + \frac{18}{5}\ln\left|\frac{x - 5}{x + 5}\right| + C.

c)

At x=0x = 0: the fraction is 11−25=−0.44\frac{11}{-25} = -0.44; the student's form gives 18/5−5+−18/55=−1.44\frac{18/5}{-5} + \frac{-18/5}{5} = -1.44. The gap is 11.

As x→∞x \to \infty: the fraction tends to 11 (leading coefficients 11\frac{1}{1}), each term Ax∓5\frac{A}{x \mp 5} tends to 00. No choice of AA and BB can repair this.

The figure shows the missing piece: the curve approaches the dashed line y=1y = 1, the quotient of the division.

The cover-up did give the right AA and BB, those of the remainder fraction, because the quotient term is multiplied by x−5x - 5 and vanishes at x=5x = 5. The constants look right and the identity is false: the degree check catches it before any work, a test at one value of xx after.

The student's integral misses the term xx: about 11 mark of 33 on a midterm, and the whole value of a definite integral.

d)

Degrees 33 and 22: divide. x3+4x2+5x+1=x(x2+4x+3)+(2x+1)x^3 + 4x^2 + 5x + 1 = x(x^2 + 4x + 3) + (2x + 1), since x(x2+4x+3)=x3+4x2+3xx(x^2 + 4x + 3) = x^3 + 4x^2 + 3x.

x2+4x+3=(x+1)(x+3)x^2 + 4x + 3 = (x + 1)(x + 3), and 2x+1(x+1)(x+3)=Ax+1+Bx+3\frac{2x + 1}{(x + 1)(x + 3)} = \frac{A}{x + 1} + \frac{B}{x + 3} with A=−12A = \frac{-1}{2} at x=−1x = -1 and B=−5−2=52B = \frac{-5}{-2} = \frac{5}{2} at x=−3x = -3.

∫01(x−1/2x+1+5/2x+3)dx=[x22−12ln⁡(x+1)+52ln⁡(x+3)]01\int_0^1 \left(x - \frac{1/2}{x + 1} + \frac{5/2}{x + 3}\right)dx = \left[\frac{x^2}{2} - \frac{1}{2}\ln(x + 1) + \frac{5}{2}\ln(x + 3)\right]_0^1.

=12−12ln⁡2+52ln⁡43=12+92ln⁡2−52ln⁡3≈0.8726= \frac{1}{2} - \frac{1}{2}\ln 2 + \frac{5}{2}\ln\frac{4}{3} = \frac{1}{2} + \frac{9}{2}\ln 2 - \frac{5}{2}\ln 3 \approx 0.8726.

Pitfall: subtracting x3+4x2+3xx^3 + 4x^2 + 3x term by term; 5x−3x=2x5x - 3x = 2x, and the constant 11 comes down unchanged.

Exercise 2: Distinct linear factors: the cover-up method and the absolute values

10 answers to check

When the denominator is a product of distinct linear factors, each factor ax+bax + b brings one term Aax+b\frac{A}{ax + b}. Thomas's Heaviside cover-up method finds each constant in one line: multiply the identity by that factor, then set xx equal to its root, where all the other terms vanish.

Each term then integrates to a logarithm, ∫Aax+b dx=Aaln⁡∣ax+b∣+C\int \frac{A}{ax + b}\,dx = \frac{A}{a}\ln|ax + b| + C: the inner coefficient aa divides, and the absolute value stays. The figure shows y=xx2−2x−8y = \frac{x}{x^2 - 2x - 8} and the region between the curve and the xx-axis for 0≤x≤20 \le x \le 2.

−1−0.50.511.522.53−0.5−0.4−0.3−0.2−0.10.10.20.3y = x/(x² − 2x − 8)x
  • a) Find ∫xx2−2x−8 dx\int \frac{x}{x^2 - 2x - 8}\,dx. Justify the cover-up step once in full.
  • b) Find ∫2x2+6x−6x3−x2−6x dx\int \frac{2x^2 + 6x - 6}{x^3 - x^2 - 6x}\,dx, and check the decomposition at x=1x = 1.
  • c) Find ∫dx2x2+7x+3\int \frac{dx}{2x^2 + 7x + 3} and write the answer as a single logarithm.
  • d) Evaluate ∫02xx2−2x−8 dx\int_0^2 \frac{x}{x^2 - 2x - 8}\,dx exactly. Explain from the figure why the answer must be negative.
  • e) A student writes the antiderivative of a) as 23ln⁡(x−4)+13ln⁡(x+2)\frac{2}{3}\ln(x - 4) + \frac{1}{3}\ln(x + 2), without absolute values. Why can this not be used on [0,2][0, 2]?

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

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

Answers

  • a) x(x−4)(x+2)=2/3x−4+1/3x+2\frac{x}{(x - 4)(x + 2)} = \frac{2/3}{x - 4} + \frac{1/3}{x + 2}; ∫=23ln⁡∣x−4∣+13ln⁡∣x+2∣+C\int = \frac{2}{3}\ln|x - 4| + \frac{1}{3}\ln|x + 2| + C
  • b) 1x+2x−3−1x+2\frac{1}{x} + \frac{2}{x - 3} - \frac{1}{x + 2}, both sides −13-\frac{1}{3} at x=1x = 1; ∫=ln⁡∣x∣+2ln⁡∣x−3∣−ln⁡∣x+2∣+C\int = \ln|x| + 2\ln|x - 3| - \ln|x + 2| + C
  • c) 2/52x+1−1/5x+3\frac{2/5}{2x + 1} - \frac{1/5}{x + 3}; ∫=15ln⁡∣2x+1x+3∣+C\int = \frac{1}{5}\ln\left|\frac{2x + 1}{x + 3}\right| + C
  • d) −13ln⁡2≈−0.2310-\frac{1}{3}\ln 2 \approx -0.2310: the region lies below the axis
  • e) On [0,2][0, 2], x−4<0x - 4 < 0 and ln⁡(x−4)\ln(x - 4) is undefined; the absolute value ln⁡∣x−4∣\ln|x - 4| is required
a)

Factor: x2−2x−8=(x−4)(x+2)x^2 - 2x - 8 = (x - 4)(x + 2), two numbers of product −8-8 and sum −2-2.

Form: x(x−4)(x+2)=Ax−4+Bx+2\frac{x}{(x - 4)(x + 2)} = \frac{A}{x - 4} + \frac{B}{x + 2}.

Cover-up in full: multiply both sides by x−4x - 4: xx+2=A+B(x−4)x+2\frac{x}{x + 2} = A + \frac{B(x - 4)}{x + 2}. At x=4x = 4 the last term is 00, so A=46=23A = \frac{4}{6} = \frac{2}{3}.

In the same way, at x=−2x = -2: B=−2−2−4=13B = \frac{-2}{-2 - 4} = \frac{1}{3}.

Check: A+B=1A + B = 1, the coefficient of xx in the numerator A(x+2)+B(x−4)A(x + 2) + B(x - 4).

∫xx2−2x−8 dx=23ln⁡∣x−4∣+13ln⁡∣x+2∣+C\int \frac{x}{x^2 - 2x - 8}\,dx = \frac{2}{3}\ln|x - 4| + \frac{1}{3}\ln|x + 2| + C.

b)

Factor: x3−x2−6x=x(x2−x−6)=x(x−3)(x+2)x^3 - x^2 - 6x = x(x^2 - x - 6) = x(x - 3)(x + 2), the common factor first.

Cover-up: at x=0x = 0, −6(−3)(2)=1\frac{-6}{(-3)(2)} = 1; at x=3x = 3, 18+18−63⋅5=2\frac{18 + 18 - 6}{3 \cdot 5} = 2; at x=−2x = -2, 8−12−6(−2)(−5)=−1\frac{8 - 12 - 6}{(-2)(-5)} = -1.

Check at x=1x = 1: 2+6−61−1−6=−13\frac{2 + 6 - 6}{1 - 1 - 6} = -\frac{1}{3} and 1+2−2−13=−131 + \frac{2}{-2} - \frac{1}{3} = -\frac{1}{3}.

∫=ln⁡∣x∣+2ln⁡∣x−3∣−ln⁡∣x+2∣+C\int = \ln|x| + 2\ln|x - 3| - \ln|x + 2| + C.

c)

2x2+7x+3=(2x+1)(x+3)2x^2 + 7x + 3 = (2x + 1)(x + 3).

Cover-up: at x=−12x = -\frac{1}{2}, A=1−12+3=25A = \frac{1}{-\frac{1}{2} + 3} = \frac{2}{5}; at x=−3x = -3, B=1−6+1=−15B = \frac{1}{-6 + 1} = -\frac{1}{5}.

∫2/52x+1 dx=25⋅12ln⁡∣2x+1∣=15ln⁡∣2x+1∣\int \frac{2/5}{2x + 1}\,dx = \frac{2}{5} \cdot \frac{1}{2}\ln|2x + 1| = \frac{1}{5}\ln|2x + 1|, the inner coefficient 22 dividing.

∫dx2x2+7x+3=15ln⁡∣2x+1∣−15ln⁡∣x+3∣+C=15ln⁡∣2x+1x+3∣+C\int \frac{dx}{2x^2 + 7x + 3} = \frac{1}{5}\ln|2x + 1| - \frac{1}{5}\ln|x + 3| + C = \frac{1}{5}\ln\left|\frac{2x + 1}{x + 3}\right| + C.

Pitfall: 25ln⁡∣2x+1∣\frac{2}{5}\ln|2x + 1|, with the inner coefficient forgotten; differentiating it gives 4/52x+1\frac{4/5}{2x + 1}, twice the term.

d)

With a): [23ln⁡∣x−4∣+13ln⁡∣x+2∣]02=23ln⁡2+13ln⁡4−23ln⁡4−13ln⁡2\left[\frac{2}{3}\ln|x - 4| + \frac{1}{3}\ln|x + 2|\right]_0^2 = \frac{2}{3}\ln 2 + \frac{1}{3}\ln 4 - \frac{2}{3}\ln 4 - \frac{1}{3}\ln 2.

=23ln⁡2+23ln⁡2−43ln⁡2−13ln⁡2=−13ln⁡2≈−0.2310= \frac{2}{3}\ln 2 + \frac{2}{3}\ln 2 - \frac{4}{3}\ln 2 - \frac{1}{3}\ln 2 = -\frac{1}{3}\ln 2 \approx -0.2310.

On (0,2](0, 2], x>0x > 0, x−4<0x - 4 < 0 and x+2>0x + 2 > 0: the integrand is negative, the curve is below the axis, and the integral is minus the shaded area.

Order of magnitude: the curve goes from 00 to −14-\frac{1}{4}, so the area is below 2⋅14=0.52 \cdot \frac{1}{4} = 0.5; 0.23100.2310 fits.

e)

For 0≤x≤20 \le x \le 2, x−4x - 4 is between −4-4 and −2-2: ln⁡(x−4)\ln(x - 4) is not defined, and the student's antiderivative cannot be evaluated at either bound.

ddxln⁡∣u∣=u′u\frac{d}{dx}\ln|u| = \frac{u'}{u} for u<0u < 0 as well: the absolute value is what makes the antiderivative valid on each interval where the denominator does not vanish.

Exercise 3: Repeated linear factors: one term for each power

11 answers to check

A factor (x−r)m(x - r)^m of the denominator brings mm terms, A1x−r+A2(x−r)2+⋯+Am(x−r)m\frac{A_1}{x - r} + \frac{A_2}{(x - r)^2} + \dots + \frac{A_m}{(x - r)^m}, one for each power up to mm. The cover-up method gives only the top one; Thomas finds the others by giving xx convenient values, by comparing coefficients, or by differentiating.

The terms of power 22 and more integrate to powers, not to logarithms: ∫dx(x−r)2=−1x−r+C\int \frac{dx}{(x - r)^2} = -\frac{1}{x - r} + C. Throughout, KK denotes the constant of integration, since AA, BB, CC are the constants of the decompositions.

  • a) A student writes 2x2+7x+9x(x+3)2=Ax+C(x+3)2\frac{2x^2 + 7x + 9}{x(x + 3)^2} = \frac{A}{x} + \frac{C}{(x + 3)^2}, finds AA at x=0x = 0 and CC at x=−3x = -3, then tests the identity at x=1x = 1. Carry out the test and conclude.
  • b) Write the correct form, find its three constants, and find ∫2x2+7x+9x(x+3)2 dx\int \frac{2x^2 + 7x + 9}{x(x + 3)^2}\,dx.
  • c) Evaluate ∫122x2+7x+9x(x+3)2 dx\int_1^2 \frac{2x^2 + 7x + 9}{x(x + 3)^2}\,dx exactly.
  • d) Find ∫3x2−3x+3(x−2)2(x+1) dx\int \frac{3x^2 - 3x + 3}{(x - 2)^2(x + 1)}\,dx. Get the constant over x−2x - 2 in two ways: by comparing the coefficients of x2x^2, and by Thomas's method of differentiating.
  • e) Evaluate ∫343x2−3x+3(x−2)2(x+1) dx\int_3^4 \frac{3x^2 - 3x + 3}{(x - 2)^2(x + 1)}\,dx exactly.

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

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

Answers

  • a) A=1A = 1, C=−2C = -2; at x=1x = 1 the fraction is 98\frac{9}{8} and the form gives 78\frac{7}{8}: no constants work, the term Bx+3\frac{B}{x + 3} is missing
  • b) 1x+1x+3−2(x+3)2\frac{1}{x} + \frac{1}{x + 3} - \frac{2}{(x + 3)^2}; ∫=ln⁡∣x∣+ln⁡∣x+3∣+2x+3+K\int = \ln|x| + \ln|x + 3| + \frac{2}{x + 3} + K
  • c) ln⁡52−110≈0.8163\ln\frac{5}{2} - \frac{1}{10} \approx 0.8163
  • d) 1x+1+2x−2+3(x−2)2\frac{1}{x + 1} + \frac{2}{x - 2} + \frac{3}{(x - 2)^2}; ∫=ln⁡∣x+1∣+2ln⁡∣x−2∣−3x−2+K\int = \ln|x + 1| + 2\ln|x - 2| - \frac{3}{x - 2} + K
  • e) ln⁡5+32≈3.1094\ln 5 + \frac{3}{2} \approx 3.1094
a)

At x=0x = 0: A=99=1A = \frac{9}{9} = 1. At x=−3x = -3: C=18−21+9−3=−2C = \frac{18 - 21 + 9}{-3} = -2.

Test at x=1x = 1: the fraction is 2+7+91⋅16=98\frac{2 + 7 + 9}{1 \cdot 16} = \frac{9}{8}; the form gives 1−216=781 - \frac{2}{16} = \frac{7}{8}.

The two values differ, and AA and CC were forced: no constants make the identity true. Counting confirms it: the denominator has degree 33, the form only 22 unknowns.

Pitfall: a repeated factor seen as one factor; (x+3)2(x + 3)^2 brings two terms.

b)

Form: Ax+Bx+3+C(x+3)2\frac{A}{x} + \frac{B}{x + 3} + \frac{C}{(x + 3)^2}, three unknowns for a denominator of degree 33.

A=1A = 1 and C=−2C = -2 as in a). Coefficients of x2x^2 in 2x2+7x+9=A(x+3)2+Bx(x+3)+Cx2x^2 + 7x + 9 = A(x + 3)^2 + Bx(x + 3) + Cx: 2=A+B2 = A + B, so B=1B = 1.

∫=ln⁡∣x∣+ln⁡∣x+3∣−2∫(x+3)−2 dx=ln⁡∣x∣+ln⁡∣x+3∣+2x+3+K\int = \ln|x| + \ln|x + 3| - 2 \int (x + 3)^{-2}\,dx = \ln|x| + \ln|x + 3| + \frac{2}{x + 3} + K.

Pitfall: the sign of ∫(x+3)−2 dx=−(x+3)−1\int (x + 3)^{-2}\,dx = -(x + 3)^{-1}; with the constant −2-2, the two minus signs give +2x+3+\frac{2}{x + 3}.

c)

[ln⁡x+ln⁡(x+3)+2x+3]12=ln⁡2+ln⁡5+25−ln⁡4−24\left[\ln x + \ln(x + 3) + \frac{2}{x + 3}\right]_1^2 = \ln 2 + \ln 5 + \frac{2}{5} - \ln 4 - \frac{2}{4}.

=ln⁡104−110=ln⁡52−110≈0.8163= \ln\frac{10}{4} - \frac{1}{10} = \ln\frac{5}{2} - \frac{1}{10} \approx 0.8163.

d)

Form: Ax+1+Bx−2+C(x−2)2\frac{A}{x + 1} + \frac{B}{x - 2} + \frac{C}{(x - 2)^2}.

Cover-up: A=3+3+3(−3)2=1A = \frac{3 + 3 + 3}{(-3)^2} = 1 at x=−1x = -1; C=12−6+33=3C = \frac{12 - 6 + 3}{3} = 3 at x=2x = 2.

Coefficients of x2x^2 in 3x2−3x+3=A(x−2)2+B(x−2)(x+1)+C(x+1)3x^2 - 3x + 3 = A(x - 2)^2 + B(x - 2)(x + 1) + C(x + 1): 3=A+B3 = A + B, so B=2B = 2.

By differentiating: multiply by (x−2)2(x - 2)^2, 3x2−3x+3x+1=A(x−2)2x+1+B(x−2)+C\frac{3x^2 - 3x + 3}{x + 1} = \frac{A(x - 2)^2}{x + 1} + B(x - 2) + C. Differentiate and set x=2x = 2: the first term's derivative contains x−2x - 2 and vanishes, so BB is the derivative of 3x2−3x+3x+1\frac{3x^2 - 3x + 3}{x + 1} at 22.

(6x−3)(x+1)−(3x2−3x+3)(x+1)2\frac{(6x - 3)(x + 1) - (3x^2 - 3x + 3)}{(x + 1)^2} at x=2x = 2: 27−99=2\frac{27 - 9}{9} = 2. Same BB.

∫=ln⁡∣x+1∣+2ln⁡∣x−2∣−3x−2+K\int = \ln|x + 1| + 2\ln|x - 2| - \frac{3}{x - 2} + K.

e)

[ln⁡(x+1)+2ln⁡(x−2)−3x−2]34=ln⁡5+2ln⁡2−32−ln⁡4−0+3\left[\ln(x + 1) + 2\ln(x - 2) - \frac{3}{x - 2}\right]_3^4 = \ln 5 + 2\ln 2 - \frac{3}{2} - \ln 4 - 0 + 3.

=ln⁡5+32≈3.1094= \ln 5 + \frac{3}{2} \approx 3.1094.

The interval [3,4][3, 4] avoids x=2x = 2; on an interval containing 22 the integral would be improper, the subject of section 8.8.

Exercise 4: Irreducible quadratic factors: complete the square, then the arctangent

12 answers to check

A quadratic factor x2+bx+cx^2 + bx + c with negative discriminant b2−4cb^2 - 4c does not split over the real numbers. It brings a term with a linear numerator, Bx+Cx2+bx+c\frac{Bx + C}{x^2 + bx + c}, and that term integrates in two pieces after completing the square: the part of the numerator proportional to 2x+b2x + b gives a logarithm, the constant left over gives an arctangent, ∫duu2+k2=1karctan⁡uk+K\int \frac{du}{u^2 + k^2} = \frac{1}{k}\arctan\frac{u}{k} + K.

The figure shows y=x+5x2+4x+13y = \frac{x + 5}{x^2 + 4x + 13} and the region under it for −2≤x≤1-2 \le x \le 1. Throughout, KK denotes the constant of integration.

−6−5−4−3−2−1123−0.10.10.20.30.40.5y = (x + 5)/(x² + 4x + 13)x
  • a) Find ∫3x2−x+32x3+16x dx\int \frac{3x^2 - x + 32}{x^3 + 16x}\,dx.
  • b) Find ∫x+5x2+4x+13 dx\int \frac{x + 5}{x^2 + 4x + 13}\,dx by completing the square and splitting the numerator. Why is there no absolute value inside the logarithm?
  • c) Evaluate the shaded area ∫−21x+5x2+4x+13 dx\int_{-2}^{1} \frac{x + 5}{x^2 + 4x + 13}\,dx exactly, and check its size on the figure.
  • d) Find ∫dx(x−2)(x2+1)\int \frac{dx}{(x - 2)(x^2 + 1)}.
  • e) Write the form of the decomposition of 2x2+3(x2+1)2\frac{2x^2 + 3}{(x^2 + 1)^2}, find its constants, and evaluate ∫012x2+3(x2+1)2 dx\int_0^1 \frac{2x^2 + 3}{(x^2 + 1)^2}\,dx, using ∫dx(x2+1)2=12arctan⁡x+x2(x2+1)+K\int \frac{dx}{(x^2 + 1)^2} = \frac{1}{2}\arctan x + \frac{x}{2(x^2 + 1)} + K (a trigonometric substitution with the tangent, section 8.4).

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

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

Answers

  • a) 2x+x−1x2+16\frac{2}{x} + \frac{x - 1}{x^2 + 16}; ∫=2ln⁡∣x∣+12ln⁡(x2+16)−14arctan⁡x4+K\int = 2\ln|x| + \frac{1}{2}\ln(x^2 + 16) - \frac{1}{4}\arctan\frac{x}{4} + K
  • b) 12ln⁡(x2+4x+13)+arctan⁡x+23+K\frac{1}{2}\ln(x^2 + 4x + 13) + \arctan\frac{x + 2}{3} + K; no absolute value since x2+4x+13=(x+2)2+9>0x^2 + 4x + 13 = (x + 2)^2 + 9 > 0
  • c) 12ln⁡2+π4≈1.1320\frac{1}{2}\ln 2 + \frac{\pi}{4} \approx 1.1320
  • d) 1/5x−2−15x+25x2+1\frac{1/5}{x - 2} - \frac{\frac{1}{5}x + \frac{2}{5}}{x^2 + 1}; ∫=15ln⁡∣x−2∣−110ln⁡(x2+1)−25arctan⁡x+K\int = \frac{1}{5}\ln|x - 2| - \frac{1}{10}\ln(x^2 + 1) - \frac{2}{5}\arctan x + K
  • e) Ax+Bx2+1+Cx+D(x2+1)2\frac{Ax + B}{x^2 + 1} + \frac{Cx + D}{(x^2 + 1)^2} with A=0A = 0, B=2B = 2, C=0C = 0, D=1D = 1; ∫01=5π8+14≈2.2135\int_0^1 = \frac{5\pi}{8} + \frac{1}{4} \approx 2.2135
a)

x3+16x=x(x2+16)x^3 + 16x = x(x^2 + 16), and x2+16x^2 + 16 has discriminant −64<0-64 < 0: irreducible.

Form: Ax+Bx+Cx2+16\frac{A}{x} + \frac{Bx + C}{x^2 + 16}. Cover-up for xx: A=3216=2A = \frac{32}{16} = 2.

Then 3x2−x+32−2(x2+16)=x2−x=(Bx+C)x3x^2 - x + 32 - 2(x^2 + 16) = x^2 - x = (Bx + C)x, so B=1B = 1, C=−1C = -1.

∫x−1x2+16 dx=12ln⁡(x2+16)−14arctan⁡x4\int \frac{x - 1}{x^2 + 16}\,dx = \frac{1}{2}\ln(x^2 + 16) - \frac{1}{4}\arctan\frac{x}{4}.

∫=2ln⁡∣x∣+12ln⁡(x2+16)−14arctan⁡x4+K\int = 2\ln|x| + \frac{1}{2}\ln(x^2 + 16) - \frac{1}{4}\arctan\frac{x}{4} + K.

Pitfall: ∫dxx2+16=arctan⁡x4\int \frac{dx}{x^2 + 16} = \arctan\frac{x}{4}, without the factor 14\frac{1}{4}; the derivative of arctan⁡x4\arctan\frac{x}{4} is 1/41+x2/16=4x2+16\frac{1/4}{1 + x^2/16} = \frac{4}{x^2 + 16}.

b)

Discriminant 16−52=−36<016 - 52 = -36 < 0. Complete the square: x2+4x+13=(x+2)2+9x^2 + 4x + 13 = (x + 2)^2 + 9.

Split the numerator along u=x+2u = x + 2: x+5=(x+2)+3x + 5 = (x + 2) + 3.

∫x+2(x+2)2+9 dx=12ln⁡((x+2)2+9)\int \frac{x + 2}{(x + 2)^2 + 9}\,dx = \frac{1}{2}\ln\left((x + 2)^2 + 9\right) and ∫3(x+2)2+9 dx=3⋅13arctan⁡x+23\int \frac{3}{(x + 2)^2 + 9}\,dx = 3 \cdot \frac{1}{3}\arctan\frac{x + 2}{3}.

∫=12ln⁡(x2+4x+13)+arctan⁡x+23+K\int = \frac{1}{2}\ln(x^2 + 4x + 13) + \arctan\frac{x + 2}{3} + K.

No absolute value: (x+2)2+9≥9(x + 2)^2 + 9 \ge 9 for every xx, so the logarithm is defined everywhere and ∣…∣|\ldots| changes nothing.

c)

[12ln⁡(x2+4x+13)+arctan⁡x+23]−21=12ln⁡18+arctan⁡1−12ln⁡9−arctan⁡0\left[\frac{1}{2}\ln(x^2 + 4x + 13) + \arctan\frac{x + 2}{3}\right]_{-2}^{1} = \frac{1}{2}\ln 18 + \arctan 1 - \frac{1}{2}\ln 9 - \arctan 0.

=12ln⁡2+π4≈1.1320= \frac{1}{2}\ln 2 + \frac{\pi}{4} \approx 1.1320.

Check on the figure: the curve stays between 13\frac{1}{3} (at both ends) and about 0.400.40 (its maximum, near x=−0.76x = -0.76) on an interval of length 33, so the area is between 11 and about 1.211.21.

d)

Form: Ax−2+Bx+Cx2+1\frac{A}{x - 2} + \frac{Bx + C}{x^2 + 1}. Cover-up: A=14+1=15A = \frac{1}{4 + 1} = \frac{1}{5}.

Then 1=15(x2+1)+(Bx+C)(x−2)1 = \frac{1}{5}(x^2 + 1) + (Bx + C)(x - 2). Coefficients of x2x^2: 0=15+B0 = \frac{1}{5} + B, so B=−15B = -\frac{1}{5}. Constant terms: 1=15−2C1 = \frac{1}{5} - 2C, so C=−25C = -\frac{2}{5}.

∫=15ln⁡∣x−2∣−15∫x+2x2+1 dx=15ln⁡∣x−2∣−110ln⁡(x2+1)−25arctan⁡x+K\int = \frac{1}{5}\ln|x - 2| - \frac{1}{5}\int \frac{x + 2}{x^2 + 1}\,dx = \frac{1}{5}\ln|x - 2| - \frac{1}{10}\ln(x^2 + 1) - \frac{2}{5}\arctan x + K.

Check at x=0x = 0: 1(−2)(1)=−12\frac{1}{(-2)(1)} = -\frac{1}{2} and −110−25=−12-\frac{1}{10} - \frac{2}{5} = -\frac{1}{2}.

e)

A repeated irreducible factor brings one term per power, each with a linear numerator: Ax+Bx2+1+Cx+D(x2+1)2\frac{Ax + B}{x^2 + 1} + \frac{Cx + D}{(x^2 + 1)^2}, four unknowns for a denominator of degree 44.

Write the numerator in powers of x2+1x^2 + 1: 2x2+3=2(x2+1)+12x^2 + 3 = 2(x^2 + 1) + 1. So A=0A = 0, B=2B = 2, C=0C = 0, D=1D = 1.

∫012 dxx2+1=2⋅π4=π2\int_0^1 \frac{2\,dx}{x^2 + 1} = 2 \cdot \frac{\pi}{4} = \frac{\pi}{2} and ∫01dx(x2+1)2=12⋅π4+14=π8+14\int_0^1 \frac{dx}{(x^2 + 1)^2} = \frac{1}{2} \cdot \frac{\pi}{4} + \frac{1}{4} = \frac{\pi}{8} + \frac{1}{4}.

Total: 5π8+14≈2.2135\frac{5\pi}{8} + \frac{1}{4} \approx 2.2135.

Exercise 5: Substitutions that lead to a rational function: u equals e to the x, u equals root x

9 answers to check

Some integrands are not rational functions of xx, but become rational after a substitution (Thomas 8.5). With u=exu = e^x: du=ex dxdu = e^x\,dx, so ex dx=due^x\,dx = du and e2x dx=u due^{2x}\,dx = u\,du. With u=xu = \sqrt x: x=u2x = u^2 and dx=2u dudx = 2u\,du.

The whole of dxdx is converted, not only the integrand, and the bounds change with the variable. The rational function obtained in uu then follows the method of the chapter, division included.

  • a) Evaluate ∫0ln⁡3exe2x+4ex+3 dx\int_0^{\ln 3} \frac{e^x}{e^{2x} + 4e^x + 3}\,dx exactly, with u=exu = e^x and new bounds.
  • b) For ∫0ln⁡3e2xe2x+4ex+3 dx\int_0^{\ln 3} \frac{e^{2x}}{e^{2x} + 4e^x + 3}\,dx, a classmate writes ∫13du(u+1)(u+3)\int_1^3 \frac{du}{(u + 1)(u + 3)} again. Find his error and evaluate the integral exactly.
  • c) Evaluate ∫916dxxx−x\int_9^{16} \frac{dx}{x\sqrt x - x} exactly, with u=xu = \sqrt x.
  • d) Evaluate ∫19xx+3 dx\int_1^9 \frac{\sqrt x}{x + 3}\,dx exactly. What does the rational function in uu require first?

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

a)
b)
c)
d)
Show the solution

Answers

  • a) ∫13du(u+1)(u+3)=12ln⁡43≈0.1438\int_1^3 \frac{du}{(u + 1)(u + 3)} = \frac{1}{2}\ln\frac{4}{3} \approx 0.1438
  • b) e2x dx=u due^{2x}\,dx = u\,du, not dudu; ∫13u du(u+1)(u+3)=32ln⁡32−12ln⁡2≈0.2616\int_1^3 \frac{u\,du}{(u + 1)(u + 3)} = \frac{3}{2}\ln\frac{3}{2} - \frac{1}{2}\ln 2 \approx 0.2616
  • c) ∫342 duu(u−1)=2ln⁡98≈0.2356\int_3^4 \frac{2\,du}{u(u - 1)} = 2\ln\frac{9}{8} \approx 0.2356
  • d) ∫132u2u2+3 du\int_1^3 \frac{2u^2}{u^2 + 3}\,du, improper: divide first; value 4−π33≈2.18624 - \frac{\pi\sqrt 3}{3} \approx 2.1862
a)

u=exu = e^x, du=ex dxdu = e^x\,dx; bounds: x=0x = 0 gives u=1u = 1, x=ln⁡3x = \ln 3 gives u=3u = 3.

e2x=u2e^{2x} = u^2, so the integral is ∫13duu2+4u+3=∫13du(u+1)(u+3)\int_1^3 \frac{du}{u^2 + 4u + 3} = \int_1^3 \frac{du}{(u + 1)(u + 3)}.

1(u+1)(u+3)=1/2u+1−1/2u+3\frac{1}{(u + 1)(u + 3)} = \frac{1/2}{u + 1} - \frac{1/2}{u + 3} (cover-up at u=−1u = -1 and u=−3u = -3).

[12ln⁡u+1u+3]13=12(ln⁡46−ln⁡24)=12ln⁡43≈0.1438\left[\frac{1}{2}\ln\frac{u + 1}{u + 3}\right]_1^3 = \frac{1}{2}\left(\ln\frac{4}{6} - \ln\frac{2}{4}\right) = \frac{1}{2}\ln\frac{4}{3} \approx 0.1438.

b)

e2x dx=ex⋅ex dx=u due^{2x}\,dx = e^x \cdot e^x\,dx = u\,du: the classmate converted the denominator and not the numerator, so his integral is the one of a).

Correct: ∫13u du(u+1)(u+3)\int_1^3 \frac{u\,du}{(u + 1)(u + 3)}, a proper fraction in uu.

Cover-up: −12\frac{-1}{2} at u=−1u = -1, −3−2=32\frac{-3}{-2} = \frac{3}{2} at u=−3u = -3.

[−12ln⁡(u+1)+32ln⁡(u+3)]13=−12ln⁡2+32ln⁡32≈0.2616\left[-\frac{1}{2}\ln(u + 1) + \frac{3}{2}\ln(u + 3)\right]_1^3 = -\frac{1}{2}\ln 2 + \frac{3}{2}\ln\frac{3}{2} \approx 0.2616.

Check: the two integrands add up to ex(ex+1)(ex+1)(ex+3)=exex+3\frac{e^x(e^x + 1)}{(e^x + 1)(e^x + 3)} = \frac{e^x}{e^x + 3}, whose integral is ln⁡64=ln⁡32\ln\frac{6}{4} = \ln\frac{3}{2}; and 0.1438+0.2616=0.4055≈ln⁡320.1438 + 0.2616 = 0.4055 \approx \ln\frac{3}{2}.

c)

u=xu = \sqrt x, x=u2x = u^2, dx=2u dudx = 2u\,du; bounds u=3u = 3 and u=4u = 4.

xx−x=u3−u2=u2(u−1)x\sqrt x - x = u^3 - u^2 = u^2(u - 1), so the integrand becomes 2u duu2(u−1)=2 duu(u−1)\frac{2u\,du}{u^2(u - 1)} = \frac{2\,du}{u(u - 1)}.

2u(u−1)=2u−1−2u\frac{2}{u(u - 1)} = \frac{2}{u - 1} - \frac{2}{u}.

[2ln⁡u−1u]34=2(ln⁡34−ln⁡23)=2ln⁡98≈0.2356\left[2\ln\frac{u - 1}{u}\right]_3^4 = 2\left(\ln\frac{3}{4} - \ln\frac{2}{3}\right) = 2\ln\frac{9}{8} \approx 0.2356.

d)

u=xu = \sqrt x, dx=2u dudx = 2u\,du, bounds 11 and 33: ∫13u⋅2uu2+3 du=∫132u2u2+3 du\int_1^3 \frac{u \cdot 2u}{u^2 + 3}\,du = \int_1^3 \frac{2u^2}{u^2 + 3}\,du.

Degrees 22 and 22: divide. 2u2=2(u2+3)−62u^2 = 2(u^2 + 3) - 6, so 2u2u2+3=2−6u2+3\frac{2u^2}{u^2 + 3} = 2 - \frac{6}{u^2 + 3}.

∫13=[2u−63arctan⁡u3]13=4−23(π3−π6)=4−π33≈2.1862\int_1^3 = \left[2u - \frac{6}{\sqrt 3}\arctan\frac{u}{\sqrt 3}\right]_1^3 = 4 - 2\sqrt 3\left(\frac{\pi}{3} - \frac{\pi}{6}\right) = 4 - \frac{\pi\sqrt 3}{3} \approx 2.1862.

Pitfall: the substitution turns a proper-looking integrand into an improper rational function; the degree check comes again after every substitution.

Part B: problems and reasoning (/50)

Exercise 6: Write the form before any constant: five denominators

9 answers to check

A question such as “write the form of the partial fraction decomposition, do not solve for the constants” is quick, and it is where the method is decided: one forgotten term and no constant can save the answer. Three checks come first: the degree (divide if needed), the complete factorisation of the denominator over the real numbers, and the discriminant of every quadratic factor.

The five functions: f1(x)=4x−1x3(x+2)f_1(x) = \frac{4x - 1}{x^3(x + 2)}, f2(x)=7x4−5x2+4f_2(x) = \frac{7}{x^4 - 5x^2 + 4}, f3(x)=x2−x+4x(x2+3)2f_3(x) = \frac{x^2 - x + 4}{x(x^2 + 3)^2}, f4(x)=x4+2x3−4x2f_4(x) = \frac{x^4 + 2}{x^3 - 4x^2} and f5(x)=1x3+2x2−xf_5(x) = \frac{1}{x^3 + 2x^2 - x}.

  • a) Write the form of the decomposition of f1f_1 and of f2f_2, and give the number of unknown constants of each.
  • b) Write the form of the decomposition of f3f_3 and give its number of unknown constants.
  • c) Explain why the form of f4f_4 cannot be written directly. Divide, give the quotient q(x)q(x) and write the form of the remainder fraction.
  • d) A student says that x2+2x−1x^2 + 2x - 1 is irreducible “because it does not factor with integers”. Decide, then write the form of the decomposition of f5f_5.
  • e) Evaluate ∫34f2(x) dx\int_3^4 f_2(x)\,dx exactly.

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

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

Answers

  • a) f1=Ax+Bx2+Cx3+Dx+2f_1 = \frac{A}{x} + \frac{B}{x^2} + \frac{C}{x^3} + \frac{D}{x + 2}, 44 constants; f2=Ax−1+Bx+1+Cx−2+Dx+2f_2 = \frac{A}{x - 1} + \frac{B}{x + 1} + \frac{C}{x - 2} + \frac{D}{x + 2}, 44 constants
  • b) f3=Ax+Bx+Cx2+3+Dx+E(x2+3)2f_3 = \frac{A}{x} + \frac{Bx + C}{x^2 + 3} + \frac{Dx + E}{(x^2 + 3)^2}, 55 constants
  • c) Degree 44 over degree 33; f4=x+4+16x2+2x2(x−4)f_4 = x + 4 + \frac{16x^2 + 2}{x^2(x - 4)}, remainder form Ax+Bx2+Cx−4\frac{A}{x} + \frac{B}{x^2} + \frac{C}{x - 4}
  • d) Discriminant 8>08 > 0: reducible, x2+2x−1=(x+1−2)(x+1+2)x^2 + 2x - 1 = (x + 1 - \sqrt 2)(x + 1 + \sqrt 2); f5=Ax+Bx+1−2+Cx+1+2f_5 = \frac{A}{x} + \frac{B}{x + 1 - \sqrt 2} + \frac{C}{x + 1 + \sqrt 2}
  • e) 76ln⁡56+712ln⁡53≈0.0853\frac{7}{6}\ln\frac{5}{6} + \frac{7}{12}\ln\frac{5}{3} \approx 0.0853
a)

f1f_1: degrees 1<41 < 4, proper. x3x^3 is the factor xx repeated three times: one term per power, Ax+Bx2+Cx3\frac{A}{x} + \frac{B}{x^2} + \frac{C}{x^3}, then Dx+2\frac{D}{x + 2}. Four constants.

f2f_2: the denominator is a quadratic in x2x^2. With X=x2X = x^2: X2−5X+4=(X−1)(X−4)X^2 - 5X + 4 = (X - 1)(X - 4), so x4−5x2+4=(x2−1)(x2−4)=(x−1)(x+1)(x−2)(x+2)x^4 - 5x^2 + 4 = (x^2 - 1)(x^2 - 4) = (x - 1)(x + 1)(x - 2)(x + 2).

Four distinct linear factors: Ax−1+Bx+1+Cx−2+Dx+2\frac{A}{x - 1} + \frac{B}{x + 1} + \frac{C}{x - 2} + \frac{D}{x + 2}, four constants.

Pitfall: stopping at (x2−1)(x2−4)(x^2 - 1)(x^2 - 4) and writing Ax+Bx2−1+Cx+Dx2−4\frac{Ax + B}{x^2 - 1} + \frac{Cx + D}{x^2 - 4}: it holds as an identity, but each term still has to be split before it can be integrated.

b)

x2+3x^2 + 3 has discriminant −12<0-12 < 0: irreducible, squared. One term per power, each with a linear numerator.

f3=Ax+Bx+Cx2+3+Dx+E(x2+3)2f_3 = \frac{A}{x} + \frac{Bx + C}{x^2 + 3} + \frac{Dx + E}{(x^2 + 3)^2}: five constants, as many as the degree 55 of the denominator.

c)

Degrees 44 and 33: improper, and a form made only of proper fractions tends to 00 at infinity while f4f_4 does not.

Division: (x+4)(x3−4x2)=x4−16x2(x + 4)(x^3 - 4x^2) = x^4 - 16x^2, so x4+2=(x+4)(x3−4x2)+16x2+2x^4 + 2 = (x + 4)(x^3 - 4x^2) + 16x^2 + 2 and q(x)=x+4q(x) = x + 4.

x3−4x2=x2(x−4)x^3 - 4x^2 = x^2(x - 4), so the remainder fraction has the form Ax+Bx2+Cx−4\frac{A}{x} + \frac{B}{x^2} + \frac{C}{x - 4}: three constants.

Pitfall: the missing powers x2x^2, xx and the constant in x4+0x3+0x2+0x+2x^4 + 0x^3 + 0x^2 + 0x + 2; write them before dividing.

d)

The test is the discriminant, not a search for integer roots: 22−4(1)(−1)=8>02^2 - 4(1)(-1) = 8 > 0, so x2+2x−1x^2 + 2x - 1 has two real roots, −1±2-1 \pm \sqrt 2, and it is reducible.

x3+2x2−x=x(x2+2x−1)=x(x+1−2)(x+1+2)x^3 + 2x^2 - x = x(x^2 + 2x - 1) = x(x + 1 - \sqrt 2)(x + 1 + \sqrt 2).

Form: Ax+Bx+1−2+Cx+1+2\frac{A}{x} + \frac{B}{x + 1 - \sqrt 2} + \frac{C}{x + 1 + \sqrt 2}, three constants.

Treated as irreducible, the term Bx+Cx2+2x−1\frac{Bx + C}{x^2 + 2x - 1} leads, after completing the square, to 1(x+1)2−2\frac{1}{(x + 1)^2 - 2}, which is not an arctangent form: the sign tells.

e)

Cover-up on 7(x−1)(x+1)(x−2)(x+2)\frac{7}{(x - 1)(x + 1)(x - 2)(x + 2)}: at x=1x = 1, 7(2)(−1)(3)=−76\frac{7}{(2)(-1)(3)} = -\frac{7}{6}; at x=−1x = -1, 7(−2)(−3)(1)=76\frac{7}{(-2)(-3)(1)} = \frac{7}{6}; at x=2x = 2, 7(1)(3)(4)=712\frac{7}{(1)(3)(4)} = \frac{7}{12}; at x=−2x = -2, 7(−3)(−1)(−4)=−712\frac{7}{(-3)(-1)(-4)} = -\frac{7}{12}.

Antiderivative: 76ln⁡∣x+1x−1∣+712ln⁡∣x−2x+2∣\frac{7}{6}\ln\left|\frac{x + 1}{x - 1}\right| + \frac{7}{12}\ln\left|\frac{x - 2}{x + 2}\right|.

∫34=76(ln⁡53−ln⁡2)+712(ln⁡13−ln⁡15)=76ln⁡56+712ln⁡53≈0.0853\int_3^4 = \frac{7}{6}\left(\ln\frac{5}{3} - \ln 2\right) + \frac{7}{12}\left(\ln\frac{1}{3} - \ln\frac{1}{5}\right) = \frac{7}{6}\ln\frac{5}{6} + \frac{7}{12}\ln\frac{5}{3} \approx 0.0853.

Check of sign and size: on [3,4][3, 4] the integrand is positive, from 740\frac{7}{40} down to 7180\frac{7}{180}, and 0.08530.0853 lies between those two values.

Exercise 7: Before decomposing: is there a shorter road?

8 answers to check

Partial fractions always work on a rational function whose denominator can be factored, but they are not always the shortest road, and on a timed paper the shortest road is part of the answer. Before setting up a form, look for three things: a numerator that is a multiple of the derivative of the denominator (a substitution), a common factor of the numerator and the denominator (a simplification), and a substitution that turns the integrand into a rational function of lower degree.

Thomas makes the same remark in 8.5: the method is a last resort after the simpler procedures of 8.1.

  • a) Evaluate ∫342x+3x2+3x−10 dx\int_3^4 \frac{2x + 3}{x^2 + 3x - 10}\,dx by partial fractions, then by a substitution, and compare.
  • b) Evaluate ∫01x2+2x3+6x+1 dx\int_0^1 \frac{x^2 + 2}{x^3 + 6x + 1}\,dx. Why would partial fractions be a poor choice here?
  • c) Evaluate ∫02x2+5x+6x2+4x+3 dx\int_0^2 \frac{x^2 + 5x + 6}{x^2 + 4x + 3}\,dx, simplifying first.
  • d) Evaluate ∫01xx4−13x2+36 dx\int_0^1 \frac{x}{x^4 - 13x^2 + 36}\,dx with the substitution u=x2u = x^2, then partial fractions in uu.
  • e) Name the first move for each integrand: ∫xx2+7 dx\int \frac{x}{x^2 + 7}\,dx • ∫dxx2−7x+10\int \frac{dx}{x^2 - 7x + 10} • ∫dxx2+6x+10\int \frac{dx}{x^2 + 6x + 10} • ∫x+2x2+4x+4 dx\int \frac{x + 2}{x^2 + 4x + 4}\,dx.

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

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

Answers

  • a) ln⁡94≈0.8109\ln\frac{9}{4} \approx 0.8109 by both routes; the substitution takes one line
  • b) 13ln⁡8=ln⁡2≈0.6931\frac{1}{3}\ln 8 = \ln 2 \approx 0.6931; the cubic has one real root, irrational, so its factorisation is out of reach
  • c) x+2x+1=1+1x+1\frac{x + 2}{x + 1} = 1 + \frac{1}{x + 1}; ∫02=2+ln⁡3≈3.0986\int_0^2 = 2 + \ln 3 \approx 3.0986
  • d) 12∫01du(u−4)(u−9)=110ln⁡3227≈0.0170\frac{1}{2}\int_0^1 \frac{du}{(u - 4)(u - 9)} = \frac{1}{10}\ln\frac{32}{27} \approx 0.0170
  • e) Substitution • partial fractions • complete the square, arctan • simplify first
a)

Partial fractions: x2+3x−10=(x+5)(x−2)x^2 + 3x - 10 = (x + 5)(x - 2); cover-up: 77=1\frac{7}{7} = 1 at x=2x = 2, −7−7=1\frac{-7}{-7} = 1 at x=−5x = -5.

∫34(1x−2+1x+5)dx=ln⁡2+ln⁡9−ln⁡1−ln⁡8=ln⁡94\int_3^4 \left(\frac{1}{x - 2} + \frac{1}{x + 5}\right)dx = \ln 2 + \ln 9 - \ln 1 - \ln 8 = \ln\frac{9}{4}.

Substitution: u=x2+3x−10u = x^2 + 3x - 10, du=(2x+3) dxdu = (2x + 3)\,dx, bounds 88 and 1818: ∫818duu=ln⁡188=ln⁡94≈0.8109\int_8^{18} \frac{du}{u} = \ln\frac{18}{8} = \ln\frac{9}{4} \approx 0.8109.

Same value, as it must be: ln⁡∣x−2∣+ln⁡∣x+5∣=ln⁡∣x2+3x−10∣\ln|x - 2| + \ln|x + 5| = \ln|x^2 + 3x - 10|.

b)

ddx(x3+6x+1)=3x2+6=3(x2+2)\frac{d}{dx}(x^3 + 6x + 1) = 3x^2 + 6 = 3(x^2 + 2): the numerator is a third of the derivative of the denominator.

u=x3+6x+1u = x^3 + 6x + 1, bounds 11 and 88: 13∫18duu=13ln⁡8=ln⁡2≈0.6931\frac{1}{3}\int_1^8 \frac{du}{u} = \frac{1}{3}\ln 8 = \ln 2 \approx 0.6931.

Partial fractions would need the roots of x3+6x+1x^3 + 6x + 1: it is increasing, so it has one real root, and that root is not rational (±1\pm 1 are the only candidates and neither works).

c)

Factor both: x2+5x+6=(x+2)(x+3)x^2 + 5x + 6 = (x + 2)(x + 3) and x2+4x+3=(x+1)(x+3)x^2 + 4x + 3 = (x + 1)(x + 3).

For x≠−3x \ne -3: x+2x+1=1+1x+1\frac{x + 2}{x + 1} = 1 + \frac{1}{x + 1}, a division of degree 11 by degree 11.

∫02=[x+ln⁡(x+1)]02=2+ln⁡3≈3.0986\int_0^2 = \left[x + \ln(x + 1)\right]_0^2 = 2 + \ln 3 \approx 3.0986.

Without the simplification, the form 1+Ax+1+Bx+31 + \frac{A}{x + 1} + \frac{B}{x + 3} gives B=0B = 0: the same answer after more work.

d)

u=x2u = x^2, du=2x dxdu = 2x\,dx, bounds 00 and 11: ∫01x dxx4−13x2+36=12∫01duu2−13u+36\int_0^1 \frac{x\,dx}{x^4 - 13x^2 + 36} = \frac{1}{2}\int_0^1 \frac{du}{u^2 - 13u + 36}.

u2−13u+36=(u−4)(u−9)u^2 - 13u + 36 = (u - 4)(u - 9), and 1(u−4)(u−9)=15(1u−9−1u−4)\frac{1}{(u - 4)(u - 9)} = \frac{1}{5}\left(\frac{1}{u - 9} - \frac{1}{u - 4}\right).

110[ln⁡∣u−9u−4∣]01=110(ln⁡83−ln⁡94)=110ln⁡3227≈0.0170\frac{1}{10}\left[\ln\left|\frac{u - 9}{u - 4}\right|\right]_0^1 = \frac{1}{10}\left(\ln\frac{8}{3} - \ln\frac{9}{4}\right) = \frac{1}{10}\ln\frac{32}{27} \approx 0.0170.

In xx directly, the form would have four linear terms (x=±2x = \pm 2, ±3\pm 3): four constants instead of two.

e)

xx2+7\frac{x}{x^2 + 7}: the numerator is half the derivative of x2+7x^2 + 7, a substitution.

1x2−7x+10=1(x−2)(x−5)\frac{1}{x^2 - 7x + 10} = \frac{1}{(x - 2)(x - 5)}: partial fractions.

1x2+6x+10\frac{1}{x^2 + 6x + 10}: discriminant −4<0-4 < 0, (x+3)2+1(x + 3)^2 + 1, an arctangent.

x+2(x+2)2=1x+2\frac{x + 2}{(x + 2)^2} = \frac{1}{x + 2}: simplify first.

Exercise 8: Five statements to correct

10 answers to check

Each statement below is false. Say what is wrong, give the correct statement, and settle it with a computation: a value of xx put into both sides, or the derivative of the proposed antiderivative, is the fastest proof.

  • a) 1x2(x−1)=1x−1−1x2\frac{1}{x^2(x - 1)} = \frac{1}{x - 1} - \frac{1}{x^2}.
  • b) For 3x+1(x−1)(x+2)=Ax−1+Bx+2\frac{3x + 1}{(x - 1)(x + 2)} = \frac{A}{x - 1} + \frac{B}{x + 2}, cover the factor x+2x + 2 and set x=2x = 2: B=7B = 7.
  • c) A quadratic x2+bx+cx^2 + bx + c with c>0c > 0 is irreducible, like x2+4x^2 + 4, so it brings a term Bx+Cx2+bx+c\frac{Bx + C}{x^2 + bx + c}.
  • d) ∫xx2+6x+10 dx=12ln⁡(x2+6x+10)+C\int \frac{x}{x^2 + 6x + 10}\,dx = \frac{1}{2}\ln(x^2 + 6x + 10) + C.
  • e) In a division of equal degrees the quotient is the ratio of the leading coefficients, so 3x2+1x2−x=3+1x2−x\frac{3x^2 + 1}{x^2 - x} = 3 + \frac{1}{x^2 - x}.

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

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

Answers

  • a) False: 1x2(x−1)=−1x−1x2+1x−1\frac{1}{x^2(x - 1)} = -\frac{1}{x} - \frac{1}{x^2} + \frac{1}{x - 1}; at x=2x = 2, 14\frac{1}{4} against the claim's 34\frac{3}{4}
  • b) False: set x=−2x = -2, the root of x+2x + 2; B=−5−3=53B = \frac{-5}{-3} = \frac{5}{3}
  • c) False: the test is b2−4c<0b^2 - 4c < 0; x2+5x+6=(x+2)(x+3)x^2 + 5x + 6 = (x + 2)(x + 3) has c=6>0c = 6 > 0 and discriminant 11
  • d) False: x=(x+3)−3x = (x + 3) - 3, so ∫=12ln⁡(x2+6x+10)−3arctan⁡(x+3)+C\int = \frac{1}{2}\ln(x^2 + 6x + 10) - 3\arctan(x + 3) + C
  • e) False: the quotient is 33 but the remainder is 3x+13x + 1: 3x2+1x2−x=3+3x+1x2−x\frac{3x^2 + 1}{x^2 - x} = 3 + \frac{3x + 1}{x^2 - x}
a)

False. The factor x2x^2 brings two terms, Ax\frac{A}{x} and Bx2\frac{B}{x^2}, and the claim drops Ax\frac{A}{x}.

Cover-up: B=10−1=−1B = \frac{1}{0 - 1} = -1 at x=0x = 0, C=11=1C = \frac{1}{1} = 1 for x−1x - 1; coefficients of x2x^2 in 1=Ax(x−1)+B(x−1)+Cx21 = Ax(x - 1) + B(x - 1) + Cx^2: 0=A+C0 = A + C, so A=−1A = -1.

Test at x=2x = 2: 14⋅1=14\frac{1}{4 \cdot 1} = \frac{1}{4}, the claim gives 1−14=341 - \frac{1}{4} = \frac{3}{4}, the correct form −12−14+1=14-\frac{1}{2} - \frac{1}{4} + 1 = \frac{1}{4}.

b)

False. Covering x+2x + 2 only works at the root of x+2x + 2, which is x=−2x = -2: there every other term vanishes. At x=2x = 2 nothing vanishes and 77 is just the value of 3x+1x−1\frac{3x + 1}{x - 1}.

B=3(−2)+1−2−1=53B = \frac{3(-2) + 1}{-2 - 1} = \frac{5}{3}, and A=43A = \frac{4}{3} at x=1x = 1.

Test at x=0x = 0: 1−2=−12\frac{1}{-2} = -\frac{1}{2} and −43+56=−12-\frac{4}{3} + \frac{5}{6} = -\frac{1}{2}.

c)

False. The sign of cc decides nothing; the discriminant does.

Counterexample: x2+5x+6x^2 + 5x + 6 has c=6>0c = 6 > 0, discriminant 25−24=1>025 - 24 = 1 > 0, and factors as (x+2)(x+3)(x + 2)(x + 3).

Its correct form is Ax+2+Bx+3\frac{A}{x + 2} + \frac{B}{x + 3}, and the integral is a sum of logarithms, not an arctangent.

d)

False. The derivative of the claim is 2x+62(x2+6x+10)=x+3x2+6x+10\frac{2x + 6}{2(x^2 + 6x + 10)} = \frac{x + 3}{x^2 + 6x + 10}: at x=0x = 0 it is 310\frac{3}{10}, while the integrand is 00.

Complete the square, x2+6x+10=(x+3)2+1x^2 + 6x + 10 = (x + 3)^2 + 1, and split x=(x+3)−3x = (x + 3) - 3.

∫xx2+6x+10 dx=12ln⁡(x2+6x+10)−3arctan⁡(x+3)+C\int \frac{x}{x^2 + 6x + 10}\,dx = \frac{1}{2}\ln(x^2 + 6x + 10) - 3\arctan(x + 3) + C.

e)

False. The quotient 33 is right; the remainder is not. 3x2+1−3(x2−x)=3x+13x^2 + 1 - 3(x^2 - x) = 3x + 1: the subtraction of −3x-3x adds 3x3x.

3x2+1x2−x=3+3x+1x(x−1)=3−1x+4x−1\frac{3x^2 + 1}{x^2 - x} = 3 + \frac{3x + 1}{x(x - 1)} = 3 - \frac{1}{x} + \frac{4}{x - 1}.

Test at x=2x = 2: 132=6.5\frac{13}{2} = 6.5; the claim gives 3+12=3.53 + \frac{1}{2} = 3.5, the correct form 3−12+4=6.53 - \frac{1}{2} + 4 = 6.5.

Exercise 9: Logistic growth: how long until an app reaches half of its users

7 answers to check

A messaging app spreads among the M=24M = 24 thousand students of a university. In the logistic model, the number QQ of users (in thousands) grows at the rate dQdt=kQ(1−QM)\frac{dQ}{dt} = kQ\left(1 - \frac{Q}{M}\right), with k=0.6k = 0.6 per week. Separating the variables (done for you, nothing more is needed from that course) gives the time, in weeks, for the number of users to go from Q0=0.6Q_0 = 0.6 thousand to PP thousand:

t(P)=1k∫Q0PM dQQ(M−Q)t(P) = \frac{1}{k}\int_{Q_0}^{P} \frac{M\,dQ}{Q(M - Q)}, for Q0≤P<MQ_0 \le P < M.

The figure shows the integrand 1k⋅MQ(M−Q)=40Q(24−Q)\frac{1}{k} \cdot \frac{M}{Q(M - Q)} = \frac{40}{Q(24 - Q)}, in weeks per thousand users: the time is the area under this curve. The shaded part goes from 0.60.6 to 1212.

246810121416182022240.511.522.53y = 40/(Q(24 − Q))Q (thousand users)weeks per thousand users
  • a) Decompose 24Q(24−Q)=AQ+B24−Q\frac{24}{Q(24 - Q)} = \frac{A}{Q} + \frac{B}{24 - Q}.
  • b) Integrate, and show that t(P)=1kln⁡P(M−Q0)Q0(M−P)t(P) = \frac{1}{k}\ln\frac{P(M - Q_0)}{Q_0(M - P)}. Watch the sign of ∫dQ24−Q\int \frac{dQ}{24 - Q}.
  • c) How many weeks does the app take to reach half of the students, P=12P = 12 thousand? Give the exact value and a decimal.
  • d) How long does it take to go from 1212 to 23.423.4 thousand users? Explain the result with the figure. Then give the time from the start to 90%90\% of the students.
  • e) What happens to t(P)t(P) as P→24P \to 24? What does it say about the model?

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

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

Answers

  • a) A=1A = 1, B=1B = 1
  • b) ∫(1Q+124−Q)dQ=ln⁡Q−ln⁡(24−Q)\int \left(\frac{1}{Q} + \frac{1}{24 - Q}\right)dQ = \ln Q - \ln(24 - Q), so t(P)=1kln⁡P(M−Q0)Q0(M−P)t(P) = \frac{1}{k}\ln\frac{P(M - Q_0)}{Q_0(M - P)}
  • c) t(12)=53ln⁡39≈6.11t(12) = \frac{5}{3}\ln 39 \approx 6.11 weeks
  • d) Also 53ln⁡39≈6.11\frac{5}{3}\ln 39 \approx 6.11 weeks, by the symmetry of the curve about Q=12Q = 12; to 21.621.6 thousand: 53ln⁡351≈9.77\frac{5}{3}\ln 351 \approx 9.77 weeks
  • e) t(P)→∞t(P) \to \infty: in the model the number of users approaches 2424 thousand without ever reaching it
a)

Cover-up, the variable being QQ: at Q=0Q = 0, A=2424=1A = \frac{24}{24} = 1; at Q=24Q = 24, B=2424=1B = \frac{24}{24} = 1.

Check at Q=12Q = 12: 24144=16\frac{24}{144} = \frac{1}{6} and 112+112=16\frac{1}{12} + \frac{1}{12} = \frac{1}{6}.

b)

∫dQQ=ln⁡Q\int \frac{dQ}{Q} = \ln Q (here Q>0Q > 0) and ∫dQ24−Q=−ln⁡(24−Q)\int \frac{dQ}{24 - Q} = -\ln(24 - Q), since the inner coefficient of 24−Q24 - Q is −1-1.

∫Q0PM dQQ(M−Q)=[ln⁡Q−ln⁡(M−Q)]Q0P=ln⁡PM−P−ln⁡Q0M−Q0\int_{Q_0}^{P} \frac{M\,dQ}{Q(M - Q)} = \left[\ln Q - \ln(M - Q)\right]_{Q_0}^{P} = \ln\frac{P}{M - P} - \ln\frac{Q_0}{M - Q_0}.

So t(P)=1kln⁡P(M−Q0)Q0(M−P)t(P) = \frac{1}{k}\ln\frac{P(M - Q_0)}{Q_0(M - P)}.

Pitfall: +ln⁡(24−Q)+\ln(24 - Q); it gives ln⁡(Q(24−Q))\ln\left(Q(24 - Q)\right), which is not even increasing in PP for P>12P > 12, while a time must increase.

c)

1k=10.6=53\frac{1}{k} = \frac{1}{0.6} = \frac{5}{3}, and 12⋅23.40.6⋅12=23.40.6=39\frac{12 \cdot 23.4}{0.6 \cdot 12} = \frac{23.4}{0.6} = 39.

t(12)=53ln⁡39≈6.11t(12) = \frac{5}{3}\ln 39 \approx 6.11 weeks.

Reading on the figure: from Q=6Q = 6 to Q=12Q = 12 the curve stays between 0.280.28 and 0.370.37, an area of about 1.81.8 weeks (53ln⁡3≈1.83\frac{5}{3}\ln 3 \approx 1.83); the steep part, from 0.60.6 to 66 thousand users, takes the other 53ln⁡13≈4.27\frac{5}{3}\ln 13 \approx 4.27 weeks.

d)

∫1223.4\int_{12}^{23.4}: 53(ln⁡23.40.6−ln⁡1212)=53ln⁡39≈6.11\frac{5}{3}\left(\ln\frac{23.4}{0.6} - \ln\frac{12}{12}\right) = \frac{5}{3}\ln 39 \approx 6.11 weeks, the same time.

The integrand 40Q(24−Q)\frac{40}{Q(24 - Q)} takes the same value at QQ and at 24−Q24 - Q: the curve is symmetric about Q=12Q = 12, and the interval [12,23.4][12, 23.4] is the mirror image of [0.6,12][0.6, 12], so the two areas are equal.

90%90\% of 2424 is 21.621.6: t(21.6)=53ln⁡21.6⋅23.40.6⋅2.4=53ln⁡351≈9.77t(21.6) = \frac{5}{3}\ln\frac{21.6 \cdot 23.4}{0.6 \cdot 2.4} = \frac{5}{3}\ln 351 \approx 9.77 weeks.

e)

As P→24−P \to 24^-, M−P→0+M - P \to 0^+, so P(M−Q0)Q0(M−P)→∞\frac{P(M - Q_0)}{Q_0(M - P)} \to \infty and t(P)→∞t(P) \to \infty.

In the model, the number of users never reaches 2424 thousand: each additional thousand users takes longer than the previous one near the end. On the figure, the curve rises without bound near Q=24Q = 24.

Exercise 10: A midterm question: three integrals by partial fractions

9 answers to check

(10 marks) Evaluate the following integrals.

This is the format of the partial fractions question on the common midterm, in 90 minutes: no hint on the method, the marks given per part, and the whole method expected on the page, from the factorisation to the constant of integration CC.

  • a) (3 marks) ∫xx2+x−12 dx\int \frac{x}{x^2 + x - 12}\,dx
  • b) (3 marks) ∫2x3−9x2+5x+5x2−5x+4 dx\int \frac{2x^3 - 9x^2 + 5x + 5}{x^2 - 5x + 4}\,dx
  • c) (4 marks) ∫2x2+3x+50x3+25x dx\int \frac{2x^2 + 3x + 50}{x^3 + 25x}\,dx

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

a)
b)
c)
Show the solution

Answers

  • a) 37ln⁡∣x−3∣+47ln⁡∣x+4∣+C\frac{3}{7}\ln|x - 3| + \frac{4}{7}\ln|x + 4| + C
  • b) x2+x−ln⁡∣x−1∣+3ln⁡∣x−4∣+Cx^2 + x - \ln|x - 1| + 3\ln|x - 4| + C
  • c) 2ln⁡∣x∣+35arctan⁡x5+C2\ln|x| + \frac{3}{5}\arctan\frac{x}{5} + C
a)

Factor: x2+x−12=(x−3)(x+4)x^2 + x - 12 = (x - 3)(x + 4). Form: Ax−3+Bx+4\frac{A}{x - 3} + \frac{B}{x + 4} (1 mark).

Cover-up: A=37A = \frac{3}{7} at x=3x = 3, B=−4−7=47B = \frac{-4}{-7} = \frac{4}{7} at x=−4x = -4 (1 mark).

∫=37ln⁡∣x−3∣+47ln⁡∣x+4∣+C\int = \frac{3}{7}\ln|x - 3| + \frac{4}{7}\ln|x + 4| + C (1 mark, absolute values and CC included).

Check: A+B=1A + B = 1, the coefficient of xx in the numerator.

b)

Degree 33 over degree 22: divide (1 mark). First term 2x2x: 2x(x2−5x+4)=2x3−10x2+8x2x(x^2 - 5x + 4) = 2x^3 - 10x^2 + 8x, leaving x2−3x+5x^2 - 3x + 5.

Second term 11: x2−5x+4x^2 - 5x + 4, leaving 2x+12x + 1. So 2x3−9x2+5x+5=(2x+1)(x2−5x+4)+2x+12x^3 - 9x^2 + 5x + 5 = (2x + 1)(x^2 - 5x + 4) + 2x + 1.

x2−5x+4=(x−1)(x−4)x^2 - 5x + 4 = (x - 1)(x - 4), and 2x+1(x−1)(x−4)=Ax−1+Bx−4\frac{2x + 1}{(x - 1)(x - 4)} = \frac{A}{x - 1} + \frac{B}{x - 4}: A=3−3=−1A = \frac{3}{-3} = -1, B=93=3B = \frac{9}{3} = 3 (1 mark).

∫=x2+x−ln⁡∣x−1∣+3ln⁡∣x−4∣+C\int = x^2 + x - \ln|x - 1| + 3\ln|x - 4| + C (1 mark).

Pitfall: −9x2−(−10x2)=+x2-9x^2 - (-10x^2) = +x^2; writing −19x2-19x^2 changes the quotient and both constants.

c)

x3+25x=x(x2+25)x^3 + 25x = x(x^2 + 25), and x2+25x^2 + 25 has discriminant −100<0-100 < 0. Form: Ax+Bx+Cx2+25\frac{A}{x} + \frac{Bx + C}{x^2 + 25} (1 mark).

Cover-up: A=5025=2A = \frac{50}{25} = 2. Then 2x2+3x+50−2(x2+25)=3x=(Bx+C)x2x^2 + 3x + 50 - 2(x^2 + 25) = 3x = (Bx + C)x, so B=0B = 0 and C=3C = 3 (1 mark).

∫2x dx=2ln⁡∣x∣\int \frac{2}{x}\,dx = 2\ln|x| and ∫3x2+25 dx=35arctan⁡x5\int \frac{3}{x^2 + 25}\,dx = \frac{3}{5}\arctan\frac{x}{5} (1 mark each).

∫=2ln⁡∣x∣+35arctan⁡x5+C\int = 2\ln|x| + \frac{3}{5}\arctan\frac{x}{5} + C.

B=0B = 0 is a possible result: the quadratic term then gives no logarithm. Writing the form with BB anyway is what earns the first mark.

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.

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

Looking for a MATH 205 tutor in Montreal?

I tutor first-year calculus at Concordia and McGill, in English or in French, in Montreal or online, with the algebra behind every rule. Get in touch for a first session.

Site by Studio Squalli