Pc4 - Integrating with partial fractions

Pc4 - Integrating with partial fractions

Extend partial-fraction integration to a denominator containing one linear factor and a quadratic factor of the form ax2+cax^2+c. Pc4 combines logarithmic integrals with the inverse-tangent integrals from the previous lesson, keeping decomposition, integration and endpoint evaluation as distinct steps.

A quadratic factor needs a linear numerator

How can the rational integral

∫022x2+3x+6(x+1)(x2+4) dx\int_0^2\frac{2x^2+3x+6}{(x+1)(x^2+4)}\,dx

produce an exact answer involving π\pi? Its denominator hides a sum of squares. Partial fractions will expose that piece, alongside two logarithmic pieces.

You already know

For a proper rational fraction with linear factors, partial fractions separate the factors before integration. If the numerator's degree is at least the denominator's degree, use polynomial division first. Also, ∫dx/(x−h)=ln⁡∣x−h∣+C\int dx/(x-h)=\ln|x-h|+C.

The numerator above a factor must allow every polynomial of degree below that factor's degree. A linear factor needs a constant numerator. An irreducible quadratic needs a general linear numerator, not just a constant.

A linear factor and an irreducible quadratic

For a proper rational fraction with denominator (x−h)(ax2+c)(x-h)(ax^2+c), where ax2+cax^2+c has no real roots, use

P(x)(x−h)(ax2+c)=Ax−h+Bx+Cax2+c\frac{P(x)}{(x-h)(ax^2+c)} =\frac A{x-h}+\frac{Bx+C}{ax^2+c}

Multiply by the common denominator, then use substitution and equating coefficients to find A,B,CA,B,C.

Not in the formula booklet: learn it.

For positive a,ca,c, the quadratic is always positive and cannot be factored into real linear terms. If aa and cc have opposite signs, it factors into real linear terms instead; use your earlier linear-factor methods. For example, x2−4=(x−2)(x+2)x^2-4=(x-2)(x+2). If c=0c=0, treat the repeated linear factor explicitly.

Worked example 1: choosing enough numerator terms

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

Plan. Use a constant above x+1x+1, a linear expression above x2+1x^2+1, then form a polynomial identity.

x+3(x+1)(x2+1)=Ax+1+Bx+Cx2+1x+3=A(x2+1)+(Bx+C)(x+1)clear denominatorsx=−1 ⟹ 2=2A,A=1remove the second productx2:A+B=0,B=−1equate coefficientsx:B+C=1,C=2equate coefficients\begin{aligned} \frac{x+3}{(x+1)(x^2+1)}&=\frac A{x+1}+\frac{Bx+C}{x^2+1} \\ x+3&=A(x^2+1)+(Bx+C)(x+1) && \text{clear denominators} \\ x=-1&\ \Longrightarrow\ 2=2A,\quad A=1 && \text{remove the second product} \\ x^2:\quad A+B&=0,\quad B=-1 && \text{equate coefficients} \\ x:\quad B+C&=1,\quad C=2 && \text{equate coefficients} \end{aligned}

Why this step? Substituting x=−1x=-1 into the polynomial identity is valid, even though it is excluded from the original fraction. The identity has no denominator after it has been cleared.

Answer. 1x+1+−x+2x2+1\dfrac1{x+1}+\dfrac{-x+2}{x^2+1}, for x≠−1x\ne-1.

Check. Recombining gives numerator (x2+1)+(−x+2)(x+1)=x+3(x^2+1)+(-x+2)(x+1)=x+3.

Change only the constant term in the original numerator, from 33 to 55. Keep the same decomposition structure; the coefficients, rather than the allowed terms, will change.

Worked example 2: a changed numerator

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

Plan. Form the same identity, use x=−1x=-1, then equate coefficients.

x+5=A(x2+1)+(Bx+C)(x+1)clear denominatorsx=−1 ⟹ 4=2A,A=2x2:A+B=0,B=−2x:B+C=1,C=3\begin{aligned} x+5&=A(x^2+1)+(Bx+C)(x+1) && \text{clear denominators} \\ x=-1&\ \Longrightarrow\ 4=2A,\quad A=2 \\ x^2:\quad A+B&=0,\quad B=-2 \\ x:\quad B+C&=1,\quad C=3 \end{aligned}

