MathGroup Archive 1995

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

Search the Archive

Re: How to force an expression into Rational Function form?


In article <3sg3p4$8cq at news0.cybernetics.net> bracken at kevily.ECE.CMU.EDU  
(J Eric Bracken) writes:
> 
> Is there a way to force a univariate expression into the form
> of a rational function (i.e., the ratio of two polynomials)?
> 
> Apart[] almost does the job, but if it's able to factor the 
> denominator polynomial, it does so, which leaves you with the
> SUM of several rational functions.  I want just a single big
> rational function.
> 
> I guess this is just a special case of the problem of clearing all 
> sums of fractions and generating one big fraction; for example,
> 
> 		a/b + c/d = (ad+bc)/bd
> 
> TIA,
> 
> --Eric
> 

In[10]:= Together[a/b+c/d] // InputForm

Out[10]//InputForm= (b*c + a*d)/(b*d)

  Daniel Lichtblau
  WRI


  • Prev by Date: Re: Fitting data on a vertical line
  • Next by Date: FYI: Computation Improvement, MMA 2.2.4
  • Previous by thread: Re:Fitting data on a vertical line
  • Next by thread: FYI: Computation Improvement, MMA 2.2.4