MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

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


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>
>



  • Prev by Date: Re: how do you solve a less-or-equal equation
  • Next by Date: RE: help: rewriting a fraction a/b==c/d + e/f
  • Previous by thread: Re: rewriting a fraction a/b==c/d + e/f
  • Next by thread: Re: rewriting a fraction a/b==c/d + e/f