Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was trying to simulate a system of ODEs on Mathematica in an effort to try to understand how to muck around with Mathematica but for some reason the following lines of code do not yield any results; the code just seems to run without conclusion. Could anyone shed some light on why this is happening perhaps?

system = {x'[t] == x[t] + y[t], y'[t] == z[t], z'[t] == x[t] * y[t]};
sol = DSolve[system,{x,y,z},t]

Is it perhaps an erroneous call and/or usage of the DSolve command? Is it not meant for use on non-linear equations?

share|improve this question
It is since Mma does not know the exact solution of this system of equations. If you add the initial values, replace DSolve by NDSolve and put a time interval instead of t, you will get a solution. – Alexei Boulbitch Jun 3 '14 at 11:59
Thanks! Thought as much but was still wondering if there was some fancy stuff happening within mathematica which created a new object that I can then use for further calculations. – gadha007 Jun 3 '14 at 22:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.