General solution to diophantine equations

Click For Summary

Discussion Overview

The discussion revolves around the methods for solving diophantine equations, specifically linear diophantine equations, in the context of a programming application. Participants explore both general and specific approaches to the problem, including algorithmic solutions.

Discussion Character

  • Exploratory, Technical explanation, Debate/contested, Homework-related

Main Points Raised

  • One participant seeks a general method for solving diophantine equations of the form asub1x + asub2y + ... + asubnz = something, indicating a lack of familiarity with the necessary mathematics.
  • Another participant notes that there is no general solution to diophantine equations, referencing historical context from David Hilbert's problem and subsequent proofs by Martin Davis and Julia Robinson.
  • A later post clarifies that the original inquiry pertains specifically to linear diophantine equations.
  • One participant proposes modifying a brute force algorithm to find the smallest solution to linear diophantine equations, suggesting a practical application despite the lack of a general solution.

Areas of Agreement / Disagreement

Participants express disagreement regarding the existence of a general solution, with one asserting that no such solution exists while another focuses on specific algorithmic approaches to linear cases. The discussion remains unresolved regarding the broader implications of diophantine equations.

Contextual Notes

Limitations include the specificity of the inquiry to linear diophantine equations and the absence of a general solution for diophantine equations as a whole. The discussion does not resolve the mathematical complexities involved.

mr_garlic
Messages
8
Reaction score
0
Hello, I'm writing an application for a java class that solves the problem where you are given n jugs of arbitrary sizes and have to come up with the steps to reach a certain value.

I have figured out(read: did research) how to do this in a different way than the original, but it requires math that I don't know how to solve.

My question is, what is the general method for solving a diophantine equation of the form asub1x+asub2y+...asubnz = something or if you could point me to a paper or article on the subject
 
Physics news on Phys.org
Sorry to disappoint you, but there is no general way to solve a diophantine equation. David Hilbert posed finding a general solution to diophantine equations as his tenth problem at the onset of the 20th century. Martin Davis and Julia Robinson proved that no general solution exists in the middle of the 20th century.
 
Gah, I meant linear diophantine equations, sorry for not specifying.
 
Ignoring a general mathematical solution, I realized that I can modify my brute force algorithm to find the smallest solution(closest to 0) to linear diophantine equations. An interesting application to an otherwise useless problem. I'll link to the library in a few minutes.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
Replies
7
Views
2K
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K