0

$x + 2y + 3z = 4$

$w = x + 2\times y$, then the equation becomes $w + 3z = 4$. $\gcd(1, 3) = 1 | 4$, so this two variable equation is solvable. $w = -2, y = 2$

i can't seem to pass this point

Gregory Grant
  • 14,874

1 Answers1

0

Suppose we have a Diophantine equation $ax+by=c$. If $\gcd(a,b)$ divides $c$, then this equation has solution.$w=-2, y=2$ is one. Then consider the Diophantine equation $x+2y=-2$. $\gcd(1,2)=1$, which divides $-2$ again. So you then solve this equation.

3x89g2
  • 7,542