Solving Differential Equations with Mathematica DSolve

  • Context: Mathematica 
  • Thread starter Thread starter jinbaw
  • Start date Start date
  • Tags Tags
    Mathematica
Click For Summary
SUMMARY

The discussion focuses on solving complex systems of differential equations using the DSolve function in Mathematica. Users report that lengthy computation times, sometimes extending to days, may indicate issues with the equations or the computational limits of Mathematica. It is established that if a solution is not found within 10 minutes, it is unlikely to be resolved in a longer timeframe. Additionally, memory management is crucial, as excessive memory usage can lead to performance degradation or crashes.

PREREQUISITES
  • Familiarity with Mathematica DSolve function
  • Understanding of differential equations
  • Knowledge of memory management in computational software
  • Experience with performance optimization techniques in Mathematica
NEXT STEPS
  • Investigate Mathematica's memory management techniques
  • Learn about optimizing differential equations for faster computation
  • Explore alternative methods for solving differential equations in Mathematica
  • Research the impact of kernel processes on computation time in Mathematica
USEFUL FOR

Mathematicians, engineers, and researchers working with complex differential equations, as well as users of Mathematica seeking to optimize their computational processes.

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 ·
Replies
4
Views
4K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K