Posts

Let $a, ~b$ and $c$ be given integers. Then 1. If $a \mid b$, then $ a \mid b \cdot c$. 2. If $a \mid b$ and $a \mid c$, then $ a^2 \mid b \cdot c$. 3. $a \mid b$ if and only if $a \cdot c \mid b \cdot c$, where $c \not = 0$.

 Let $a, ~b$ and $c$ be given integers. Then 1. If $a \mid b$, then $ a \mid b \cdot c$. 2. If  $a \mid b$ and $a \mid c$, then $ a^2 \mid b \cdot c$. 3.  $a \mid b$ if and only if $a \cdot c \mid b \cdot c$, where $c \not = 0$.  Answer: $1.$ Suppose that $a \mid b$. Therefore there exists an integer $d$ such that $b = a \cdot d$. Multiply $b = a \cdot d$ by $c$, so we get $b \cdot c = a \cdot c \cdot d $, where $c \cdot d$ is an integer. This gives $a \mid b \cdot c$. $2.$ Suppose that $a \mid b$ and $a \mid c$. So by $3$ of Theorem , we get $ a^2 \mid b \cdot c$. $3.$ Suppose that $a \mid b$. Therefore there exists an integer $d$ such that $b = a \cdot d$. Put $b = a \cdot d$ in $b \cdot c$, where $c \not = 0$ so $b \cdot c = a \cdot d \cdot c = (a \cdot c ) \cdot d$. This gives that $a \cdot c \mid b \cdot c$. Conversely suppose that $a \cdot c \mid b \cdot c$, where $c \not = 0$. Therefore there exists an integer $d$ such that $b \cdo...

If $a \mid b$, show that $(- a ) \mid b, ~ a \mid (- b), $ and $ (- a ) \mid (- b)$.

 If $a \mid b$, show that $(- a ) \mid b, ~ a \mid (- b), $ and $ (- a ) \mid (- b)$.  Answer: Suppose that $a \mid b$. So there exists an integer $c$ such that $b = a \cdot c$.  We can write $b = a \cdot c$ as $b = (- a) \cdot (- c)$, where $(-a), ~ (-c)$ are integers. This gives $(- a ) \mid b$. Now multiply $b = a \cdot c$ by $(-1)$, we will have either $(- b) = a \cdot (- c)$, where $- c$ is an integer or $(- b) = (- a) \cdot c$, where $ c$ is an integer . This gives  $a  \mid (- b)$ or $ (- a ) \mid (- b)$. Therefore we have $(- a ) \mid b, ~ a \mid (- b), $ and $ (- a ) \mid (- b)$.

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

Prove that if $a$ and $b$ are any integers, not both them are zero, then the set $T = \{a \cdot x+ b \cdot y \;|\; x, y \in \mathbb{Z}\}$ is the set of all multiples of $d = gcd(a,b)$.

Corollary: If $a$ and $b$ are any integers, not both them are zero, then the set  $T = \{a \cdot x+ b \cdot y \;|\; x, y \in \mathbb{Z}\}$ is the set of all multiples of $d = gcd(a,b)$. Proof:  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$. Thus, every member of $T$ is a multiple of $d$. Conversely, Since $d = gcd(a,b)$,With the help of   Theorem , there exist integers $x'$ and $y'$ such that $gcd(a, b) =a \cdot x'+ b \cdot y'$. So that any multiple $n \cdot d$ of $d$ is of the form $n \cdot d = n~(a \cdot x' + b \cdot y') = a~(n \cdot x') + b~(n \cdot y')$. Hence, $n\cdot d$ is a linear combination of $a$ and $b$, and hence lies in $T$.

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

Definition of divisibility and Theorem on divisibility

  Definition: An integer $b$ is said to be divisible by an integer $a \not = 0$, if there exists some integer $c$ such that $ b = a \cdot c$. An integer $b$ is  divisible by an integer $a \not = 0$, is denoted by $a ~|~ b$.  We write $a \nmid b$ to indicate that $b$  is not divisible by $a$. Theorem: For integers $a, ~b, ~c$ the following hold: $1.$ $a ~|~ 0, ~ 1 ~|~ a, ~ a ~|~ a $. $2.$  $ a ~|~ 1 $ if and only if $a =  1$ or $a = -1$. $3.$  If $a ~|~ b$ and $c ~|~ d$, then $a \cdot c ~|~ b \cdot d$. $4.$   If $a ~|~ b$ and $b ~|~ c$, then $a ~|~ c$. $5.$  If $a ~|~ b$ and $b ~|~ a$ if and only if $a =  b$ or $a = -b$. $6.$  If $a ~|~ b$ and $b \not = 0$, then $|a| \leq |b|$. $7.$  If $a ~|~ b$ and $a ~|~ c$, then $a~ |~ (b \cdot x + c \cdot y)$ for arbitrary integers $x$ and $y$. Proof: $1.$ For any integer $a$, we can write $0 = a \cdot 0$, $a = 1 \cdot a$ and $a = a \cdot 1$. Theref...

If $a$ and $b$ are integers, with $b \not = 0$, then there exist unique integers $q$ and $r$ such that $a= b \cdot q + r$ where $0 \leq r <|b|$.

  Corollary: If $a$ and $b$ are integers, with $b \not = 0$, then there exist unique integers $q$ and  $r$ such that  $a= b \cdot q + r$ where  $0 \leq  r <|b|$. Proof: Consider the case in which $b$ is negative. So $|b| > 0$. By  Division Algorithm Theorem , there exist unique integers $q'$ and $r$ such that \linebreak $a=  |b| \cdot  q'+ r$ where  $0 \leq  r <|b|$. Note that $|b | = - b$, we can take $q = -q'$ to get $a= q \cdot b + r$,  where  $0 \leq  r <|b|$. Consider the case in which $b$ is positive. Proof follows from Division Algorithm Theorem .