Re: How to get Mathematica to actually *add* fractions?
- To: mathgroup at smc.vnet.net
- Subject: [mg40549] Re: [mg40529] How to get Mathematica to actually *add* fractions?
- From: Andrzej Kozlowski <akoz at mimuw.edu.pl>
- Date: Thu, 10 Apr 2003 03:36:28 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
The function's name says it all: In[1]:= Together[2/(3*x) + 6/x + x/(x + 3)] Out[1]= (60 + 20*x + 3*x^2)/(3*x*(3 + x)) On Wednesday, April 9, 2003, at 02:33 pm, cdj wrote: > 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 > > > Andrzej Kozlowski Yokohama, Japan http://www.mimuw.edu.pl/~akoz/ http://platon.c.u-tokyo.ac.jp/andrzej/