Questions about Getting Mathematica for Differential Equations

  • Thread starter HomogenousCow
  • Start date
  • Tags
    Mathematica
In summary, the conversation discusses the purchase of Mathematica and its capabilities in solving differential equations for physics. The home package for $295 is a one-time purchase, but there are also student versions and Premier Support options available. The number of kernels included in the package does not significantly affect the performance, as most of the code in Mathematica is single-threaded. Mathematica does not require a constant internet connection for numerical integration and is capable of solving many differential equations, including those present in general relativity. However, it is recommended to research and consult with the Wolfram team and read books on Mathematica's capabilities before purchasing to ensure it can solve specific types of equations effectively.
  • #1
HomogenousCow
737
213
Hi I decided to purchase mathematica, however it appears this is a much more complicated affair than I had imagined. I will mainly be using it for differential equations (nonlinear, nonhomogenous and coupled, what have you) to help with physics. Could someone clear up some questions I have.

1.For the $295 home package do I get mathematica forever?
2.What is this kernel deal, is 4 enough for me?
3.Does mathematica require a constant internet connection for Numerical integration?
4.Is Mathematica capable of numerically solving any differential equation? (even highly nonlinear ones, like the type present in GR)
 
Mathematics news on Phys.org
  • #2
For 300$ they better have someone available to answer any question you have.
 
  • #3
Assuming you're at a university, have you checked to see if your university has a deal to provide Mathematica for their students? Mine allows you to have it for free without any license restrictions or anything.
 
  • #4
Theres also student as long as you're a student: http://www.wolfram.com/mathematica/how-to-buy/education/students.html



1.For the $295 home package do I get mathematica forever?

Yes, but only the version you purchase, no new versions.

2.What is this kernel deal, is 4 enough for me?

1 Kernel is probably fine, 4 is enough so you can run parallel computing on 4 cores simultaneously(or have 4 independent kernels running from 4 machines connected to the one server i believe).

3.Does mathematica require a constant internet connection for Numerical integration?

No, if your license is local. (should be)

4.Is Mathematica capable of numerically solving any differential equation? (even highly nonlinear ones, like the type present in GR)

Yes it can solve many, and there are GR packages written and ready to go (for free) that set up many of these systems in a way that makes it easier for mathematica to compute.
Mathematica is also a programing language, so in addition to solving using NDSolve, you can also write the code yourself (loops/etc) to do numerical solutions if you know how.
 
  • #5
Why don't you just learn python and use Sage. Then use your school's computers for mathematica when absolutely necessary.
 
  • #6
HomogenousCow said:
Hi I decided to purchase mathematica, however it appears this is a much more complicated affair than I had imagined.

Mathematica has had a reputation for being "challenging" for decades.

HomogenousCow said:
I will mainly be using it for differential equations (nonlinear, nonhomogenous and coupled, what have you) to help with physics. Could someone clear up some questions I have.

1.For the $295 home package do I get mathematica forever?.

Long long ago there was the student version, you get what you get, you get no support, you get no upgrades and there was the professional at 20x the price, you get support, you pay for upgrades. Since that time the number of variations has repeatedly multiplied. I think there are now student versions that last one term and that last one school year. The home version is fairly new when they realized there was a market at the price point.

Carefully read the terms of the version you are looking at and if it isn't clear then ring them on the phone and send them an email to get the details down.

There is also "Premier Support" for which you pay about that much every year. For that you can get support from them and you get upgrades.

HomogenousCow said:
2.What is this kernel deal, is 4 enough for me?

Back in the stone age there were even specific prices for the size of the mainframe that you wanted to run Mathematica. Individuals instead got a version that would run the graphical front end and run one background computation engine. Then with multicore processors they began selling license codes to let you run two or more computation engines.

BUT lots, probably almost all, the code inside Mathematica was written long enough ago that it is mostly all single thread single core. Just because you have four cores in your processor does not mean Mathematica suddenly starts using all four and your graphics are four times faster. Initially the only things that benefited from multiple cores was when you manually wrote code in Mathematica to hand off simple, usually numerical, calculations to a separate thread. Recently they have started adding a few more multi core functions, but still mostly it is a hold over from single core cpu days.

And to answer your question, giving away a four core license almost certainly makes no difference to you at all. It will run as fast as it runs, which is sometimes fast and sometimes not, and when it is done it is done. Because it sometimes uses symbolic functions, rather than purely FORTRAN style numeric calculations, some things can be much slower than you expect, four cores or four hundred won't help that.

HomogenousCow said:
3.Does mathematica require a constant internet connection for Numerical integration?

No.

HomogenousCow said:
4.Is Mathematica capable of numerically solving any differential equation? (even highly nonlinear ones, like the type present in GR)

Consider any other numerical differential equation library. Is that capable of solving ANY differential equation? Probably not. Did the author put in a lot of time and work specifically to solve some small subclass of the highly nonlinear ones like you want to solve? Maybe. Maybe not.

If the amount of money and particularly the amount of time you will spend trying to wrestle Mathematica to the ground and get helpful information out of it is significant then you might consider choosing a few clear specific numerical differential equations that would represent the kinds of things you need it to solve. You could then show those to the Wolfram folks and ask them whether Mathematica will breeze through those or whether it will require substantial work on your part to get dependable solutions or whether it is unlikely to ever get you a solution.

You should also probably do a book search for
Mathematica numerical differential equation
and see if you can find three or four books that have had good reviews. There are some poorly written books out there. Get your hands on the good ones and read them cover to cover. That will probably save you hundreds of hours of frustration and stomach acid.

You might also take an hour or two and compare, as much as you think you can, Mathematica against other products that would be much more narrowly focused on solving the kind of numerical differential equations that you will be working on. That might result in finding a product that could handle more of the special cases that you deal with.
 
Last edited:

Related to Questions about Getting Mathematica for Differential Equations

1. How can I obtain Mathematica for solving differential equations?

You can purchase a license for Mathematica from the Wolfram website or from authorized resellers. It is also available for free through many academic institutions.

2. What are the advantages of using Mathematica for differential equations?

Mathematica has a powerful built-in solver for differential equations, allowing for efficient and accurate solutions. It also has a user-friendly interface and extensive documentation for help with solving specific problems.

3. Is Mathematica suitable for all types of differential equations?

Yes, Mathematica can handle a wide range of differential equations, including ordinary, partial, and stochastic differential equations. It also has specialized solvers for specific types of equations, such as boundary value problems.

4. Can I visualize the solutions to differential equations in Mathematica?

Yes, Mathematica has built-in tools for visualizing solutions to differential equations, including 2D and 3D plots. You can also animate the solutions to see how they change over time.

5. Are there any online resources for learning how to use Mathematica for differential equations?

Yes, there are many online tutorials, videos, and forums available for learning how to use Mathematica for differential equations. The Wolfram website also has extensive documentation and examples for reference.

Similar threads

  • MATLAB, Maple, Mathematica, LaTeX
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
4
Views
2K
  • Differential Equations
Replies
10
Views
2K
Replies
12
Views
458
  • Differential Equations
Replies
1
Views
6K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
4
Views
4K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
7K
Back
Top