Algorithm for an elliptic equation

  • Context: Graduate 
  • Thread starter Thread starter Rafajafar
  • Start date Start date
  • Tags Tags
    Algorithm
Click For Summary
SUMMARY

The discussion focuses on developing an efficient algorithm for finding integer coordinate pair solutions to the equations 4x² + y² = n, 3x² + y² = n, and 3x² - y² = n, specifically for positive integers x and y. The user seeks alternatives to brute force methods, which operate at O(N²) complexity, and is exploring potential linear algebra techniques or matrix manipulations to optimize the solution-finding process. The context of the problem relates to algebraic geometry and elliptic curves, indicating a complex mathematical background.

PREREQUISITES
  • Understanding of elliptic curves and algebraic geometry
  • Familiarity with algorithm complexity, specifically O(n²) and O(n log n)
  • Knowledge of linear algebra concepts and matrix manipulations
  • Experience with algorithm design and optimization techniques
NEXT STEPS
  • Research efficient algorithms for solving quadratic equations
  • Explore matrix algebra techniques applicable to integer solutions
  • Investigate existing algorithms in algebraic geometry related to elliptic curves
  • Learn about the Sieve of Atkin and its applications in number theory
USEFUL FOR

Mathematicians, computer scientists, and students in algorithm design or algebraic geometry looking to optimize solutions for integer coordinate problems.

Rafajafar
Messages
4
Reaction score
0
Hello,
I'm trying to create my own version of the Sieve of Atkin for my Algorithm class final project, but ran into a wall. I want to be able to create a method of algorithmically finding the number of integer coordinate pair solutions such that x > 0 and y > 0 for the following equations:

4x^2 + y^2 = n.
3x^2 + y^2 = n.
3x^2 - y^2 = n.

For a set of particular n determined earlier in the program. This is NOT a set of related equations. Each equation is separate from each other as different cases.

Now, I know how to do this analytically, but telling a computer to do this without using the brute force method of checking each and every number combination (which slows down the program by the order of N^2) is posing a problem.

I was wondering if perhaps anyone here knows of a technique in linear algebra that could speed this process up? Perhaps some matrix algebra manipulation I could apply to each equation to find the number of coordinate pair solutions faster?

Please, any help would be much appreciated.
 
Physics news on Phys.org
This is a rather complicated question which is dealt with in algebraic geometry, subsection elliptic curves. I don't know about specific algorithms, but I would assume that there are some. Probably not linear in time, but maybe in ##O(n\log n)## or similar. So the size of ##n## determines whether it is worth searching and implementing. There is no short answer which you might have looked for.
 

Similar threads

  • · Replies 0 ·
Replies
0
Views
3K
Replies
9
Views
3K
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
973
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 16 ·
Replies
16
Views
5K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
33
Views
5K
  • · Replies 4 ·
Replies
4
Views
2K