Hello.
I am trying to solve a system of equations (actually, it seems to be solvable by hand, just a bit messy). Mathematica thinks for some time (“Running”) and then just stops. With no answer. Has happened multiple times already with multiple systems. Is it common? Please find the system below:
I just had a similar problem and also asked here for help.
In my case it finally turned out that the processor got too hot. Running your code on my
computer also heated up the processor considerably.
So, my suggestion is to monitor the processor temperature during your computation
and compare it with computations that don’t stop your computer. If it then looks
like a temperature problem, you will find ways to solve it. I have no experience with
the matter.
I believe it’s very unlikely that you could solve this system symbolically… I may be mistaken but see:
If you take the equation 1 and solve for x0 you have a very large solutions (which should be subsequently equated with the equation 2, also solved to x0, to then solve a definitive x1 equation). Look at equation 1 solved for “x0”:
If you observe this solution in Word with Arial font and size 9, you will see that it gives 119 pages only to the symbolic solution of equation 1 for “x0”:
Above I denote the terms in brackets of the initial system as z1, z2 and z3 respectively. This linear system has a solution for z1/z3 and z2/z3, provided z3<>0. This solution will not contain x0 or x1 as arguments, they will be all inside z1/z3 and z2/z3. But then one can just invert the power (given that it is an integer and that the roots are non-negative). Then one can just solve the resulting system, which will be linear in x0 and x1, just a bit ugly.
The question is, why does Mathematica fail here. I do not think I am smarter then my computer after all…
Thank you very much for the comment! I think it is very possible. I was not aware of such a possibility. Actually, I sometimes leave the laptop overnight and it works fine, but sometimes (like in this case) it stops in some 15 minutes. Is it that some problems warm up the processor more then other?
Dear Dmitry,
yes, core power consumption and temperature strongly vary during a computation, at least on my system
(Windows 10, Mathematica vs. 12) as my core temperature monitor program (freely downloaded from Core Temp) tells me. I append a file that on my system causes thermal stop on a regular basis. I worked with such freely running manipulate programs for years (often over night just as you write) without encountering any thermal problem - until recently when they took me by surprise. I remember that I had problems with mysterious program stops may years ago. Here experts argued in favor of thermal problems but I had no monitoring program to verify this suspicion. In my present case of the problem it took me some time to remember these old problems that I thought to be due to old versions of Mathematica and old computers
Thank you for coding it! This is a nice and concise script, much better then what I usually do, so I learned something. It is strange that Mathematica did not go this way. Maybe it tries the solution that Claudio pointed out, which may lead to overload due to operations with quite messy objects…
Anyways, thanks a lot once again!