One equation, two variables

How many ordered integer pairs ( a , b ) (a,b) satisfy the equation below?

2 a 2 + b 2 2 a b = 1 2a^{2}+b^{2}-2ab=1

5 1 4 3 2

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.

3 solutions

Chew-Seong Cheong
Oct 13, 2020

From the given equation:

2 a 2 + b 2 2 a b = 1 a 2 + a 2 2 a b + b 2 = 1 a 2 + ( a b ) 2 = 1 \begin{aligned} 2a^2+b^2-2ab & = 1 \\ a^2 + a^2 - 2ab + b^2 & = 1 \\ a^2 + (a-b)^2 & = 1 \end{aligned}

SInce both a 2 a^2 and ( a b ) 2 (a-b)^2 are 0 \ge 0 , there is a solution only when either a 2 = 1 a^2 = 1 and ( a b ) 2 = 0 (a-b)^2=0 or a 2 = 0 a^2=0 and ( a b ) 2 = 1 (a-b)^2=1 .

When { a 2 = 1 a = { + 1 ( a b ) 2 = 0 b = 1 ( a , b ) = ( 1 , 1 ) 1 ( a b ) 2 = 0 b = 1 ( a , b ) = ( 1 , 1 ) a 2 = 0 a = 0 ( a b ) 2 = 1 b = { + 1 ( a , b ) = ( 0 , 1 ) 1 ( a , b ) = ( 0 , 1 ) \begin{cases} a^2 = 1 & \implies a = \begin{cases} + 1 \implies (a-b)^2 = 0 \implies b=1 \implies (a,b) = (1,1) \\ -1 \implies (a-b)^2 = 0 \implies b=-1 \implies (a,b) = (-1,-1) \end{cases} \\ a^2 = 0 & \implies a = 0 \implies (a-b)^2 = 1 \implies b = \begin{cases} + 1 & \implies (a,b) = (0, 1) \\ -1 & \implies (a,b) =(0,-1) \end{cases} \end{cases}

Therefore, there are 4 \boxed 4 solutions.

Chris Lewis
Oct 14, 2020

The two posted solutions are similar so here's an alternative.

Solving b 2 2 a b + 2 a 2 1 = 0 b^2-2ab+2a^2-1=0 we get b = a ± 1 a 2 b=a \pm \sqrt{1-a^2}

For b b to be an integer (and real), we need a = 1 a=-1 , a = 0 a=0 or a = 1 a=1 . When a = ± 1 a=\pm1 , we get one solution for b b ; when a = 0 a=0 there are two solutions, for a total of 4 \boxed{4} solution pairs ( a , b ) (a,b) .

first we rewrite the equation as:

a 2 + ( a 2 + b 2 2 a b ) = 1 a^{2}+(a^{2}+b^{2}-2ab)=1

a 2 + ( a b ) 2 = 1 a^{2}+(a-b)^{2}=1

( a b ) 2 = 1 a 2 (a-b)^{2}=1-a^{2}

but we know that ( a b ) 2 0 (a-b)^{2}\geq0 so 1 a 2 1-a^{2} has to be greater than or equal to zero then:

1 a 2 0 1-a^{2}\geq0 or a 2 1 a^{2}\leq1 and we can see that only 1 , 0 , 1 -1,0,1 satisfy this inequality.

so by substituting the values of a a we get that:

when a = 1 b = 1 a = 1 \Longrightarrow b=-1

when a = 0 b = ± 1 a=0 \Longrightarrow b=\pm1

when a = 1 b = 1 a=-1 \Longrightarrow b=-1

so we have Four ordered pairs : ( 1 , 1 ) , ( 0 , 1 ) , ( 0 , 1 ) , ( 1 , 1 ) (-1,-1) , (0,-1) , (0,1) , (1,1)

if something is wrong with my solution or the problem itself please tell me to fix it as fast as possible.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...