Why this step? A constant-only numerator over the quadratic would force B=0B=0, making the x2x^2 coefficient impossible to cancel here.

Answer. 2x+1+−2x+3x2+1\dfrac2{x+1}+\dfrac{-2x+3}{x^2+1}, for x≠−1x\ne-1.

Check. The combined numerator is 2(x2+1)+(−2x+3)(x+1)=x+52(x^2+1)+(-2x+3)(x+1)=x+5.

The general numerator is a way to avoid ruling out the correct answer before starting. A coefficient may turn out to be zero, but that is a conclusion of the identity.

Watch out

Wrong starting form: A/(x+1)+C/(x2+1)A/(x+1)+C/(x^2+1).

Right starting form: A/(x+1)+(Bx+C)/(x2+1)A/(x+1)+(Bx+C)/(x^2+1). Omitting BxBx loses the term needed to cancel unwanted quadratic coefficients.

Another constant change provides a quick check of the same coefficient method.

Split the quadratic term into a logarithm and an angle

After decomposition, a term (Bx+C)/(ax2+c)(Bx+C)/(ax^2+c) has two different integration routes. The BxBx numerator is proportional to the denominator's derivative, so it gives a logarithm. The constant numerator gives an inverse tangent when the quadratic is positive.

For instance, d(x2+4)/dx=2xd(x^2+4)/dx=2x, so an x/(x2+4)x/(x^2+4) term gives 12ln⁡(x2+4)\frac12\ln(x^2+4). Meanwhile 1/(x2+4)1/(x^2+4) gives 12arctan⁡(x/2)\frac12\arctan(x/2).

Two pieces of a quadratic fraction

For a>0,c>0a>0,c>0,

∫Bxax2+c dx=B2aln⁡(ax2+c)+K∫Cax2+c dx=Cacarctan⁡(xac)+K\begin{aligned} \int\frac{Bx}{ax^2+c}\,dx&=\frac{B}{2a}\ln(ax^2+c)+K \\ \int\frac{C}{ax^2+c}\,dx &=\frac{C}{\sqrt{ac}}\arctan\left(x\sqrt{\frac ac}\right)+K \end{aligned}

The logarithmic rule follows by reverse differentiation. The second line follows by scaling the standard inverse-tangent integral, which is supplied.

Not in the formula booklet: learn it.

Use a single arbitrary constant after adding indefinite integrals. The different constants in intermediate pieces combine into one constant; they are not separate requirements.

Worked example 3: two numerator terms, two methods

Question. Find ∫3x+4x2+4 dx\int\dfrac{3x+4}{x^2+4}\,dx.

Plan. Separate the xx term from the constant term, then use a logarithm and an inverse tangent.

I=3∫xx2+4 dx+4∫1x2+4 dxsplit numerator=32ln⁡(x2+4)+4(12arctan⁡x2)+Ktwo standard routes=32ln⁡(x2+4)+2arctan⁡x2+K\begin{aligned} I&=3\int\frac{x}{x^2+4}\,dx+4\int\frac1{x^2+4}\,dx && \text{split numerator} \\ &=\frac32\ln(x^2+4)+4\left(\frac12\arctan\frac x2\right)+K && \text{two standard routes} \\ &=\frac32\ln(x^2+4)+2\arctan\frac x2+K \end{aligned}

Why this step? A denominator is not enough to choose an integration rule: its numerator decides whether the piece is logarithmic or inverse-trigonometric.

Answer. 32ln⁡(x2+4)+2arctan⁡(x/2)+K\frac32\ln(x^2+4)+2\arctan(x/2)+K.

Check. Differentiation gives 3x/(x2+4)+4/(x2+4)3x/(x^2+4)+4/(x^2+4), reconstructing the original numerator.

Change only the coefficient of x2x^2 in the denominator, from 11 to 44. Both integration coefficients must respond to that change.

Continue this lesson.

You’re previewing NovaLearn without an account. Create a free account to read the rest.

Create free account