Re: simplifying a system of equations
- To: mathgroup at smc.vnet.net
- Subject: [mg106023] Re: simplifying a system of equations
- From: Emu <samuel.thomas.blake at gmail.com>
- Date: Wed, 30 Dec 2009 04:16:35 -0500 (EST)
- References: <hhc76q$2mj$1@smc.vnet.net>
On Dec 29, 5:22 pm, Maria Davis <arbi... at gmail.com> wrote:
> Hi!
>
> I have a system of equations, that I want to solve symbolically and
> not numerically how can I do this?
> example: suppose I have the following system of equations:
> x=y+z
> y=e+r
> z=t+u
> I want to obtain x=e+r+t+u as a result.
> I have tried the command
> Solve[x == y + z && y == e + r && z == t + u, {x}]
> but Solve returns :x=y+z
>
> Can you please help me?
> Thank you in advance
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