Partial fraction decomposition

In summary: There are many easier ways than this method...Check your math...you've got mistakes in there...There are many easier ways than this method...I am just checking where the mistake is, should l expand everything and then equate the coefficients ?What is the point of this conversation?In summary, the conversation was about finding the partial fraction decomposition of a given equation. The person asking the question was struggling with solving for the coefficients and was seeking guidance on how to proceed. The expert advised them to check their math and mentioned that there are easier methods to solve for the coefficients.
  • #1
Nyasha
127
0

Homework Statement


Find the partial fraction decomposition of :
[tex]\frac{x^2}{(1-x^4)^2}[/tex]

The Attempt at a Solution



[tex]\frac{x^2}{(1-x^4)^2}=\frac{A}{(1-x^4)}+\frac {B}{(1-x^4)^2}[/tex]

[tex]=A(1-x^4)+B[/tex]

when x=1

[tex]1=A(1-1^4)+B[/tex]

Hence B=1 and A=0

[tex]\frac{x^2}{(1-x^4)^2}=\frac{0}{(1-x^4)}+ \frac{1}{(1-x^4)^2}[/tex]

How come according to the answers at the back of the book l am wrong. Where have l done a mistake ?
 
Physics news on Phys.org
  • #2
When x = 1, you have
[itex]1 = A(1-1^{4})+B = A(0)+B = B[/itex]
So B = 1 works, but what values of A satisfy that equation? What values don't? If there are multiple values A can have, then you need to determine which is the correct one.
 
  • #3
Well, 0/(1-x^4)^2+1/(1-x^4)^2 clearly does not equal x^2/(1-x^4)^2, now does it? You should probably factor the denominator completely and then look up what partial fractions look like if you have a quadratic in the denominator.
 
Last edited:
  • #4
Dick said:
Well, 0/(1-x^4)+1/(1-x^4)^2 clearly does not equal x^2/(1-x^4)^2, now does it? You should probably factor the denominator completely and then look up what partial fractions look like if you have a quadratic in the denominator.


Isn't the denominator already in a factored form ? Should l expand it ?
 
  • #5
Nyasha said:
Isn't the denominator already in a factored form ? Should l expand it ?

The denominator is a reducible quartic...I'll give you a hint to factoring it: [itex](1-x^a)(1+x^a)=[/itex]____?
 
  • #6
gabbagabbahey said:
The denominator is a reducible quartic...I'll give you a hint to factoring it: [itex](1-x^a)(1+x^a)=[/itex]____?

[tex](1-x^4)(1-x^4)=(1-x^2)^2 (1-x^2)^2[/tex]
 
  • #7
No, I meant [itex]1-x^4[/itex] is a reducible quartic...factor that:smile:
 
  • #8
gabbagabbahey said:
No, I meant [itex]1-x^4[/itex] is a reducible quartic...factor that:smile:

I am getting very confused. Show me an example which has nothing to do with this question maybe l will understand what you are trying to say
 
  • #9
I'm not sure how much simpler I can make it...do you really not know how to factor [itex]1-x^4[/itex]? It is something you should have been taught in high school...
 
  • #10
gabbagabbahey said:
I'm not sure how much simpler I can make it...do you really not know how to factor [itex]1-x^4[/itex]? It is something you should have been taught in high school...


"Reducible quartic" send me a little bit off track:smile:


[tex]1-x^4=(1-x^2)(1+x^2)=(1+x)(1-x)(1+x^2)[/tex]


Will this mean l will be left with :

[tex]\frac{x^2}{(1-x^4)^2}=\frac{A}{(1+x)}+\frac {B}{(1-x)}+\frac{Cx+D}{1+x^2}[/tex]
 
  • #11
Nyasha said:
"Reducible quartic" send me a little bit off track:smile:


[tex]1-x^4=(1-x^2)(1+x^2)=(1+x)(1-x)(1+x^2)[/tex]

Yes!:smile:


Will this mean l will be left with :

[tex]\frac{x^2}{(1-x^4)^2}=\frac{A}{(1+x)}+\frac {B}{(1-x)}+\frac{Cx+D}{1+x^2}[/tex]

Careful:

[tex]\frac{x^2}{(1-x^4)^2}=\frac{x^2}{(1+x)^2(1-x)^2(1+x^2)^2}[/tex]
 
  • #12
gabbagabbahey said:
Yes!:smile:




Careful:

[tex]\frac{x^2}{(1-x^4)^2}=\frac{x^2}{(1+x)^2(1-x)^2(1+x^2)^2}[/tex]


Uhhmmm, which means

[tex]\frac{x^2}{(1-x^4)^2}=\frac {x^2}{(1+x)^2(1-x)^2(1+x^2)^2}=\frac{A}{(1+x)}+\frac{B}{(1-x)}+\frac{C}{1-x}+\frac{D}{1-x}+\frac{Ex+F}{1+x^2)}^2[/tex]
 
  • #13
Nyasha said:
Uhhmmm, which means

