How do I do this integral? Partial Fractions?

cerbeyx

New member
Joined
Jan 12, 2023
Messages
2
I tried to do partial fractions on this but it went very wrong and I'm not even sure that was the best method to use. How would you start this integral? 12x(x1)2(x2+1)dx\int \frac{1-2x}{(x-1)^2(x^2+1)}dx Thanks for the help.
 
I tried to do partial fractions on this but it went very wrong and I'm not even sure that was the best method to use. How would you start this integral? 12x(x1)2(x2+1)dx\int \frac{1-2x}{(x-1)^2(x^2+1)}dx Thanks for the help.
I would start with partial fractions as well. Please share your attempt.
 
Partial fractions.
If you want help, versus a complete solution, you need to show us your work so we can see where you are going wrong.
 
Start by figuring out the values of A, B, C, and D:

12x(x1)2(x2+1)=A(x1)2+Bx1+Cx+Dx2+1\displaystyle\frac{1-2x}{(x-1)^2(x^2+1)}=\frac{A}{(x-1)^2}+\frac{B}{x-1}+\frac{Cx+D}{x^2+1}
 
I don't know what to do from here. And thank you, limiTS, I set it up wrong the first time
 

Attachments

  • 16736649757564522281710446476008.jpg
    16736649757564522281710446476008.jpg
    759.1 KB · Views: 6
I don't know what to do from here. And thank you, limiTS, I set it up wrong the first time
image.png

I would expand the right-hand side and collect like terms. After that, equating the coefficients should give you a system of 4 equations and 4 unknowns.

(REF/RREF should help solve the linear system if you're familiar.)
 
After you find that A=12A=-\frac{1}{2}, update the partial fraction equation:
12x(x1)2(x2+1)=12(x1)2+Bx1+Cx+Dx2+1\frac{1-2x}{(x-1)^2(x^2+1)}=\frac{-\frac{1}{2}}{(x-1)^2}+\frac{B}{x-1}+\frac{Cx+D}{x^2+1}Move the known AA to the L.H.S.:
12x(x1)2(x2+1)+12(x1)2=Bx1+Cx+Dx2+112x(x1)2(x2+1)+12(x2+1)(x1)2(x2+1)=12x+12x2+12(x1)2(x2+1)=12x22x+32(x1)2(x2+1)=12(x24x+3)(x1)2(x2+1)=12(x1)(x3)(x1)2(x2+1)=12(x3)(x1)(x2+1)=Bx1+Cx+Dx2+1\begin{aligned} \frac{1-2x}{(x-1)^2(x^2+1)}+\frac{\frac{1}{2}}{(x-1)^2}&=\frac{B}{x-1}+\frac{Cx+D}{x^2+1}\\ \frac{1-2x}{(x-1)^2(x^2+1)}+\frac{\frac{1}{2}(x^2+1)}{(x-1)^2(x^2+1)}&=\\ \frac{1-2x+\frac{1}{2}x^2+\frac{1}{2}}{(x-1)^2(x^2+1)}&=\\ \frac{\frac{1}{2}x^2-2x+\frac{3}{2}}{(x-1)^2(x^2+1)}&=\\ \frac{\frac{1}{2}(x^2-4x+3)}{(x-1)^2(x^2+1)}&=\\ \frac{\frac{1}{2}\cancel{(x-1)}(x-3)}{(x-1)^{\cancel{2}}(x^2+1)}&=\\ \frac{\frac{1}{2}(x-3)}{(x-1)(x^2+1)}&=\frac{B}{x-1}+\frac{Cx+D}{x^2+1}\\ \end{aligned}
Expand this new equation (like you did before), and let x=1x=1. You'll see that B=12B=-\frac{1}{2}:

Move the known BB to the L.H.S.:

12(x3)(x1)(x2+1)=12x1+Cx+Dx2+112(x3)(x1)(x2+1)+12x1=Cx+Dx2+112(x3)(x1)(x2+1)+12(x2+1)(x1)(x2+1)=12x32(x1)(x2+1)+12x2+12(x1)(x2+1)=12x2+12x1(x1)(x2+1)=(x1)(12x+1)(x1)(x2+1)=12x+1x2+1=Cx+Dx2+1\begin{aligned} \frac{\frac{1}{2}(x-3)}{(x-1)(x^2+1)}&=\frac{-\frac{1}{2}}{x-1}+\frac{Cx+D}{x^2+1}\\ \frac{\frac{1}{2}(x-3)}{(x-1)(x^2+1)}+\frac{\frac{1}{2}}{x-1}&=\frac{Cx+D}{x^2+1}\\ \frac{\frac{1}{2}(x-3)}{(x-1)(x^2+1)}+\frac{\frac{1}{2}(x^2+1)}{(x-1)(x^2+1)}&=\\ \frac{\frac{1}{2}x-\frac{3}{2}}{(x-1)(x^2+1)}+\frac{\frac{1}{2}x^2+\frac{1}{2}}{(x-1)(x^2+1)}&=\\ \frac{\frac{1}{2}x^2+\frac{1}{2}x-1}{(x-1)(x^2+1)}&=\\ \frac{\cancel{(x-1)}(\frac{1}{2}x+1)}{\cancel{(x-1)}(x^2+1)}&=\\ \frac{\frac{1}{2}x+1}{x^2+1}&=\frac{Cx+D}{x^2+1}\\ \end{aligned}
Now it's obvious that C=12C=\frac{1}{2} and D=1D=1.

Next, integrate!

[12(x1)2+12x1+12x+1x2+1]dx\int\left[\frac{-\frac{1}{2}}{(x-1)^2}+\frac{-\frac{1}{2}}{x-1}+\frac{\frac{1}{2}x+1}{x^2+1}\right]\text{d}x
 
12x(x1)2(x2+1)=A(x1)2+Bx1+Cx+Dx2+1\dfrac{1-2x}{(x-1)^2(x^2+1)} = \dfrac{A}{(x-1)^2} + \dfrac{B}{x-1} + \dfrac{Cx+D}{x^2+1}

12x=A(x2+1)+B(x1)(x2+1)+(Cx+D)(x1)21-2x = A(x^2+1)+B(x-1)(x^2+1)+(Cx+D)(x-1)^2

12x=(B+C)x3+(AB2C+D)x2+(B+C2D)x+(AB+D)1-2x = (B+C)x^3 + (A-B-2C+D)x^2 + (B+C-2D)x + (A-B+D)

equate coefficients ...

B+C=0B+C=0
AB2C+D=0A-B-2C+D = 0
B+C2D=2B+C-2D = -2
AB+D=1A-B+D = 1

solving the system yields ...

A=12 ; B=12 ; C=12 ; D=1A= -\dfrac{1}{2} \text{ ; } B = -\dfrac{1}{2} \text{ ; } C = \dfrac{1}{2} \text{ ; } D = 1
 
Top