Logic
Logic
Logic
Negation
- The negation of a statement is the opposite meaning of the given statement. It is denoted
by the symbol, ~.
Example 4.1.2 Write the negation of the following statements.
a. The turtle can swim.
b. It will not rain on Tuesday.
c. The moon doesn’t look good tonight.
d. Layla vanished the enemy in one blow.
Solution:
a. The original statement or the given statement says that “The turtle can swim.” To
negate the statement, we will write its opposite statement which probably states that
“The turtle can’t swim.” Thus, the negation of the statement is “The turtle can’t
swim.”
b. Since the original statement says that “It will not rain on Tuesday.”, then the opposite
statement for this will be “It will rain on Tuesday.” Hence, the negation of the given
statement is “It will rain on Tuesday.”
c. The opposite statement for the given in letter c, would be “The moon looks good
tonight.” Thus, its negation would be “The moon looks good tonight.”
d. The negative side of the statement or let’s say its opposite statement is “Layla didn’t
vanish the enemy in one blow.” Hence, the negation of the given statement in letter d
will be the statement “Layla didn’t vanish the enemy in one blow.”
NOTE: The statement undergoes a negation once the original statement or the given
statement is change. If there are no changes on the statement then the negation did not
occur. You must always pay attention to the original statement or the given statement, for
it will be your guide.
After learning the negation, let’s try to convert the compound statements into its symbolic
form or the vice versa. Our guide in doing this, will be the table that is shown above. In this part,
you really need to pay attention to every given statement because the note above is very useful.
b. The given was “I am going to the basketball game or I am going to a movie.”, we have the
statements s and r. We can see that the original statement for statement s was change, so it
means that the given for letter b would be the negation of s, (~s). Now, we have the format
“~s or r”. Next, we will change the connective “or” to its symbolic form which looks like
this “∨” as shown in the table. Hence, the symbolic form for the compound statement is
“~s ∨ r”.
b. The symbols used for the statement was t and g, while for the connective it is ↔ which is
the symbol for “if and only if”. To write it in a compound statement, we will follow how
the symbols are arrange which was guided from the table. Hence, the compound statement
for the given symbolic form is “I am trading places if and only if I get George’s place.”
p ~p
T
F
Table 4.2.1
To recall, the negation of a statement is defined as the opposite meaning of the original
statement. Thus, we can say that if the statement p is true then its negation (~p) is false and
if the statement p is false its negation (~p) is true. As shown in the table 4.2.2.
p ~p
T F
F T
Table 4.2.2
Truth Table
Truth table is used to know the truth value of the compound statements, since compound
statements is composed of two or more statements. Suppose we have two simple statements
p and q. Each of these two statements have a truth value of either true (T) or false (F). With
these two values, we will look for all the possible pair of values by pairing the values of
the statement p to the values of the statement q. See the illustration 4.2.3.
p q
T T
F F
Illustration 4.2.3
By this illustration, we can say that the possible pairing of the two statements are TT, TF,
FT, and FF. This pairs are shown in the table 4.2.4.
p q
T T
T F
F T
F F
Table 4.2.4
The most important part of constructing a truth table is this kind of format. This serves as
your base before you can proceed to the next step. You must strictly follow this kind of
format. In order to identify the number of possibilities the statements would have, is to use
the formula 2n, where n is the number of statements in the given. For instance, (p ∧ r) ↔ q.
Since there are 3 statements, p, q, and r, we have n = 3.
2n = 23 = 8 rows
Now that we have 8 rows, the next step is to have the combinations of the truth value.
p q r
T T T
F F F
Illustration 4.2.5
From the illustration, the first and second row is represented by the yellow arrow. The 3 rd
and 4th row is the brown arrow. The 5th and 6th row is the green arrow. And lastly, the 7th
and 8th row is the red arrow. Thus, the possible combinations of the three statements are
TTT, TTF, TFT, TFF, FTT, FTF, FFT, and FFF. To make it more understandable, see the
table 4.2.6 below.
p q r
T T T
T T F
T F T
T F F
F T T
F T F
F F T
F F F
Table 4.2.6
Now, since we already have our foundation or the base of our truth table for the
compound statement, let’s proceed with the truth value for the conjunction and the
remaining types of statement.
p q p∧q
T T T
T F F
F T F
F F F
Table 4.2.7
From the table, we can see that the only row that would satisfy the condition that its
conjunction would be true if both statements are true is found in the first row. The
remaining rows are false (F) since values for the two statements are not both true.
p q p→q
T T T
T F F
F T T
F F T
Table 4.2.9
In this position, statement p is our first statement and statement q is the second statement.
The only row that could make the conditional statement false, is in row 2 because p which
the first statement is true and q which is the second statement is false. The remaining rows
for the table are true (T). If we have q → p, the table below shows its truth value.
p q q→p
T T T
T F T
F T F
F F T
The table shows that if our first statement is q and the second statement is p, the result will
be false in the 3rd row.
p q p↔q
T T T
T F F
F T F
F F T
Table 4.2.10
Since the first row have the same truth value that is true and the last row also have the same
truth value that is false, then its result is true(T). While in the second and third row, both
statements have different truth value so their result is false(F).
REFERENCES
Aufmann, R., Lockwood, J., Nation, R., Clegg, D., Epp, S. S. (2018). Logic: Logic
Statement and Quantifiers (pp. 163 – 171). Mathematics in the Modern World.
Aufmann, R., Lockwood, J., Nation, R., Clegg, D., Epp, S. S. (2018). Logic: Truth
Tables, Equivalent Statements, and Tautologies (pp. 175 – 179, 184 – 187).
Aufmann, R., Lockwood, J., Nation, R., Clegg, D., Epp, S. S. (2018). Logic: The
Modern World.