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)\)

Explanation

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\).

Study Elementary number theory in ZWMath →

Review the concept: Linear Diophantine equation

A linear Diophantine equation is \(ax+by=c\) with integer coefficients, where we seek integer pairs \(x,y\) as solutions.

\[x=x_0+\frac{b}{d}t,\quad y=y_0-\frac{a}{d}t,\quad t\in\mathbb{Z}\]

More practice problems: linear diophantine equation

← ZW-LINEAR-DIOPHANTINE-EQUATION-009