Can ax + by + cz = d have an integer solution?

  • Thread starter Thread starter ACardAttack
  • Start date Start date
ACardAttack
Messages
3
Reaction score
0
Prove that the Diophantine equation ax+by+cz+d has an integer solution if and only if the gcd(a,b,c) divides d.

Got this on my homework for my proofs class. Help would be greatly appreciated.

Thanks
 
Physics news on Phys.org
Start with a simpler equation, ax+d, and then try to add the other terms one by one.
 
Dodo said:
Start with a simpler equation, ax+d, and then try to add the other terms one by one.

I goofed...it is actually ax+by+cz=d...does that make a difference?
 
the Linear Equation Theorem says that the equation ax + by = gcd(a, b) always has a solution(s, u) in integers, and this solution can be found by the Euclidean algorithm, which we use to compute the gcd of a and b.
 
I figured it out...thanks for the help
 
ACardAttack said:
I goofed...it is actually ax+by+cz=d...does that make a difference?
Well, yes! It's an equation! ax+ by+ cz+ d isn't an equation.
 
Back
Top