Message Boards Message Boards

0
|
6545 Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

Solving simultaneous equations involving logarithms

Posted 10 years ago
I'm new to Mathematica and wanted to know how to use Mathematica to solve simultaneous equations like
1/x + 1/y = o, x log(a/y) = y log(b/x) (where 1/a + 1/b = 1)
where o, a, b are known and x and y are to be found. And
1/x + 1/y + 1/z = o, x = k^log(a), y = k^log(b), z = k^log(c) (where 1/a + 1/b + 1/c =1)
for o, a, b, c known and x and y unknown. It seems this is a difficult problem to solve by hand. Any help given will be much appreciated.
POSTED BY: Policeman Prawn
Are o,a,b real numbers? Do you know for certain that these kinds of equations can be solved by hand? If not, they most likely aren't solveable except by numerical approximation. 

You would use functions such as Solve to do this. When the algebra is untractable, you use NSolve. This is most likely the case here, since this doesn't give us a symbolic answer. 
Solve[{1/x + 1/y == o, x Log[a/y] == y Log[b/x], 1/a + 1/b == 1}, {x, y}]

For specific values of your parameters, you may be able to get values for NSolve. You'd want to confirm that there's only one unique solution first or prime NSolve so that it finds the solution you are looking for. 
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