Integrating with Partial Fractions

A2 · P3 · 14 min

A rational function such as 4x(x+2)\dfrac{4}{x(x + 2)} cannot be integrated as it stands: it is not a standard form, and splitting the denominator is not allowed. Once it is written in partial fractions, every piece is standard: a logarithm, a reciprocal, or a logarithm plus an inverse tangent. The syllabus asks you to "integrate rational functions by means of decomposition into partial fractions", restricted to the denominators you met in the algebra topic. On P3 this is a classic two-part question worth about eight marks, and it also appears inside differential equations, where separating the variables produces a fraction that needs splitting.

Why partial fractions make integration possible

Adding 2x\dfrac{2}{x} and −2x+2\dfrac{-2}{x + 2} gives 4x(x+2)\dfrac{4}{x(x + 2)}. Integrating the combined fraction directly looks impossible, but each of the two simple fractions integrates at once to a logarithm:

∫4x(x+2) dx=∫(2x−2x+2)dx=2ln⁡∣x∣−2ln⁡∣x+2∣+c=2ln⁡∣xx+2∣+c\int\frac{4}{x(x + 2)}\, dx = \int\left(\frac{2}{x} - \frac{2}{x + 2}\right) dx = 2\ln\lvert x\rvert - 2\ln\lvert x + 2\rvert + c = 2\ln\left\lvert\frac{x}{x + 2}\right\rvert + c

That is the whole method: decompose, integrate each piece, tidy the logarithms.

The pieces and their integrals

The syllabus restricts denominators to the types (ax+b)(cx+d)(ex+f)(ax + b)(cx + d)(ex + f), (ax+b)(cx+d)2(ax + b)(cx + d)^2 and (ax+b)(cx2+d)(ax + b)(cx^2 + d), with numerator degree at most equal to the denominator's. After decomposition, only four kinds of term can appear.

Integrating each kind of partial fraction
TermIntegralWhy
KK (from an improper fraction)KxKxconstant
Aax+b\dfrac{A}{ax + b}Aaln⁡∣ax+b∣\dfrac{A}{a}\ln\lvert ax + b\rvertlinear inside, power −1-1
C(cx+d)2\dfrac{C}{(cx + d)^2}−Cc(cx+d)-\dfrac{C}{c(cx + d)}power −2-2, not a logarithm
Bx+Cx2+k2\dfrac{Bx + C}{x^2 + k^2}B2ln⁡(x2+k2)+Cktan⁡−1(xk)\dfrac{B}{2}\ln(x^2 + k^2) + \dfrac{C}{k}\tan^{-1}\left(\dfrac{x}{k}\right)split the numerator

(each + c+\,c for an indefinite integral)

Each line is a result from an earlier note:

  • Linear factors give logarithms. Remember to divide by the coefficient of xx: ∫32x−1 dx=32ln⁡∣2x−1∣+c\displaystyle\int\frac{3}{2x - 1}\, dx = \tfrac{3}{2}\ln\lvert 2x - 1\rvert + c.
  • A repeated factor gives one logarithm (from Bcx+d\dfrac{B}{cx + d}) and one reciprocal (from C(cx+d)2\dfrac{C}{(cx + d)^2}). Write the squared term as C(cx+d)−2C(cx + d)^{-2} and use the power rule: ∫C(cx+d)−2 dx=C(cx+d)−1−1×c+c\displaystyle\int C(cx + d)^{-2}\, dx = \frac{C(cx + d)^{-1}}{-1 \times c} + c. Students who write a logarithm here lose the marks.
  • A quadratic factor x2+k2x^2 + k^2 gives a logarithm and an inverse tangent after splitting the numerator, exactly as in Integrating f'(x)/f(x):
Bx+Cx2+k2=B2⋅2xx2+k2+C⋅1x2+k2\frac{Bx + C}{x^2 + k^2} = \frac{B}{2}\cdot\frac{2x}{x^2 + k^2} + C\cdot\frac{1}{x^2 + k^2}

If the quadratic is cx2+dcx^2 + d with c≠1c \ne 1, the logarithm part has B2c\dfrac{B}{2c} and the inverse tangent needs the coefficient taken out first.

