Posts

Showing posts with the label Well Ordering Principle

Define Greatest Common Divisor and Prove that if $a$ and $b$ are any integers, not both of them are zero. Then there exist integers $x$ and $y$ such that $gcd(a, b) =a \cdot x + b \cdot y$.

Image
Definition: Let $a$ and $b$ be any integers, with at least one of them is not zero. The greatest common divisor of $a$ and $b$, denoted by $gcd(a, b)$, is the positive integer $d$ satisfying the following: $1.$  $d ~|~ a$ and $d ~|~ b$. $2.$ If $c ~|~ a$ and $c ~|~ b$, then $c \leq d$. Theorem:  If $a$ and $b$ are any integers, not both of them are zero. Then there exist integers $x$ and $y$ such that $gcd(a, b) =a \cdot x + b \cdot y$. Proof:   Let  $a$ and $b$ be any integers, not both of them are zero. Consider the set $S = \{a \cdot u + b \cdot  v \;|\; a \cdot  u + b \cdot  v > 0$ and $ u, v \in \mathbb{Z}\}$, that is  $S$ is the set of all positive linear combinations of $a$ and $b$. Firstly, we will show  that $S$ is nonempty set. We have taken integers $a$ and $b$ such that not both of them are zero. Without loss of generality, suppose that $a \not = 0$. Then the integer $|a| = a \cdot u + b \cdot 0 \in S$ for the v...

Well-Ordering Principle

Image
 Let  $ \mathbb{Z}$ denotes set of all integers, that is, $\mathbb{Z} = \{\dots,~ -4,~-3,~-2,~-1,~0,~1,~2,~3,~4,~ \cdots\}$ and $\mathbb{Z}^{+}$ denotes set of all nonnegative integers, that is, $\mathbb{Z}^{+} = \{0,~1,~2,~3,~4,~ \cdots\}$.    Well-Ordering Principle : Every nonempty set $S$ of a nonnegative integers contains a least element; that is, there exists integer $a \in S$ such that $a \leq b$ for all $b \in S$. If we take set $S = \{8,~ 5, ~90, ~3, ~29, ~57\}$. One can observe that $S$ is nonempty and $S \subseteq \mathbb{Z}^{+}$ and $3 \in S$ such that $3$ is less than or equal to all other elements of $S$. So that $3$ is the least element of $S$.