Re: Using Solve[] - What did I do wrong?

*To*: mathgroup at smc.vnet.net*Subject*: [mg109320] Re: Using Solve[] - What did I do wrong?*From*: eric948470 <eric948470 at gmail.com>*Date*: Wed, 21 Apr 2010 07:48:04 -0400 (EDT)*References*: <hqmd3t$pti$1@smc.vnet.net>

On Apr 21, 4:30 am, eric948470 <eric948... at gmail.com> wrote: > 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 - f= 2*dy2, > dx1 == -g1 - f1*dy1}, g2, {dx1, dx2, dy1, dy2}] Oh, yeah. I was trying to solve for 5 variables with only 4 equations. Sorry about that, LOL. I became aware of this only when I tried to solve it by hand. But the book gave a solution though. I must have missed an equation somewhere. Thanks