Integrating a rational function
  1. Check the degrees. If numerator and denominator have the same degree, the decomposition includes a constant KK.
  2. Factorise the denominator and write the partial fraction form.
  3. Find the constants (substitute the roots of the linear factors, then compare coefficients). Check with a spare value of xx.
  4. Integrate each term using the table, dividing by the coefficient of xx in each linear factor.
  5. For a definite integral, substitute both limits and combine the logarithms into a single logarithm, or the form the question asks for.

Tidying logarithms

Answers are usually requested in a form such as ln⁡a\ln a, a+ln⁡ba + \ln b or ln⁡pq\ln\dfrac{p}{q}. Use

pln⁡a+qln⁡b=ln⁡(apbq),pln⁡a−qln⁡b=ln⁡apbqp\ln a + q\ln b = \ln\left(a^p b^q\right), \qquad p\ln a - q\ln b = \ln\frac{a^p}{b^q}

Collect all the logarithms at one limit before subtracting the other, or collect terms with the same argument first; either way, write the intermediate line so the examiner can follow it. For instance 2ln⁡2−2ln⁡4+2ln⁡3=2ln⁡2×34=2ln⁡32=ln⁡942\ln 2 - 2\ln 4 + 2\ln 3 = 2\ln\dfrac{2 \times 3}{4} = 2\ln\dfrac{3}{2} = \ln\dfrac{9}{4}.

Worked examples

Routine: two linear factors

Find ∫7x+4(x+2)(2x−1) dx\displaystyle\int\frac{7x + 4}{(x + 2)(2x - 1)}\, dx.

Solution

Write 7x+4(x+2)(2x−1)≡Ax+2+B2x−1\dfrac{7x + 4}{(x + 2)(2x - 1)} \equiv \dfrac{A}{x + 2} + \dfrac{B}{2x - 1}, so 7x+4≡A(2x−1)+B(x+2)7x + 4 \equiv A(2x - 1) + B(x + 2).

x=−2x = -2: −10=−5A-10 = -5A, so A=2A = 2. x=12\quad x = \tfrac{1}{2}: 152=52B\tfrac{15}{2} = \tfrac{5}{2}B, so B=3B = 3.

∫(2x+2+32x−1)dx=2ln⁡∣x+2∣+32ln⁡∣2x−1∣+c\int\left(\frac{2}{x + 2} + \frac{3}{2x - 1}\right) dx = 2\ln\lvert x + 2\rvert + \tfrac{3}{2}\ln\lvert 2x - 1\rvert + c
A definite integral as a single logarithm

Show that ∫124x(x+2) dx=ln⁡94\displaystyle\int_1^2\frac{4}{x(x + 2)}\, dx = \ln\frac{9}{4}.

Solution

4x(x+2)≡Ax+Bx+2\dfrac{4}{x(x + 2)} \equiv \dfrac{A}{x} + \dfrac{B}{x + 2}, so 4≡A(x+2)+Bx4 \equiv A(x + 2) + Bx. x=0x = 0: A=2A = 2. x=−2x = -2: B=−2B = -2.

∫12(2x−2x+2)dx=[2ln⁡x−2ln⁡(x+2)]12=(2ln⁡2−2ln⁡4)−(2ln⁡1−2ln⁡3)\int_1^2\left(\frac{2}{x} - \frac{2}{x + 2}\right) dx = \Big[2\ln x - 2\ln(x + 2)\Big]_1^2 = (2\ln 2 - 2\ln 4) - (2\ln 1 - 2\ln 3)=2ln⁡2−2ln⁡4+2ln⁡3=2ln⁡2×34=2ln⁡32=ln⁡94= 2\ln 2 - 2\ln 4 + 2\ln 3 = 2\ln\frac{2 \times 3}{4} = 2\ln\frac{3}{2} = \ln\frac{9}{4}
y = 4 / (x (x + 2)) fill 1 2 y = 4 / (x (x + 2))

The shaded area under y=4x(x+2)y = \dfrac{4}{x(x + 2)} between x=1x = 1 and x=2x = 2 is ln⁡94≈0.811\ln\tfrac{9}{4} \approx 0.811.

A repeated factor

