a) xy + 3x - 7y = 21
=> x(y + 3) - 7y = 21
=> x(y + 3) - 7y - 21 = 21 - 21
=> x(y + 3) - 7(y + 3) = 0
=> (x - 7)(y + 3) = 0
=> Có 2 TH xảy ra :
TH1 : x - 7 = 0 => x = 7
TH2 : y + 3 = 0 => y = -3
b) xy + 3x - 2y = 11
=> x(y + 3) - 2y = 11
=> x(y + 3) - 2y - 6 = 11 - 6
=> x(y + 3) - 2(y + 3) = 5
=> (x - 2)(y + 3) = 5
Vì x,y thuộc Z => Có 4 TH xảy ra :
TH1 : x - 2 = 1 => x = 3
y + 3 = 5 => y = 2
TH2 : x - 2 = 5 => x = 7
y + 3 = 1 => y = -2
TH3 : x - 2 = -1 => x = 1
y + 3 = -5 => y = -8
TH4 : x - 2 = -5 => x = -3
y + 3 = -1 => y = -4