4.2.10Calculus II — Integration

Partial fractions — linear, repeated, irreducible quadratic factors

1,792 words8 min readdifficulty · medium4 backlinks

What / Why / How

HOW (the master recipe):

  1. Make it proper (long division if needed).
  2. Fully factor Q(x)Q(x) over the reals into linear and irreducible quadratic factors.
  3. For each factor, write the right template of unknown numerators (rules below).
  4. Solve for the unknowns (cover-up / matching coefficients).
  5. Integrate each simple piece.

Derivation of the cover-up rule (first principles)

Take a simple linear factor. Write P(x)(xa)g(x)=Axa+(rest)g(x).\frac{P(x)}{(x-a)\,g(x)} = \frac{A}{x-a} + \frac{\text{(rest)}}{g(x)}. Multiply both sides by (xa)(x-a): P(x)g(x)=A+(xa)(rest)g(x).\frac{P(x)}{g(x)} = A + (x-a)\cdot\frac{\text{(rest)}}{g(x)}. Now set x=ax=a. The second term has a factor (xa)0(x-a)\to 0, so it vanishes: A=P(a)g(a)\boxed{\,A = \frac{P(a)}{g(a)}\,} i.e. cover up (xa)(x-a) in the denominator and plug x=ax=a into what's left. This is just evaluating a limit that kills every other term. (Cover-up gives the highest-power coefficient cleanly; lower repeated/quadratic coefficients still need matching.)


Worked examples

Figure — Partial fractions — linear, repeated, irreducible quadratic factors

Integrating the quadratic piece (the part people fear)

For Bx+Cx2+bx+c\dfrac{Bx+C}{x^2+bx+c} (irreducible), split into two ideas:

  1. The log part: engineer the numerator to be the derivative of the denominator (2x+b)(2x+b) → gives B2ln(x2+bx+c)\tfrac{B}{2}\ln(x^2+bx+c).
  2. The arctan part: the constant leftover, after completing the square x2+bx+c=(x+b2)2+d2x^2+bx+c=(x+\tfrac{b}{2})^2 + d^2, gives 1darctan ⁣x+b/2d\tfrac{1}{d}\arctan\!\frac{x+b/2}{d}.

Common mistakes (steel-manned)


Recall Feynman: explain it to a 12-year-old

Imagine someone mixed three simple juices into one big cup and you must figure out the recipe. Partial fractions is tasting the mix and saying "ah, this much apple, this much orange, this much grape." The big messy fraction is the mixed cup; the simple fractions Axa\frac{A}{x-a} are the pure juices. Once you know the recipe, each pure juice is easy to "drink" (integrate) — straight-line ones become ln\ln, the curvy quadratic ones become ln\ln plus an arctan\arctan swirl.


Active recall

When can you apply partial fractions directly?
Only when proper, degP<degQ\deg P<\deg Q; otherwise long-divide first.
Total number of unknown constants in the decomposition equals?
degQ\deg Q (the degree of the denominator).
Template for repeated linear factor (xa)3(x-a)^3?
A1xa+A2(xa)2+A3(xa)3\frac{A_1}{x-a}+\frac{A_2}{(x-a)^2}+\frac{A_3}{(x-a)^3}.
Template for an irreducible quadratic factor (x2+bx+c)(x^2+bx+c)?
Bx+Cx2+bx+c\frac{Bx+C}{x^2+bx+c} (linear numerator).
State the cover-up rule for P(xa)g\frac{P}{(x-a)g}.
A=P(a)g(a)A=\frac{P(a)}{g(a)}: cover (xa)(x-a), set x=ax=a.
Why does cover-up work?
Multiply by (xa)(x-a) and set x=ax=a; every other term keeps a factor (xa)0(x-a)\to0.
How do you check a quadratic is irreducible?
Discriminant b24c<0b^2-4c<0 (no real roots).
Axadx=?\int\frac{A}{x-a}dx=?
Alnxa+CA\ln|x-a|+C.
A(xa)2dx=?\int\frac{A}{(x-a)^2}dx=?
Axa+C-\frac{A}{x-a}+C (power rule, not log).
Strategy to integrate Bx+Cx2+bx+c\frac{Bx+C}{x^2+bx+c}?
Make numerator (2x+b)\propto(2x+b) for the log part; complete the square for the arctan part.
Why must a quadratic factor get Bx+CBx+C not just AA?
Numerator degree must be one less than denominator to span all proper fractions.