(a) Express 4(x+3)(x+1)2\dfrac{4}{(x + 3)(x + 1)^2} in partial fractions.

(b) Hence show that ∫014(x+3)(x+1)2 dx=1+ln⁡23\displaystyle\int_0^1\frac{4}{(x + 3)(x + 1)^2}\, dx = 1 + \ln\frac{2}{3}.

Solution

(a) 4(x+3)(x+1)2≡Ax+3+Bx+1+C(x+1)2\dfrac{4}{(x + 3)(x + 1)^2} \equiv \dfrac{A}{x + 3} + \dfrac{B}{x + 1} + \dfrac{C}{(x + 1)^2}, so

4≡A(x+1)2+B(x+3)(x+1)+C(x+3)4 \equiv A(x + 1)^2 + B(x + 3)(x + 1) + C(x + 3)

x=−3x = -3: 4=4A4 = 4A, A=1A = 1. x=−1\quad x = -1: 4=2C4 = 2C, C=2C = 2. \quad Coefficient of x2x^2: 0=A+B0 = A + B, so B=−1B = -1.

Check with x=0x = 0: A+3B+3C=1−3+6=4A + 3B + 3C = 1 - 3 + 6 = 4. Correct.

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

(b) The last term is 2(x+1)−22(x + 1)^{-2}, which integrates to −2(x+1)−1-2(x + 1)^{-1}:

∫01… dx=[ln⁡(x+3)−ln⁡(x+1)−2x+1]01=(ln⁡4−ln⁡2−1)−(ln⁡3−ln⁡1−2)\int_0^1 \ldots\, dx = \Big[\ln(x + 3) - \ln(x + 1) - \frac{2}{x + 1}\Big]_0^1 = (\ln 4 - \ln 2 - 1) - (\ln 3 - \ln 1 - 2)=ln⁡2−ln⁡3+1=1+ln⁡23= \ln 2 - \ln 3 + 1 = 1 + \ln\frac{2}{3}
A quadratic factor

(a) Express 3x2−3x+4(x+1)(x2+4)\dfrac{3x^2 - 3x + 4}{(x + 1)(x^2 + 4)} in partial fractions.

(b) Hence find the exact value of ∫023x2−3x+4(x+1)(x2+4) dx\displaystyle\int_0^2\frac{3x^2 - 3x + 4}{(x + 1)(x^2 + 4)}\, dx.

Solution

(a) 3x2−3x+4(x+1)(x2+4)≡Ax+1+Bx+Cx2+4\dfrac{3x^2 - 3x + 4}{(x + 1)(x^2 + 4)} \equiv \dfrac{A}{x + 1} + \dfrac{Bx + C}{x^2 + 4}, so

3x2−3x+4≡A(x2+4)+(Bx+C)(x+1)3x^2 - 3x + 4 \equiv A(x^2 + 4) + (Bx + C)(x + 1)

x=−1x = -1: 3+3+4=5A3 + 3 + 4 = 5A, A=2A = 2. \quad Coefficient of x2x^2: 3=A+B3 = A + B, B=1B = 1. \quad Constant term: 4=4A+C4 = 4A + C, C=−4C = -4.

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

(b) Split the second fraction: x−4x2+4=12⋅2xx2+4−4⋅1x2+4\dfrac{x - 4}{x^2 + 4} = \dfrac{1}{2}\cdot\dfrac{2x}{x^2 + 4} - 4\cdot\dfrac{1}{x^2 + 4}.

∫02… dx=[2ln⁡(x+1)+12ln⁡(x2+4)−2tan⁡−1x2]02\int_0^2 \ldots\, dx = \Big[2\ln(x + 1) + \tfrac{1}{2}\ln(x^2 + 4) - 2\tan^{-1}\tfrac{x}{2}\Big]_0^2

Upper limit: 2ln⁡3+12ln⁡8−2⋅π42\ln 3 + \tfrac{1}{2}\ln 8 - 2\cdot\tfrac{\pi}{4}. Lower limit: 0+12ln⁡4−00 + \tfrac{1}{2}\ln 4 - 0.

=2ln⁡3+12ln⁡2−π2= 2\ln 3 + \tfrac{1}{2}\ln 2 - \frac{\pi}{2}
An improper fraction

