How many ordered pairs of integers ( x , y ) are there such that 2 x 2 − 2 x y + y 2 = 2 2 5 ?
Details and assumptions
x and y can be negative, and need not be distinct.
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 did the same way
Rewrite the formula as x^2 + (x-y)^2 = 15^2 Now the problem becomes how to express 15^2 as the sum of two integer squares. Start with x = 15 and x-y = 0. Try x = 14, 13, etc. down to 0. We find three more pair of squares this way, namely 12^2+9^2, 9^2+12^2 and 0^2 + 15^2. For the two pairs with zeroes, we get twice their number by negating the nonzero number, that's four pairs. For the non-zero pairs, we can assign negative signs to each member of the pair independently, so we get four times their number = eight pairs. Total is twelve.
After modification, the above relation becomes x^2 + (y-x)^2=225. now , let x=k (say) and put in above equation and find the value of y as: y=k \pm sqrt{225-k^2}. i.e. 1. y=k+ sqrt{225-k^2} and 2. y=k- sqrt{225-k^2}
Now take the equation 1 and proceed as below: since, y to be real -15 \leq k \leq 15 (k belongs to [-15, 15] ) then put the integral value of k from -15 to 15 . Putting k=x =-15, 15, -12, 12, -9, 9. we get the values of y as an integer. the solution for equation(1) is (15, 15), (-15, -15), (12, 21), (-12, -3), (-9, 12), (9, 21)..
similarly , the solution of equation(2).
Finally, we get the pairs of integers as SOLUTION.
Thanks.
LHS can be written as (x-y)^2 + x^2 RHS is 225
The possibilities for 225 are (0,15) and (9,12)
Next we substitute values for x from the above options and solve for values of y
For (0,15)
x= 0 we get y = 15 and -15 x = 15 we get y = 15 x = -15 we get y = -15 Therefore 4 possibilities
x = 9 we get -3 and 21 Similarly for x = -9 , 12,-12 we get 2 solutions each Therefore 8 possibilities
Total of 12 possibilities
x^2+{x-y}^2=15^2 x=12x-y=9and negatives X=9 x-y=12 x=0 x-y =15 and negatives 3*4=12
We have x 2 + ( x − y ) 2 = 1 5 2 . A quick check reveals that 1 5 2 = 0 2 + ( ± 1 5 ) 2 = ( ± 9 ) 2 + ( ± 1 2 ) 2 are the only ways to write 1 5 2 as the sum or 2 integer squares. So ( x , x − y ) = ( 0 , ± 1 5 ) , ( ± 1 5 , 0 ) , ( ± 9 , ± 1 2 ) , ( ± 1 2 , ± 9 ) and there are 2 + 2 + 4 + 4 = 1 2 pairs of ( x , y ) .
Notice that the equation implies x , y ≡ 0 m o d 3 . This is because if we assume neither is divisible by 3, this implies − 2 x y ≡ 0 m o d 3 which is a contradiction. If we then assume that one of them is divisible by 3 then we will have 2 x 2 ≡ 0 m o d 3 or y 2 ≡ 0 m o d 3 which implies the other is also divisible by 3. So do the substitution x = 3 k , y = 3 q . Because the equation is homogeneous we can divide both sides by 9 to get a new equation:
2 k 2 − 2 k q + q 2 = 2 5 . This new equation is easier to solve and it has the property that ( k , q ) is a solution of this equation if and only if ( 3 k , 3 q ) is a solution of the original equation, which helps as we only care about counting solutions. Then we have the factorization:
k 2 + ( k − q ) 2 = 5 2 . Let's now divide into cases:
Case 1: k = 0 . In this case we would need to have ( k − q ) 2 = 2 5 ⟹ ( − q ) 2 = 5 ⟹ q = ± 5 . These are two solutions
Case 2: k − q = 0 . Then we would need k 2 = 2 5 ⟹ k = ± 5 . Two more solutions.
Case 3: Neither k or k − q are equal to 0. We would now be operating in usual Pythagorean triples. We know that 3 2 + 4 2 = 5 2 is the only solution (ignoring changes in sign) so in this step one would choose k = 3 , − 3 , 4 , − 4 and then solve the resulting quadratic equation for q . Example: Let k = 3 . Then necessarily ( k − q ) 2 = 1 6 so ( 3 − q ) = ± 4 ⟹ q = 3 ± 4 = 7 , − 1 .
Repeat this process until you have exhausted the four options for k and you'll get 8 more solutions. Adding up to a total of 12.
Problem Loading...
Note Loading...
Set Loading...
The equation simplifies to x 2 + ( x − y ) 2 = 2 2 5 , so y = x ± 2 2 5 − x 2 . Since y is real, thus − 1 5 ≤ x ≤ 1 5 . Now we try all possible integer values of x within this range to see which ones give an integer value of y . the integer values which give positive results are 1 5 , − 1 5 , 1 2 , − 1 2 , 9 , − 9 and 0 . Of these 15 and -15 give one possible value of y each, while the rest give two possible values of y each. thus we have in total 12 pairs of ( x , y ) satisfying the equation.