Pair me up

Find the number of ordered pairs of integers ( x , y ) (x,y) such that x 2 3 x y + 2 y 2 = 27. x^2-3xy+2y^2=27.

Details and assumptions

For an ordered pair of integers ( a , b ) (a,b) , the order of the integers matter. The ordered pair ( 1 , 2 ) (1, 2) is different from the ordered pair ( 2 , 1 ) (2,1) .


The answer is 8.

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.

5 solutions

Jordi Bosch
Sep 9, 2013

x 2 3 x y + 2 y 2 = ( x y ) ( x 2 y ) = 27 x^2 - 3xy + 2y^2 = (x - y)(x - 2y) = 27

( x y ) = m (x - y) = m

( x 2 y ) = n (x - 2y)=n

m n = 27 = 3 3 mn = 27 = 3^{3} and so 27 has 4 positive divisors ( 1 , 3 , 9 , 27 ) (1,3,9,27) .

We have to count them twice because m and n can be both negative.

So we have 8 8 pairs.

Moderator note:

You have merely found a necessary condition for a solution, i.e. if a solution exists it must satisfy certain properties.

You have not established that it is a sufficient solution, i.e. that the pairs you claim are indeed (integer) solutions.

x y = m x - y = m ... ( 1 ) (1)

x 2 y = n x - 2y = n ... ( 2 ) (2)

Solving for x x in ( 1 ) (1) and substituting in ( 2 ) (2) gives:

y = m n y = m - n

Substituting y y in ( 2 ) (2) :

x = 2 m n x = 2m - n

This two equations show that x x and y y are integers because of m m and n n are integers too.

Jordi Bosch - 7 years, 9 months ago

Log in to reply

Great!

If the simultaneous equations were more complicated, then just because m m and n n are integers does not guarantee that x x and y y are integers. For example, in the system

{ 2 x + y = m x + 2 y = n \begin{cases} 2x+y = m \\ x+2y = n \\ \end{cases}

Then x x and y y are integers if and only if m + n m+n is a multiple of 3.

Calvin Lin Staff - 7 years, 9 months ago
Ananay Agarwal
Sep 8, 2013

We can factor the left hand side:

x 2 2 x y + y 2 + y 2 x y = ( x y ) 2 y ( x y ) = ( x y ) ( x 2 y ) x^2 - 2xy + y^2 + y^2 - xy = (x - y)^2 -y(x - y) = (x - y)(x - 2y)

Clearly, x y x - y and x 2 y x - 2y are factors of 27 27 . We can divide 27 27 into pairs of factors as follows: 1 × 27 , 3 × 9 , ( 1 ) × ( 27 ) , ( 3 ) × ( 9 ) 1 \times 27, 3\times 9, (-1) \times (-27), (-3) \times (-9) .

Each pair of factors will yield two solutions since we can set x x equal to either of the factors and then solve for y y . All of these will be distinct. Therefore, the answer is 8 8 pairs.

Note that x 2 3 x y + 2 y 2 = 27 x^{2} - 3xy + 2y^{2} = 27 can be expressed by ( x y ) ( x 2 y ) = 27 (x-y)(x-2y) = 27 . We should solve 8 possibilities. For each one:

x y = @ = > 2 x 2 y = 2 @ x - y = @ => 2x - 2y = 2@

x 2 y = $ x - 2y = \$

Here, @ and $ are numbers for each possibility.

Subtracting, we have x = 2 @ $ x = 2@ - \$ , giving 8 possibilities for ( x ).

Moderator note:

This comes close to explaining why the 8 pairs of factors of 27 leads to 8 integer solutions. How would you present this argument better?

Snehdeep Arora
Sep 11, 2013

The polynomial can be factorized as ( x 2 y ) ( x y ) = 27 (x-2y)(x-y) = 27

27 can be represented as a product of two integers in 8 ways ( 9 × 3 , 3 × 9 , 27 × 1 , 1 × 27 , 3 × 9 , 9 × 3 , 27 × 1 , 1 × 27 ) (9 \times 3 , 3 \times 9 , 27 \times 1 , 1 \times 27 , -3 \times -9 , -9 \times -3 , -27 \times -1 , -1 \times -27) and each will give us a different ordered pair.So the answer is 8.

John Aries Sarza
Sep 9, 2013

By factoring the expression x 2 x^{2} -3xy + 2 y 2 y^{2} = (x-2y)(x-y) Lets focus on 27 for the factors including negative pairs. {1,27},{27,1},{3,9},{9,3},{-1,-27},{-27,-1},{-3,-9},{-9,-3}

By doing pair in pair ,. for example [x-2y=1,x-y=27] we can solve for the value of x and y. Do it in the other factors. We notice that for all values of x and y, there are all integer ordered pairs. Therefore there are 8.

there was any assumptions that there is negative ordered pairs ????

Mohamed Abdalla - 7 years, 9 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...