[tex]\frac{x^2}{(1-x^4)^2}=\frac {x^2}{(1+x)^2(1-x)^2(1+x^2)^2}=\frac{A}{(1+x)}+\frac{B}{(1-x)}+\frac{C}{1-x}+\frac{D}{1-x}+\frac{Ex+F}{1+x^2)}^2[/tex]

Your LaTeX is a little a sloppy; surely you mean:

[tex]\frac{x^2}{(1-x^4)^2}=\frac {x^2}{(1+x)^2(1-x)^2(1+x^2)^2}=\frac{A}{(1+x)}+\frac{B}{(1+x)^2}+\frac{C}{(1-x)}+\frac{D}{(1-x)^2}+\frac{Ex+F}{(1+x^2)}+\frac{Gx+H}{(1+x^2)^2}[/tex]

right?
 
  • #14
gabbagabbahey said:
Your LaTeX is a little a sloppy; surely you mean:

[tex]\frac{x^2}{(1-x^4)^2}=\frac {x^2}{(1+x)^2(1-x)^2(1+x^2)^2}=\frac{A}{(1+x)}+\frac{B}{(1+x)^2}+\frac{C}{(1-x)}+\frac{D}{(1-x)^2}+\frac{Ex+F}{(1+x^2)}+\frac{Gx+H}{(1+x^2)^2}[/tex]

right?


Yes that what l mean, is it correct ?
 
  • #15
Yes, now determine the constants...
 
  • #16
gabbagabbahey said:
Yes, now determine the constants...

[tex]x^2=A(1-x)^2(1+x)+B(1-x)^2+C(1-x)(1+x)^2+D(1+x^2)^2+(Ex+F)(1-x)^2+(Gx+H)(1-x)^2[/tex]

when x=1

[tex]1= A(1-1)^2(1+1)+ B(1-1)^2+C(1-1)(1+1)^2+D(1+1)^2+(Ex+F)(1-1)^2+(Gx+H)(1-1)^2[/tex]

[tex]4D=1[/tex]

[tex]D=\frac{1}{4}[/tex]

when x=-1

[tex]1=A(1+1)^2(1-1)+B(1+1)^2+C(1+1)(1-1)^2+\frac{1}{4}(1+1)^2+(Ex+F)(1+1)^2+(Gx+H)(1--1)^2[/tex]when x=o

0=A+B+C+\frac{1}{4}+(Ex+F)+ (Gx+H)

It got so many unknowns and only three equations, how do l get around this last hurdle
 
Last edited:
  • #17
Compare coefficients.
 
  • #18
Nyasha said:
[tex]x^2=A(1-x)^2(1+x)+B(1-x)^2+C(1-x)(1+x)^2+D(1+x^2)^2+(Ex+F)(1-x)^2+(Gx+H)(1-x)^2[/tex]

That doesn't look right at all, be careful with your multiplication!
 
  • #19
djeitnstine said:
Compare coefficients.

There is an easier way than solving the system of equation this method results in.

Try plugging in x=i and x=-i for starters
 
  • #20
gabbagabbahey said:
That doesn't look right at all, be careful with your multiplication!

Does this look correct:

[tex]A(1+x)(1-x)^2(1+x^2)^2+B(1-x)^2(1+x^2)^2+C(1-x)(1+x^2)^2(1+x)^2+D(1+x^2)^2(1+x)^2+(Ex+F)(1+x)^2(1+x^2)(1-x)^2+(Gx+H)(1-x)^2(1+x)^2[/tex]
 
Last edited:
  • #21
That's better!:smile:

Now start plugging in points...I recommend using 1,-1,0,i,-i,2,-2 and 3
 
  • #22
gabbagabbahey said:
That's better!:smile:

Now start plugging in points...I recommend using 1,-1,0,i,-i,2,-2 and 3

Gabbagabbahey thanks for your help but l can't think l can continue for today it is already 4:00am. First thing when l wake up tomorrow l will try to solve it using these points and then show you the solution when l get it. Again thanks very much for your help
 
  • #23
You're welcome!:smile:...get a good night's sleep!:zzz:
 
  • #24
gabbagabbahey said:
You're welcome!:smile:...get a good night's sleep!:zzz:

When x=1

[tex]D=\frac{1}{16}[/tex]

when x=-1

[tex]B=\frac{1}{16}[/tex]

when x=0

[tex]0=A+\frac{1}{16}+C+\frac{1}{16}+F+H[/tex]


The calculus textbook says l should solve for the coefficients by method of equating them. So my question is should l expand this [tex](1+x)(1-x)^2(1+x^2)^2[/tex] and then equate the coefficients ? I was wondering if there is an easier way to equate the coefficients without going through all this algebra
 
  • #25
Nyasha said:
When x=1

[tex]D=\frac{1}{16}[/tex]

when x=-1

[tex]B=\frac{1}{16}[/tex]

when x=0

[tex]0=A+\frac{1}{16}+C+\frac{1}{16}+F+H[/tex]


The calculus textbook says l should solve for the coefficients by method of equating them. So my question is should l expand this [tex](1+x)(1-x)^2(1+x^2)^2[/tex] and then equate the coefficients ? I was wondering if there is an easier way to equate the coefficients without going through all this algebra

