Have long talked my method for reducing binary quadratic Diophantine equations which of course is two variable, but actually simplified from a three variable analysis. Was considering:
c1x2 + c2xy + c3y2 = c4z2 + c5zx + c6zywhere the c's are constants. And found what I call my Quadratic Diophantine Theorem which I talk in
this post from September 2008.
And figured out:
((c
2 - 2c
1)
2 + 4c
1(c
2 - c
1 - c
3))(x+y)
2 - (2(c
2 - 2c
1)(c
6 - c
5) + 4c
5(c
2 - c
1 - c
3))(x+y)z + [(c
6 - c
5)
2 - 4c
4(c
2 - c
1 - c
3)]z
2 = m
2where m is some integer, if integer solutions exist for x, y and z. And can see that m has an explicit solution as a function of x, y and z. But is SO hard to calculate to something simpler than given squared one. Kind of thing for which math software is good for those who know how to use, and wish to solve for it. I never bother.
Way too complicated looking so introduced some more variables to collect things.
A = (c
2 - 2c
1)
2 + 4c
1(c
2 - c
1 - c
3),
B = (c
2 - 2c
1)(c
6 - c
5) + 2c
5(c
2 - c
1 - c
3)
and
C = (c
6 - c
5)
2 - 4c
4(c
2 - c
1 - c
3)
where neither A nor B is zero for what follows.
Then have:
A(x+y)2 - 2B(x+y)z + Cz2 = m2Which is easier to handle. And multiplying through by A, moving some things around, and completing the square:
A
2(x+y)
2 - 2BA(x+y)z + B
2z
2 - Am
2 = B
2z
2 - CAz
2Which is easily enough:
[A(x+y) - Bz]2 - Am2 = (B2 - AC)z2And that is simple enough. Not far at all from what I already had. Where also for certain situations would NOT complete the square, but work with the prior form.
Shows yet another type of general reduced form: u
2 - Dv
2 = Fw
2Maybe should come up with another cool name for iterator am sure can get from it. Maybe later.
As a first example let c
1 = 1, c
2 = 1, c
3 = 1, c
4 = 1, c
5 = 1, c
6 = 1, so:
x2 + xy + y2 = z2 + zx + zyWhich gives:
A = -3, B = -2, and C = 4
[-3(x+y) + 2z]
2 + 3m
2 = 16z
2Where now have two unknowns m and z determining existence of a rational solution. But by inspection has an infinite number of rational solutions with m = 0. Still shouldn't just assume that then x and y always will be integers. Easy enough to check:
-3(x+y) + 2z = +/- 4z, so: -3(x+y) = 2z or -6z
So there will be a set of integer solutions for every nonzero integer z.
Well I DO like easy. So yeah, very straightforward from my original research.
Primary point of this post was to just get a look at result without setting z = 1, which did before just to focus on the simpler case.
So now have the three variable general reduced form for the quadratic case.
James Harris