You are not solving yet. You are choosing the correct template: the skeleton of unknown numerators, with no values found. The rule (from the parent): each factor of the denominator contributes one block, and the total number of unknowns equals degQ.
Recall Solution — L1·Q1
Two distinct linear factors. Each linear factor (x−a) contributes a single constant over itself:
(x−3)(x+4)5x−2=x−3A+x+4B.Count check:degQ=2, and we have 2 unknowns A,B ✓.
Recall Solution — L1·Q2
(x+1)3 is a repeated linear factor of order 3: we must run every power down from 3 to 1 (one term alone cannot represent a numerator that could secretly be quadratic in (x+1)). Plus one block for the lone (x−5):
(x+1)3(x−5)7=x+1A1+(x+1)2A2+(x+1)3A3+x−5B.Count check:degQ=4, unknowns A1,A2,A3,B=4 ✓.
Recall Solution — L1·Q3
Irreducible? Discriminant of x2+0x+9 is 02−4(1)(9)=−36<0, so no real roots — yes, irreducible. An irreducible quadratic gets a linear topBx+C (numerator degree one less than denominator).
Proper?degP=3, degQ=1+2=3. Since degP=degQ it is improper — the template alone is not enough; you would divide first. But the template for the remainder is:
(x−2)(x2+9)x3+1=(constant from division)+x−2A+x2+9Bx+C.Count check (proper part):degQ=3, unknowns A,B,C=3 ✓.
Now find the constants and integrate. Turn the crank with cover-up where it is clean, and matching coefficients where it is not.
Recall Solution — L2·Q1
Template: (x−3)(x+4)5x−2=x−3A+x+4B.Cover-up for A: cover (x−3), set x=3: A=3+45(3)−2=713.(the B term carried (x−3)→0.)Cover-up for B: cover (x+4), set x=−4: B=−4−35(−4)−2=−7−22=722.Integrate (each x−aA→Aln∣x−a∣):
∫=713ln∣x−3∣+722ln∣x+4∣+C.
Recall Solution — L2·Q2
(x−2)2 repeated ⇒ template (x−2)23x−1=x−2A+(x−2)2B.B (cover-up on top power): set x=2: B=3(2)−1=5.A (matching): clear denominators: 3x−1=A(x−2)+B. Coefficient of x: A=3.
(Check constant: −2A+B=−6+5=−1 ✓.)Integrate: the second piece uses the power rule, not a log (exponent −2=−1):
∫=3ln∣x−2∣−x−25+C.
Recall Solution — L2·Q3
There is no linear factor to cover up — split by the parent rule "log the derivative, arctan the square." The derivative of x2+4 is 2x, so engineer the numerator:
4x+1=2⋅(2x)+1.∫x2+44x+1dx=2∫x2+42xdx+∫x2+41dx.
First integral by substitutionu=x2+4: 2ln(x2+4).
Second is a standard arctan with d2=4, d=2: ∫x2+221dx=21arctan2x.
∫=2ln(x2+4)+21arctan2x+C.
Here the choice of method matters. A blind approach still works but wastes minutes; the smart move is short.
Recall Solution — L3·Q1
Template: x−1A+(x−1)2B+x+2C.Cover-up B (top power of the repeat): x=1: B=1+21+4=35.Cover-up C:x=−2: C=(−3)2−2+4=92.A — the analysis:A has no clean cover-up. Multiplying out, the numerator's x2 coefficient is the only place A and C meet without B. Since the left numerator x+4 has no x2 term:
A+C=0⇒A=−C=−92.Why choose the x2 coefficient? it gives A in one line instead of solving a 3×3 system.
Integrate:∫=−92ln∣x−1∣−35⋅x−11+92ln∣x+2∣+C.
Recall Solution — L3·Q2
Check irreducible: discriminant 22−4(5)=4−20=−16<0 ✓.
Derivative of denominator is 2x+2. Engineer the numerator so the derivative appears exactly:
x+3=21(2x+2)+2.∫=21∫x2+2x+52x+2dx+∫x2+2x+52dx.
First piece: 21ln(x2+2x+5).
Second: complete the squarex2+2x+5=(x+1)2+4, so d=2:
∫(x+1)2+222dx=2⋅21arctan2x+1=arctan2x+1.∫=21ln(x2+2x+5)+arctan2x+1+C.
The figure shows why the split is honest: the numerator x+3 (coral) is exactly the derivative-part (mint, height 21 of slope 2x+2) plus a flat leftover (butter, height 2). No guessing — every bit of x+3 is accounted for.
Template: x+1A+x2+1Bx+C (quadratic irreducible: discriminant −4<0).
Cover-up A:x=−1: A=(−1)2+12(1)−1+1=22=1.B,C by clearing:2x2+x+1=A(x2+1)+(Bx+C)(x+1). With A=1:
2x2+x+1=(1+B)x2+(B+C)x+(1+C).
Match x2:1+B=2⇒B=1. Match const: 1+C=1⇒C=0. Check x: B+C=1 ✓.
So (x+1)(x2+1)2x2+x+1=x+11+x2+1x.Integrate (log for the linear, half-log via u=x2+1 for the quadratic; no arctan since C=0):
∫=ln∣x+1∣+21ln(x2+1)+C.
Recall Solution — L4·Q2
Proper?degP=2=degQ ⇒ improper. Long-divide first:x2−1x2=1+x2−11.
Now x2−1=(x−1)(x+1), both linear:
(x−1)(x+1)1=x−1A+x+1B.
Cover-up A at x=1: A=1+11=21. Cover-up B at x=−1: B=−1−11=−21.
Integrate (the constant 1 integrates to x):
∫=x+21ln∣x−1∣−21ln∣x+1∣+C=x+21lnx+1x−1+C.
Everything at once: repeated, quadratic, log and arctan in a single answer.
Recall Solution — L5·Q1
Irreducible? discriminant 22−4(2)=4−8=−4<0 ✓.
Derivative of x2+2x+2 is 2x+2. Write 2x+5=(2x+2)+3.
∫=∫x2+2x+22x+2dx+∫x2+2x+23dx.
First = ln(x2+2x+2). Second: complete the square x2+2x+2=(x+1)2+1, d=1:
3∫(x+1)2+11dx=3arctan(x+1).∫=ln(x2+2x+2)+3arctan(x+1)+C.
Recall Solution — L5·Q2
Proper?degP=3, degQ=2+2=4, so 3<4 ✓ proper.
Template (repeated linear runs both powers; irreducible quadratic gets Bx+C):
(x−1)2(x2+1)x3−2x+3=x−1A+(x−1)2B+x2+1Cx+D.Count:degQ=4, unknowns A,B,C,D=4 ✓.
Find B (cover-up top power):x=1: B=12+11−2+3=22=1.Clear denominators:x3−2x+3=A(x−1)(x2+1)+B(x2+1)+(Cx+D)(x−1)2.
Expand with B=1 and match powers:
x3: A+C=1
x2: −A+1−2C+D=0
x1: A−2D+C=−2 … (using A−2C+... careful expansion below)
Do it cleanly. A(x−1)(x2+1)=A(x3−x2+x−1). (Cx+D)(x−1)2=(Cx+D)(x2−2x+1)=Cx3+(D−2C)x2+(C−2D)x+D.
Sum coefficients (add B(x2+1)=x2+1):
x3:A+C=1
x2:−A+(D−2C)+1=0
x1:A+(C−2D)=−2
x0:−A+D+1=3
From x0: D=A+2. Sub into x3 and x1: C=1−A, and A+(1−A)−2(A+2)=−2⇒1−2A−4=−2⇒−2A=1⇒A=−21.
Then C=1−(−21)=23, D=−21+2=23.
(Check x2: −(−21)+(23−3)+1=21−23+1=0 ✓.)(x−1)2(x2+1)x3−2x+3=x−1−21+(x−1)21+x2+123x+23.