Alg Abra Aaaaaaa
Alg Abra Aaaaaaa
Alg Abra Aaaaaaa
Chapter one
Mathematical logic
Introduction to logic
Logic is the analysis and assessment of arguments. In other word it is about
reasoning the arguments going from premises to a conclusion. The arguments are the
composed from different compound statement which is formulated using the word so-
called connective such as and, or, if…, then…., and if and only if, and a word not.
Further, the formulated composite sentence and statement are examined under the
various topics such as statement calculus such as truth table, validity, rule of inference,
and arithmetic formula and predicate calculus such as symbolizing everyday language,
formulation and consequence. Thus, we will try to clarify reasoning and separate good
from bad reasoning (which is called the validity of argument) with aid of logic. As a result,
logic is relevant game with funny symbols, but as a useful tool to clarify and evaluate our
reasoning.
Moreover, it is important because, reasoning is important. While you’ve been
reasoning about things all your life, this may be the first time that you try to understand
reasoning and become better at it. Reasoning and general analytical skills are important in
law, politics, journalism, education, medicine, business, science, mathematics, computer
science, and most other areas.
This chapter devoted with detail presentation, examples, activities and exercises.
Hence student can have better understanding logic (so they better support their
conclusions).
Finally, logic can be fun. Doing logic is like playing a game or doing puzzles; logic
will challenge your thinking processes in new ways. The rigor of logical systems will
likely fascinate you. Most people find logic enjoyable.
Objectives:
At the end of this chapter you will able to:
understand the statement calculus,
identify the importance of sentential connectives,
apply rules of inferences,
prove the validity of the arguments,
As stated in this definition the fundamental property of any propositional logic is that it is
either true or false (and it cannot be both true and false).we say that a propositional logic
has truth value T if it is true and truth value F if it is false. The sentences we come across
in our everyday language are not always declarative sentences. There are also sentences
such as questions, commands, suggestions, proposals or exclamations. However,
mathematics deals only with declarative sentences.
Example .consider the following sentences:
a) 2 is a prime number. c) Wonderful!
b) What is your name? d) A triangle has four sides.
It is clear that a and d are propositional logic with truth value T and F respectively. On the
other hand, the remaining sentences are not propositional logic because they cannot
classify as being either true or false.
Definition 1.1.2 An Open-proposition is a sentence which contains one or more variables
or pronouns and which becomes a statement when each of its variables or
pronouns is replaced by a specific value or an individual.
Example Consider the following sentences:
a) X is a multiple of 10. C) He is a student.
b) 2x+1=10. d) 2x+1>3
Each of these sentences is an Open-proposition. They are, as they stand now, neither
true nor false. Their truth value depends on the values or individuals which are used to
replace the variables or the pronouns.
⋀ for and,
⋁ for or,
→ for if . . . , then . . . ,
↔ for "𝒊𝒇 𝒂𝒏𝒅 𝒐𝒏𝒍𝒚 𝒊𝒇. "
Solution: The antecedent part P ⋁ Q has truth value T and the consequent part R ↔ S
has truth value T. Thus in conditional statement if both antecedent and consequent have the
truth value true (T), the conditional statement has truth value T. In other way the truth
value of composite statement studied by putting successive step’s on successive lines:
If (⌐p⋁𝑟)⋁ (⌐r→ q) has a truth value F, then what is the truth value of
[r ⋁(⌐p⋁q)] ↔[(⌐q→ (r⋀⌐p)].
Solution: (⌐p⋁𝑟) ⋁ (⌐r→ q) ≡ F only if (⌐p⋁𝑟) ≡F≡ (⌐ r→ q).
(⌐p⋁𝑟) ≡F only if ⌐p≡F≡r and (⌐ r→ q) ≡ F only if ⌐ r≡T and q ≡F
⌐p≡F only if p≡T, r≡F and ⌐r≡T only if r≡F, q≡F.
∴ [r ⋁(⌐p⋁q)] ↔[(⌐q→ (r⋀⌐p)]
[F⋁(F⋁F)] ↔[(T→ (F⋀F)]
[F ⋁ F] ↔[T→F]
F↔F
T
Verify the truth value of composite statement
(P ⋁ C ) ⋀( C → I)
The lines 2,3,4,and 6 are show that the composite statements has truth value true and
line1,5,7,and 8 are show that the composite statement has truth value false.
Example: construct the truth table for the compound (𝑝⋀ 𝑞)→(𝑞 ⋁𝑝).As before,we write
in the first two columns the four possible pairs of truth values for the statements p and q.
P q 𝑞 𝑝⋀ 𝑞 𝑞 ⋁𝑝 (𝑝⋀ 𝑞)→(𝑞 ⋁𝑝)
T T F T T T
T F T T T T
F T F F T T
F F T F F T
Observe that the last column in above table has only T’s.In other words,the given
statement (𝑝⋀ 𝑞)→(𝑞 ⋁𝑝) is true in every case.When this occurs,the statement is called
a tautology. A tautology is a compound (composite) statement which is true for all possible
truth values of its components. On the other hand, a compound statement that is false for
all possible truth values of its components is called a contradiction. For example
(p→ 𝑞) ⋀(𝑞 → 𝑟)] ⋀ (𝑝 → 𝑟) is contradiction.
Activities
1. Suppose that the statements P, Q, R, and S are assigned the truth values T, F, F, and T,
respectively. Find the truth value of each of the following statements.
(a). (𝑃⋁𝑄)⋁𝑅. (c) 𝑃⋁𝑅 ↔ 𝑅⋀ 𝑆.
(b). 𝑃⋁(𝑄⋁𝑅). (d) 𝑆 ↔ 𝑃 → ( 𝑃⋁𝑆).
3. (a) Suppose the value of 𝑃 → 𝑄, is T; what can be said about the value of 𝑃⋀𝑄 ↔
𝑃⋁𝑄
(b). Suppose the value of P↔Q is T; what can be said about the values of
𝑃 ↔ 𝑄 and 𝑃 ↔ 𝑄?
(c) Suppose the value of 𝑃 ↔ 𝑄 𝑖𝑠 𝐹 ; what can be said about the values of
𝑃 ↔ 𝑄 𝑎𝑛𝑑 𝑃 ↔ 𝑄?
Predicate logic
logical predicates
A logical predicate is a property that can be attributed to individuals. For instance of
ꞌꞌblackꞌꞌ can be attributed to individuals like human beings,cars,tables,etc.Another predicate
that can be attributed to numbers is ꞌꞌgreater than 7ꞌꞌ.in ordinary language, given a predicate
there is more or less a determined class of individuals to which it applies. For instance, let
us consider the following thee propositions which use the predicate ꞌꞌgreater than 7ꞌꞌ.
1. 10 is ꞌꞌgreater than 7ꞌꞌ. (True)
2. 3 is ꞌꞌgreater than 7ꞌꞌ. (False)
3. Africa is ꞌꞌgreater than 7ꞌꞌ. (False)
More Examples
1. England is ꞌꞌa town in Angolaꞌꞌ.
2. 2 is ꞌꞌa square root of 4ꞌꞌ.
3. Addis Ababa is ꞌꞌa whole numberꞌꞌ.
Open propositions
Definition 1.1.8 An open proposition is a sentence which contains one or more variables
and which becomes a proposition when each of its variables is replaced
by a particular individual.
Remark: if in an open proposition, the collection of objects from which we choose
replacements for the variables is specified, then this collection of objects is called the
universal set and is dented by ꞌꞌ⋃ꞌꞌ.
Example
Examples
If the prime components in a formula 𝐴 are 𝑃1 , 𝑃2 , … , 𝑃𝑛 then the definition of the truth
value of 𝐴 in terms of truth values of 𝑃1 , 𝑃2 , … , 𝑃𝑛 can be exhibited in a truth table, as
described earlier. There are 2n rows in such a table, each row exhibiting one possible
assignment of T's and F's to 𝑃1 , 𝑃2 , … , 𝑃𝑛 .
Remark: - The out-fix notation ⋀(𝑝, 𝑞) is the other form notation of (𝑝 ⋀ 𝑞).
The statement calculus is concerned with the truth values of composite formulas
in terms of truth-value assignments to the prime components and the interrelations of the
truth values of composite formulas having some prime components in common.
Definition 1.2.1 A formula whose value is T, for all possible assignments of truth values
to its prime components called valid and denoted by ⊨ 𝐴 for
"𝑨 𝒊𝒔 𝒗𝒂𝒍𝒊𝒅" ;otherwise it is invalid.
Note: The most mechanical method of proving the validity of a given formula is a truth
table and If a formula 𝐴 is not valid its truth value is determined by using truth table.
- Let 𝑃1 , 𝑃2 , … , 𝑃𝑛 be prime components in 𝐴. 𝐴 is said to be tautology iff for each of the 2n
assignments of T's and F's to 𝑃1 , 𝑃2 , … , 𝑃𝑛 is T.
Example 𝑝 → 𝑝 and 𝑃 ⋀(𝑝 → 𝑄) → 𝑄 are tautologies, whereas 𝑃 → (𝑄 → 𝑅) is not.
These conclusions are based on an examination of Tables I, II, and III, below.
The computation and examination of its truth table is may be tedious. So, to overcome this,
we develop the rule to verify Tautology.
Theorem 1.2.1 (Substitution rule) Let B be a formula and let B* be the formula resulting
from B by the substitution of a formula A for all occurrences of a prime
component P contained in B. if ⊨B, then ⊨B*.
Proof: For an assignment of values to the prime components of 𝑩 ∗ there results a value
𝒗(𝑨) of 𝑨 and a value 𝒗(𝑩 ∗) of 𝑩 ∗. Now 𝒗(𝑩 ∗) = 𝒗(𝑩) the value of 𝑩 for a particular
assignment of values to its prime components, including the assignment of 𝒗(𝑨) to P. If B
is valid, then 𝒗(𝑩) and hence 𝒗(𝑩 ∗) is always T. That is, if 𝑩 is valid, then so is 𝑩 ∗ ∎
Examples
From below Table IV it follows that ⊨ 𝑃⋁𝑄 ⟷ 𝑄𝑉𝑃. Hence, by Theorem 1.1 ⊨(R→S)
⋁Q ⟷Q⋁(R→S). We can verify a result by Table V.
Activities
1. Verify using truth table that the following are valid or not.
a) 𝑃 → 𝑄, (𝑄 ⋁𝑅) ⊨ 𝑄
b) 𝑃⋁𝑄, 𝑅 ⟶ 𝑄 ⊨ 𝑃 → 𝑅.
2. Show that 𝑃, 𝑃 𝑄 ⊨ 𝑄 is valid.
Theorem 1.2.8
𝐴 ⊨ 𝐵 𝑖𝑓𝑓 ⊨ 𝐴 → 𝐵.
𝐴1 , 𝐴2 , … , 𝐴𝑚 ⊨ 𝐵 iff 𝐴1 ⋀𝐴2 ⋀ … ⋀ 𝐴𝑚 ⊨ 𝐵 or, if ⊨ 𝐴1 ⋀𝐴2 ⋀ … ⋀ 𝐴𝑚 → 𝐵 (m> 2).
Proof: (⟹) For (I), let 𝐴 ⊨ 𝐵. By the table for →, 𝐴 → 𝐵 receives the value F if A
receives the value T, and, simultaneously, B receives the value F. From the hypothesis, this
combination of values does not occur. Hence 𝐴 → 𝐵 always receives the value T, that is,
⊨ 𝐴 → 𝐵.
( ⟸ ) Let ⊨ 𝐴 → 𝐵, and consider an assignment of values to the prime
components such that A receives the value T. Since 𝐴 → 𝐵 receives the value T, it follows
from the table for→ that 𝐵 takes the value T, whence, 𝐴 ⊨ 𝐵
The first assertion in (II) follows from the table for A, and the second follows from the first
by an application of (I).
Corollary 1.2.9 A1,A2,… ,Am-1,Am ⊨ B iff A1,A2,… ,Am-1 ⊨ Am→ B.
More generally, A1,A2,… ,Am-1,Am ⊨ B iff ⊨ A1 →(A2→ (…(Am→B)…)).
Disproof by contradiction
If we have tried unsuccessfully to prove a conjectured theorem, we may well spend some
time trying to disprove it. One of the usual methods of disproof is to assume that the
theorem is true and then to derive consequences from this. If we succeed in arriving at a
consequence which contradicts a known true theorem, we have shown that the conjectured
theorem is false. This process is similar to the method of proof by contradiction.
Disproof by Counter-example
When we are considering a conjecture of the form (∀𝑥)𝑃(𝑥), we may also consider its
negation (∃𝑥)(⌝𝑝(𝑥)). It may be possible to find a specific individual ‘A’ so that ⌝𝑃(𝐴)
is true. If so we have shown that the negation of our conjecture is true and hence that the
conjecture is false.
Definition 2.1.10: The absolute complement or, simply, complement of a set A, denoted by
𝐴̅ ,is the set of elements which do not belong to A, written as 𝐴̅ = {𝑥│𝑥 ∈ 𝑈, 𝑥 ∉ 𝐴}.
In other words, 𝐴̅ is the difference of the universal set U and A.
For example, Let A={ 1,3,6,7,8}, B={4,6} and U={1,2,3,4,5,6,7,8} then 𝐴̅ is{2,4,5}
A B A B
A
𝐵̅
A BA L
FG
Figure 4 Figure 5 Figure 6
Let as investigate the question of whether it is possible to find three subsets
𝐴, 𝐵, 𝑎𝑛𝑑 𝐶 𝑜𝑓 𝑈 such that 𝐶 ≠ ∅, 𝐴⋂𝐵 ≠ ∅ , 𝐴⋂𝐶 = ∅, (𝐴⋂𝐵) − 𝐶 = ∅.
The second condition implies that A and B intersect and, therefore, neither is empty. From
Example the fourth condition amounts to 𝐴⋂𝐵 ⊆ 𝐶, from which it follows that the first
is superfluous. The associated Venn diagram indicates that 𝐴 𝑎𝑛𝑑 𝐶 intersect; that is, the
validity of the second and fourth conditions contradicts the third. Hence, there do not exist
sets satisfying all the conditions simultaneously.
Given that F, G, and L are subsets of U such that
𝐹 ⊆ 𝐺, 𝐺⋂𝐿 ⊆ 𝐹, 𝐿⋂𝐹 = ∅.
Is it possible to simplify this set of conditions? The Venn diagram (Figure 6) represents
only the first and third conditions. The second condition forces L and G to be disjoint, that
is, 𝐺⋂𝐿 = ∅ . On the other hand, if F ⊆ G and 𝐺⋂𝐿 = ∅, then all given conditions hold.
Thus 𝐹 ⊆ 𝐺 and , 𝐺⋂𝐿 = ∅ constitute a simplification of the given conditions.
Activities
(Note: Venn diagrams are not to be used in Exercises 1-5)
1. Prove that for all sets 𝐴 𝑎𝑛𝑑 𝐵, ∅ 𝐴⋂𝐵 ⊆ 𝐴 ∪ 𝐵.
2. Let I be the universal set, and let
A = {𝑥 ∈ ℤ│ for some positive integer y, x = 2y},
B = { 𝑥 ∈ ℤ│ for some positive integer y, x = 2y – 1},
C = { 𝑥 ∈ ℤ│ x < 10}.
Domain of R ={𝑥| x, y ∈ ℛ }
Range of R ={𝑦| x, y ∈ ℛ }
observe that R and R-1 are identical,respectively,to the relations < and > in X, i.e.,
x, y ∈ ℛ iff x<y and x, y ∈ R-1 iff x>y
Note.
If ℛ is a relation, then 𝑥 is ℛ -related to y iff 𝑥 ℛ𝑦.
In general, a binary relation is an n-ary relation as a set of ordered n-tuples. The case
𝑛 = 2 we shall say "binary relation." Similarly, in place of 3-ary relation we shall say
ternary relation.
Examples
{(2, 4), (7, 3), (3, 3), (2, 1)} is a set of ordered pairs which is binary relation.
If 𝝁 symbolizes the relation of motherhood, then (selam, Henok) ∈µ means that selam is
the mother of Henok.
Human parenthood is an example of a ternary relation. If it is symbolized by 𝜌, then
(Elizabeth, Thomas, Solomon) ∈ 𝜌 indicates that Elizabeth and Thomas are the parents of
Solomon. Addition in ℤ is another ternary relation; writing "5 = 2 + 3" may be asserting
that (2, 3, 5) ∈ +.
Cartesian products
𝑋 × 𝑌 = { x, y │𝑥 ∈ 𝑋 𝑎𝑛𝑑 𝑦 ∈ 𝑌}
Note. If a relation is relation in ℝ, that is, ℝ × ℝ, then the set of points corresponding to
the members of a relation is called the graph of the relation. For instance,
y y
y
x
x
x
2n if n 0
f(n)= 1 if n 0
1 2n if n 0
f is a one-to-one correspondence(bijective) and Z is countable.
1 2 3 4 5
ii) Let Q1={ , , , , ,... }
2 2 2 2 2
1 2 3 4 5
Q2 = { , , , , ,... }
3 3 3 3 3
1 2 3 4 5
Q3 = { , , , , ,... }
4 4 4 4 4
1 2 3 4 5
Qn={ , , , , ,... }
n 1 n 2 n 3 n 4 n 5
Observe that Q= Qi each Qi is countable.
Activities
1. prove the following
The set (0, 1) is uncountable.
The set R is uncountable.
iii. The set I is uncountable.
iv. The set Q+ and Q- is countable.
Cardinal arithmetic
Proposition 2.4.5. Suppose that 𝑎, 𝑏, 𝑐 are cardinals.
𝑎 + (𝑏 + 𝑐) = (𝑎 + 𝑏) + 𝑐.
𝑎 + 𝑏 = 𝑏 + 𝑎.
𝑎 + 0 = 𝑎.
𝑎 ≥ 𝑏 ⇔ (∃𝑑)(𝑎 = 𝑏 + 𝑑).
If 𝑏 ≤ 𝑐, then 𝑎 + 𝑏 ≤ 𝑎 + 𝑐.
(𝑎𝑏)𝑐 = 𝑎(𝑏𝑐).
Review exercises
1. Try to develop a set which is a member of itself.
2. Give an example of sets 𝐴, 𝐵, 𝑎𝑛𝑑 𝐶 𝑠𝑢𝑐ℎ 𝑡ℎ𝑎𝑡 𝐴 ∈ 𝐵, 𝐵 ∈ 𝐶, 𝑎𝑛𝑑 𝐴 ∉ 𝐶.
3. Prove each of the following for sets A, B, and C.
a. 𝐼𝑓 𝐴 ⊆ 𝐵 𝑎𝑛𝑑 𝐵 ⊆ 𝐶, 𝑡ℎ𝑒𝑛 𝐴 ⊆ 𝐶.
b. 𝐼𝑓 𝐴 ⊆ 𝐵 𝑎𝑛𝑑 𝐵 ⊂ 𝐶, 𝑡ℎ𝑒𝑛 𝐴 ⊂ 𝐶.
c. 𝐼𝑓 𝐴 ⊂ 𝐵 𝑎𝑛𝑑 𝐵 ⊆ 𝐶, 𝑡ℎ𝑒𝑛 𝐴 ⊂ 𝐶.
d. 𝐼𝑓 𝐴 ⊂ 𝐵 𝑎𝑛𝑑 𝐵 ⊂ 𝐶, 𝑡ℎ𝑒𝑛 𝐴 ⊂ 𝐶.
4. Prove that for all sets A, B, and C, (𝐴⋂𝐵) ∪ 𝐶 = 𝐴⋂(𝐵 ∪ 𝐶) 𝑖𝑓𝑓 𝐶 ⊆ 𝐴.
5. Prove that for all sets A, B, and C, (𝐴 − 𝐵) − 𝐶 = (𝐴 − 𝐶) − (𝐵 − 𝐶).
6. Show that for every set 𝐴, 𝐴 + 𝐴 = ∅ 𝑎𝑛𝑑 𝐴 + ∅ = 𝐴.
7. With the aid of a Venn diagram investigate the validity of each of the following
inferences:
a. If A, B, and C are subsets of U such that A ⋂B ⊆ 𝐶̅ and A ∪ C ⊆ B, then A⋂C= ∅.
b. If A, B, and C are subsets of U such that A ⊆ ̅̅̅̅̅̅̅
𝐵 ∪ 𝐶 and B ⊆ ̅̅̅̅̅̅̅
𝐴 ∪ 𝐶 , then B = ∅.
8. Prove that if A, B, and C are sets such that 𝐴 ≠ ∅ , 𝐵 ≠ ∅, and
(𝐴 × 𝐵) ⋃(𝐵 × 𝐴) = 𝐶 × 𝐶,then 𝐴 = 𝐵 = 𝐶.
9. Show that 𝐴 is finite iff there exists a function 𝑓 on 𝐴 such that the only 𝑓 –closed
subsets of 𝐴 are Ø and 𝐴 itself.
10. Show that if 𝐴 is finite then ℘(𝐴) is finite.
11. Find the cardinalities of the following sets:
a. The set of subsets of ℕ with more than one element.
b. The set of infinite subsets of ℕ.
Summary
A Set is a collection or group of objects or elements or members(cantor 1895).
If the object 𝑥 is a member of set A it is denoted by 𝑥 ∈ 𝐴 and if not it is write by 𝑥 ∉A.
Let 𝐴 𝑎𝑛𝑑 𝐵 be are sets, then 𝐴 𝑠𝑢𝑏𝑠𝑒𝑡 𝑜𝑓 𝐵 , denoted by𝐴 ⊆ 𝐵 , iff each member of
𝐴 𝑖𝑠 𝑎 𝑚𝑒𝑚𝑏𝑒𝑟 𝑜𝑓 𝐵and also denoted by 𝐵 ⊇ 𝐴,which is B includes A.
The set A is properly subset of B, symbolized by 𝐴 ⊂ 𝐵 iff 𝐴 ⊆ 𝐵 but 𝐴 ≠ 𝐵.
The empty or the null set ∅ is the set having no elements.
The empty set ∅ is a subset of every set and also the set 𝐴 ≠ ∅ has at least two distinct
subsets, 𝐴 𝑎𝑛𝑑 ∅.
The set ℘(A) = {B│B ⊆ A} is called power set of set A and has 2𝑛 members if 𝐴 has
𝒏 members.
𝐴 ⋃ 𝐵 = {𝑥| 𝑥 ∈ 𝐴 𝑜𝑟 𝑥 ∈ 𝐵} is the union of set A and B.
𝐴 𝐵 = {𝑥| 𝑥 ∈ 𝐴 𝑎𝑛𝑑 𝑥 ∈ 𝐵} is the intersection of set A and B.
Two sets A and B will be called disjoint or non-intersecting if they have no element in
common, that is, if 𝐴⋂𝐵 = ∅ .
The symmetric difference of sets A and B, symbolized by A + B (some books use a
symbol 𝐴∆B), is defined as: 𝐴 + 𝐵 = (𝐴 − 𝐵) ⋃(𝐵 − 𝐴).
A relation is used in connection with pairs of objects considered in a definite order.
An object joined together with defined order is called ordered pair.
Cartesian product is a set of all pairs (𝑥, 𝑦), such that 𝑥 ∈ 𝑋 𝑎𝑛𝑑 𝑦 ∈ 𝑌 and denoted
by 𝑋 × 𝑌. Written as 𝑋 × 𝑌 = {(𝑥, 𝑦)│𝑥 ∈ 𝑋 𝑎𝑛𝑑 𝑦 ∈ 𝑌}.
Functions are relations between the elements of two sets.
A function f: X Y is said to be injective or one-to-one if distinct elements of X have
distinct images under f ,i.e. x1 x2 implies f(x1) f(x2).
A function f: X Y is said to be surjective or onto if Y is the range of f,i.e.to every y in
Y there exists an x in X such that y=f(x),i.e.=f(x).
A bijective function is often referred to as a one to one correspondence if it is both one-to-
one and onto function.
Can you define binary operations, Algebraic structures, groups and their
properties?
algebraic structures.
Solution: Let 𝑥, 𝑦, 𝑧 ∈ ℚ Then,
𝑥𝑦 𝑦𝑥
𝑥⨁𝑦 = = = 𝑦⨁𝑥 ( since multiplication of real numbers is commutative)
3 3
𝑦𝑥
𝑥⨁(𝑦⨁𝑧) = 𝑥⨁ ( 3 ) ( 𝑏𝑦 𝑡ℎ𝑒 𝑑𝑒𝑓𝑖𝑛𝑡𝑖𝑜𝑛 𝑜𝑓 𝑡ℎ𝑒 𝑜𝑝𝑒𝑟𝑎𝑡𝑖𝑜𝑛 ⨁ )
c. On ℝ defined 𝑎∗𝑏 =𝑏
d. On ℝ defined 𝑎 ∗ 𝑏 = ±𝑎𝑏
e. On ℕ 𝑑𝑒𝑓𝑖𝑛𝑒𝑑 𝑎 ∗ 𝑏 = 𝑎2 + 𝑏 2 − 2𝑎𝑏
3. If a set A has n members, then what is the number of binary operations on A?
4. Determine whether the following are algebraic structures and decide which of them
commutative and / or associative algebraic structures.
a. (ℝ, ∆) where 𝑥∆𝑦 = 𝑥 + 3𝑦
b. (ℝ, ∆) where 𝑥∆𝑦 = min{3, 𝑦}
𝑥𝑦
c. (ℝ, ∆) where 𝑥∆𝑦 =
√5
5. Let ℤ be the set of integers. Prove or disprove that the usual multiplication is left-
distributive over each of the following.
a. Subtraction
b. 𝑎∆𝑏 = 𝑎 + 𝑏 + 1 ∀ 𝑎, 𝑏 ∈ ℤ, 𝑎 ∗ 𝑏 = 𝑎 + 𝑏 − 𝑎𝑏 ∀ 𝑎, 𝑏 ∈ ℤ
3.2 Identity element and inverses
Definition 3.2.1
Let (𝑆, ∆) be an algebraic structure. An element 𝑒 ∈ 𝑆 is said to be
a left identity element for ∆ if and only if
𝑒∆𝑥 = 𝑥 𝑓𝑜𝑟 𝑎𝑙𝑙 𝑥 ∈ 𝑆
a right identity if and only if
𝑥∆𝑒 = 𝑥 𝑓𝑜𝑟 𝑎𝑙𝑙 𝑥 ∈ 𝑆
an identity if and only if
𝑥∆𝑒 = 𝑒∆𝑥 = 𝑥 𝑓𝑜𝑟 𝑎𝑙𝑙 𝑥 ∈ 𝑠
Here, e is an identity for ∆ if and only if e is a right and a left identity for ∆.
Examples:
(ℤ, +) is an algebraic structure with an identity 𝑒 = 0 because for all x in ℤ.
𝑤𝑒 𝑠𝑒𝑒 𝑥 + 0 = 0 + 𝑥 = 𝑥
The algebraic structure (ℝ ,∙) ( where ∙ is multiplication of real numbers) has an identity
𝑒 = 1 𝑏𝑒𝑐𝑎𝑢𝑠𝑒 𝑓𝑜𝑟 𝑎𝑙𝑙 𝑥 𝑖𝑛 ℝ , 𝑥 ∙ 1 = 1 ∙ 𝑥 = 𝑥
𝑥𝑦
Let 𝑆 = ℚ − {0} , 𝑑𝑒𝑓𝑖𝑛𝑒𝑑 𝑜𝑛 ∆ by 𝑥∆𝑦 = , ∀ 𝑥, 𝑦 ∈ 𝑆 .
5
3.3. Morphisms
Definition 3.3.1
Let (𝐸, ∆) and (𝐹,∗) be algebraic structures with one binary operation.
Let 𝑓: 𝐸 → 𝐹 be a function from E into F such that
𝑓(𝑥∆𝑦) = 𝑓(𝑥) ∗ 𝑓(𝑦) ∀ 𝑥. 𝑦 ∈ 𝐸
Then we say f is a homomorphism from (𝐸, ∆) 𝑖𝑛 𝑡𝑜 (𝐹,∗)
Definition 3.3.2
Let (𝐸, ∆, ∇) 𝑎𝑛𝑑 (𝐹,∗, ⨂) be algebraic structure with two binary operations.
Let 𝑓: 𝐸 → 𝐹. We say f is a homomorphism from (𝐸, ∆, ∇) into(𝐹,∗, ⨂) if f satisfies the
following.
𝑓(𝑥∆𝑦) = 𝑓(𝑥) ∗ 𝑓(𝑦) , ∀ 𝑥, 𝑦 ∈ 𝐸
𝑓(𝑥∇𝑦) = 𝑓(𝑥) ⊕ 𝑓(𝑦) , ∀ 𝑥, 𝑦 ∈ 𝐸
Proof: Let 𝑥 ′ , 𝑦 ′ , 𝑧 ′ ∈ 𝐹 such that 𝑓(𝑥) = 𝑥 ′ , 𝑓(𝑦) = 𝑦 ′ 𝑎𝑛𝑑 𝑓(𝑧) = 𝑧 ′ for some
𝑥, 𝑦, 𝑧 ∈ 𝐸.
(𝑥 ′ ∗ 𝑦 ′ ) ∗ 𝑧 ′ = [𝑓(𝑥) ∗ 𝑓(𝑦)] ∗ 𝑓(𝑧)
= 𝑓(𝑥∆𝑦) ∗ 𝑓(𝑧)
= 𝑓[(𝑥∆𝑦)∆𝑧]
= 𝑓[𝑥∆(𝑦∆𝑧)]
= 𝑓(𝑥) ∗ 𝑓(𝑦∆𝑧)
= 𝑓(𝑥) ∗ [𝑓(𝑦) ∗ 𝑓(𝑧)]
= 𝑥 ′ ∗ (𝑦 ′ ∗ 𝑧 ′ )
𝑥 ′ ∗ 𝑦 ′ = 𝑓(𝑥) ∗ 𝑓(𝑦)
= 𝑓(𝑥∆𝑦)
= 𝑓(𝑦∆𝑥) = 𝑓(𝑦) ∗ 𝑓(𝑥)
= 𝑦′ ∗ 𝑥′
Associativity
𝑏𝑐 𝑎𝑏
𝑏𝑐 𝑎( ) ( )𝑐
𝑎 ∗ (𝑏 ∗ 𝑐)=𝑎 ∗ ( 5 ) = 5
= 5
= (𝑎 ∗ 𝑏) ∗ 𝑐
5 5
Hence ∗ is associative in ℚ+ .
Existence of identity
Hence by (𝑖), (𝑖𝑖), (𝑖𝑖𝑖) 𝑎𝑛𝑑 (𝑖𝑣) , we conclude that (ℚ+ ,∗) is a group.
Definition 3.4.2
𝐿𝑒𝑡 (𝐺,∗) be a group . The G is called an Abelian group if and only if
𝑎 ∗ 𝑏 = 𝑏 ∗ 𝑎 𝑓𝑜𝑟 𝑎𝑙𝑙 𝑎, 𝑏 ∈ 𝐺.
In case if there exists a, b in G such 𝑎 ∗ 𝑏 ≠ 𝑏 ∗ 𝑎, then the group G is called non-abelian
group.
Example :1. (ℤ, +) is an abelian group.
Notation :
Let G be a group. Then,
The inverse of a in G is denoted by 𝑎−1 .
The element 𝑎 ∗ 𝑏 is denoted by 𝑎𝑏.
For 𝑎 ∈ 𝐺 and 𝑛 ∈ ℤ, we define
𝑎𝑎 … 𝑎 𝑖𝑓 𝑛 𝑝𝑜𝑠𝑖𝑡𝑖𝑣𝑒
𝑛 (−𝑎)(−𝑎) … (−𝑎) 𝑖𝑓 𝑛 𝑖𝑠 𝑛𝑒𝑔𝑎𝑡𝑖𝑣𝑒
𝑎 ={
𝑒 𝑖𝑓 𝑛 = 0
d. A group with a binary operation ∗ on it is usually denoted by G.
Theorem 3.4.3:
Let G be a group . Then,
Identity element of G is unique.
Remark: For each 𝑛 ∈ ℕ, we have seen that 𝑆𝑛 is non- abelian group. Therefore there are
infinitely many non-abelian groups.
Then ,
Show that (ℝ − {0}, ∆) is an abelian group
Find the identity element.
Give the inverse of 1,2,3,27,112
5. Let S be set of all polynomial with degree less than or equal to 2. We define, ∆ on S as
follows.
For 𝑓, 𝑔 𝑖𝑛 𝑆 , (𝑓∆𝑔)(𝑥) ≔ 𝑓(𝑥) + 𝑔(𝑥) for all x in the common domain of 𝑓 𝑎𝑛𝑑 𝑔.
Then ,
Show that (𝑆, ∆) is an abelian group.
6. Find the inverses of , 𝑓(𝑥) = 2𝑥 2 + 4𝑥 + 6, 𝑔(𝑥) = −𝑥 + 2 𝑎𝑛𝑑 ℎ(𝑥) = 23
7. Construct the addition table for ℤ𝑛 , where 𝑛 = 1,2,3,4,5,6,7, and find the inverses of each
of the element of ℤ𝑛 .
8. Find all the elements of 𝑆𝑛 for 𝑛 = 3,4,5,6
9. How many elements does 𝑆𝑛 for 𝑛 = 3,4,5,6
1 2 3 4 1 2 3 4
10. Let 𝛼 = ( ), 𝛽=( )
2 3 4 1 3 4 1 2
Find 𝛼𝜊𝛽, 𝛽𝜊𝛼, 𝑎𝑛𝑑 𝛼𝜊𝛽 3
Find the inverses 𝛼𝜊𝛽, 𝛽𝜊𝛼, 𝑎𝑛𝑑 𝛼𝜊𝛽 3
11. Give an addition table for ℤ5 .
12. Give a multiplication table for 𝑆3 .
13. Let G be a group containing an even numbers of elements. Show that there exists 𝑎 ∈
𝐺, 𝑎 ≠ 1, 𝑠𝑢𝑐ℎ 𝑡ℎ𝑎𝑡 𝑎 = 𝑎−1 .
14. Let G be a group and 𝑎, 𝑏 ∈ 𝐺. 𝐼𝑓 𝑎2 = 𝑏 2 = 1, 𝑃𝑟𝑜𝑣𝑒 𝑡ℎ𝑎𝑡 𝑎𝑏 = 𝑏𝑎.
15. If G is a group and ( 𝑎𝑏)−1 = 𝑎−1 𝑏−1 for all 𝑎, 𝑏 ∈ 𝐺, 𝑝𝑟𝑜𝑣𝑒 𝑡ℎ𝑎𝑡 𝐺 𝑖𝑠 𝑎𝑛 abelian group.
16. If G is a group such that (𝑎𝑏)2 = 𝑎2 𝑏 2 for every pair 𝑎, 𝑏 ∈ 𝐺. Prove that G is abelian.
Definition 3.6.7.
𝑆 6
𝑁 = {(1), (1,2,3), (1,3,2)} ≤ 𝐺3 and 𝑜 ( 3⁄𝑁) =3 = 2
Theorem 4.6.11.
Every subgroup of an abelian group is normal .
Example
Let 𝐺 = 𝑍 then (𝑍, +) is a group
Let 𝑁 = 3𝑍 = {… , −9, −6, −3,0,3,6,9, … }
𝑁 is a cyclic subgroup generated by 3. Therefore, 𝐺 is an abelian group.
Hence 𝑁 ≤ 𝐺.
Consider the group (𝑍, +) 𝑎𝑛𝑑 𝐻 = {𝑘𝑛, 𝑘 ∈ 𝑍}, since (𝑍, +) is an abelian group ,
every subgroup is normal and in particular 𝐻 is a normal subgroup of (𝑍, +)
Review exercise
1. Let (𝑋, ⨁) be an algebraic structure where ⨁ is defined on 𝑋 = [3, ∞) as follows.
For 𝑥, 𝑦 in X, 𝑥⨁𝑦 = 𝑀𝑖𝑛{𝑥, 𝑦}. Show that ⨁ has no identity element in X.
2. Let Z be the set of integers. Define “∗” on Z as follows.
For all 𝑥, 𝑦 in 𝑍, 𝑥 ∗ 𝑦 = 𝑥 + 𝑦 − 𝑥𝑦. Then,
a) Show that 0 is the identity element
b) Show that “∗” is associative .
c) Is “∗” commutative?
3. Let ⨁ defined on R by, for all 𝑥, 𝑦 ∈ 𝑅, 𝑥⨁𝑦 = 𝑥 + 𝑦 − 3
a) Show that (R, ⨁) is associative and commutative algebraic structure with identity
4. Compute 12⨁[3 ⨁ 10] and find it’s inverse
5. Consider the algebraic structure (𝑅, ⨁) where 𝑥⨁𝑦 = 𝑥 + 𝑦 + 𝑥𝑦 2 for 𝑥, 𝑦 in R.
a) Then show that (𝑅, ⨁) is a commutative algebraic structure and find the inverse of each
element (if invertible)
6. Let 𝑓: (𝑅, +) → (𝑅 + , . ) be defined by 𝑓(𝑥) = 2𝑥 . Then, show that 𝑓 is an isomorphism and
give three different isomorphisms which are different from 𝑓.
a) Prove that (𝑅 − {0}, . )𝑎𝑛𝑑 (𝑅, +) can’t be isomorphic
7. Give three isomorphism from (𝑍, +) 𝑡𝑜 (𝑘𝑍, +) where 𝑘 = 4,6,8,10.
𝑥𝑦
8. Let ⨁ be defined on R by for 𝑥, 𝑦 in R , 𝑥⨁𝑦 = . Prove that (𝑅, . ) and (𝑅, ⨁) are
√2
Definition 4.1.1.
Let R be any non-empty set with two binary operations+ 𝑎𝑛𝑑 ⋅. Then (𝑅, +,⋅) is said to be
a ring if and only if
(𝑅, +) is an abelian group
⋅ is associative in 𝑅
Solution
It is clear that (ℝ, +) is an abelian group
Associatively of " ∗ "
𝑏𝑐 𝑎𝑏𝑐 𝑎𝑏 𝑎𝑏𝑐
Let, 𝑎, 𝑏, 𝑐 ∈ ℝ. Then, 𝑎 ∗ (𝑏 ∗ 𝑐) = 𝑎 ∗ ( 3 ) = 9
and (𝑎 ∗ 𝑏) ∗ 𝑐 = ( 3 ) ∗ 𝑐 = 9
Definition 4.1.2.
Let (ℝ, +,⋅) be a ring. We say:
(ℝ, +,⋅) is a commutative ring if 𝑎 ⋅ 𝑏 = 𝑏 ⋅ 𝑎 for all 𝑎, 𝑏 ∈ ℝ.
If ∃𝑢 ∈ ℝ such that 𝑎 ⋅ 𝑢 = 𝑢 ⋅ 𝑎 = 𝑎 ∀ 𝑎 ∈ ℝ, then it is easy to show that 𝑢 is unique. 𝑢 is
called a unity element of ℝ and is often denoted by 1 and (ℝ, +,⋅) is called a ring with
unity.
(ℝ, +,⋅) is called a division ring if it is a ring with unity and for each non-zero 𝑎 ∈ ℝ, ∃
and element 𝑏 ∈ ℝ such that 𝑎 ⋅ 𝑏 = 𝑏 ⋅ 𝑎 = 1.
(ℝ, +,⋅) is called a field if it is a commutative division ring.
Example
(ℤ, +,⋅) is a commutative ring with unity.
(ℚ, +,⋅) and (ℝ, +,⋅) are fields.
(ℤ𝑛 , ⨁𝑛 , ⨀𝑛 ) is a commutative ring with unity.
(ℤ7 , ⨁7 , ⨀7 ) is a field.
(ℤ6 , ⨁6 , ⨀6 ) is not a field.
Elementary Properties of Ring
Theorem 4.1.3.
Let (ℝ, +,⋅) be a ring. Then, for all 𝑎, 𝑏, 𝑐 ∈ ℝ, we have:
𝑎 ⋅ 0 = 0 ⋅ 𝑎 = 0.
𝑎 ⋅ (−𝑏) = (−𝑎) ⋅ 𝑏 = −(𝑎𝑏).
(– 𝑎) ⋅ (−𝑏) = 𝑎𝑏.
(−1) ⋅ (𝑎) = −𝑎, if 𝑅 has unity element 1.
(−1) ⋅ (−1) = 1, if 𝑅 has unity element 1.
𝐏𝐫𝐨𝐨𝐟
Observe that 𝑎 ⋅ 0 = 𝑎 ⋅ (0 + 0) = 𝑎 ⋅ 0 + 𝑎 ⋅ 0
Therefore, 0 = 𝑎 ⋅ 0 + [−(𝑎 ⋅ 0)] = {𝑎 ⋅ 0 + 𝑎 ⋅ 0} + [−(𝑎 ⋅ 0)]
= 𝑎 ⋅ 0 + {𝑎 ⋅ 0 + [−(𝑎 ⋅ 0)]}
=𝑎⋅0+0
= 𝑎 ⋅ 0.
Observe that 0 = 𝑎 ⋅ 0 = 𝑎 ⋅ [𝑏 + (−𝑏)] = 𝑎 ⋅ 𝑏 + 𝑎 ⋅ (−𝑏).
= 𝑟𝑎 + 𝑟𝑏√2
= ℎ + 𝑘√2, 𝑤ℎ𝑒𝑟𝑒 ℎ = 𝑟𝑎 𝑎𝑛𝑑 𝑘 = 𝑟𝑏 ∈ ℝ
⟹ 𝑟𝑥 ∈ 𝑆
Similarly,𝑥𝑟 ∈ 𝑆 for all 𝑟 ∈ ℝ. Thus, S is a two sided ideal of (ℝ, +,∙)
Definition 4.3.2
Let R be a commutative ring with unity and let 𝑎 ∈ 𝑅. The ideal (𝑎) = {𝑎𝑟: 𝑎 ∈ 𝑅} is
called the principal of R generated by a.
Theorem 4.3.3
Every ideal of the ring ℤ of integers is principal.
Proof:
Let I be an ideal of ℤ .We must show that 𝐼 = (𝑎) for some 𝑎 ∈ ℤ.
𝐼𝑓 𝐼 = (0), 𝑡ℎ𝑒𝑛 𝐼 = (0) = {0. 𝑟: 𝑟 ∈ 𝑅} , hence I is principal.
The ℤ⁄𝐼 is a ring called the ring of integers modulo 6 and multiplication modulo 6.
Activity
1. List all ideals of 𝐴12 .
2. Let S be the ring of all continuous functions from R into R with the usual addition and
multiplication of functions and let 𝐼 = {𝑓 ∈ 𝑆: 𝑓(𝑛) = 0∀𝑛 ∈ 𝑁}
a) Show that I is an ideal of S.
b) If 𝐼1 𝑎𝑛𝑑 𝐼2 are ideals of a ring R.
3. Prove that 𝐼1 ∩ 𝐼2 is an ideal of R. Give an example to show that 𝐼1 ∪ 𝐼2 need not be an
ideal of R.
4. Let I be an ideal of a ring R.
If 𝑎 − 𝑏 ∈ 𝐼 𝑎𝑛𝑑 𝑐 − 𝑑 ∈ 𝐼, prove that 𝑎𝑐 − 𝑏𝑑 ∈ 𝐼
5. Find the ideal generated by 2 in 𝑍8 .
6. Let S and W be rings. Define addition and multiplication on 𝑆 × 𝑊 𝑎𝑠 follows:
(𝑎, 𝑏) + (𝑐, 𝑑) = (𝑎 + 𝑐, 𝑏 + 𝑑)
(𝑎, 𝑏) × (𝑐, 𝑑) = (𝑎𝑐, 𝑏𝑑)
a) Prove that 𝑆 × 𝑊 is a ring.
G. Prove that the intersection of arbitrary family of ideals is an ideal
H .Let a be fixed element of a ring R. Then show that 𝐼 = {𝑥 ∈ 𝑅 ∶ 𝑎𝑥 = 0} is an ideal of R.
Prove that the intersection of two left ideals of a ring is again a left ideal of the ring.
𝑎 0
The set N of all 2x2 matrices of the form [ ] for 𝑎, 𝑏 integers is a left ideal but not a right
𝑏 0
ideal in the ring R of all 2x2 matrices with elements as integers.
If R is a ring and 𝑎 ∈ 𝑅, let 𝑀 = {𝑥 ∈ 𝑅 ∶ 𝑎𝑥 = 0}. Prove that M is a right ideal of R.
𝑻𝒉𝒆𝒐𝒓𝒆𝒎 4.5.8
The “addition” and “multiplication” given above are well-defined.
Proof
𝑎 𝑎′ 𝑐 𝑐′
Suppose 𝑏 = 𝑏′ and 𝑑 = 𝑑′
The theory of numbers is concerned, at least in its elementary aspects, with properties of
the integers and more particularly with the positive integers 1, 2, 3, … (also known as the
natural numbers). The origin of this misnomer harks back to the early Greeks for whom the
word number meant positive integer, and nothing else. The natural numbers have been
known to us for so long that the mathematician Leopold Kronecker once remarked, "God
created the natural numbers, and all the rest is the work of man." Far from being a gift
from Heaven, number theory has had a long and sometimes painful evolution, a story that
is told in the ensuing pages.
We frequently use the integers, and particularly the natural numbers. Though the integers
seem to be familiar objects, we often ask ourselves whether a fact about integers is indeed
so because it is itself an axiom or a consequence of the axioms. When specially confronted
with some of the challenging problems in integers, we frequently ask ourselves about what
the integers actually are, that is the basic axioms governing them and consequences of
these assumptions.
We shall try to construct the integers axiomatically, assuming that any student using this
module is familiar with basic definitions in group and ring theory and at least has an
exposure to some models satisfying the basic notions.
We assume that the system of integers is a non-empty the ℤ, with two binary operations:
the first called addition and denoted by ‘ + ’ and the second is called multiplication and
denoted by ‘. ’ satisfying the following four axioms.
(ℤ, +) is an abelian group.
(ℤ, +, . ) is an integral domain, that is a commutative ring with unity having no zero
divisor.
Definition 5.1.1. 0 denotes the additive identity while 1 denotes the multiplicative identity.
Definition 5.1.2. The binary operation subtraction denoted by ‘ − ’ is define on ℤ as
follow, 𝑥 − 𝑦 = 𝑥 + (−𝑦), 𝑓𝑜𝑟 𝑒𝑎𝑐ℎ 𝑥, 𝑦 ∈ ℤ.
In anticipation of using Theorem 1.2.1, let S denote the set of all positive integers 𝑛 for
which Eq. (1) is true. We observe that when 𝑛 = 1, the formula becomes
1(2+1)(1+1)
12 = = 1 . This means that 1 is in S. Next, assume that 𝑘 belongs to S (where
6
To obtain the sum of the first 𝑘 + 1 squares, we merely add the next one, (𝑘 + 1)2, to
both sides of Eq. (2). This gives
𝑘(2𝑘 + 1)(𝑘 + 1)
12 + 22 + ⋯ + 𝑘 2 + (𝑘 + 1)2 = + (𝑘 + 1)2
6
After some algebraic manipulation, the right-hand side becomes
𝑘(2𝑘 + 1) + 6(𝑘 + 1) 2𝑘 2 + 7𝑘 + 6
(𝑘 + 1) [ ] = (𝑘 + 1) [ ]
6 6
The argument used is interesting because in the inductive step, it is necessary to know the
truth of this inequality for two successive values of 𝑛 to establish its truth for the following
value. First of all, for 𝑛 = 1 𝑎𝑛𝑑 2, we have
7 7
𝑎1 = 1 < (4)1 = 7/4 and 𝑎2 = 3 < (4)2 = 49/16
Whence the inequality in Activityholds in these two cases. This provides a basis for the
induction. For the induction step, choose an integer 𝑘 ≥ 3 and assume that the inequality
is valid for 𝑛 = 1, 2, . . . , 𝑘 − 1. Then, in particular,
7 7
𝑎𝑘−1 < (4)𝑘−1 = 7/4 and 𝑎𝑘−2 < (4)𝑘−2
𝑛 ≥ 1. Among other things, this example suggests that if objects are defined inductively,
then mathematical induction is an important tool for establishing the properties of these
objects.
Remark: We can use the following Extended Principle of mathematical Induction toshow
that a given statement is true for all natural
Extended Principle of mathematical Induction : If conditions (a) and (b) hold that is,
A statement is true for a natural number j
If the statement is true for some natural number k ≥ j, then it is also true for the next
natural number k + 1. then the statement is true for all natural numbers ≥ j.
Activity
1. Establish the formulas below by mathematical induction:
𝑛(𝑛 + 1)
1 +2 +3 +⋯+ 𝑛 = 𝑓𝑜𝑟 𝑎𝑙𝑙 𝑛 ≥ 1.
2
1 + 3 + 5 + ⋯ + (2𝑛 − 1) = 𝑛2 𝑓𝑜𝑟 𝑎𝑙𝑙 𝑛 ≥ 1.
𝑛(𝑛 + 1)(𝑛 + 2)
1 ∙ 2 + 2 ∙ 3 + 3 ∙ 4 + ⋯ + 𝑛(𝑛 + 1) = 𝑓𝑜𝑟 𝑎𝑙𝑙 𝑛 ≥ 1.
3
𝑛(2𝑛 − 1)(2𝑛 + 1)
12 + 32 + 52 + ⋯ + (2𝑛 − 1)2 = 𝑓𝑜𝑟 𝑎𝑙𝑙 𝑛 ≥ 1.
3
2 + 4 + 6 + ⋯ + 2𝑛 = 𝑛(𝑛 + 1) 𝑓𝑜𝑟 𝑎𝑙𝑙 𝑛 ≥ 1.
1
1 + 4 + 42 + ⋯ + 4𝑛−1 = (4𝑛 − 1) 𝑓𝑜𝑟 𝑎𝑙𝑙 𝑛 ≥ 1.
3
2
3 3 3
𝑛(𝑛 + 1)
3
1 + 2 + 3 +⋯+ 𝑛 = [ ] 𝑓𝑜𝑟 𝑎𝑙𝑙 𝑛 ≥ 1.
2
1 1 1 1 𝑛
+ + + ⋯+ = 𝑓𝑜𝑟 𝑎𝑙𝑙 𝑛 ≥ 1.
1∙2 2∙3 3∙4 𝑛(𝑛 + 1) 𝑛 + 1
Use the Second Principle of Mathematical Induction to establish that 𝑓𝑜𝑟 𝑎𝑙𝑙 𝑛 ≥ 1,
𝑎𝑛 − 1 = (𝑎 − 1)(𝑎𝑛−1 + 𝑎𝑛−2 + 𝑎𝑛−3 + ⋯ + 𝑎 + 1)
[𝑯𝒊𝒏𝒕 ∶ 𝑎𝑛+1 − 1 = (𝑎 + 1)(𝑎𝑛 − 1) − 𝑎(𝑎𝑛−1 − 1)]
It is worth pointing out that property (g) of Theorem 1.3.2.1 extends by induction to sums
of more than two terms. That is, if 𝑎 | 𝑏𝑘 for 𝑘 = 1, 2, . . . , 𝑛, then
𝑎 | (𝑏1 𝑥1 + 𝑏2 𝑥2 + ⋯ + 𝑏𝑛 𝑥𝑛 )
for all integers 𝑥1 , 𝑥2 , … . , 𝑥𝑛 . The few details needed for the proof are so straightforward
that we omit them as exercise.
If 𝑎 𝑎𝑛𝑑 𝑏 are arbitrary integers, then an integer 𝑑 is said to be
𝑎 𝑐𝑜𝑚𝑚𝑜𝑛 𝑑𝑖𝑣𝑖𝑠𝑜𝑟 𝑜𝑓 𝑎 𝑎𝑛𝑑 𝑏 if both 𝑑 | 𝑎 𝑎𝑛𝑑 𝑑 | 𝑏. Because 1 is a divisor of every
integer, 1 is a common divisor of 𝑎 𝑎𝑛𝑑 𝑏; hence, their set of positive common divisors is
nonempty. Now every integer divides zero, so that if 𝑎 = 𝑏 = 0, then every integer
serves as a common divisor of 𝑎 𝑎𝑛𝑑 𝑏. In this instance, the set of positive common
divisors of 𝑎 𝑎𝑛𝑑 𝑏 is infinite. However, when at least one of 𝑎 𝑜𝑟 𝑏 is different from zero,
there are only a finite number of positive common divisors. Among these, there is a largest
one, called the greatest common divisor of 𝑎 𝑎𝑛𝑑 𝑏. We frame this as Definition 1.3.2.2
Definition Let 𝑎 𝑎𝑛𝑑 𝑏 be given integers, with at least one of them different from zero.
The greatest common divisor of 𝑎 𝑎𝑛𝑑 𝑏, denoted by 𝑔𝑐𝑑(𝑎 , 𝑏), is the positive integer 𝑑
satisfying the following:
𝑑 | 𝑎 𝑎𝑛𝑑 𝑑 | 𝑏.
𝐼𝑓 𝑐 | 𝑎 𝑎𝑛𝑑 𝑐 | 𝑏, 𝑡ℎ𝑒𝑛 𝑐 ≤ 𝑑.
Note that this is not the only way to express the integer 6 as a linear combination of 12378
and 3054; among other possibilities, we could add and subtract 3054 ∙ 12378 to get
6 = (132 + 3054)12378 + (−535 – 12378)3054
= 3186 ∙ 12378 + (−12913)3054
The French mathematician Gabriel Lame (1795-1870) proved that the number of steps
required in the Euclidean Algorithm is at most five times the number of digits in the
smaller integer. In Example 1.3.3.1 , the smaller integer (namely, 3054) has four digits, so
that the total number of divisions cannot be greater than 20; in actuality only six divisions
were needed.
Another observation of interest is that for each 𝑛 > 0, it is possible to find integers
𝑎𝑛 𝑎𝑛𝑑 𝑏𝑛 such that exactly 𝑛 divisions are required to compute 𝑔𝑐𝑑(𝑎𝑛 , 𝑏𝑛 ) by the
Euclidean Algorithm.
One more remark is necessary. The number of steps in the Euclidean Algorithm usually
𝑟
can be reduced by selecting remainders 𝑟𝑘+1 such that | 𝑟𝑘+1 | < 𝑘⁄2, that is, by working
with least absolute remainders in the divisions. Thus, repeating Example 1.3.3.1, it is more
efficient to write
12378 = 4 ∙ 3054 + 162
3054 = 19 ∙ 162 − 24
162 = 7 ∙ 24 − 6
24 = (−4)(−6) + 0
As evidenced by this set of equations, this scheme is apt to produce the negative of the
value of the greatest common divisor of two integers (the last nonzero remainder being
− 6), rather than the greatest common divisor itself.
2. Construct an ordered integral domain where 1is the least positive element.
3. If R is an ordered integral domain and 𝑎 ∈ 𝑅, is it true that there is no element of R
between a and a+1?Why?
4. Show that every non-empty subset of ℤ that is bounded below has a least element.
5. Prove that non-empty subset of ℤ that is bounded above has largest element.
6. Prove that the cube of any integer can be written as the difference of two squares.
[𝑯𝒊𝒏𝒕 ∶ 𝑁𝑜𝑡𝑖𝑐𝑒 𝑡ℎ𝑎𝑡 𝑛3 = (13 + 23 + ⋯ + 𝑛3 ) − (13 + 23 + ⋯ + (𝑛 − 1)3 ]
7. Prove that 𝑛! > 𝑛2 for every integer 𝑛 ≥ 4, whereas 𝑛! > 𝑛3 for every integer 𝑛 ≥ 6.
8. Establish Bernoulli inequality: 𝐼𝑓 1 + 𝑎 > 0, 𝑡ℎ𝑒𝑛 (1 + 𝑎)𝑛 ≥ 1 + 𝑛𝑎 𝑓𝑜𝑟 𝑎𝑙𝑙 𝑛 ≥ 1.
1
9. Show that the number of diagonals in a convex polygon of 𝑛 sides is 𝑛(𝑛 − 3).
2