Homogeneous Quadratic

How many ordered pairs of integers ( x , y ) (x,y) are there such that 2 x 2 2 x y + y 2 = 225 2x^2 - 2xy + y^2 = 225 ?

Details and assumptions

x x and y y can be negative, and need not be distinct.


The answer is 12.

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.

7 solutions

Zain Zafar
May 20, 2014

The equation simplifies to x 2 + ( x y ) 2 = 225 x^2 + (x - y)^2 = 225 , so y = x ± 225 x 2 y = x \pm \sqrt{225 - x^2} . Since y y is real, thus 15 x 15 -15 \leq x \leq 15 . Now we try all possible integer values of x x within this range to see which ones give an integer value of y y . the integer values which give positive results are 15 , 15 , 12 , 12 , 9 , 9 15, -15, 12, -12, 9, -9 and 0 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 ) (x, y) satisfying the equation.

i did the same way

A Former Brilliant Member - 5 years, 5 months ago
Arndt Jonasson
May 20, 2014

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.

Ali Amjad
May 20, 2014

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.

Suhas Shetiya
May 20, 2014

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

Gopal Kedia
May 20, 2014

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

Calvin Lin Staff
May 13, 2014

We have x 2 + ( x y ) 2 = 1 5 2 x^2 + (x-y)^2 = 15^2 . A quick check reveals that 1 5 2 = 0 2 + ( ± 15 ) 2 = ( ± 9 ) 2 + ( ± 12 ) 2 15^2 = 0^2 +(\pm 15)^2 = (\pm 9)^2 + (\pm 12)^2 are the only ways to write 1 5 2 15^2 as the sum or 2 integer squares. So ( x , x y ) = ( 0 , ± 15 ) , ( ± 15 , 0 ) , ( ± 9 , ± 12 ) , ( ± 12 , ± 9 ) (x, x-y) = (0, \pm 15), (\pm 15, 0 ), (\pm 9, \pm 12), (\pm 12, \pm 9) and there are 2 + 2 + 4 + 4 = 12 2 + 2 + 4 + 4= 12 pairs of ( x , y ) (x,y) .

Leonel Castillo
Jan 28, 2018

Notice that the equation implies x , y 0 m o d 3 x,y \equiv 0 \mod 3 . This is because if we assume neither is divisible by 3, this implies 2 x y 0 m o d 3 -2xy \equiv 0 \mod 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 2x^2 \equiv 0 \mod 3 or y 2 0 m o d 3 y^2 \equiv 0 \mod 3 which implies the other is also divisible by 3. So do the substitution x = 3 k , y = 3 q x = 3k, y=3q . Because the equation is homogeneous we can divide both sides by 9 9 to get a new equation:

2 k 2 2 k q + q 2 = 25 2k^2 - 2kq + q^2 = 25 . This new equation is easier to solve and it has the property that ( k , q ) (k,q) is a solution of this equation if and only if ( 3 k , 3 q ) (3k,3q) 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 k^2 + (k-q)^2 = 5^2 . Let's now divide into cases:

Case 1: k = 0 k=0 . In this case we would need to have ( k q ) 2 = 25 ( q ) 2 = 5 q = ± 5 (k-q)^2 = 25 \implies (-q)^2 = 5 \implies q = \pm 5 . These are two solutions

Case 2: k q = 0 k-q = 0 . Then we would need k 2 = 25 k = ± 5 k^2 = 25 \implies k = \pm 5 . Two more solutions.

Case 3: Neither k k or k q k-q are equal to 0. We would now be operating in usual Pythagorean triples. We know that 3 2 + 4 2 = 5 2 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 k = 3,-3,4,-4 and then solve the resulting quadratic equation for q q . Example: Let k = 3 k = 3 . Then necessarily ( k q ) 2 = 16 (k-q)^2 = 16 so ( 3 q ) = ± 4 q = 3 ± 4 = 7 , 1 (3-q) = \pm 4 \implies q =3 \pm 4 = 7,-1 .

Repeat this process until you have exhausted the four options for k k and you'll get 8 8 more solutions. Adding up to a total of 12.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...