Chapter 1_1(1)
Chapter 1_1(1)
Chapter 1_1(1)
Contents
Chapter One..................................................................................................................................................... 1
Basic Mathematical concepts .......................................................................................................................... 1
1.1. Propositional Logic and Set Theory ..................................................................................................... 1
1.1.1. Propositional Logic .......................................................................................................................... 1
1.1.2. Elementary property of set ............................................................................................................. 15
1.2. Vectors, matrices and determinants ................................................................................................... 24
1.2.1. Vectors: ......................................................................................................................................... 24
1.2.2. Matrices and determinate ............................................................................................................... 24
1.3. System of linear equation and linear programming .......................................................................... 31
1.3.1. System of linear equations ............................................................................................................. 31
1.3.2. System of linear inequalities .......................................................................................................... 34
1.3.3. Linear programming ...................................................................................................................... 35
1.3.3.1. Solving LPP using Graphical methods ........................................................................................ 38
Implication
Bi-implication
When two propositions are joined with the connective “bi-implication,” the proposition formed is called a logical bi-
implication or a logical equivalence. A bi-implication is denoted by “ ”. So the logical bi-implication of two
propositions, and , is written: ⟺ .
⟺ is false if and only if and have different truth values.
The truth table for bi-implication is given by:
⟺
Examples 4:
1. Let : 2 is greater than 3. (False)
: 5 is greater than 4. (True)
Definition 2: The proposition formed by joining two or more proposition by connective(s) is called a compound
statement.
Then, is equivalent to , since columns 5 and 6 of the above table are identical.
Example 8: Let : ⟹ .
: ⟹ .
Then
⟹ ⟹
Looking at columns 5 and 6 of the table we see that they are not identical. Thus ≢ .
It is useful at this point to mention the non-equivalence of certain conditional propositions. Given the conditional
⟹ , we give the related conditional propositions:-
a. ⟹ Converse of ⟹
b. ⟹ Inverse of ⟹
c. ⟹
Exercises
1. For statements , and , use a truth table to show that each of the following pairs of statements is logically
equivalent.
a. ( ∧ ) ⟺ and ⟹ . d. ⟹ ( ∨ ) and ( ) ⟹ ( ⟹ ).
b. ⟹ ( ∨ ) and ⟹ ( ∨ ). e. ⟹ ( ∨ ) and (( ) ∧ ) ⟹ .
c. ( ∨ ) ⟹ and ( ⟹ ) ∧ ( ⟹ ).
2. For statements , , and , show that the following compound statements are tautology.
a. ⟹ ( ∨ ).
b. ( ∧ ( ⟹ )) ⟹ .
c. ( ⟹ ) ∧ ( ⟹ ) ⟹ ( ⟹ ).
3. For statements and , show that ( ∧ ) ∧ ( ∧ ) is a contradiction.
4. Write the contra-positive and the converse of the following conditional statements.
a. If it is cold, then the lake is frozen.
b. If Solomon is healthy, then he is happy.
c. If it rains, Tigist does not take a walk.
5. Let and be statements. Which of the following implies that ∨ is false?
a. ∨ is false. d. ⟹ is true.
b. ∨ is true. e. ∧ is false.
c. ∧ is true.
6. Suppose that the statements , , , and are assigned the truth values , , , and , respectively. Find the truth
value of each of the following statements.
a. ( ∨ ) ∨ . f. ( ∨ ) ⟺ ( ∧ ).
b. Let ( ): < . The truth value for (∀ )( < ) is . = is a counterexample since ∈ ℝ but
c. Let ( ): | | = −1. The truth value for (∃ ) ( ) is since there is no real number whose absolute
value is −1.
Relationship between the existential and universal quantifiers
If ( ) is a formula in , consider the following four statements.
a. (∀ ) ( ): Everything has property . c. (∀ ) ( ): Nothing has property .
b. (∃ ) ( ): Something has property . d. (∃ ) ( ): Something does not have property .
Let ( ) be an open proposition. Then (∀ ) ( ) is false only if we can find an individual “ ” in the universe such that
( ) is false. If we succeed in getting such an individual, then (∃ ) ( ) is true. Hence (∀ ) ( ) will be false if
(∃ ) ( ) is true. Therefore the negation of (∀ ) ( ) is (∃ ) ( ).
Hence we conclude that: (∀ ) ( ) ≡ (∃ ) ( ).
Similarly, we can easily verified that: (∃ ) ( ) ≡ (∀ ) ( ).
Example 15:
Let = ℝ. a. (∃ )( < ) ≡ (∀ )( < ) ≡ (∀ )( ≥ ).
b. (∀ )(4 + 1 = 0) ≡ (∃ )(4 + 1 = 0) ≡ (∃ )(4 + 1 ≠ 0).
Given propositions containing quantifiers we can form a compound proposition by joining them with connectives in the
same way we form a compound proposition without quantifiers.
For example: If we have (∀ ) ( ) and (∃ ) ( ) we can form (∀ ) ( ) ⟺ (∃ ) ( ).
Consider the following statements involving quantifiers. Illustrations of these along with translations appear below.
a. All Rationals are Reals. (∀ )(ℚ( ) ⟹ ℝ( )).
b. No Rationals are Reals. (∀ )(ℚ( ) ⟹ ℝ( )).
c. Some Rationals are Reals. (∃ )(ℚ( ) ∧ ℝ( )).
d. Some Rationals are not Reals. (∃ )(ℚ( ) ∧ ℝ( )).
Example 16:
Let = The set of integers.
Let ( ): is a prime number.
( ): is an even number.
( ): is an odd number.
Then
a. (∃ )[ ( ) ⟹ ( )] is ; since there is an , say 2, such that (2) ⟹ (2) is .
4. Let ( ): is an integer. be an open sentence over the domain . Determine, with explanations, whether the
= {2,4,6}.
a. State the quantified statement (∀ ∈ )(∃ ∈ ) ( , ) in words.
b. Show quantified statement in (a) is true.
8. Consider the open statement ( , ): − < 0. where the domain of is = {3,5,8} and the domain of is
= {3,6,10}.
a. State the quantified statement (∃ ∈ )(∀ ∈ ) ( , ) in words.
b. Show quantified statement in (a) is true.
Argument and validity
Definition 8: An argument (logical deduction) is an assertion that a given set of statements , , ,…, , called
hypotheses or premises, yield another statement , called the conclusion. Such a logical deduction is denoted by:
, , ,…, ├ or
⋮
1
, 2
, 3
,…, are true; otherwise it is invalid.
Example 20: Investigate the validity of the following argument:
1. p q, q p
2. p q, q r p
3. If it rains, crops will be good. It did not rain. Therefore, crops were not good.
Solution:
Rules of inferences
Re: Edited by Amanuel W Page 13
Below we list certain valid deductions called rules of inferences.
1. Modes Ponens 5. Principle of Adjunction 8. Modes Ponendo Tollens
a. ( ∧ )
⟹
∧
2. Modes Tollens b. 9. Constructive Dilemma
∨
( ⟹ )∧( ⟹ )
6. Principle of Detachment
⟹ ∨
∧ ∨
3. Modes Tollens , 10. Principle of Equivalence
7. Modes Tollendo Ponens
⟺
⟹
∨
4. Principle of Syllogism 11. Principle of Conditionalization
⟹
⟹ ⟹
⟹
Formal proof of validity of an argument
Definition 10: A formal proof of a conclusion given hypotheses 1
, 2
, 3
,…, is a sequence of stapes, each of
which applies some inference rule to hypotheses or previously proven statements (antecedent) to yield a new true
statement (the consequent).
A formal proof of validity is given by writing on the premises and the statements which follows from them in a single
column, and setting off in another column, to the right of each statement, its justification. It is convenient to list all the
premises first.
Example 21: Show that ⟹ , ├ is valid.
(1) is true premise
(2) ⟹ premise
(3) ⟹ contra-positive of (2)
(4) Modes Ponens using (1) and (3)
Example 22: Show that the hypotheses Then:
It is not sunny this afternoon and it is colder than yesterday. 1. ∧ Hypothesis
If we go swimming, then it is sunny. 2. simplification using (1)
If we do not go swimming, then we will take a canoe trip. 3. ⟹ Hypothesis
If we take a canoe trip, then we will be home by sunset 4. Modus Tollens using (2) and (3)
The conclusion: We will be home by sunset. 5. ⟹ Hypothesis
Let : It is sunny this afternoon. 6. Modus Ponens using (4) and (5)
: It is colder than yesterday. 7. ⟹ Hypothesis
: We go swimming. 8. Modus Ponens using (6) and (7)
: We take a canoe trip.
: We will be home by sunset.
4. Set-builder Method: When all the elements satisfy a common property , we express the situation as an open
proposition ( ) and describe the set using a method called the Set-builder Method as follows:
= { | ( )} = { : ( )}
We read it as “ is equal to the set of all ’s such that ( ) is true.” Here the bar “| ‟ and the colon “ ” mean “such
that.” Note that: the letter is only a place holder and can be replaced throughout by other letters. So, for a property ,
the set { | ( )}, { | ( )} and { | ( )} are all the same set.
Example 27: The following sets are described using the set-builder method.
(1) = { | is a vowel in the English alphabet}.
In some occasions, we list the elements of set inside the closed curve representing .
A B U
0 4 3 1
2
6 5 9
8
7
A B U
A B U
B B
⊆
A A
A B A B
No common
element
A B =
Exercises
ʹ
1. If ⊆ , ∩ = {1,4,5} and ∪ = {1,2,3,4,5,6}, find .
2. Let = {2,4,6,7,8,9},
= {1,3,5,6,10} and
={ : 3 + 6 = 0 or 2 + 6 = 0}. Find
a. ∪ .
b. Is ( ∪ ) ∪ = ∪ ( ∪ )?
and in the column. The matrices are primarily real matrices, meaning the entries contain real numbers and they
are used to solve systems of linear equations.
4 1
4 3 3
Example 1.1:A = is 2 × 3 matrix, B = 3 0 is 3 × 2 matrix are examples of real matrices
1 0 2
3 2
Equality of Matrices:
Definition 1.2: Two matrices of the same order are said to be equal if their corresponding entries are equal. That is,
matrices A = and B = of order (size) × are said to be equal if and only if = for all 1 ≤ ≤ and
1≤ ≤ .
Types of Matrices:
Column matrix: is a matrix formed by a single column, or if the size of the given matrix is × 1, then it is called
column matrix or simply a vector.
1, if = 1 0 0
1 0
In symbol = . For example , 0 1 0 are identity matrices.
0, ≠ 0 1
0 0 1
Triangular matrix: We can classify triangular matrices into two, these are
Upper triangular matrix: An upper triangular matrix is a square matrix whose elements located below the main
diagonal are all zero. We can express upper triangular matrix symbolically as = such that = > .
Here, there is no any information about the other elements.
1 5 2
3 0
For example: 0 0 3 , .
0 2
0 0 4
Lower triangular matrix: A square matrix is called lower triangular if it has all zero entries above its main diagonal.
We can express lower triangular matrix symbolically as
1 0 0
= such that = < . For instance 5 0 0
2 3 4
Note: A diagonal matrix is both upper and lower triangular matrix.
+ ×
.
Note: Use – A to represent the scalar product (−1) A. If A and B are matrices of the same size, A − B represents the
sum of A and (−1)B; that is A − B = A + (−1)B.
1 3 4 2 0 0
Example 1.3: Let A = 3 0 1 and B = 1 −4 3 , then find 3A − B
2 1 2 −1 3 2
1 3 4 3(1) 3(3) 3(4) 3 9 12
Solution: A = 3 3 0 1 = 3(3) 3(0) 3(1) = 9 0 3
2 1 2 3(2) 3(1) 3(2) 6 3 6
2 0 0 −2 0 0
−B = (−1)B = −1 1 −4 3 = −1 4 −3
−1 3 2 1 −3 −2
3 9 12 −2 0 0 1 9 12
Then, 3A − B = 9 0 3 + −1 4 −3 = 8 4 0
6 3 6 1 −3 −2 7 0 4
Properties of Matrix addition: If A, B and C are × matrices and α and β are scalars, then the following
properties hold true.
1. A + B = B + A (commutative property of addition)
2. A + (B + C) = (A + B) + C (associative property of addition)
3. (αβ)A = α(βA) (associative property of scalar multiplication)
4. α(A + B) = αA + αB (left distributive property over addition)
⎛ ⎞ ⎛ ⎞ ⎛ ⎞ ⎛ ⎞
=⎜ ⎟, =⎜ ⎟, =⎜ ⎟,…, =⎜ ⎟.
⋮ ⋮ ⋮ ⋮
⎝ ⎠ ⎝ ⎠ ⎝ ⎠ ⎝ ⎠
Therefore, the product of the two matrices as we express in terms of dot product is given by
∙ ∙ ∙ … ∙
∙ ∙ ∙ … ∙
= ⋮ . Based on this idea we have the following definition.
∙ ∙ ∙ … ∙
Definition 1.2: If A = ( ) is an × matrix and B = is an × matrix (that is the number of columns of
matrix A is equal to the number of rows of B), then the product AB is a matrix of order × given by AB = C =
, where =∑ = + + +⋯+ .
1 0
1 2 0
Example 1.4: Let A = 4 2 and = , then find the product and .
1 2 2
5 0
Solution: The product AB is defined because A has size 3 × 2 and B has size 2 × 3, and the product AB is a matrix of size
3 × 3 given by
1 0 c c c
1 2 0 c c c
4 2 = ,where, c = 1(1) + 0(1) = 1,
1 2 2 c c c
5 0
c = (1)(2) + 0(2) = 2, c = 1(0) + 0(2) = 0, c = 4(1) + 2(1) = 6,
3 3 +⋯ = where 1, 2, 3, … are coefficients and the constant term is real number, the number 1 is
the leading coefficient, and 1 is the leading variable.
The given function is said to be linear function if it satisfies ( + )= ( )+ ( ), ∀ , ∈ ℝ (I.e. =
( 1, 2, 3, … ) ∈ ℝ .) and , ∈ ; linear equation is expressed as ( ) = , where ∈ .
2. Systems of Linear Equations: A system of linear equations with variables (or unknowns) is a set of equations
which has of the form:
11 1 + 12 2 + 13 3 + …+ 1 = 1
21 1+ 22 2+ 23 3 + …+ 2 = 2
31 1+ 32 2+ 33 3 + …+ 3 = 3
⋮
1 1+ 2 2+ 3 3 +⋯+ =
It is possible to express system of linear equation in matrix form as = , where is called the coefficient matrix, is
unknown vector (column matrix), and is column matrix (constant).
11 1 + 12 2 + 13 3 + …+ 1 = 1
⎧ + + + …+ =
⎪ 21 1 22 2 23 3 2 2
31 1+ 32 2+ 33 3 + …+ 3 = 3
⎨ ⋮
⎪
⎩ 1 1 + 2 2 + 3 3 +⋯+ =
11 1 + 12 2 + 13 3 + …+ 1 1
⎛ 21 1+ 22 2+ 23 3 + …+ 2 ⎞ ⎛ 2⎞
⟹⎜ 31 1+ 32 2+ 33 3 + …+ 3 ⎟=⎜ 3⎟
⋮ ⋮
⎝ 1 1 + 2 2 + 3 3 +⋯+ ⎠ ⎝ ⎠
11 12 … 1 13 1 1
⎛ 21 22 23 … 2 ⎞⎛ ⎞ ⎛ 2⎞
2
or ⎜ 31 32 33 … 3 ⎟ ⎜ 3 ⎟ = ⎜ 3 ⎟ ⟹ = , where
⋮ ⋮ ⋮ ⋮ ⋮ ⋮ ⋮
⎝ 1 2 3 …+ ⎠⎝ ⎠ ⎝ ⎠
11 12 13 … 1 1 1
⎛ 21 22 23 … 2 ⎞ 2
⎛ ⎞ ⎛ 2⎞
= ⎜ 31 32 33 … 3 ⎟, = ⎜ 3 ⎟and = ⎜ 3 ⎟
⋮ ⋮ ⋮ ⋮ ⋮ ⋮ ⋮
⎝ 1 2 3 … ⎠ ⎝ ⎠ ⎝ ⎠
For a system of linear equations with variables, one of the following conditions hold.
1. The system has exactly one solution (consistent system).
2. The system has infinite many solutions (consistent system).
3. The system has no solution (inconsistent system).
⎛ 21 22 23 … 2 2 ⎞
( | )=⎜ 31 32 33 … 3 3 ⎟
⋮ ⋮
⎝ 1 2 3… ⎠
The Gaussian Elimination with Backward Substitution Method
Let us take system of linear equations in matrix form = and follow the following steps to solve system of linear
equations using Gauss elimination method.
Step 1. Find the agumented matrix of A with B denoted by ( | )
Step 2: Reduce the agumented matrix to row echelon form or to the form of ( | ), using elementary row operations,
where U is upper triangular matrix and C is column matrix.
That is, ( | ) ( | )
Step 3: Use Backward substitution. Write the system of linear equations corresponding to the matrix in row-echelon
form, and use back-substitution to find the solution.
Note: Two systems of linear equations are called equivalent if they have the same solution .
The matrix ( | ) is obtained from the augmented matrix ( | ) using elementary row operations, and hence they are
row equivalent ( | ) ≅ ( | ).
Therefore, the system of linear equations = and = are row equivalent and have the same solution.
Example Solve the following system of linear equations using Gauss elimination method.
2x − 3y − 3z = −11
x + 8y + 9z = 24
7x + 8y + 10z = 19
Solution:
2 −3 −3 −11
Step 1: The augmented matrix will be (A|B) = 1 8 9 24
7 8 10 19
Step 2: Reduce the augmented matrix to row echelon form as follows
1 8 9 24 R ⟶ R − 2R 1 8 9 24
R1 ⟷ R2 2−3 −3 −11 R2 ⟶ R2 − 7R1 0 −19 −21 −59
3 3 1
7 8 10 19 0 −48 −53 −149
1 8 9 24 1 8 9 24
R ⟶ R − 2R 0 −19 −21 −59 R ⟶ R − 2R 0 1 1 3
0 −10 −11 −31 0 −10 −11 −31
1 8 9 24 1 8 9 24
R ⟶ −(R + 10R ) 0 1 1 3 ⟹ U = 0 1 1 , and C = 3
0 0 1 1 0 0 1 1
Step 3: Use backward Substitution to solve the vector , and we have
The matrix ( | ) is obtained from the augmented matrix ( | ) using elementary row operations. They are row
equivalent, that is,( | ) ≅ ( | ), and then the two system of linear equations = and = ⟹ = are
row equivalent. Therefore, they have the same solution.
Note:
1. During solving system of linear equations, the system may have no solution. In the elimination process we obtain a
row with all zeros except for the last entry, then it is unnecessary to continue the elimination process. we simply
conclude that the system is inconsistent and has no solution.
2. During the elimination process, if we obtain a zero row, then it has infinitly many solutions.
Example 1.9: Solve the given system of linear equations using Gauss Jordan method.
x − 2y + 3z = 9
−x + 3y = −4
2x − 5y + 5z = 17
x − 2y + 3z = 9 1 −2 3 x 9
Solution: −x + 3y = −4 ⟹ −1 3 0 y = −4 . That is,
2x − 5y + 5z = 17 2 −5 5 z 17
1 −2 3 x 9
A = −1 3 0 , = y , B = −4
2 −5 5 z 17
1 −2 3 9
( | )
The augumented matrix of A with B is given by A B = −1 3 0 −4
2 −5 5 17
Reduce this augmented matrix until we get row reduced echelon form or the form of (I|D)
0 2 50
1 2 25
1 1 15
Profit in Birr per unit 5 4
In the above problem, Products and are competing candidates or variables; Machine capacities are available
resources and profit contribution of products and are given.
Let the company manufactures units of and units of . As the profit contributions of and are 5 Birr and Birr 4
respectively.
The objective of the problem is to maximize the profit , hence objective function is:
For commodity A, we have 6000 tones and each ton occupies 60 ; = 100 is available; similarly, there is
A 2 4 40
D 3 2 50
Cost in Birr per unit 5 3
4. A machine tool company conducts a job-training program at a ratio of one for every ten trainees. The training
program lasts for one month. From past experience it has been found that out of 10 trainees hired; only seven
complete the program successfully. (The unsuccessful trainees are released). Trained machinists are also needed for
machining. The company's requirement for the next three months is as follows:
January: 100 machinists, February: 150 machinists and March: 200 machinists.
In addition, the company requires 250 trained machinists by April. There are 130 trained machinists available at the
beginning of the year.
Pay roll cost per month is: Each trainee 400 Birr per month, each trained machinist (machining or teaching): 700 Birr
per month and each trained machinist who is idle: 500 Birr per month. Build a LPP for produce the minimum costs
hiring and training schedule and meet the company’s requirement.
5. A candidate wishes to use a combination of Radio and television advertisement in his campaign. Researcher has
shown that each one minute spot on television reaches 90,000 people and each one minute spot on Radio reaches
6,000. The candidate feels he must reach at least 2.16 million people and must buy a total of at least 80 minutes of
advertisements. How many minutes of each medium should be minimize cost, if television cost 500 Birr per minutes
and Radio costs 100 Birr per minutes.
Existence of solution theorem: Given a linear programming problem with feasible region S and objective function =
+ , then either of the following exists
a. If S is bounded, then has both a maximum and minimum value over .
b. If S is unbounded and > 0, > 0, then has a minimum value over but not maximum value.
c. If S is the empty set, then z has neither a maximum nor minimum value over S.
The characteristics of Graphical method:
a. Generally, this method is used to solve the problem, when we have two decision variables.
b. For three or more decision variables, the graph deals with planes and requires high imagination to identify the
solution area (feasible region).
c. Always, the solution to the problem lies in first quadrant.
d. This method provides a basis for understanding the other methods of solution.
A 1 1 4
B 3 8 24
C 10 7 35
Profit per unit in Birr 5 7
Let the company manufactures x units of X and y units of Y, and then the L.P. model is:
Maximize = 5 + 7
St. + ≤4
3 + 8 ≤ 24
10 + 7 ≤ 35 and , ≥ 0
Now, draw the feasible region and identify the coordinates of the corners.
Evaluate the objective function at the selected corners (points). I.e., evaluate the value of = 5 + 7 at the points
A, B, C, D and O, and then select the maximum value which is the required solution.
= (0,3) ⟹ = 5 + 7 = 5(0) + 7(3) = 21
= (3.5,0) ⟹ = 5 + 7 = 5(3.5) + 7(0) = 17.48
= , ⟹ = 5 + 7 =5 +7 = = 23.33
= (1.6,2.4) ⟹ = 5 + 7 = 5(1.6) + 7(2.4) = 24.8
In the above figure, the point = (1.6,2.4) on the feasible region is the point that yields highest profit. That is, optimal
profit = 5 × 1.6 + 7 × 2.4 = 24.80
2. The cost of materials A and B is 1 birr per unit respectively. We have to manufacture an
alloy by mixing these to materials. The process of preparing the alloy is carried out on three facilities X, Y and Z.
Facilities X and Z are machines, whose capacities are limited. Y is a furnace, where heat treatment takes place and
the material must use a minimum given time (even if it uses more than the required, there is no harm). Material A
requires 5 hours of machine X and it does not require processing on machine Z. Material B requires 10 hours of
machine X and 1 hour of machine Z. Both A and B are to be heat treated at last one hour in furnace Y. The available
Evaluate the objective function = + at the selected corners (points). That is, evaluate at the points A, B, C, D and
E, and then select the minimum value which is the required solution.
= (1,0) ⟹ = + = 1 + 0 = 1
= (0,1) ⟹ = + = 0 + 1 = 1
= (0,4) ⟹ = + = 0 + 4 = 4
= (2,4) ⟹ = + = 2 + 4 = 6
= (10,0) ⟹ = + = 10 + 0 = 10
In the above figure, any the point on the line = − + 1 ⟹ + = 1 on the feasible region yields the minimum cost
of the materials. That is, optimal solution = + =1 . Such problems have infinitely many solutions.
3. Solve graphically the given linear programming problem. (Minimization Problem).
Minimize = 3 + 5
St. −3 + 4 ≤ 12
2 − ≥ −2
2 + 3 ≥ 12
≤ 4, ≥ 2 and , ≥0
Solution:
The polygon is not closed one, the feasible area is unbound, the problem is said to have an unbound solution.
1.4. Sequences and Series
Arithmetic sequences
Geometric sequences
Series:
1.5. Indices (Powers) and Elementary (transcendental ) functions,
1.6. Differential calculus
1.7. Integral calculus,