MathGroup Archive 2003

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

Search the Archive

Re: How to get Mathematica to actually *add* fractions?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg40619] Re: [mg40529] How to get Mathematica to actually *add* fractions?
  • From: "German Buitrago A." <gerbual at col2.telecom.com.co>
  • Date: Fri, 11 Apr 2003 02:03:05 -0400 (EDT)
  • References: <200304090533.BAA08384@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

In[1]:=
2/(3*x) + 6/x + x/(x + 3)

Out[1]=
20/(3*x) + x/(3 + x)

In[2]:=
Together[2/(3*x) + 6/x +
   x/(x + 3)]

Out[2]=
(60 + 20*x + 3*x^2)/
  (3*x*(3 + x))

Germán Buitrago A.
Manizales, Colombia


----- Original Message -----
From: "cdj" <a_cjones at hotmail.com>
To: mathgroup at smc.vnet.net
Subject: [mg40619] [mg40529] How to get Mathematica to actually *add* fractions?


> Hi,
>
> Like the subject says, but take for example:
>
> (2/(3x)) + (6/x) + (x/(x + 3))
>
> Sending to the kernel simply gives:
>
> 20/3x + x/(3+x)
>
> What I wanted/hoped for was the common-denominator version:
>
> (3x^2 + 20x + 60)/(3x(x+3))
>
> Is there any way to get Mathematica to give the one-denominator
> version of sums of fractions?
>
> thanks,
>
> cdj
>



  • Prev by Date: Re: Adding elements of a matrix
  • Next by Date: Re: music with Mathematica
  • Previous by thread: Re: How to get Mathematica to actually *add* fractions?
  • Next by thread: Re: How to get Mathematica to actually *add* fractions?