MathGroup Archive 1999

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

Search the Archive

Re: Dividing top and bottom

  • To: mathgroup at smc.vnet.net
  • Subject: [mg21087] Re: Dividing top and bottom
  • From: "Stephen P Luttrell" <luttrell at signal.dra.hmg.gb>
  • Date: Sun, 12 Dec 1999 23:51:55 -0500 (EST)
  • Organization: Defence Evaluation and Research Agency
  • References: <786uft$29u@smc.vnet.net> <78pb5e$cto@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

>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).


This does the trick:

In[1]:=(b/(b-a) /.a->r b//Simplify)/.r->a/b

Out[1]=1/(1 - a/b)

Stephen P Luttrell
Signal Processing and Imagery Department
DERA Malvern, St.Andrew's Road
Malvern, United Kingdom, WR14 3PS

+44 (0)1684 894046 (tel)
+44 (0)1684 894384 (fax)
luttrell at signal.dera.gov.uk (email)




  • Prev by Date: newtons method, notation
  • Next by Date: Re: Integrate[1/2+1/2 Erf[z],{z,-inf,0}]
  • Previous by thread: Re: newtons method, notation
  • Next by thread: Re: Integrate[1/2+1/2 Erf[z],{z,-inf,0}]