Posts

Showing posts with the label Relatively prime integers

The number $\sqrt{2}$ is an irrational.

Theorem:  The number $\sqrt{2}$ is an irrational.  Proof:   Suppose on the contrary that $\sqrt{2}$ is rational number.   Therefore there exist integers $a$ and $b$ such that $\sqrt{2} = \frac{a}{b}$ with $gcd(a, b) = 1$. By Theorem ,  there must exist integers $r$ and $s$ such that $ ar + bs = 1$. Hence $ \sqrt{2} = \sqrt{2}~ (ar + bs) = \sqrt{2} ar + \sqrt{2} bs =  2br +as $. This show that $\sqrt{2}$ is an integer, which is absurd. Therefore  The number $\sqrt{2}$ is an irrational. 

State and Prove Euclid's lemma. Prove that if $a ~|~ b \cdot c$, with $ gcd(a, b) = 1$, then $a ~|~ c$.

Image
  Lemma:   If $a ~|~ b \cdot c$, with $ gcd(a, b) = 1$, then $a ~|~ c$. Proof:  Since $gcd(a, b) = 1$, by Theorem , there exist integers $x$ and $y$ such that $a \cdot x + b \cdot y = 1$. Multiplying this equation by $c$, we get  $c = c \cdot 1 = c~(a \cdot x + b \cdot y) = a \cdot c \cdot x + b \cdot c \cdot y$. As $ a ~|~ a \cdot c$ and  $ a ~|~ b \cdot c$, by part $7.$ of Theorem , $d ~|~ (a \cdot c \cdot x + b \cdot c \cdot y)$. Therefore $d ~|~ c$.

Prove that if $a ~|~ c$ and $b ~|~ c$, with $gcd(a, b) = 1$, then $a \cdot b ~|~ c$.

Corollary:  If $a ~|~ c$ and $b ~|~ c$, with $gcd(a, b) = 1$, then $a \cdot b ~|~ c$. Proof: Suppose that $a ~|~ c$ and $b ~|~ c$. Therefore there exist integers $r$ and $s$  such that $c = a \cdot r = b \cdot s$. Since $gcd(a, b) = 1$ By Theorem , there exist integers $x$ and $y$ such that $a \cdot x + b \cdot y = 1$. Multiplying this equation by $c$, we get $c = c \cdot 1 = c~(a \cdot x + b \cdot y) = a \cdot c \cdot x + b \cdot c \cdot y$. By putting appropriate value of $c$ on the right-hand side, we get $c = a~(b \cdot s)~x + b~(a \cdot r)~y = a \cdot b~(s \cdot x + r \cdot y)$. Since $s \cdot x+r \cdot y$ is an integer, we get $a \cdot b ~|~ c$. 

Prove that if $gcd(a, b) = d$, then $gcd(\frac{a}{d}, \frac{b}{d}) = 1$.

Corollary: If $gcd(a, b) = d$, then $gcd(\frac{a}{d}, \frac{b}{d}) = 1$. Proof:  Since $d = gcd(a,b)$, we have  $d ~|~ a$ and $d ~|~ b$. Hence $\frac{a}{d},~ \frac{b}{d}$ are integers. Since $d = gcd(a,b)$, Theorem , there exist integers $x$ and $y$ such that $d = gcd(a, b) = a \cdot x+ b \cdot y$. By dividing both side of this equation by $d$, we get $1 = \frac{a}{d} \cdot x + \frac{b}{d} \cdot y$. By Theorem , $gcd(\frac{a}{d}, \frac{b}{d}) = 1$.

Definition of relatively prime integers and Theorem on relatively prime integers.

  Definition:  Two integers $a$ and $b$, not both of which are zero, are said to be relatively prime integers   if and only if $gcd(a, b) = 1$.   Theorem:  If $a$ and $b$ are any integers, not both them are zero, then $a$ and $b$ are relatively prime integers if and only if there exist integers $x$ and $y$ such that $a \cdot x +  b \cdot y = 1$. Proof:  Suppose that $a$ and $b$ are relatively prime integers, so that $gcd(a, b) = 1$. By Theorem , there exist integers $x$ and $y$ such that $a \cdot x + b \cdot y = 1$. conversely, suppose that there exist integers $x$ and $y$ such that $a \cdot x + b \cdot y = 1$ and that $d = gcd(a, b )$. Since $d = gcd(a,b)$, we have  $d ~|~ a$ and $d ~|~ b$. By part $7.$ of Theorem ,  $d ~|~ (a  \cdot x + b \cdot y)$ for all integers $x, ~y$. So in particular  $d ~|~  (a \cdot x + b \cdot y) = 1$. Since $d$ is a positive  integer and $d ~|~ 1$,  $d$ must be equal to $1$. Therefor...