Re: rewriting a fraction a/b==c/d + e/f

*To*: mathgroup at smc.vnet.net*Subject*: [mg31019] Re: rewriting a fraction a/b==c/d + e/f*From*: "Alan Mason" <swt at austin.rr.com>*Date*: Tue, 2 Oct 2001 01:20:56 -0400 (EDT)*References*: <9p93dn$oce$1@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

Hello Okke. All you need to do is use Apart[]; this gives partial fraction expansions. In[1]:= 1/((x-1)(x^2+x+1)) In[2]:= Apart[%] Out[2]= \!\(1\/\(3\ \((\(-1\) + x)\)\) + \(\(-2\) - x\)\/\(3\ \((1 + x + x\^2)\)\)\) "Okke" <kroosu at tref.nl> wrote in message news:9p93dn$oce$1 at smc.vnet.net... > hello, > i'm trying the mathematica demo by doing some basic mathematics. > now i'm stuck at rewritting a fraction. > could somebody please help me by telling me how to rewrite: > > 1/((x-1)(x^2+x+1)) to A/(x-1) + (Bx+C)/(x^2+x+1) > or do i have to do that manualy? > and can mathematica find the values for A, B and C ? > Solve[eqn1==eq2,{A}] doesnt solve the problem, and subsituting > x with 1 doesnt either. > > tia, > -- > Okke <kroosu at tref.nl> >