Check your math again...
 
  • #26
gabbagabbahey said:
Check your math again...

Did l do something wrong for when x=0 ? I would also like to know if l must expand [tex]
(1+x)(1-x)^2(1+x^2)^2
[/tex] before equating the coefficients ?
 
  • #27
I get B=D=1/8...
 
  • #28
gabbagabbahey said:
I get B=D=1/8...

When x=-1

[tex]B(1-x)^2(1+x^2)^2=x^2[/tex]


[tex]B(1--1)^2(1+(-1)^2)^2=(-1)^2[/tex]


[tex]B=\frac{1}{(1--1)^2(1+(-1)^2)^2)}=\frac{1}{16}[/tex]


I can't find where l made the mistake ?
 
  • #29
You didn't make a mistake...i did... 2^4=16 not 8 :redface:

Anyways... you can either expand everything out and compare coefficients, or continue plugging in points...x=i and x=-i make finding G and H very easy...
 
  • #30
gabbagabbahey said:
You didn't make a mistake...i did... 2^4=16 not 8 :redface:

Anyways... you can either expand everything out and compare coefficients, or continue plugging in points...x=i and x=-i make finding G and H very easy...



Man, thanks very much for your help. I really appreciate the time you spend with me on this question.
 
  • #31
gabbagabbahey said:
You didn't make a mistake...i did... 2^4=16 not 8 :redface:

Anyways... you can either expand everything out and compare coefficients, or continue plugging in points...x=i and x=-i make finding G and H very easy...

After plugging in all the points l got :

[tex]A=B=C=\frac{1}{16}[/tex]

[tex]E=F=0[/tex]


[tex]G=\frac{-1}{8}[/tex]

[tex]H=\frac{1}{8}[/tex]


Which means l end up with ( I am not 100% sure if this is correct) :


[tex]\frac{x^2}{(1-x^4)^2}=\frac {x^2}{(1+x)^2(1-x)^2(1+x^2)^2}=\frac{\frac{1}{16}}{(1+x)}+\frac{\frac{1}{16}}{(1+x)^2}+\frac{\frac{1}{16}}{(1-x)}+\frac{\frac{1}{16}}{(1-x)^2}+\frac{0}{(1+x^2)}+\frac{\frac{-x}{8}+\frac{1}{8}}{(1+x^2)^2}[/tex]
 
  • #32
Nyasha said:
After plugging in all the points l got :

[tex]A=B=C=\frac{1}{16}[/tex]

[tex]E=F=0[/tex]


[tex]G=\frac{-1}{8}[/tex]

[tex]H=\frac{1}{8}[/tex]


Which means l end up with ( I am not 100% sure if this is correct) :

It isn't; you should have G=0 and H=-1/4. Incidentally, Mathematica has a built in function called 'Apart' which will decompose any fraction...it is a useful tool for checking your answers.
 
  • #33
gabbagabbahey said:
It isn't; you should have G=0 and H=-1/4. Incidentally, Mathematica has a built in function called 'Apart' which will decompose any fraction...it is a useful tool for checking your answers.



I couldn't find the built in function apart on the web. However l double checked my work and saw that H=-1/4 and G=-1/16. Do you have a link to this built in function called "apart" ?
 
  • #34
Here is the mathematica documentation on 'Apart'. Do you have access to Mathematica at your university/home?

You should get G=0 and H=-1/4...if you show me your calcs for that I will point out your errors
 
  • #35
gabbagabbahey said:
Here is the mathematica documentation on 'Apart'. Do you have access to Mathematica at your university/home?

You should get G=0 and H=-1/4...if you show me your calcs for that I will point out your errors

For H l got [tex]\frac{-1}{4}[/tex] but for some reason l can't find G=0

[tex]x^2=A(1+x)(1-x)^2(1+x^2)^2+B(1-x)^2(1+x^2)^2+C(1-x)(1+x^2)^2(1+x)^2+D(1+x^2)^2(1+x)^2[/tex]
[tex]+(Ex+F)(1+x)^2 (1+x^2)(1-x)^2+(Gx+H) (1-x)^2(1+x)^2[/tex]


[tex]x^2=A(x^7-x^6+x^5-x^4-x^3+x^2-x+1)+B(x^6-x^5+3x^4-4x^3+3x^2-2x+1)+[/tex][tex]C(-x^7-x^6-x^5-x^4+x^3+x^2+x+1)+ D(x^6+2x^5+3x^4+4x^3+3x^2+2x+1)[/tex][tex]+(Ex+F)(x^8-3x^4+x^2+1)+(Gx+H)(x^4-2x^2+1)[/tex]

[tex]x^5\rightarrow 0=A-B-C+2D-3E+G \rightarrow 0=\frac{1}{16}-\frac{1}{16}-\frac{1}{16}+\frac{1}{8}+G[/tex]

[tex]\therefore G=\frac{-1}{16}[/tex]
 

Similar threads

Back
Top