Message Boards Message Boards

6 Replies
0 Total Likes
View groups...
Share this post:

Solve or Reduce: large system of equations

Posted 9 years ago

Hi All,

I am new to Mathematica and I would like to know why Mathematica isn't producing output for me. I put in my equations using Solve. It was saying 'Running...filename' for long. Then I thought may be it is because I am asking it to solve a large system of equations. So tried with the single equation used to demonstrate the function Solve on the website, yet it didn't solve.

Can someone please help ease the burden of my initiation?



POSTED BY: olayinka oyekola
6 Replies

It's beginning to work now Frank. Thanks.

POSTED BY: olayinka oyekola

The complexity of Solve is probably almost as high as the complexity of Reduce. I assume your equations are nonlinear so what you're trying to do is probably NP hard. It would be useful if the documentation for functions gave their complexity.

POSTED BY: Frank Kampas

Thanks Frank, but both Solve and Reduce appear to be finding it difficult to converge to a solution.

POSTED BY: olayinka oyekola

I believe MIchael Trott's book "The Mathematica Guide to Symbolics" says that Reduce is double exponential in complexity. That's why it is really only useful for problems with several variables.

POSTED BY: Frank Kampas


Thanks for your response. Solve is working for the simple examples in the documentation now.

Please advise on which is better Solve or Reduce if I have a system of 28 equations consisting of 41 unknowns (not including the parameters), but I want to solve these 28 equations for 28 endogenous variables in terms of the underlying structural parameters and the 13 exogenous variables? I would the results of each endogenous variables to be shown as analytical/algebraic expressions of the parameters and exogenous variables.

Thank you.


POSTED BY: olayinka oyekola

Do you get output for simple inputs (2+3)?
Does Solve work for tiny examples (Solve[x+1==3,x]) ?
Do the examples in documentation work for you?

Do not put a semicolon after the Solve if you want output.

If none of that helps, please attach a notebook file with inputs and outputs, or lack of outputs.

POSTED BY: Bruce Miller
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract