a 2 + b 2 + a b + 2 ( a − b ) = 9
Find the number of ordered pairs ( a , b ) of positive integers satisfying the equation above.
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.
Good observation. At first glance, it is not clear that the expression could be factorized that way.
Note: To use Latex inline with text, use \ ( … \ ) instead of \ [ … \ ] . I have edited your solution accordingly.
As a , b are positive integers we have a , b ≥ 1 .
Let X = a + b ≥ 2 and Y = a − b . The condition is equivalent to:
2 X 2 + Y 2 + 4 X 2 − Y 2 + 2 Y = 9 2 X 2 + 2 Y 2 + X 2 − Y 2 + 8 Y = 3 6 3 X 2 + Y 2 + 8 Y = 3 6 3 X 2 + Y 2 + 8 Y + 1 6 = 5 2 3 X 2 + ( Y + 4 ) 2 = 5 2
( Y + 4 ) 2 ≥ 0 ⟹ 3 X 2 ≤ 5 2 ⟹ X ≤ 4
Combining this with X ≥ 2 gives X = 2 , 3 , 4 . Checking this with the original equation gives the solutions:
( X , Y ) = ( 3 , 1 ) , ( 4 , − 2 )
a = 2 X + Y , b = 2 X − Y
( a , b ) = ( 2 , 1 ) , ( 1 , 3 )
2 Solutions
It's not immediately apparent why someone would want to make such a substitution, which makes this step seem like magic.
The goal is to get rid of the cross term, hence we use the rotation by cot 2 θ = 2 1 − 1 ⇒ θ = 4 5 ∘ , which is why we use the substitution X = a + b , Y = a − b .
Completing the square gives (a+2)^2+(b-2)^2+(a+b)^2=26. Now it's easy.
Problem Loading...
Note Loading...
Set Loading...
Lets rewrite the given expression in this way,
a 2 + b 2 + a b + 2 ( a − b ) = 4 + 4 + 1
Now, rearrangement and factorisation yields that the expression can also be written into this way, ( a + b + 4 ) ( a − 2 ) = ( 1 + b ) ( 1 − b )
From this equation, we can conclude that if b ≥ 1 ,then, a ≤ 2 . Now putting a = 1 , 2 in the factorised form we easily find that b = 3 , 1 respectively.
So, ( a , b ) = ( 2 , 1 ) , ( 1 , 3 ) are the only valid solutions and hence the answer is 2