To find the values of a and b, four cases are considered.
Case 1: Both a and b are positive.
Example: a = 2 and b = 3.
Case 2: Both a and b are negative
Example: a = – 2 and b = – 3
Case 3:a is positive,b is negative.
Example: a = 2 and b = – 3
Case 4:ais negative and b is positive.
Example: a = – 2 and b = 3
Since the equation is satisfied in cases 1 and 2, it can be concluded that the values of a and b will have the same sign