As I always say:

Mathematicians are those weird beasts who enjoy being surrounded by problems.

My current field of interest is Diophantine Equations (DE). Those who ever studied Number theory know about the classic **Pythagorean Triplets, ** equivalent to finding possible integer solutions of .

Also, it is a standard exercise (involving **Method of Infinite Descent) **in DE to prove that has no integer solutions. But in this blog post I intend to discuss following sibling of such degree two DE:

Solve for integers.

Clearly, , I can divide whole equation by and denote, and to get:

Solve for rational numbers.

Observe that is a solution of given equation, then any other solution will lie with on a line with rational slope (or infinite slope, a vertical line, trivial case). Furthermore, every line through with rational slope will intersect with the quadratic curve in exactly two points. Because every quadratic equation has either no solutions or two real solutions, and we already know that is one solution.

To find all solutions, we first look at the vertical line case by substituting and seeing what two solutions you get. One will be , and the other gives a solution (which is the same solution in this case). Next, we take a line with rational slope through , so that (using slope-intercept form):

Now solve this line and given curve (which is circle of radius ). We will get:

Where, , thus like , has infinite integer solution.

Ending note:

has only 4 integer solutions.