Re: Dividing top and bottom
- To: mathgroup at smc.vnet.net
- Subject: [mg15667] Re: Dividing top and bottom
- From: dwcp <dwcp at mail.nerc-essc.ac.uk>
- Date: Sat, 30 Jan 1999 04:28:59 -0500 (EST)
- Organization: ESSC
- References: <786uft$29u@smc.vnet.net> <78pb5e$cto@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
"Nicolas B.E. Sawyer" wrote:
>
> How can I divide the denominator and numerator of an expression by a
> chosen variable and stop the result from simplifying. For example, how
> do I divide the top and bottom of b/(b-a) by b to give 1/(1-a/b).
In[1]:= y=b/(b-a)
b
Out[1]= ------
-a + b
In[2]:= [DELETED 'COS I DID IT WRONG]
In[3]:= (Numerator[y] / b) / Expand[ Denominator[y] / b ]
1
Out[3]= -----
a
1 - -
b
--
David Pearson, Phone: +44 (0)118 9318741 ESSC,
Fax: +44 (0)118 9316413 University of Reading,
Reading RG6 6AL, Email: dwcp at mail.nerc-essc.ac.uk UK.