\(3xy+y=4-x\\ \Leftrightarrow y\left(3x+1\right)+x=4\\ \Leftrightarrow3y\left(3x+1\right)+\left(3x+1\right)=13\\ \Leftrightarrow\left(3y+1\right)\left(3x+1\right)=13\)
Vì \(x,y\in Z\Rightarrow\left\{{}\begin{matrix}3x+1,3y+1\in Z\\3x+1,3y+1\inƯ\left(13\right)\end{matrix}\right.\)
Ta có bảng:
3x+1 | -13 | -1 | 1 | 13 |
3y+1 | -1 | -13 | 13 | 1 |
x | \(-\dfrac{14}{3}\left(ktm\right)\) | \(-\dfrac{2}{3}\left(ktm\right)\) | 0 | 4 |
y | \(-\dfrac{2}{3}\left(ktm\right)\) | \(-\dfrac{14}{3}\left(ktm\right)\) | 4 | 0 |
Vậy \(\left(x,y\right)\in\left\{\left(0;4\right);\left(4;0\right)\right\}\)
⇔3(3xy+y)=3(4−x)⇔3(3xy+y)=3(4-x)
⇔9xy+3y=12−3x⇔9xy+3y=12-3x
⇔9xy+3y+3x=12⇔9xy+3y+3x=12
⇔9xy+3y+(3x+1)=12+1=13⇔9xy+3y+(3x+1)=12+1=13
⇔3y.(3x+1)+(3x+1)=13⇔3y.(3x+1)+(3x+1)=13
⇔(3x+1)(3y+1)=13⇔(3x+1)(3y+1)=13
→→ (3x+1)(3x+1) và (3y+1)∈Ư(13)(3y+1)∈Ư(13)
Xét từng cặp ta dc :
+)+) x = 0 ; y=4
+)+) x = -2/3 , y = -14/3
+)+) x = 4 ; y = 0
+)+) x=−143x=-143 ; y = -2/3
Mà x;y∈Zx;y∈Z
⇒⇒ ( x ; y ) = ( 4 ; 0 ) ; ( 0 ; 4 )