Close to perfect square

x 2 + 6 x + y 2 = 4 \large x^2+6x+y^2=4

Find the number of ordered pairs of integers ( x , y ) (x,y) satisfying the equation above.

6 8 1 3 4 2 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.

1 solution

This equation can be rewritten as

x 2 + 6 y + 9 + y 2 = 4 + 9 ( x + 3 ) 2 + y 2 = 13. x^{2} + 6y + 9 + y^{2} = 4 + 9 \Longrightarrow (x + 3)^{2} + y^{2} = 13.

Now the only pair of perfect squares that add to 13 13 are 4 4 and 9 , 9, so we can have either

  • ( x + 3 ) = ± 2 , y = ± 3 ( x , y ) = ( 5 , 3 ) , ( 5 , 3 ) , ( 1 , 3 ) , ( 1 , 3 ) , (x + 3) = \pm 2, y = \pm 3 \Longrightarrow (x,y) = (-5,-3), (-5,3), (-1,-3), (-1,3), or

  • ( x + 3 ) = ± 3 , y = ± 2 ( x , y ) = ( 6 , 2 ) , ( 6 , 2 ) , ( 0 , 2 ) , ( 0 , 2 ) . (x + 3) = \pm 3, y = \pm 2 \Longrightarrow (x,y) = (-6,-2), (-6,2), (0,-2), (0,2).

There are thus a total of 8 \boxed{8} ordered pair solutions.

(The explicit identification of the ordered pairs is unnecessary for the purposes of answering this question, but was done for the sake of thoroughness.)

Nice solution sir.Please try this one

Kalpok Guha - 6 years ago

FYI: once you know the square of the radius (in this case, 13), you can go to OEIS to get the answer.

Pi Han Goh - 6 years ago

Log in to reply

That's interesting. If we designate θ ( n ) \theta(n) as the number of such ordered pairs for a given positive integer n , n, I wonder what the upper bound for θ ( n ) \theta(n) is? Just as an example, we have θ ( 422500 ) = 56. \theta(422500) = 56.

Brian Charlesworth - 6 years ago

Log in to reply

CHALLENGE MASTER NOTE: Interesting observation, can you make a note about it?

Pi Han Goh - 6 years ago

Log in to reply

@Pi Han Goh Sure, I'll do that later. I was also wondering the following: what is the largest integer that can be expressed as the sum of two distinct squares in only one way? There may be no such largest integer, but given that the probability that an integer n n can be expressed as a sum of two squares in more than one way increases as n n increases I thought this was a reasonable question to ask.

Brian Charlesworth - 6 years ago

Log in to reply

@Brian Charlesworth " two distinct squares in only one way?"

Do you mean " two distinct positive squares in only one way?

Pi Han Goh - 6 years ago

Log in to reply

@Pi Han Goh Yes, that was my intent. I suspect that there may be no such greatest integer, but a proof could be tricky. I'll add this question to my note on θ ( n ) . \theta(n).

Brian Charlesworth - 6 years ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...