Exercise · ZW-LINEAR-DIOPHANTINE-EQUATION-010 · ★★★ Advanced
What particular solution of \(21x+14y=35\) comes from \(7=21(1)+14(-1)\)?
Choose one option.
Show answer
- B. \((x,y)=(5,-5)\)
Exercise · ZW-LINEAR-DIOPHANTINE-EQUATION-010 · ★★★ Advanced
Choose one option.
Since \(\gcd(21,14)=7\) divides \(35\), multiply the identity \(7=21(1)+14(-1)\) by \(5\) to get \((5,-5)\), which satisfies \(21(5)+14(-5)=35\).
A linear Diophantine equation is \(ax+by=c\) with integer coefficients, where we seek integer pairs \(x,y\) as solutions.