3x2+2x−1(x+5)(x2+1) becomes ...
3x2+2x−1(x+5)(x2+1)=Ax+5+Bx+Cx2+1
Multiply through by (x+5)(x2+1)
(3x2+2x−1)=A(x2+1)+(Bx+C)(x+5)
First solve for A
x=−5
(3(−5)2+2(−5)−1)=A((−5)2+1)+(B(−5)+C)((−5)+5)
(3(25)−10−1)=A(25+1)+(−5B+C)(0)
(75−10−1)=A(26)+(−5B+C)(0)
64=26A
6426=26A26
3213=A
Now solve for C
Substitute in for x and A
x=0,A=3213
(3(0)2+2(0)−1)=(3213)((0)2+1)+(B(0)+C)((0)+5)
(−1)=(3213)(1)+(C)(5)
−1=3213+5C
−1−3213=5C
−1313−3213=5C
−4513=5C
−45135=5C5
(−4513)⋅15=C
(−913)⋅11=C
−913=C
Substitute in A and C and let x=1 as you solve for B
(3(1)2+2(1)−1)=(3213)((1)2+1)+(B(1)+(−913))((1)+5)
(3+2−1)=(3213)(1+1)+(B−913)(1+5)
4=(3213)(2)+(B−913)(6)
4=(6413)+(6B−5413)
4−6413+5413=6B
5213−6413+5413=6B
10613−6413=6B
4213=6B
42136=6B6
(4213)⋅16=B
713=B
Substitute in A, B, and C
3x2+2x−1(x+5)(x2+1)=3213x+5+(713)x+−913x2+1
3x2+2x−1(x+5)(x2+1)=3213(x+5)+7x+(−9)13(x2+1)
Partial-Fraction Decomposition
3x2+2x−1(x+5)(x2+1)=3213(x+5)+7x−913(x2+1)