\(\frac{1}{x}+\frac{y}{3}=\frac{1}{6}\)
=> \(\frac{1}{x}=\frac{1}{6}-\frac{y}{3}\)
=> \(\frac{1}{x}=\frac{1-2y}{3}\)
=> x(1 - 2y) = 3 = 1 . 3 = 3.1 = (-1) . (-3) = (-3) . (-1)
Lập bảng :
1 - 2y | 1 | -1 | 3 | -3 |
x | 3 | -3 | 1 | -1 |
y | 0 | 1 | -1 | 2 |
Vậy ...
\(\frac{1}{x}+\frac{y}{3}=\frac{1}{6}\)
\(\Leftrightarrow\frac{3}{3x}+\frac{xy}{3x}=\frac{1}{6}\)
\(\Leftrightarrow\frac{3+xy}{3x}=\frac{1}{6}\)
\(\Leftrightarrow6\left(3+xy\right)=3x\)
\(\Leftrightarrow2\left(3+xy\right)=x\)
\(\Leftrightarrow6+2xy=x\)
\(\Leftrightarrow6=x-2xy\)
\(\Leftrightarrow6=x\left(1-2y\right)\)
\(\Rightarrow\hept{\begin{cases}x\\1-2y\end{cases}}\inƯ\left(6\right)=\left\{\pm1;\pm2;\pm3;\pm6\right\}\)
Ta có bảng sau :
\(x\) | \(-6\) | \(-3\) | \(-2\) | \(-1\) | \(1\) | \(2\) | \(3\) | \(6\) |
\(1-2y\) | \(-1\) | \(-2\) | \(-3\) | \(-6\) | \(6\) | \(3\) | \(2\) | \(1\) |
\(y\) | \(1\) | \(\varnothing\) | \(2\) | \(\varnothing\) | \(\varnothing\) | \(-1\) | \(\varnothing\) | \(0\) |
Vậy \(x,y\in\left\{\left(-6;-1\right);\left(-3;2\right);\left(3;-1\right);\left(1;0\right)\right\}\)
@NCTK@ Em chú ý đề bài là các số nguyên dương nhé!