Find the exact value of ∫01x2+3x+5(x+1)(x+2) dx\displaystyle\int_0^1\frac{x^2 + 3x + 5}{(x + 1)(x + 2)}\, dx, giving your answer in the form p+qln⁡rp + q\ln r, where pp, qq and rr are rational.

Solution

Numerator and denominator are both quadratic, so include a constant. The ratio of leading coefficients is 11:

x2+3x+5(x+1)(x+2)≡1+Ax+1+Bx+2,x2+3x+5≡(x+1)(x+2)+A(x+2)+B(x+1)\frac{x^2 + 3x + 5}{(x + 1)(x + 2)} \equiv 1 + \frac{A}{x + 1} + \frac{B}{x + 2}, \qquad x^2 + 3x + 5 \equiv (x + 1)(x + 2) + A(x + 2) + B(x + 1)

x=−1x = -1: 3=A3 = A. x=−2\quad x = -2: 3=−B3 = -B, so B=−3B = -3.

∫01(1+3x+1−3x+2)dx=[x+3ln⁡(x+1)−3ln⁡(x+2)]01\int_0^1\left(1 + \frac{3}{x + 1} - \frac{3}{x + 2}\right) dx = \Big[x + 3\ln(x + 1) - 3\ln(x + 2)\Big]_0^1=(1+3ln⁡2−3ln⁡3)−(0+0−3ln⁡2)=1+6ln⁡2−3ln⁡3=1+3ln⁡43= (1 + 3\ln 2 - 3\ln 3) - (0 + 0 - 3\ln 2) = 1 + 6\ln 2 - 3\ln 3 = 1 + 3\ln\frac{4}{3}
Exam-hard: a substitution leading to partial fractions

Use the substitution u=exu = e^x to show that ∫0ln⁡211+ex dx=ln⁡43\displaystyle\int_0^{\ln 2}\frac{1}{1 + e^x}\, dx = \ln\frac{4}{3}.

Solution

With u=exu = e^x, dudx=ex=u\dfrac{du}{dx} = e^x = u, so dx=duudx = \dfrac{du}{u}. Limits: x=0⇒u=1x = 0 \Rightarrow u = 1; x=ln⁡2⇒u=2x = \ln 2 \Rightarrow u = 2.

∫0ln⁡211+ex dx=∫121u(1+u) du\int_0^{\ln 2}\frac{1}{1 + e^x}\, dx = \int_1^2\frac{1}{u(1 + u)}\, du

Partial fractions: 1u(1+u)≡Au+B1+u\dfrac{1}{u(1 + u)} \equiv \dfrac{A}{u} + \dfrac{B}{1 + u}, 1≡A(1+u)+Bu1 \equiv A(1 + u) + Bu. u=0u = 0: A=1A = 1. u=−1u = -1: B=−1B = -1.

∫12(1u−11+u)du=[ln⁡u−ln⁡(1+u)]12=(ln⁡2−ln⁡3)−(0−ln⁡2)=2ln⁡2−ln⁡3=ln⁡43\int_1^2\left(\frac{1}{u} - \frac{1}{1 + u}\right) du = \Big[\ln u - \ln(1 + u)\Big]_1^2 = (\ln 2 - \ln 3) - (0 - \ln 2) = 2\ln 2 - \ln 3 = \ln\frac{4}{3}

The method of substitution is covered in its own note; the point here is that a substitution often produces a rational function, and partial fractions finish the job.

Exam-hard: a repeated factor with a 'show that'

(a) Express 4x2+5x+2(2x+1)(x+1)2\dfrac{4x^2 + 5x + 2}{(2x + 1)(x + 1)^2} in partial fractions.

(b) Hence show that ∫014x2+5x+2(2x+1)(x+1)2 dx=ln⁡6−12\displaystyle\int_0^1\frac{4x^2 + 5x + 2}{(2x + 1)(x + 1)^2}\, dx = \ln 6 - \frac{1}{2}.

Solution

