Using Solve[] - What did I do wrong?

*To*: mathgroup at smc.vnet.net*Subject*: [mg109305] Using Solve[] - What did I do wrong?*From*: eric948470 <eric948470 at gmail.com>*Date*: Wed, 21 Apr 2010 04:30:57 -0400 (EDT)

Hi, If you look at the command below, you would probably be able to understand what I was trying to do. I have linear equations, and I want to solve for the variable g2, and I don't want the variables dx1, dx2, dy1 and dy2 in the answer. What I get for the output is {{}}. What did I do wrong? Solve[{phi2 + a2*dx1 + b2*dy1 + c2*dx2 + d2*dy2 == 0, psi2 + A2*dx1 + B2*dy1 + c2*dx2 + D2*dy2 == 0, dx2 == -g2 - f2*dy2, dx1 == -g1 - f1*dy1}, g2, {dx1, dx2, dy1, dy2}]

**Follow-Ups**:**Re: Using Solve[] - What did I do wrong?***From:*Simon Pearce <Simon.Pearce@nottingham.ac.uk>