# General Solution of Linear Diophantine Equation with 2 and more than 2 variable

We know the theorem of linear diophantine equation from Bezout's identity that the solution is in ordered pair form:

$$\left(x + m \dfrac{b}{\text{gcd}(a,b)}\,,\,y-m \dfrac{a}{\text{gcd}(a,b)}\right)$$

For all integers $$m$$

Then, what is the general integer solutions for a linear diophantine equation with 3 or more than 3 variables?

• Suggest you state what equation your pairs are a solution of. – coffeemath May 2 at 0:32
• Says $ax+by+cz=d$ – user516076 May 2 at 23:23
• Yes, but better to put that in question, say above solution. – coffeemath May 3 at 2:03
• Anyway i got the answer already. Thanks – user516076 May 3 at 22:51