MathGroup Archive 2009

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

Search the Archive

Re: simultaneous equations - eliminating variables and solving

  • To: mathgroup at smc.vnet.net
  • Subject: [mg100224] Re: simultaneous equations - eliminating variables and solving
  • From: Erik Max Francis <max at alcyone.com>
  • Date: Thu, 28 May 2009 06:50:51 -0400 (EDT)
  • References: <gvlhv1$dq6$1@smc.vnet.net>

nninja wrote:
> This is what my formula looks like sofar.
> 
> Solve[{a == b + c + d, e == f + g + c + 2 d, h == c/(b*g),
>   i == d/(c*g), h*i == d/(b*g^2), j == m*g/f, k == l*m,
>   n + m + b + c == g + l}, {g}]
> 
> Basically, I can solve for the variable I want, but I am having trouble eliminating the ones I don't want (ie. I am getting an answer that is in terms of the wrong variables)
> 
> I have been in the help files for ages, and don't really understand how to do this.
> I would really appreciate some pointers!!

Try specifying the third "elims" argument, which specifies the variables 
you'd like Solve to try to eliminate when expressing the answer.

-- 
Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
  San Jose, CA, USA && 37 18 N 121 57 W && AIM/Y!M/Skype erikmaxfrancis
   Not bad from a girl from the gutter like me
    -- Kina


  • Prev by Date: Re: Numbering
  • Next by Date: Re: simultaneous equations - eliminating variables and solving
  • Previous by thread: simultaneous equations - eliminating variables and solving
  • Next by thread: Re: simultaneous equations - eliminating variables and solving