Ordered Pair Solutions for a2 + 2ab + b2 = a + 4b | Non-Negative Integers

  • Thread starter Thread starter The legend
  • Start date Start date
  • Tags Tags
    Pair
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
7 replies · 3K views
The legend
Messages
420
Reaction score
0

Homework Statement


Find all ordered pair (x,y) of non negative integers satisfying
a2 + 2ab + b2 = a + 4b


Homework Equations


none


The Attempt at a Solution



(a+b)2 = a + 4b
or
a(a-1) + b(b-4) + 2ab = 0

obviously (0,0) satisfies the equation. What about the rest?
Please help!
 
Physics news on Phys.org
Think of this as [itex]a^2+ 2ab+ b^2- a- 4b= a^2+ (2b-1)a+ (b^2- 4b)= 0[/itex] and treat it as a quadratic equation in a with parameter b.

By the quadratic formula,
[tex]a= \frac{1- 2b\pm\sqrt{(2b-1)^2- 4(b^2-4b)}}{2}= \frac{1- 2b\pm\sqrt{12b+ 1}}{2}[/tex].

In order that a be a non-negative integer, it certainly must be rational which means that 12b+ 1 must be a perfect square. Writing [itex]12b+ 1= n^2[/itex] we must have [itex]12b= n^2- 1= (n- 1)(n+ 1)[/itex]. Look at values of n such that [itex]n^2- 1[/itex] is a multiple of 12.
 
oh! thanks ... i got the answer solving! :smile:
Thanks again:approve:
 
You can also try this:
If we consider the left side as being (a+b)2 then we know that any quadratic grows faster than a linear equation, a+4b so we can try and find at which point the quadratic will beat the linear equation and thus test all solutions under that certain point.

Since on the right hand side, 4b is greater than a (for the same integer values) any values other than a=0 would make the quadratic grow faster than the linear equation's fastest possible growth, so we just need to consider a=0.

So, b2=4b, is what we have reduced it to.
Now we have to find where (b+1)2>4(b+1)

b2+2b+1>4b+4
b2-2b-3>0
(b+1)(b-3)>0
thus b>3

Which means that b=4 would be the highest possible value that we should check. Thus from this point on we just check the solutions (a,b) up to a+b=4.

Now I might have broken some rules here, because I was just going off my intuition so yeah please correct me if I'm wrong or have made a false assumption anywhere.
 
ok...:confused:
but wasn't the assumption made on a=0?
 
Not in that way, I was assuming a=0 to find the maximum possible value of the linear equation a+4b, compared to the quadratic (a+b)2. For b=4 this is the maximum since using any other values for a in a+b=4 will yield a lower number in the linear equation a+4b.

Yeah.. just trying to get my thoughts into writing here...
 
Right!
Now i get it!
:smile:Thanks a lot!:smile: