Mathematica Solving Differential Equations with Mathematica DSolve

  • Thread starter Thread starter jinbaw
  • Start date Start date
  • Tags Tags
    Mathematica
AI Thread Summary
Using Mathematica's DSolve function for complex differential equations can lead to long computation times, sometimes extending to days without results. If the solution isn't found within 10 minutes, it may indicate that the equations are too complex for DSolve to handle efficiently. Users should check whether the delay is due to the kernel process or the notebook process, as this can affect performance. Monitoring memory usage is crucial, as extensive calculations may utilize virtual memory without crashing. Patience may be required, but there could be a reasonable chance of success with sufficient RAM.
jinbaw
Messages
65
Reaction score
0
Hi Guys,
I'm trying to solve a system of differential equations using the Dsolve function of mathematica. The run is taking too much time without giving any results (2 or 3 days)... does that mean that there's something wrong in my equations? or that mathematica is unable to solve it? or is it possible for the run to take that much time and i'd better wait more? thanks in advance for your help!
P.S. the equations are not simple
 
Physics news on Phys.org
I have found that if it doesn't find a solution within 10 min then it was not going to find a solution overnight. I haven't tried beyond that.

However, on an older version of Mathematica I did have one circumstance where the equation could be calculated in the kernel just fine, but then outputting the results to the screen would take a really long time and eventually the notebook process overran the memory.

I would check if it is your kernel process which is taking so long or your notebook process. Then I would check your memory usage, if it is going this long then it probably has gone into virtual memory but has not overrun the pagefile. So it may be a calculation that has a reasonable chance of running successfully given enough ram.
 

Similar threads

Replies
4
Views
1K
Replies
2
Views
2K
Replies
4
Views
4K
Replies
7
Views
6K
Replies
4
Views
3K
Replies
6
Views
4K
Back
Top