Re: Algebraic substitutions. HOW?
- To: mathgroup at smc.vnet.net
- Subject: [mg17698] Re: [mg17646] Algebraic substitutions. HOW?
- From: "Andrzej Kozlowski" <andrzej at tuins.ac.jp>
- Date: Fri, 21 May 1999 23:59:09 -0400
- Sender: owner-wri-mathgroup at wolfram.com
As long as your expressions involve only polynaomials and rational functions you can do this easily with PolynaomialReduce In[2]:= PolynomialReduce[(a/b)^2,c*b-a][[2]] Out[2]= 2 c In[3]:= PolynomialReduce[h^3/t^2,z*t^2-h^2][[2]] Out[3]= h z -- Andrzej Kozlowski Toyama International University JAPAN http://sigma.tuins.ac.jp http://eri2.tuins.ac.jp ---------- >From: Alessio Massaro <alessio at mail.cern.ch> To: mathgroup at smc.vnet.net >To: mathgroup at smc.vnet.net >Subject: [mg17698] [mg17646] Algebraic substitutions. HOW? >Date: Fri, May 21, 1999, 4:37 PM > > Hi, > > say I have an expression like (a^2)/(b^2) and I want to change it by > introducing c:=a/b in order to obtain c^2. > > Euivalent exaple: h^3/t^2 -> (z:=h^2/t^2) -> z*h > > How do I get Mathematica to perform this kind of algebraic > substitutions (on complex formulas)? > > Thanks > Alessio > > ------------------------------ > Alessio Massaro > IT/ASD/DB Off. 31-3-013 > CERN > 1211 Geneva 23 > Switzerland > ------------------------------ >