5

I cannot seem to find a solution to the following Diophantine Equation: $x^2-y^3=2$, where $x,y \in \mathbb{Z}.$ I thought that I could maybe reduce it to a simpler equation , maybe check for the extension $\mathbb{Q}\left[\sqrt{2}\right],$ but nothing that I have tried seems to work. Perhaps it is a known equation/curve I am not aware of? I was first introduced to the problem when my friend pointed out that he could not solve it. I would appreciate your help. Thanks, in advance.

  • 2
    Welcome to Mathematics Stack Exchange. Try $x=1$ and $y=-1$ – J. W. Tanner Jan 29 '21 at 20:10
  • Thank you! However, could you be a bit more specific as to why those are the solutions? I mean how did you come to that conclusion? Please provide your reasoning so that I may fundamentally understand it. – Peter Allen Jan 29 '21 at 20:12
  • 1
    Context requested. What is the source of the problem? If from a book or class, what theorems or previously solved problems have been presented in your book/class that you think might be relevant? Please do not respond with a comment. Instead, please edit your query to show your work. Also, please show what you have tried so far, and what your thinking is. See: https://math.meta.stackexchange.com/questions/9959/how-to-ask-a-good-question#9960 https://math.meta.stackexchange.com/questions/9959/how-to-ask-a-good-question/27933#27933 – user2661923 Jan 29 '21 at 20:36
  • 1
    Factoring in $\Bbb{Z}[\sqrt{2}]$ works just fine; it leads to three cubic Thue equations, which can be solved effectively. Can you share your work? – Servaes Jan 29 '21 at 21:02
  • I tried factoring as such: $x^2-2=y^3\Leftrightarrow (x-\sqrt{2})(x+\sqrt{2})=y^3$. But am I supposed to solve it using a computer system? It seems like brute force, but I don't think there is any other way in determining Thue equations other than solving them effectively... – Peter Allen Jan 29 '21 at 21:24
  • 3
    Check out https://math.stackexchange.com/questions/571473/solving-the-diophantine-equation-y2-x3-2 – Salcio Jan 29 '21 at 21:42
  • @PeterAllen I've provided a sketch of a solution without using a computer system. I haven't included the details on solving Thue equations. – Servaes Jan 30 '21 at 20:29

4 Answers4

3

Let $x$ and $y$ be integers such that $x^2-y^3=2$. Then $x$ and $y$ are both odd, and $$y^3=(x-\sqrt{2})(x+\sqrt{2}),$$ where the gcd of the two factors on the right hand side divides their sum $2\sqrt{2}=\sqrt{2}^3$, and because their product is odd we see that they are coprime. Because $\Bbb{Z}[\sqrt{2}]$ is a unique factorization domain we have $$x+\sqrt{2}=u(a+b\sqrt{2})^3,$$ for some integers $a$ and $b$, and some unit $u\in\Bbb{Z}[\sqrt{2}]^{\times}$. Then $u=\pm(1+\sqrt{2})^k$ for some integer $k$, and without loss of generality we have the $+$-sign and $k\in\{0,1,2\}$. So we distinguish three cases:

  • If $k=0$ then $$x+\sqrt{2}=(a+b\sqrt{2})^3=a(a^2+6b^2)+b(3a^2+2b^2)\sqrt{2},$$ and comparing the coefficients of $\sqrt{2}$ shows that $$b(3a^2+2b^2)=1,$$ which clearly has no integral solutions.
  • If $k=1$ then in a similar way we find that $$a^3+3a^2b+6ab^2+2b^3=1,$$ which is a(nother) cubic Thue equation. Its unique integral solution is $(a,b)=(1,0)$, corresponding to $x=1$.
  • If $k=2$ then in a similar way we find that $$2a^3+9a^2b+12ab^2+6b^3=1,$$ which is another cubic Thue equation. Its unique integral solution is $(a,b)=(-1,1)$, corresponding to $x=-1$.
Servaes
  • 67,306
  • 8
  • 82
  • 171
  • I've also reached that $x+\sqrt 2$ is a unit times a perfect cube, but got stuck there. I am not too familiar with Thue equations, but is the original problem also a Thue equation (by looking at the definition on wiki)? – bonsoon Jan 30 '21 at 21:24
  • No; a Thue equation is of the form $F(X,Y)=c$, where $F\in\Bbb{Z}[X,Y]$ is homogeneous of degree $n\geq3$, and $c\in\Bbb{Z}$ is some integer. – Servaes Jan 30 '21 at 21:37
  • Ah I see, thanks for the clarification! – bonsoon Jan 30 '21 at 22:13
3

COMMENT.- The discriminant $\Delta = - (4a ^ 3 + 27b ^ 2)$ of the curve $x ^ 2 = y ^ 3 + 2$ considering it as a case of $y ^ 2 = x ^ 3 + ax + b$ (Weirstrass form) in which they have reversed the usual roles of the coordinates, it is different from zero so the curve is not singular or elliptic. There is an obvious solution $A = (x, y) = (1, -1)$.

It is doubtful that the tangent to the curve in this integer point (that is, $2A$ in the arithmetic of the elliptic curve) produces another integer point (in fact graphically it does not give it) but if this point $A$ is not torsion then it will produce an infinity of rational points on the curve.

We do not apply the operations that define an additive group law on the curve because this is not the case here.

Regarding solving the equation $x^2-y ^ 3 = 2$ by other means, this has the savor of the Catalan's conjecture that lasted almost two centuries to be proven by Mihăilescu's so we better stop here this comment.

Ataulfo
  • 32,657
  • Your clarification is wonderful! I appreciate you giving light to the problem! It's time to stop I suppose and get some rest! – Peter Allen Jan 30 '21 at 10:36
2

This is an elliptic curve, and can be solved by a computer algebra system.

I use the following code on sage cell server, and you can also try it yourself.

E = EllipticCurve([0, 2])
print(E.integral_points())

The output:

[(-1 : 1 : 1)]

Therefore this is (up to sign) the only non-trivial solution.

An interesting fact is that this curve actually has Mordell-Weil rank $1$, meaning that it has infinitely many rational points.

Examples:

(17/4 : -71/8 : 1)
(127/441 : 13175/9261 : 1)
(66113/80656 : -36583777/22906304 : 1)

etc.

All these calculations are done with Sage.

How does Sage do that, and how can Sage be sure that the results are correct? This is a much deeper subject. A good starting point is the GTM book "The Arithmetic of Elliptic Curves" by Joe Silverman.

WhatsUp
  • 22,614
0

$x^2-y^3=2\quad\implies\quad y=\sqrt[\large3]{x^2-2}\quad\lor\quad x=\sqrt{y^3+2}\quad$

Both equations are true only when $\quad (x,y)=(\pm1,-1)$

For larger values, no squares and cubes differ by only $2$.

poetasis
  • 6,795