(a) 4x2+5x+2(2x+1)(x+1)2≡A2x+1+Bx+1+C(x+1)2\dfrac{4x^2 + 5x + 2}{(2x + 1)(x + 1)^2} \equiv \dfrac{A}{2x + 1} + \dfrac{B}{x + 1} + \dfrac{C}{(x + 1)^2}, so

4x2+5x+2≡A(x+1)2+B(2x+1)(x+1)+C(2x+1)4x^2 + 5x + 2 \equiv A(x + 1)^2 + B(2x + 1)(x + 1) + C(2x + 1)

x=−12x = -\tfrac{1}{2}: 1−52+2=14A1 - \tfrac{5}{2} + 2 = \tfrac{1}{4}A, so 12=14A\tfrac{1}{2} = \tfrac{1}{4}A and A=2A = 2.

x=−1x = -1: 4−5+2=−C4 - 5 + 2 = -C, so C=−1C = -1.

Coefficient of x2x^2: 4=A+2B4 = A + 2B, so B=1B = 1.

Check at x=0x = 0: A+B+C=2+1−1=2A + B + C = 2 + 1 - 1 = 2. Correct.

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

(b) ∫22x+1 dx=ln⁡∣2x+1∣\displaystyle\int\frac{2}{2x + 1}\, dx = \ln\lvert 2x + 1\rvert (the 22 cancels the 12\tfrac{1}{2}), and ∫−(x+1)−2 dx=(x+1)−1\displaystyle\int -(x + 1)^{-2}\, dx = (x + 1)^{-1}.

∫01… dx=[ln⁡(2x+1)+ln⁡(x+1)+1x+1]01=(ln⁡3+ln⁡2+12)−(0+0+1)=ln⁡6−12\int_0^1 \ldots\, dx = \Big[\ln(2x + 1) + \ln(x + 1) + \frac{1}{x + 1}\Big]_0^1 = \left(\ln 3 + \ln 2 + \tfrac{1}{2}\right) - (0 + 0 + 1) = \ln 6 - \frac{1}{2}
Common mistakes
  • A logarithm for the squared term. ∫2(x+1)2 dx=−2x+1+c\displaystyle\int\frac{2}{(x + 1)^2}\, dx = -\frac{2}{x + 1} + c, not 2ln⁡(x+1)22\ln(x + 1)^2.
  • Forgetting to divide by the coefficient of xx. ∫32x−1 dx=32ln⁡∣2x−1∣\displaystyle\int\frac{3}{2x - 1}\, dx = \tfrac{3}{2}\ln\lvert 2x - 1\rvert, not 3ln⁡∣2x−1∣3\ln\lvert 2x - 1\rvert.
  • Integrating Bx+Cx2+k2\dfrac{Bx + C}{x^2 + k^2} as one logarithm. Only the BxBx part gives a logarithm; the constant part gives an inverse tangent.
  • Missing the constant term in an improper fraction. If the degrees are equal and you leave out KK, the constants come out wrong and the integral is wrong.
  • Sign slips with negative coefficients. ∫13−x dx=−ln⁡∣3−x∣+c\displaystyle\int\frac{1}{3 - x}\, dx = -\ln\lvert 3 - x\rvert + c, because the coefficient of xx is −1-1.
  • Combining logarithms carelessly. ln⁡4−ln⁡2=ln⁡2\ln 4 - \ln 2 = \ln 2, not ln⁡2\ln 2 divided by something; 3ln⁡2=ln⁡83\ln 2 = \ln 8, not ln⁡6\ln 6.
  • Not checking the partial fractions. One wrong constant ruins the whole integral. Substitute a spare value of xx.
Exam tip
  • The partial fractions are usually part (a) and earn their own marks; the integral in part (b) uses them. If you cannot do (a), you may still earn method marks in (b) by integrating the correct form with your constants.
  • Show the identity p(x)≡A(…)+B(…)p(x) \equiv A(\ldots) + B(\ldots) and the values substituted. Examiners need to see where each constant came from.
  • In definite integrals, write the bracket with both limits, then a line that collects logarithms. "Show that" answers lose the final mark if the log algebra is skipped.
  • If asked for "the form a+ln⁡ba + \ln b", make sure bb is a single number, not a product or quotient of logs.
  • Moduli are not needed in a definite integral when every linear factor is positive across the interval. Check that the interval does not contain a root of the denominator.
