Hermine Smikle.
There has been much talk in the media about the expansion of the Japanese technology in the market place. Evidence can be seen in almost all aspect of our daily life. In the last ten years there have been the emergence of new appliances and gadgets that most people find too complicated to understand examples are the video recorder; CD players; cars that are more efficient and telephones that are more intelligent these are only a few.
It will be the teachers responsibility to awaken the minds of these students to the great demand that will be placed on them to understand and be aware of these changing technologies and develop in the students a pest for knowledge, and the ability to seek new and different ways to solve problems.
The work world of the next ten years will be demanding workers that are equipped with different basic skills; workers with the ability to think and can understand the operations of these machines developed by the new technology.
The unit attempt to show students how the application of Boolean algebra, and the binary system has spearheaded work in these new technologies. After the unit it is hoped that students will reconsider the options available to them and make more careful and informed decisions as to their career choices.
The unit will begin by discussing the implications of Reasoning and deduction in the formal setting, with extensive work in the binary system and then a simple introduction to boolean algebra.
It is hoped that this unit will find a place with those teachers that are theorists, and those that enjoy working with the hands on experiences that are meaningful for students.
Limitations of the unit
The concepts of Boolean algebra are found in algebra texts designed for higher education students; therefore the language and symbolism used are very technical. In an attempt to make it appropriate most of the proofs will be omitted and only those concepts necessary for understanding will be used.
Students should be encouraged to draw diagrams and make tables where necessary.
Because of the limitation of space for the unit there will be the need for the users to research additional problems from the reference given.
Reasoning and Deduction
: Introduction to Logic
The main ingredient in the study of logic is the principles and method used to distinguish between arguments that are valid and those that are not. Logic deals with reasoning and the ability to deduce or come to some reasonable conclusions.
In everyday life we guess what is going to happen on the basis of past experiences; “It looks like its going to rain” we say meaning that it may rain today. If we wait around long enough then it may rain. This is an example of inductive reasoning. In mathematics we can discover whether or not a guess is correct by checking if our conclusions can be deduced from results already known. This is called deductive reasoning.
The starting point of logic is a statement. A statement in the technical sense is declarative and is either true or false, but cannot be both simultaneously.
In logic it is irrelevant whether a statement is true or false, the important thing is that it should be definitely one or the other. Logic statements must be either true or false.
A Statement: is a declarative sentence which is either true or false.
Examples of declarative statements:
-
(a) New Haven is a city in Connecticut.
-
(b) The month of June has thirty days.
-
(c) The moon is made of red cheese.
-
(d) Tomorrow is Saturday.
The following are not statements:
-
(a) Come to our party!
-
(b) Is your homework done?
-
(c) Close the door when you leave.
-
(d) Good by dear.
Those are not good statements because they cannot be considered true or false.
The basic type of sentence in logic is called a simple statement. A simple statement is one that has only one thought with no connecting word.
Examples of simple statements
-
(a) Three is a counting number.
-
(b) Ann is early for class
If we take a simple statement and join them with a connecting word such as and, or, if . . . then, not, if and only if, we form a new sentence called a complex or compound statement.
Compound Statements: are formed from the combination of two or more simple statements.
Example
|
(a) Ann is early for class and she has her note books.
|
|
|
(b) Three is a counting number and is also a odd number.
|
Types of Compound statements and their connectives
-
1. A negation: formed when we negate a simple statement by “not”.
-
____
example : Simple statement: Today is Thursday
-
____
Compound statement: negation: today is not Thursday
-
____
The sentence “today is not Thursday” is a compound statement called a negation.
-
2. When we connect two simple statements using and, the result is a compound statement called a conjunction.
-
3. If the simple statements are joined by or the resulting compound statement is called a disjunction.
-
4. The If . . . then connector is used in compound statements called conditionals.
-
5. The if and only if connector is used to form compound statements called biconditionals.
We are familiar with using letters as replacements in algebra; in logic we can also use letters to replace statements. The common letters used to replace statements are P,Q, R: but any letters can be used.
Examples.
|
P = Today is Saturday
|
|
|
Q = I passed my test
|
but P and Q would read Today is Saturday and I passed my test.
It is also common practice to use symbols for the connective words (or the connectors)
Connectors
|
|
Symbols
|
(a) not
|
~
|
(b) and
|
^
|
(c) or
|
|
(figure available in print form)
|
(d) if . . . then
|
Ð>
|
(e) if and only if
|
Ð>
|
TRUTH TABLES:
Since a statement in logic is either true or false, we should be able to determine the truth or falsity of a given statement. [Logic is very precise. There should be no worry about ambiguity] Let P be a statement; then ~ P means ‘not P’ or the negation of P. The negation of P is true whenever the statement P is false and false if P is true. These situations are confusing to write, therefore we can record these statements in a truth table.
-
Example
1: Let P = this is a hard course.
-
____
____
~P= this is not a hard course.
-
-
____
____
Truth Table
|
|
p
|
~p
|
where
|
T = True and
|
|
|
T
|
F
|
|
F = false
|
|
|
F
|
T
|
In the first column, there are two possibilities of P; P is either True or False. Each line in the table represents a case that must be considered. In this case, there are only two cases. The truth table tells us the truth value of p in every case.
Truth Tables with the Connective
^
The Connective ^ may be placed between any two statements P and Q to form the compound statement p^q
Let
|
P = Today is Monday
|
|
Q = I have a Math class.
|
____
Truth Table
|
P
|
Q
|
P^Q
|
|
T
|
T
|
T
|
|
T
|
F
|
F
|
|
F
|
T
|
F
|
|
F
|
F
|
F
|
In the compound statements, the individual statements are called components. In a compound statement with two components such as p ^ q there are four possibilities. These are called logical possibilities.
The possibilities are:
-
1) p is true and q is true
-
2) p is true and q is false
-
3) p is false and q is true
-
4) p is false and q is false.
The four possibilities are covered in the four rows of the truth table. The last column gives values of p ^ q; This is only true when both p and q are true.
Using the examples given, truth tables of a more complicated nature can be built.
Let us consider the situation p v q
Example
2:
P
|
Q
|
P v Q
|
P = Today is Tuesday
|
T
|
T
|
T
|
Q = I have a Math class
|
F
|
T
|
T
|
P v Q = Today is Tuesday or I have a math class
|
F
|
F
|
T
|
F
|
F
|
F
|
Find the Truth Table of [ ( p) ^ ( q) ]
Example
3:
Truth Table
p
|
q
|
~p
|
~q
|
(~p) ^ ~ q
|
~ [(~p) ^ (~q)]
|
T
|
T
|
F
|
F
|
F
|
T
|
T
|
F
|
F
|
T
|
F
|
T
|
F
|
T
|
T
|
F
|
F
|
T
|
F
|
F
|
T
|
T
|
T
|
F
|
The given [ (~p) ^ (~q) ] uses parentheses and brackets to indicate the order in which the connectives apply.
Expressions can be simplified by removing some of the parentheses, thus (p) ^ ( q) can be written as ~ p ^~ q.
It can be noticed from the Truth Table in examples 2 and 3 that the last columns are the same. Thus we say that these statements are logically equivalent and can be written P = Q and P v Q = (~p ^ ~q).
The conditional and the Biconditionals Statements.
If the connectors Ð> is used between any two statements P and Q to form a compound statement P Ð> Q (reads if P then Q), the statement is called a conditional statement.
Let
|
P = You passed English
|
|
Q = You will graduate
|
____
Truth Table
|
P
|
Q
|
PÐ>Q
|
|
T
|
T
|
T
|
|
T
|
F
|
F
|
|
F
|
T
|
T
|
|
F
|
F
|
T
|
The statement P Ð> Q reads if you pass English then you will graduate. This statement is false only when you pass English (true) but you will not graduate. Therefore the final column will be true in every position but the second.
The connective Ð> is called the biconditional and may be placed between any two statements to form a compound statement P Ð> Q (reads P if and only if Q).
The Truth Table For P Ð> Q
|
P
|
Q
|
P Ð> Q
|
PÐ> Q
|
QÐ> P ( P (Ð> Q)
|
^ ( Q Ð> P)
|
|
T
|
T
|
T
|
T
|
T
|
T
|
|
T
|
F
|
F
|
F
|
T
|
F
|
|
F
|
T
|
F
|
T
|
F
|
F
|
|
F
|
F
|
T
|
T
|
T
|
T
|
From the truth table it can be noticed that P Ð> q = ( P Ð> Q) ^ (QÐ>P).
|
Sample Problems for Students:
|
-
1. In these problems English sentences are given. In each case determine whether the sentence is a statement or not.
|
(a) On March 8, 1922 snow fell in Atlanta.
|
|
(b) Mary has big feet.
|
|
(c) How much did you pay for that car.
|
|
(d) Keep off the grass.
|
|
(e) Five is a prime Number.
|
-
2. If you accept the sentences in column 1 what can you say about the statements in column 2
-
|
|
|
Column 1
|
Column 2
|
|
(a) The order of 1, 2, 3, 4, 5, 6 on
|
The relationship between 5 and 2
|
|
|
|
number line
|
|
(b) That a head and a tail are
|
The number of heads most likely
|
|
|
|
equally likely on the toss
|
to be obtained in 600 throws
|
|
|
|
of a coin
|
|
(c) That a parallelogram can be
|
The figure ABCD is a parallelogram
|
|
|
|
formed two congruent triangles
|
|
(d) If all policemen are over
|
Mr brown is a policeman
|
|
|
|
six feet tall.
|
|
(e) A person must be 16 years to
|
Junior is driving a car
|
|
|
drive a car
|
3. Make a truth table for the given statements.
|
(a) ~(~P)
|
(b) ~PÐ> ~ Q
|
(c) ~ PÐ> Q
|
|
(d) P ^ QÐ>P
|
(e) ~ pÐ>Q
|
(f) ( PÐ>Q) v PÐ>Q
|
|
(g) P ^ Q P v Q
|
(g) (PVQ) ^ R
|
|
(h) (P ^ Q) v (P ^ Q).
|
4. Construct truth table for
|
(a) ~ (p ^ Q)
|
(b) PV~Q
|
(c) ~ ( Pv~Q)
|