Message Boards Message Boards

0
|
1303 Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Solve system of equations after one variable

Posted 11 years ago
Hello,
Im new to Mathematica and i didnt find the answer to my question in the help.
Its an easy one:
I have to equations with one identical variable, which i want to equalize and solve for another variable.
For example:
a=b/c
a=d*e
Solve these two equations for e.
Solution would be: e=b/(c*d).
My calculator TI89Titanium does this automatically, but when i try to use the Solve[...,e] function in Mathematica  the solution is: {}
Thanks in advance!
POSTED BY: MQ Qwertz
2 Replies
The result is only conditionally correct, and, per documentation, `Solve` by default does not return nongeneric solutions. To get it you could do:
Solve[{a == b/c, a == d*e}, a, MaxExtraConditions -> 1]

(* Out[62]= {{a -> ConditionalExpression[d e, b - c d e == 0]}} *)
You now get the solution and the condition in "parameter" variables that must be satisfied.
POSTED BY: Daniel Lichtblau
The first thing you want to do is elimiate a from the system of equations. This can be done with Eliminate:
Eliminate[{a == b/c, a == d*e}, a]
After that, you can use Solve. Together they are:
Solve[Eliminate[{a == b/c, a == d*e}, a], e]
POSTED BY: Sean Clarke
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract