a, \(\left(2x+1\right)\times\left(y-5\right)=12\)
Theo đầu bài ta có : \(\left(2x+1\right)\times\left(y-5\right)\)là ước của 12 .
Ta có :
\(12=1\times12=2\times6=3\times4\)
Vì 2x + 1 lẻ \(\Rightarrow2x+1=1\) hoặc \(2x+1=3\)
+ \(2x+1=1\Rightarrow x=0\text{ };\text{ }y-5=12\Rightarrow x=0\text{ };\text{ }y=12\)
+ \(2x+1=3\Rightarrow x=1\text{ };\text{ }y-5=4\Rightarrow x=1\text{ };\text{ }y=9\)
Vậy ta có x = 0 hoặc x = 17 và y = 1 hoặc y = 9
(2x+1)(y-5)=12
=> (2x+1);(y-5) thuộc Ư(12)={1,2,3,4,6,12}
Ta có bảng :
2x+1 | 1 | 2 | 3 | 4 | 6 | 12 |
y-5 | 12 | 6 | 4 | 3 | 2 | 1 |
x | 0 | 1/2 | 1 | 3/2 | 5/2 | 11/2 |
y | 17 | 11 | 9 | 8 | 7 | 6 |
Vậy ta có 2 cặp x,y thõa mãn là (0,17);(1,9)