How many pairs of (not necessarily positive) integers ( x , y ) are there such that x 2 = y 3 + 7 ?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
I'm not really sure about whether not being able to be factored implies the expression cannot be a perfect square : take p ( x ) = x 3 − 5 x − 3 , albeit this cannot be factored p ( 3 ) = 9 = 3 2
Log in to reply
Hmm... That's true. So how would I prove that a certain polynomial p ( x ) cannot be a perfect square for any x ∈ R ? Thanks! :)
Log in to reply
This could actually be VERY hard, see for example here
The "easy" way, that only works for some problems, is to show that the equation is impossible modulo some number (that by the Chinese Remainder theorem can be assumed to be a prime power). This is exactly what you tried to do, except that 4 does not seem to work in this case. This problem is actually harder than it seems. If y is odd, you should make use of the factorization of y 3 + 8 .
Tips: you don't really have to use 4 n + 4 , just 4 n is fine.
Log in to reply
Another tip: you didn't really have to expand out your expressions, Case 2 for example: 4 n + 2 ≡ 2 ( m o d 4 ) , so you could've just done 2 3 + 7 ≡ 1 5 ≡ 3 ( m o d 4 )
Oh right... :) My bad!
no just kidding
It is better to check modulo 9 for both the terms
Log in to reply
This, unfortunately, does not work. We may have solutions if x is 4 or 5 modulo 9 , and y is divisible by 3 .
Well, my actual age is 15..... Can you explain me Rational Root Theorm?????
9^2=(4^3) + 7
Working in the system Z [ 7 ] , we can rewrite what we have as ( x − 7 ) ( x + 7 ) = y 3 . Since y 3 can be expressed as a number times its conjugate, y must split into ( a + b 7 ) ( a − b 7 ) where a , b ∈ Z . So then y 3 = ( a + b 7 ) 3 ( a − b 7 ) 3 . So either ( a + b 7 ) 3 = ( x − 7 ) or ( a − b 7 ) 3 = ( x − 7 ) . We can consider the two cases.
Case 1: ( a + b 7 ) 3 = ( x − 7 ) Then we have ( a 3 + 2 1 a b 2 ) + ( 3 a 2 b + 7 b 3 ) 7 = x − 7 . So that means 3 a 2 b + 7 b 3 = − 1 , but there are no solutions ( a , b ) which satisfy this because the absolute value of that quantity would be greater than 1.
Case 2: ( a + b 7 ) 3 = ( x + 7 ) This is similar to the first case. We get ( a 3 + 2 1 a b 2 ) + ( 3 a 2 b + 7 b 3 ) 7 = x − 7 , so 3 a 2 b + 7 b 3 = 1 and again, there are no solutions.
[Note: This solution uses several (unjustified) facts from field theory]
Consider x 2 = y 3 + 7 ( m o d 4 ) .
Case 1: If y is even, then x 2 ≡ 3 ( m o d 4 ) , which is a contradiction since 3 is not a quadratic residue modulo 4. Hence, we have that y is odd and x is even.
Case 2: If y ≡ 3 ( m o d 4 ) . , then x 2 = y 3 + 7 ≡ 2 ( m o d 4 ) , which is a contradiction.
Case 3: If y ≡ 1 ( m o d 4 ) . Since x 2 + 1 = ( y + 2 ) ( y 2 − 2 y + 4 ) , it is convenient to look at the divisors of x 2 + 1 . Suppose it has a prime factor of the form p = 4 k + 3 . Then x 2 ≡ − 1 ( m o d p ) , so x 4 k + 2 ≡ ( − 1 ) 2 k + 1 = − 1 ( m o d p ) , contradicting Fermat's little theorem. So all of the prime divisors of x 2 + 1 are congruent to 1 mod 4. If y ≡ 1 ( m o d 4 ) , then y + 2 ≡ 3 ( m o d 4 ) , and must certainly have a prime factor congruent to 3 mod 4. (Indeed, or it would be 1 mod 4 otherwise.) But y + 2 ∣ x 2 + 1 , which contradicts the fact that x 2 + 1 has all prime factors 1 mod 4.
Hence, we have no solutions for y , giving the answer 0 .
Suppose on the contrary that there are integers solution, We will first look at y being even. This will mean that that y 3 ≡ 0 ( m o d 8 ) , y 3 + 7 ≡ 7 ( m o d 8 ) , x 2 ≡ 7 ( m o d 8 ) . This is not possible, as a 2 ≡ 0 , 1 , 4 ( m o d 8 ) is the only possible quadratic residues. Hence a contradiction, therefore y is not even.
Now for an odd y , we consider x 2 + 1 = y 3 + 8 = ( y + 2 ) ( y 2 − 2 y + 4 ) . Now, y 2 − 2 y + 4 = ( y − 1 ) 2 + 3 which is always positive. Since y is odd, y − 1 is even and hence ( y − 1 ) 2 ≡ 0 ( m o d 4 ) , so ( y − 1 ) 2 + 3 ≡ 3 ( m o d 4 ) So there must be a prime number, p , that divides ( y − 1 ) 2 + 3 with the property that p ≡ 3 ( m o d 4 ) . So x 2 + 1 must divide p also or x 2 + 1 ≡ 0 ( m o d p ) x 2 ≡ − 1 ( m o d p ) . But then again this is not possible as p is in the form p = 4 n + 3 , which implies that ( − 1 ) 2 p − 1 ≡ − 1 = 1 ( m o d p ) . This means that x 2 ≡ − 1 ( m o d p ) is not possible by Euler's Criterion on Quadratic Residues. Hence there can be no integer solutions.
x 2 = y 3 + 7
x 2 + 1 = y 3 + 8 = ( y + 2 ) ( y 2 − 2 y + 4 )
It is pretty apparent that y > − 2 , or else x 2 would be negative.
If y is even then,
x^2 \equiv 7 \equiv -1\pmod{4}
But, it is well-known that the remainder of a square can only be 0 or 1 . Hence, y cannot be even. Thus, assume y is odd. Since y is odd, x must be even.
Also, given the fact that y is odd,
y 3 ≡ y ( m o d 4 )
So, x 2 ≡ y 3 + 7 ( m o d 4 ) is equivalent to
0 ≡ y − 1 ( m o d 4 )
Then, y + 2 ≡ 3 ( m o d 4 ) .
Since y + 2 is positive, odd and congurent to 3 mod 4 , it must have a prime factor p such that
p ≡ 3 ( m o d 4 ) .
Since p ∣ y + 2 , and y + 2 ∣ x 2 + 1 ,
y 2 + 1 ≡ 0 ( m o d p )
Or,
y 2 ≡ − 1 ( m o d p ) ,
which is only solvable if p ≡ 1 ( m o d 4 ) , which is not the case.
Thus, the given equation has no integral solutions.
Let (x,y) be a solution. Add one to both sides, obtaining ( x 2 + 1 ) = y 3 + 8 , or x 2 + 1 = ( y + 2 ) ( y 2 − 2 y + 4 ) . If y was even, x 2 ≡ 7 ( m o d 8 ) , but 7 is not a quadratic resiude mod 8. Thus y is odd. This implies that y 2 − 2 y + 4 ≡ y ( y − 2 ) ≡ 3 ( m o d 4 ) . This gives a contradiction, because it is well known that all odd factors of k 2 + 1 are 1 mod 4. Thus there are 0 solutions to the equation.
x 2 = y 3 + 7 → y 3 = x 2 − 7
y 3 = ( x + 7 ) ( x − 7 )
Therefore ( x + 7 ) 2 = ( x − 7 ) or ( x − 7 ) 2 = ( x + 7 )
or either one of ( x + 7 ) and ( x − 7 ) = 1
As x is an integer, the above condition is impossible.
Considering the two equations in the first case,
i. x 2 − ( 2 7 + 1 ) x + ( 7 − 7 ) = 0
ii. x 2 + ( 2 7 − 1 ) x + ( 7 + 7 ) = 0
None of these have integer solutions so there are 0 pairs of ( x , y ) .
Hmmm interesting solution but can you provide a better explanation for why you continued in this manner?
Log in to reply
x + 7 and x − 7 can't have a common factor so there were only those two cases to consider: that one is the square of the other or that one is a cube (in which case the other would be equal to 1). There's also one where x + 7 or x − 7 = 0 and y =0 but that would be impossible as x is an integer.
Sorry my solution isn't exactly rigorous but I chose to publish it be cause it worked and it was a lot simpler than the other one.
in line 3 note 32*2 =64 and no one of them equal square of ather !!!
Negative numbers and zero cannot be a solution for y since x^2 becomes negative for y<-1 while y=-1,0 does not satisfy the equation. For positive numbers, it can be observed that the differences (Note: x^2-y^3=7) between squares (nearest the value of the cube) and cubes are significantly greater than 7, and this becomes more apparent in larger values of x and y.
x^2=y^3+7, x^2+1^2=y^3+2^3, Sum of two integer squares cannot be equal to sum of two integer cubes(only exception is combination of 0 and 1, 0^2+1^2=0^3+1^3) .Here already 2 cube is present in the rhs ,so that no possibility exist
Problem Loading...
Note Loading...
Set Loading...
It is necessary to know that all perfect squares are congruent to 0 or 1 ( m o d 4 ) , i.e.
x 2 ≅ 0 or 1 ( m o d 4 ) ∀ x ∈ Z .
Now, we see that y can be written as either one of: ( 4 n + 1 ) , ( 4 n + 2 ) , ( 4 n + 3 ) or ( 4 n + 4 ) for some n ∈ Z + . Considering each case:
C a s e 1 : y = 4 n + 1 for some n ∈ Z y 3 + 7 = ( 4 n + 1 ) 3 + 7 = 6 4 n 3 + 4 8 n 2 + 1 2 n + 8 = 4 ( 1 6 n 3 + 1 2 n 2 + 3 n + 2 ) . This expression cannot be factored because of the Rational Root Theorem and hence cannot be a perfect square for any x ∈ Z , since n is an integer.
C a s e 2 : y = 4 n + 2 for some n ∈ Z y 3 + 7 = ( 4 n + 2 ) 3 + 7 = 6 4 n 3 + 9 6 n 2 + 4 8 n + 1 1 ≅ 3 ( m o d 4 ) ; hence, this expression cannot be equal to x 2 for x ∈ Z .
C a s e 3 : y = 4 n + 3 for some n ∈ Z y 3 + 7 = ( 4 n + 3 ) 3 + 7 = 6 4 n 3 + 1 4 4 n 2 + 1 0 8 n + 3 4 ≅ 2 ( m o d 4 ) ; hence, this expression cannot be equal to x 2 for x ∈ Z .
C a s e 2 4 : y = 4 n + 4 for some n ∈ Z y 3 + 7 = ( 4 n + 4 ) 3 + 7 = 4 3 ( n + 1 ) 3 + 7 ≅ 3 ( m o d 4 ) ; hence, this expression also cannot be equal to x 2 for x ∈ Z .
Hence, there are 0 integer solutions ( x , y ) such that x 2 = y 3 + 7 .