Connections

  • Polynomial long division — prerequisite to make functions proper.
  • Integration by substitution — used for the 12ln(x2+)\frac{1}{2}\ln(x^2+\dots) step.
  • Completing the square — converts quadratics to arctan form.
  • Standard integrals — log and arctandxx2+a2=1aarctanxa\int\frac{dx}{x^2+a^2}=\frac1a\arctan\frac xa.
  • Laplace transforms — inverse via partial fractions — same algebra reused.
  • Factoring polynomials over the reals — supplies the factor list.

Concept Map

hard to integrate directly

check degrees

no, improper

yields remainder

yes, proper

linear x-a

repeated x-a to k

irreducible quadratic

solve numerators

solve numerators

solve numerators

linear factor limit x=a

integrate pieces

linear gives log, quadratic gives arctan

Rational function P/Q

Split into simple pieces

deg P less than deg Q?

Polynomial long division

Fully factor Q over reals

Term A over x-a

All lower powers A1..Ak

Term Bx+C over quadratic

Cover-up or match coefficients

Cover-up rule A=P a over g a

Easy integrals

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, partial fractions ka idea bilkul simple hai: jab do-teen chhoti fractions ko common denominator pe add karte ho, ek badi ugly fraction ban jaati hai. Integration mein humein ulta karna hai — us badi fraction ko wapas chhoti simple pieces mein todna, kyunki simple pieces jaldi integrate ho jaate hain. Axa\frac{A}{x-a} ka integral seedha ln\ln ho jaata hai, aur quadratic wala piece ln\ln plus arctan\arctan deta hai. Bas itni si baat hai.

Sabse pehle check karo fraction proper hai ya nahi — matlab upar ki degree neeche se choti honi chahiye. Agar nahi, to pehle polynomial long division karo. Phir denominator ko fully factor karo: linear (xa)(x-a), repeated (xa)k(x-a)^k, ya irreducible quadratic (x2+bx+c)(x^2+bx+c) (jiska discriminant negative ho, factor na ho). Har factor ke liye sahi template likho: linear ke liye sirf constant AA, repeated ke liye saari powers A1xa+A2(xa)2+...\frac{A_1}{x-a}+\frac{A_2}{(x-a)^2}+..., aur quadratic ke liye upar Bx+CBx+C (linear top, sirf constant nahi — ye sabse common galti hai).

Constants nikalne ke liye cover-up trick use karo: (xa)(x-a) ko dhako aur x=ax=a daal do, baaki sab terms zero ho jaate hain. Repeated aur quadratic ke baaki constants ke liye denominators clear karke coefficients match kar lo. Yaad rakho: total unknowns hamesha denominator ki degree ke barabar honge — ye ek accha self-check hai.

Quadratic piece integrate karne se mat daro. Numerator ko aise tod do ki ek part denominator ka derivative (2x+b)(2x+b) ban jaaye — wo ln\ln deta hai; bacha hua constant part complete the square karke arctan\arctan deta hai. Mnemonic: "Log the derivative, arctan the square." Itna samajh lo, to har rational function ka integral aapke haath mein hai. Yeh chapter aage Laplace transforms aur inverse transforms mein bhi exactly same algebra se kaam aata hai, isliye yahin pakka kar lo.

Go deeper — visual, from zero

Test yourself — Calculus II — Integration

Connections