Find all solutions $(x, y, z)$ of the system of equations
\begin{align*} x y + z &= 2019 ,\\ x − y + 2 z &= 1 , \\ x + y − 7 z &= 2 \end{align*}
in positive integers.
I am thinking of solving this system equation. The only problem I have is that I've not learned any method for solving $3 \times 3$ systems of equations. I am pretty amazed by any help!
hint
Equation $ 2 $ plus( +)equation $ 3$ gives $$2x-5z=3$$
Equation $ 3 $ minus (- )equation $ 2$ gives $$2y-9z=1$$
so $$\boxed{x=\frac{5z+3}{2}\;\;;\;\;y=\frac{9z+1}{2}}$$
what we replace in equation $ 1 $, to get
$$(5z+3)(9z+1)+4z=8076$$ or
$$45z^2+36z-8073=0$$
$$\iff 5z^2+4z-897=0$$
thus $$z=\frac{-2\pm 67}{5}$$ One solution is $$z=\frac{65}{5}=\color{red}{13}\;\;x=\frac{5z+3}{2}=\color{red}{34}$$ $$\;y=\frac{9z+1}{2}=\color{red}{59}$$
the second is $$z=\color{blue}{\frac{-69}{5}}\;\;, x=...,y=...$$