3.3: Solution of the Homogeneous equation ax+by = 0

An Introduction to Number Theory · LibreTexts

0%

Contents

    Text

    Size
    100%
    Theme
    Typeface
    Line length
    Spacing

    From LibreTexts, under CC BY-NC, as the source states it; its equations are written in TeX, which the PDF shows typeset. This page at LibreTexts.

    3.3: Solution of the Homogeneous equation ax+by = 0
    Proposition 3.5

    The general solution of the homogeneous equation \(r_{1}x+r_{2}y = 0\) is given by

    \[\begin{array} {ccc} {x = k \frac{r_{2}}{\gcd(r_{1}, r_{2})}}&{and}&{y = -k \frac{r_{2}}{\gcd(r_{1}, r_{2})}} \nonumber \end{array}\]

    where \(k \in \mathbb{Z}\).

    Proof

    On the one hand, by substitution the expressions for \(x\) and \(y\) into the homogeneous equation, one checks they are indeed solutions. On the other hand, \(x\) and \(y\) must satisfy

    \[\frac{r_{1}}{\gcd(r_{1}, r_{2})} x = - \frac{r_{2}}{\gcd(r_{1}, r_{2})} y \nonumber\]

    The integers \(r_{i}\) (for \(i\) in \(\{1,2\}\)) have greatest common divisor equal \(\gcd(r_{1},r_{2})\) to \(1\). Thus Euclid’s lemma applies and therefore \(\frac{r_{1}}{\gcd(r_{1}, r_{2})}\) is a divisor of \(y\), while \(\frac{r_{2}}{\gcd(r_{1}, r_{2})}\) is a divisor of \(x\).

    A different proof of this lemma goes as follows. The set of all solution in \(\mathbb{R}^{2}\) of \(r_{1}x+r_{2}y = 0\) is given by the line \(l(\xi) = \begin{pmatrix} {r_{2}}\\ {-r_{1}} \end{pmatrix} \xi\). To obtain all its lattice points (i.e., points that are also in \(\mathbb{Z}^2\)), both \(r_{2} \xi\) and \(-r_{1} \xi\) must be integers. The smallest positive number \(\xi\) for which this is possible, is

    \[\xi = \frac{1}{\gcd(r_{1}, r_{2})} \nonumber\]

    Here is another homogeneous problem that we will run into. First we need a small update of Definition 1.2.

    Definition 3.6

    Let \(\{b_{i}\}^{n}_{i=1}\) be non-zero integers. Their greatest common divisor, \(\mbox{lcm} (b_{1}, \cdots, b_{n})\), is the maximum of the numbers that are divisors of every \(b_{i}\); their least common multiple, \(\gcd(b_{1}, \cdots, b_{n})\), is the least of the positive numbers that are multiples of of every \(b_{i}\).

    Surprisingly, for this more general definition, the generalization of Corollary 2.15 is false. For an example, see exercise 2.6.

    Corollary 3.7

    Let \(\{b_{i}\}^{n}_{i=1}\) be non-zero integers and denote \(B = \mbox{lcm} (b_{1}, \cdots b_{n})\). The general solution of the homogeneous system of equations \(x = _{b_{i}} 0\) is given by

    \[x =_{B} 0 \nonumber\]

    Proof

    From the definition of \(\mbox{lcm} (b_{1}, \cdots, b_{n})\), every such \(x\) is a solution. On the other hand, if \(x \ne _{B} 0\), then there is an \(i\) such that \(x\) is not not a multiple of \(b_{i}\), and therefore such an \(x\) is not a solution.


    This page titled 3.3: Solution of the Homogeneous equation ax+by = 0 was last modified on Tue, 01 Sep 2026 03:35:45 GMT and is shared under a CC BY-NC license and was authored, remixed, and/or curated by J. J. P. Veerman (PDXOpen: Open Educational Resources) via source content that was edited to the style and standards of the LibreTexts platform.