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

• To: mathgroup at christensen.cybernetics.net
• Subject: [mg1573] Re: How to force an expression into Rational Function form?
• From: danl (Daniel Lichtblau)
• Date: Sat, 1 Jul 1995 02:28:05 -0400
• Organization: Wolfram Research, Inc.

```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:= Together[a/b+c/d] // InputForm

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