Partial fraction decomposition

  • Thread starter Nyasha
  • Start date
  • #26
127
0
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
gabbagabbahey
Homework Helper
Gold Member
5,002
6
I get B=D=1/8...
 
  • #28
127
0
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
gabbagabbahey
Homework Helper
Gold Member
5,002
6
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
127
0
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
127
0
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
gabbagabbahey
Homework Helper
Gold Member
5,002
6
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
127
0
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
gabbagabbahey
Homework Helper
Gold Member
5,002
6
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
127
0
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]
 
  • #36
gabbagabbahey
Homework Helper
Gold Member
5,002
6
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]
Check your expansion of the [tex]B(1-x)^2(1+x^2)^2[/tex] term
 
  • #37
127
0
Check your expansion of the [tex]B(1-x)^2(1+x^2)^2[/tex] term
Thanks l got G=0. I have now solved. I don't have access to Mathematica at the university library or home. How can you get it ?
 
  • #38
gabbagabbahey
Homework Helper
Gold Member
5,002
6
You can purchase a license off their website and download it to your computer, but it is fairly expensive (~$300 for a single home use license)....most University physics and math departments have several licenses for student use, so you should ask around your department before spending money you don't have to.
 
  • #39
127
0
You can purchase a license off their website and download it to your computer, but it is fairly expensive (~$300 for a single home use license)....most University physics and math departments have several licenses for student use, so you should ask around your department before spending money you don't have to.
Thanks very much
 
  • #40
Dick
Science Advisor
Homework Helper
26,258
619
There is a also a very capable free alternative to Mathematica called Maxima. http://maxima.sourceforge.net/ If you can get that installed then just type:
partfrac(x^2/(1-x^4)^2,x);
 

Related Threads on Partial fraction decomposition

  • Last Post
Replies
1
Views
1K
  • Last Post
Replies
4
Views
1K
  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
16
Views
4K
  • Last Post
Replies
1
Views
8K
  • Last Post
Replies
1
Views
1K
  • Last Post
Replies
2
Views
1K
  • Last Post
Replies
7
Views
641
  • Last Post
Replies
6
Views
2K
  • Last Post
Replies
1
Views
966
Top