Re: simplifying a system of equations
- To: mathgroup at smc.vnet.net
- Subject: [mg106028] Re: [mg105983] simplifying a system of equations
- From: Andrzej Kozlowski <akoz at mimuw.edu.pl>
- Date: Wed, 30 Dec 2009 04:23:20 -0500 (EST)
- References: <200912290618.BAA02648@smc.vnet.net>
On 29 Dec 2009, at 15:18, Maria Davis 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 think the simplest way to use Eliminate (if necessary followed by Reduce or Solve)
Eliminate[x == y + z && y == e + r && z == t + u, {y, z}]
-r - t - u + x == e
Reduce[%, x]
x == e + r + t + u
Andrzej Kozlowski=
- References:
- simplifying a system of equations
- From: Maria Davis <arbiadr@gmail.com>
- simplifying a system of equations