Curves triangular numbers.

971 Views Asked by At

Sometimes you have to deal with this equation: $X^2+aX+Y^2+bY=Z^2+cZ$

$a,b,c$ - integer coefficients.

I wrote below - to start a particular solution of Diophantine equations.

To do this, use the solutions of Pell's equation: $p^2-2k(k-1)s^2=1$

I turned solutions such.

$X=(k-1)((a+b)k+a-c)s^2-(ck-b)ps$

$Y=k((a+b)k+c-a-2b)s^2-(ck+a-c)ps$

$Z=(2ck^2+(a-b-2c)k+c-a)s^2-((a+b)k-b)ps$

And more:

$X=(c-a-b)p^2+(k(3c-2a-2b)+2a+b-2c)ps+(k-1)((2c-a-b)k+a-c)s^2$

$Y=(c-a-b)p^2+(k(3c-2a-2b)+a-c)ps+k((2c-a-b)k+a-c)s^2$

$Z=(c-a-b)p^2+(k(4c-3a-3b)+2a+b-2c)ps+(2k-1)((2c-a-b)k+a-c)s^2$

Probably will have to write a more general formula. But I think that's not a problem.

Here is another question. When trying to solve the more general equation:

$nX^2+aX+qY^2+bY=jZ^2+cZ$

Always turns in decisions that need to share the decision itself by type: $w=n+q-j$

That is, the formula is written as a fraction. Certainly at Pell's equation infinitely many solutions. And of course no matter how large the number it was not always a chance that the fraction reduced. But still not clear how all of these decisions to allocate whole? Although there may be another idea to solve this equation and all that there is no need to do?

The coefficients should have this appearance. Because they will appear as unknown for other equations.

4

There are 4 best solutions below

0
On

Solving this equation turned out rather unexpected result.

As is well known equation of the form: $aX^2+cY^2=jZ^2$

as you know is not always the solution in integers.

But such an equation: $aX^2+bX+cY^2+qY=jZ^2+dZ$

will always have a solution integers. At least you can always write a formula.

That's quite unexpected and it is not clear result.

Decisions will always be the coefficients $b,q,d$ - at least one non-zero.

0
On

The interesting thing is that the equation: $aX^2+bX+cY^2+qY=jZ^2+dZ$

If we use the equation Pell: $p^2-rs^2=1$

Coefficient is defined as follows: $r=(a+c)jk^2-2cjkt+(j-a)ct^2$

$k,t$ - integers asked us. Then the solutions are of the form:

$X=(qt-dk)ps+((b+q)jk^2-(dc+qj)kt-(b-d)ct^2)s^2$

$Y=((d-b)t-dk)ps+((b+q)jk^2+(ad-(b+2q)j)kt+(j-a)qt^2)s^2$

$Z=(qt-(b+q)k)ps+((a+c)dk^2+((b-2d)c-aq)kt-(b-d)ct^2)s^2$

And another formula.

$X=\frac{1}{a+c-j}[(d-b-q)p^2+(((a+c+j)d-2(b+q)j)k+((j+c-a)q+2(b-d)c)t)ps+$

$+(j((a+c)d-(b+q)j)k^2+(2bcj+(j+c-a)jq-(a+c+j)cd)kt-$

$-c((b-d)c+(j-a)q)t^2)s^2]$

...........................................................................................................................................

$Y=\frac{1}{a+c-j}[(d-b-q)p^2+((a+c+j)d-2(b+q)j)k+(2(j-a)q+$$(j+c-a)(b-d))t)ps+$

$+(j((a+c)d-(b+q)j)k^2+(((a+c-j)a-2cj)d+(j+c-a)jb+2j(j-a)q)kt+$

$+(a-j)((b-d)c+(j-a)q)t^2)s^2]$

...........................................................................................................................................

$Z=\frac{1}{a+c-j}[(d-b-q)p^2+$$((2(a+c)d-(a+c+j)(b+q))k+((j+c-a)q+2(b-d)c)t)ps+$

$+((a+c)((a+c)d-(b+q)j)k^2+((a+c+j)cb-2(a+c)cd+(2cj-(a+c-j)a)q)kt-$

$-c((b-d)c+(j-a)q)t^2)s^2]$

In the second formula should be chosen so Pell's equation and its solution so that the fraction decreased and turned to an integer.

1
On

About the solutions of the above equation $$X² + aX + Y² + bY = Z² + cZ$$

$$X = (k-1)((a + b)k + a - c)s² - (ck - b)ps$$

does not work.

This is a counterexample : $$X = 3$$ $$a = 6$$ $$Y = 6$$ $$b = 30$$ $$Z = 3$$ $$c = 78$$

In this case : $$3 = (k - 1)(36k - 72) s² - (78k - 30)ps$$ $$=> (k -1)(12k - 24)s² - (26k - 10) ps = 1$$ $$=> s[(k -1)(12k - 24)s - (26k - 10) p] = 1$$ $$=> (k -1)(12k - 24) - (26k - 10) p = 1, (s = 1)$$ $$=> 2[(k -1)(6k - 12) - (13k - 5) p] = 1$$ $$=> 2 = 1, impossible$$

1
On

Individ's solution not working.

Counterexample : $$a = 1$$ $$b = 6$$ $$c = 1$$ $$d = 78$$ $$j = 1$$ $$q = 30$$ $$X = 3$$ $$Y = 6$$ $$Z = 3$$

$$ X = (qt−dk)ps+((b+q)jk^2−(dc+qj)kt−(b−d)ct^2)s^2$$ $$=> 3 = (30t−78k)ps+((6+30)k^2−(78+30)kt−(6−78)t^2)s^2$$ $$=> 3 = (30t−78k)ps+((36)k^2−(108)kt−(-72)t^2)s^2$$ $$=> 3 = 6[(5t−13k)ps+(6k^2−18kt+12t^2)s^2]$$ $$=> 1 = 3[(5t−13k)ps+(6k^2−18kt+12t^2)s^2]$$ Impossible for integers