MathGroup Archive 2009

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

Search the Archive

Re: simplifying a system of equations

  • To: mathgroup at smc.vnet.net
  • Subject: [mg106040] Re: simplifying a system of equations
  • From: ADL <alberto.dilullo at tiscali.it>
  • Date: Thu, 31 Dec 2009 03:14:36 -0500 (EST)
  • References: <hhc76q$2mj$1@smc.vnet.net> <hhf5u4$h6f$1@smc.vnet.net>

I have been surprised by the fact that the syntax for variable
elimination in Solve also works with Reduce, even if I could not find
this in the documentation:

In[1]:= Solve[{x == y + z, y == e + r, z == t + u}, {x}, {y, z}]
Out[1]= {{x->e+r+t+u}}

In[2]:= Reduce[{x == y + z, y == e + r, z == t + u}, {x}, {y, z}]
Out[3]= x==e+r+t+u

ADL



On Dec 30, 10:19 am, Emu <samuel.thomas.bl... at gmail.com> wrote:
>
> I can't see a direct way to do this using Reduce, but the following
> code seems to work....
>
> In[262]:= Reduce[GroebnerBasis[{x == y + z, y == e + r, z ==
= t + u}, {x}, {y, z}] == 0, x]
> Out[262]= x == e + r + t + u
>
> Sam



  • Prev by Date: Re: Replace and ReplaceAll -- simple application
  • Next by Date: Wrapping Begin["Context`"], ..., End[] into a function
  • Previous by thread: Re: simplifying a system of equations
  • Next by thread: algebraic numbers