# Thread: number of pair of integers (x,y) satisying an equation

1. ## number of pair of integers (x,y) satisying an equation

The equation is
$\displaystyle x^2-4xy+5y^2+2y-4=0$

What is the total number of pair of integers (x,y) that satisfy the above equation?

How do I solve it?

2. $\displaystyle (x^2-4xy+4y^2)+(y^2+2y+1)-5=0\Rightarrow(x-2y)^2+(y+1)^2=5$

But $\displaystyle 5=1+4=4+1$

Can you continue?

3. Do I have to test pairs like (2,0), (0,2), (6,2), etc. or there is some other methods?

4. $\displaystyle \left\{\begin{array}{ll}(x-2y)^2=1\\(y+1)^2=4\end{array}\right.$

From here you have to solve four systems:

$\displaystyle \left\{\begin{array}{ll}x-2y=1\\y+1=2\end{array}\right., \ \left\{\begin{array}{ll}x-2y=-1\\y+1=2\end{array}\right., \ \left\{\begin{array}{ll}x-2y=1\\y+1=-2\end{array}\right., \ \left\{\begin{array}{ll}x-2y=-1\\y+1=-2\end{array}\right.$

and to keep the integer solutions.

Similarly for $\displaystyle \left\{\begin{array}{ll}(x-2y)^2=4\\(y+1)^2=1\end{array}\right.$

#### Search Tags

equation, integers, number, pair, satisying 