Summary
  • Decompose first, then integrate each partial fraction separately.
  • Aax+b→Aaln⁡∣ax+b∣\dfrac{A}{ax + b} \to \dfrac{A}{a}\ln\lvert ax + b\rvert; divide by the coefficient of xx.
  • C(cx+d)2→−Cc(cx+d)\dfrac{C}{(cx + d)^2} \to -\dfrac{C}{c(cx + d)}; a power, never a logarithm.
  • Bx+Cx2+k2→B2ln⁡(x2+k2)+Cktan⁡−1xk\dfrac{Bx + C}{x^2 + k^2} \to \dfrac{B}{2}\ln(x^2 + k^2) + \dfrac{C}{k}\tan^{-1}\dfrac{x}{k}.
  • Improper fraction with equal degrees: the constant KK integrates to KxKx.
  • Combine logarithms into the requested form using the log laws, showing each step.
  • Substitutions such as u=exu = e^x often lead to a rational function in uu.

Practice

Question
  1. Find ∫1(x−1)(x+2) dx\displaystyle\int\frac{1}{(x - 1)(x + 2)}\, dx, giving your answer as a single logarithm.
  2. Show that ∫232x2−1 dx=ln⁡32\displaystyle\int_2^3\frac{2}{x^2 - 1}\, dx = \ln\frac{3}{2}.
  3. Find the exact value of ∫02x+7(x+1)(x+3) dx\displaystyle\int_0^2\frac{x + 7}{(x + 1)(x + 3)}\, dx, giving your answer as a single logarithm.
  4. (a) Express 2x+1x(x+1)2\dfrac{2x + 1}{x(x + 1)^2} in partial fractions. (b) Hence find the exact value of ∫122x+1x(x+1)2 dx\displaystyle\int_1^2\frac{2x + 1}{x(x + 1)^2}\, dx.
  5. Show that ∫131x(x2+1) dx=12ln⁡32\displaystyle\int_1^{\sqrt{3}}\frac{1}{x(x^2 + 1)}\, dx = \frac{1}{2}\ln\frac{3}{2}.
  6. Find the exact value of ∫23x2x2−1 dx\displaystyle\int_2^3\frac{x^2}{x^2 - 1}\, dx.
  7. (a) Express x2+2x+21(x+1)(x2+9)\dfrac{x^2 + 2x + 21}{(x + 1)(x^2 + 9)} in partial fractions. (b) Hence find the exact value of ∫03x2+2x+21(x+1)(x2+9) dx\displaystyle\int_0^3\frac{x^2 + 2x + 21}{(x + 1)(x^2 + 9)}\, dx.
  8. (a) Express 5x+3(x+1)(2x+3)\dfrac{5x + 3}{(x + 1)(2x + 3)} in partial fractions. (b) Show that ∫015x+3(x+1)(2x+3) dx=12ln⁡12518\displaystyle\int_0^1\frac{5x + 3}{(x + 1)(2x + 3)}\, dx = \frac{1}{2}\ln\frac{125}{18}.
  9. Use the substitution u=exu = e^x to find the exact value of ∫0ln⁡3exe2x+3ex+2 dx\displaystyle\int_0^{\ln 3}\frac{e^x}{e^{2x} + 3e^x + 2}\, dx.
  10. (a) Express 8x2−2x+3(2x−1)(x2+1)\dfrac{8x^2 - 2x + 3}{(2x - 1)(x^2 + 1)} in the form A2x−1+Bx+Cx2+1\dfrac{A}{2x - 1} + \dfrac{Bx + C}{x^2 + 1}. (b) Hence show that ∫138x2−2x+3(2x−1)(x2+1) dx=ln⁡125−tan⁡−13+π4\displaystyle\int_1^3\frac{8x^2 - 2x + 3}{(2x - 1)(x^2 + 1)}\, dx = \ln 125 - \tan^{-1} 3 + \frac{\pi}{4}.
Answers
  1. 1(x−1)(x+2)=1/3x−1−1/3x+2\dfrac{1}{(x - 1)(x + 2)} = \dfrac{1/3}{x - 1} - \dfrac{1/3}{x + 2} (from 1≡A(x+2)+B(x−1)1 \equiv A(x + 2) + B(x - 1): x=1x = 1 gives A=13A = \tfrac{1}{3}, x=−2x = -2 gives B=−13B = -\tfrac{1}{3}). Integral: 13ln⁡∣x−1∣−13ln⁡∣x+2∣+c=13ln⁡∣x−1x+2∣+c\tfrac{1}{3}\ln\lvert x - 1\rvert - \tfrac{1}{3}\ln\lvert x + 2\rvert + c = \tfrac{1}{3}\ln\left\lvert\dfrac{x - 1}{x + 2}\right\rvert + c.

  2. 2(x−1)(x+1)=1x−1−1x+1\dfrac{2}{(x - 1)(x + 1)} = \dfrac{1}{x - 1} - \dfrac{1}{x + 1}. Then [ln⁡(x−1)−ln⁡(x+1)]23=(ln⁡2−ln⁡4)−(ln⁡1−ln⁡3)=ln⁡2×34=ln⁡32\Big[\ln(x - 1) - \ln(x + 1)\Big]_2^3 = (\ln 2 - \ln 4) - (\ln 1 - \ln 3) = \ln\dfrac{2 \times 3}{4} = \ln\dfrac{3}{2}.

  3. x+7≡A(x+3)+B(x+1)x + 7 \equiv A(x + 3) + B(x + 1): x=−1x = -1 gives A=3A = 3; x=−3x = -3 gives B=−2B = -2. Then [3ln⁡(x+1)−2ln⁡(x+3)]02=(3ln⁡3−2ln⁡5)−(0−2ln⁡3)=5ln⁡3−2ln⁡5=ln⁡24325\Big[3\ln(x + 1) - 2\ln(x + 3)\Big]_0^2 = (3\ln 3 - 2\ln 5) - (0 - 2\ln 3) = 5\ln 3 - 2\ln 5 = \ln\dfrac{243}{25}.

  4. (a) 2x+1≡A(x+1)2+Bx(x+1)+Cx2x + 1 \equiv A(x + 1)^2 + Bx(x + 1) + Cx. x=0x = 0: A=1A = 1. x=−1x = -1: −1=−C-1 = -C, C=1C = 1. x2x^2: 0=A+B0 = A + B, B=−1B = -1. So 1x−1x+1+1(x+1)2\dfrac{1}{x} - \dfrac{1}{x + 1} + \dfrac{1}{(x + 1)^2}. (b) [ln⁡x−ln⁡(x+1)−1x+1]12=(ln⁡2−ln⁡3−13)−(0−ln⁡2−12)=2ln⁡2−ln⁡3+16=ln⁡43+16\Big[\ln x - \ln(x + 1) - \dfrac{1}{x + 1}\Big]_1^2 = \left(\ln 2 - \ln 3 - \tfrac{1}{3}\right) - \left(0 - \ln 2 - \tfrac{1}{2}\right) = 2\ln 2 - \ln 3 + \tfrac{1}{6} = \ln\dfrac{4}{3} + \dfrac{1}{6}.

  5. 1≡A(x2+1)+(Bx+C)x1 \equiv A(x^2 + 1) + (Bx + C)x: x=0x = 0 gives A=1A = 1; x2x^2: 0=A+B0 = A + B, B=−1B = -1; xx: 0=C0 = C. So 1x−xx2+1\dfrac{1}{x} - \dfrac{x}{x^2 + 1}. Integral: [ln⁡x−12ln⁡(x2+1)]13=(12ln⁡3−12ln⁡4)−(0−12ln⁡2)=12(ln⁡3−ln⁡4+ln⁡2)=12ln⁡32\Big[\ln x - \tfrac{1}{2}\ln(x^2 + 1)\Big]_1^{\sqrt{3}} = \left(\tfrac{1}{2}\ln 3 - \tfrac{1}{2}\ln 4\right) - \left(0 - \tfrac{1}{2}\ln 2\right) = \tfrac{1}{2}(\ln 3 - \ln 4 + \ln 2) = \tfrac{1}{2}\ln\dfrac{3}{2}.

  6. x2x2−1=1+1x2−1=1+1/2x−1−1/2x+1\dfrac{x^2}{x^2 - 1} = 1 + \dfrac{1}{x^2 - 1} = 1 + \dfrac{1/2}{x - 1} - \dfrac{1/2}{x + 1}. Using question 2, the fractional part contributes 12ln⁡32\tfrac{1}{2}\ln\tfrac{3}{2}, and ∫231 dx=1\displaystyle\int_2^3 1\, dx = 1. Total: 1+12ln⁡321 + \tfrac{1}{2}\ln\dfrac{3}{2}.

  7. (a) x2+2x+21≡A(x2+9)+(Bx+C)(x+1)x^2 + 2x + 21 \equiv A(x^2 + 9) + (Bx + C)(x + 1). x=−1x = -1: 20=10A20 = 10A, A=2A = 2. x2x^2: 1=A+B1 = A + B, B=−1B = -1. Constant: 21=9A+C21 = 9A + C, C=3C = 3. So 2x+1+3−xx2+9\dfrac{2}{x + 1} + \dfrac{3 - x}{x^2 + 9}. (b) [2ln⁡(x+1)+tan⁡−1x3−12ln⁡(x2+9)]03=(2ln⁡4+π4−12ln⁡18)−(0+0−12ln⁡9)=4ln⁡2+π4−12ln⁡2=72ln⁡2+π4\Big[2\ln(x + 1) + \tan^{-1}\tfrac{x}{3} - \tfrac{1}{2}\ln(x^2 + 9)\Big]_0^3 = \left(2\ln 4 + \tfrac{\pi}{4} - \tfrac{1}{2}\ln 18\right) - \left(0 + 0 - \tfrac{1}{2}\ln 9\right) = 4\ln 2 + \tfrac{\pi}{4} - \tfrac{1}{2}\ln 2 = \tfrac{7}{2}\ln 2 + \dfrac{\pi}{4}.

  8. (a) 5x+3≡A(2x+3)+B(x+1)5x + 3 \equiv A(2x + 3) + B(x + 1). x=−1x = -1: −2=A-2 = A. x=−32x = -\tfrac{3}{2}: −92=−12B-\tfrac{9}{2} = -\tfrac{1}{2}B, B=9B = 9. So −2x+1+92x+3-\dfrac{2}{x + 1} + \dfrac{9}{2x + 3}. (b) [−2ln⁡(x+1)+92ln⁡(2x+3)]01=−2ln⁡2+92ln⁡5−92ln⁡3=12(9ln⁡5−9ln⁡3−4ln⁡2)\Big[-2\ln(x + 1) + \tfrac{9}{2}\ln(2x + 3)\Big]_0^1 = -2\ln 2 + \tfrac{9}{2}\ln 5 - \tfrac{9}{2}\ln 3 = \tfrac{1}{2}\left(9\ln 5 - 9\ln 3 - 4\ln 2\right). Hmm: this equals 12ln⁡5939⋅24\tfrac{1}{2}\ln\dfrac{5^9}{3^9 \cdot 2^4}. (See the note below.)

  9. u=exu = e^x, du=ex dxdu = e^x\, dx; limits u=1u = 1 to u=3u = 3. The integral becomes ∫131u2+3u+2 du=∫13(1u+1−1u+2)du=[ln⁡u+1u+2]13=ln⁡45−ln⁡23=ln⁡65\displaystyle\int_1^3\frac{1}{u^2 + 3u + 2}\, du = \int_1^3\left(\frac{1}{u + 1} - \frac{1}{u + 2}\right) du = \Big[\ln\frac{u + 1}{u + 2}\Big]_1^3 = \ln\frac{4}{5} - \ln\frac{2}{3} = \ln\frac{6}{5}.

  10. (a) 8x2−2x+3≡A(x2+1)+(Bx+C)(2x−1)8x^2 - 2x + 3 \equiv A(x^2 + 1) + (Bx + C)(2x - 1). x=12x = \tfrac{1}{2}: 2−1+3=54A2 - 1 + 3 = \tfrac{5}{4}A, A=165A = \tfrac{16}{5}.

How well do you know this?

Builds on

Where this leads

Console

Search notes, courses and tools, or run an action