Is there a program to solve any equations?

Click For Summary

Discussion Overview

The discussion centers around the existence of programs capable of finding approximate solutions to various systems of equations, particularly in the context of the N-body problem and differential equations. Participants explore the implications of such programs on the necessity of N-body simulators and the challenges associated with solving these equations.

Discussion Character

  • Exploratory, Technical explanation, Debate/contested

Main Points Raised

  • Some participants inquire whether there exists a program that can find approximate solutions to any system of equations, including the N-body problem.
  • Others argue that no mathematical function or combination of functions has been found to solve the general N-body problem, necessitating the use of numerical simulations.
  • A participant mentions that certain unresolved questions remain even with numerical simulations, such as the long-term stability of planetary orbits.
  • Some contributions highlight a program developed by Cornell University that can generate formulas from data, but raise concerns about the interpretability and applicability of the resulting equations.
  • There is a suggestion that many custom programs exist in MATLAB or Mathematica for handling such problems, and references to specific open-source resources are provided.
  • A participant expresses skepticism about the possibility of a "universal" program that can solve all equations, noting that different programs typically address subsets of related problems due to the underlying mathematics.
  • Chaos theory is mentioned as a relevant consideration, emphasizing that approximate solutions can be highly sensitive to initial conditions and specific interactions, such as close encounters between planets.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the existence of a universal program for solving equations. There are competing views on the capabilities of existing programs and the necessity of N-body simulators.

Contextual Notes

Participants note that the accuracy of solutions can be heavily dependent on initial conditions and that many existing programs are tailored to specific types of problems rather than being universally applicable.

olgerm
Gold Member
Messages
543
Reaction score
40
Is there any program that could find approximate solutions to any equations system? For example to N-body problem (equations)? Could it also find a function from differential equations like N-body problem ones?
If so ,then why are N-body simulators needed?
 
Physics news on Phys.org
olgerm said:
Is there any program that could find approximate solutions to any equations system? For example to N-body problem (equations)? Could it also find a function from differential equations like N-body problem ones?
If so ,then why are N-body simulators needed?
Because no one has found any mathematical function or combination of functions which solve the general N-body problem. Even the familiar 2-body problem can be solved only by neglecting the influence of every other mass in the universe.

In order to proceed with any type of analysis, for now, this must be done using numerical simulations. Certain questions remain unresolved, even using this technique. For example, over the long term, are the orbits of the planets in the solar system stable, or will there come a time when one or more planets will be ejected into interstellar space?

Even solving systems of elementary differential equations is fraught sometimes with difficulty. The final results are often highly dependent on the accuracy of the initial conditions input to solve the problem. The investigation of how the approximate solutions to such equations has led to new areas of mathematical study like chaos theory:

https://en.wikipedia.org/wiki/Chaos_theory
 
Cornell Univ researchers developed a program a few years ago that could generate a formula given the data. It was used successfully to determine the equation for a compound pendulum.

Some biology researchers used it to determine a formula for some cellular mechanism they were studying. They were ecstatic when it discovered the equation but then depressed when they couldn't explain the terms in it. So while it worked, the equation was useless for publication if you can't develop a theory to base the equation on.

From WIRED:

http://www.wired.com/2009/04/Newtonai/

and Cornell in more detail.

http://creativemachines.cornell.edu/natural_laws

and Cornell in less detail:

http://www.news.cornell.edu/stories/2009/04/computer-derives-natural-laws-observation
 
SteamKing said:
Because no one has found any mathematical function or combination of functions which solve the general N-body problem.
I know that ,but I was asking about program, that could find approximate solutions for any equations system.
SteamKing said:
In order to proceed with any type of analysis, for now, this must be done using numerical simulations.
Do you know which programs are being used for simulations? Are these programs N-body simulators or programs ,which can simulate any equation?
 
I'm sure there are many custom programs written in MATLAB or Mathematica that handle these kinds of problems if you search for them

You could also check the Open Source Physics site (http://www.opensourcephysics.org/) for java-based N-body programs. I do know they have a 3-body version with the three well known exact solutions:

Look for the PlanarNBodyApp.java and PlanarNBody.java (Open Source Physics Guide Chapter 9)

You can download the workspace_compadre.zip and use the Eclipse or Netbeans IDE to import it and run it.

or you write your own using Processing IDE (processing.org) or any other system with graphical capabilities.

What is your interest in this problem?
 
jedishrfu said:
What is your interest in this problem?
I have programmed a simple N-body simulator. Now i have started thinking ,that I could have just wrote a script ,that forms N-body problem equations by user input and uses some software to find approximate solutions to these equations.
Is there any point at all in using N-body simulator if exist an universal program ,which can to find approximate solutions to any equations system (including N-body problem equation system)?
 
olgerm said:
I have programmed a simple N-body simulator. Now i have started thinking ,that I could have just wrote a script ,that forms N-body problem equations by user input and uses some software to find approximate solutions to these equations.
Is there any point at all in using N-body simulator if exist an universal program ,which can to find approximate solutions to any equations system (including N-body problem equation system)?
There are no "universal" solution programs. I'm not sure how any such software could even be developed.

There are a number of different programs which can solve a large subset of related problems, but only because the underlying mathematics is the same or very similar.

One such type of program uses the finite element method, which can be applied to solve problems in analyzing complex structures, acoustics, hydrodynamics, and several other different areas.
 
  • Like
Likes   Reactions: olgerm
jedishrfu said:
Cornell Univ researchers developed a program a few years ago that could generate a formula given the data. It was used successfully to determine the equation for a compound pendulum.

Some biology researchers used it to determine a formula for some cellular mechanism they were studying. They were ecstatic when it discovered the equation but then depressed when they couldn't explain the terms in it. So while it worked, the equation was useless for publication if you can't develop a theory to base the equation on.

The formula was probably some senseless thing produced via "overfitting" that would work only in that exact circumstance. Expect to see a lot of that in the future: misapplications of "deep learning." What we will get are complex, inexplicable cybersuperstitions. No stopping it.
 
  • Like
Likes   Reactions: protonsarecool
When you ask about "approximate" solutions, @SteamKing 's comment about Chaos Theory is important to note. If 2 planets pass close to each other, the direction they go can depend completely on how they pass each other. So an approximate answer can be very sensitive to exact calculations that can not be "approximate" at all.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 16 ·
Replies
16
Views
5K
  • · Replies 23 ·
Replies
23
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
10K
  • · Replies 9 ·
Replies
9
Views
4K