Skip to main content

Section 1.1 The Language and Rules of Logic

Subsection 1.1.1 Logic

Logic is the study of reasoning. Our goal in this chapter is to examine arguments to determine their validity and soundness. In this section we will look at propositions and logical connectors that are the building blocks of arguments. We will also use truth tables to help us examine complex statements.

Subsection 1.1.2 Propositions

A propostion is a complete sentence that is either true or false. Opinions can be propositions, but questions or phrases cannot.

Example 1.1.1.

Which of the following are propositions?

  1. I am reading a math book.

  2. Math is fun!

  3. Do you like turtles?

  4. My cat

Solution

The first and second items are propositions. The third one is a question and the fourth is a phrase, so they are not. We are not concerned right now about whether a statement is true or false. We will come back to that later when we examine full arguments.

Arguments are made of one or more propositions (called premises), along with a conclusion. Propositions may be negated, or combined with connectors like “and”, and “or”. Let’s take a closer look at how these negations and logical connectors are used to create more complex statements.

Subsection 1.1.3 Negation (not)

One way to change a proposition is to use its negation, or opposite meaning. We often use the word “not” to negate a statement.

Example 1.1.2.

Write the negation of the following propositions.

  1. I am reading a math book.

  2. Math is fun!

  3. The sky is not green.

  4. Cars have wheels

Solution
  1. Negation: I am not reading a math book.

  2. Negation: Math is not fun!

  3. Negation: The sky is green (or not not green)

  4. Negation: Cars do not have wheels.

Subsection 1.1.4 Multiple Negations

It is possible to use more than one negation in a statement. If you’ve ever said something like, “I can’t not go,” you are really saying you must go. It’s a lot like multiplying two negative numbers which gives a positive result.

In the media and in ballot measures we often see multiple negations and it can be confusing to figure out what a statement means.

Example 1.1.3.

Read the statement to determine the outcome of a yes vote.

“Vote for this measure to repeal the ban on plastic bags.”

Solution

If you said that a yes vote would enable plastic bag usage, you are correct. The ban stopped plastic bag usage, so to repeal the ban would allow it again. This measure has a double negation and is also not very good for the environment.

Example 1.1.4.

Read the statement to determine the outcome on mandatory minimum sentencing.

“The bill that overturned the ban on mandatory minimum sentencing was vetoed.”

Solution

In this case mandatory minimum sentencing would not be allowed. The ban would stop it, and the bill to overturn it was vetoed. This is an example of a triple negation.

Subsection 1.1.5 Logical Connectors (and, or)

When we use the word “and” between two propositions, it connects them to create a new statement that is also a proposition. For example, if you said “To finish this project, I need a screwdriver and a wrench,” then you are expressing the need for both tools. For an “and” statement to be true, the connected propositions must both be true. If even one proposition is false (for instance, you didn’t need a wrench) then the entire connected statement is false.

The word “or” between two propositions similarly connects the propositions to create a new statement. In this case, if you said “To finish this project, I need a screwdriver or a wrench,” then you are expressing the need for one of the tools (but probably not both). For an “or” statement to be true, at least one of the propositions must be true (or both could be true).

Subsection 1.1.6 Exclusive vs. Inclusive or

In English we often mean for or to be exclusive: one or the other, but not both. In math, however, or is usually inclusive: one or the other, or both. The thing we are including, or excluding is the “both” option.

Example 1.1.5.

Determine whether each or statement is inclusive or exclusive.

  1. Would you like a chicken or vegan meal?

  2. We want to hire someone who speaks Spanish or Chinese

  3. Are you going to wear sandals or tennis shoes?

  4. Are you going to visit Thailand or Vietnam on your trip?

Solution

The first or statement is a choice of one or the other, but not both, so it is exclusive. The second statement is inclusive because they could find a candidate who speaks both languages. The third statement is exclusive because you can’t wear both at the same time. The fourth statement is inclusive because you could visit both countries on your trip.

Subsection 1.1.7 Conditional Statements (if, then)

A conditional statement connects two propositions with if, then. An example of a conditional statement would be “If it is raining, then we’ll go to the mall.”

The statement “If it is raining,” may be true or false for any given day. If the condition is true, then we will follow the course of action and go to the mall. If the condition is false, though, we haven’t said anything about what we will or won’t do.

Subsection 1.1.8 Basic Truth Tables

In logic we can use a truth table to analyze a complex statement by summarizing all the possibilities and their truth values (true or false). To do this, we break the statement down to its smallest elements, the propositions. Then we can see the outcome of the complex statement for all possible combinations of true and false for the propositions.

For example, let’s work with two propositions:

  • R: You paid your rent this month.

  • E: You paid your electric bill this month.

We will use these two propositions to demonstrate the truth tables for not, and, and or.

To set up a truth table, we list all the possible truth value combinations in a systematic way. The standard way of doing this is to make the first column half true, then half false, then cut the pattern in half with each succeeding column. For two propositions, the first two columns are shown to the right.

R E R and E
T T
T F
F T
F F
Figure 1.1.6.

The four possible combinations are

  • Row 1: You have paid your rent and electric bill

  • Row 2: You have paid your rent but not your electric bill

  • Row 3: You have not paid your rent but you have paid your electric bill

  • Row 4: You haven’t paid either your rent or electric bill (yet).

Once we fill in the starting columns, we add additional columns for the more complex statements. We can add as many columns as needed. Below are the basic truth tables for not, and, and or.

Basic Truth Tables

Table 1.1.7. In the not R column, the truth value is the opposite of the value for R. For example, if R is true (you paid your rent) then not R (you did not pay your rent) is false.
Not
R not R
T F
F T
Table 1.1.8. In the R and E column, you must have paid both your rent and electric bill. Otherwise R and E is false.
And
R E R and E
T T T
T F F
F T F
F F F
Table 1.1.9. In the R or E column, you must have paid either your rent or electric bill, or both (inclusive or). Otherwise R or E is false.
Or
R E R or E
T T T
T F T
F T T
F F F

Subsection 1.1.9 Conditional Truth Tables

We talked about conditional statements (if, then statements), earlier. In logical arguments the first part (the “if” part) is usually a hypothesis and the second part (the “then” part) is a conclusion.

To understand the truth table values for a conditional statement it is helpful to look at an example. Let’s say a friend tells you, “If you post that photo to Facebook, you’ll lose your job.” Under what conditions can you say that your friend was wrong?

There are four possible outcomes:

  1. You post the photo and lose your job

  2. You post the photo and don’t lose your job

  3. You don’t post the photo and lose your job

  4. You don’t post the photo and don’t lose your job

The only case where you can say your friend was wrong is the second case, in which you post the photo but still keep your job.

Your friend didn’t say anything about what would happen if you didn’t post the photo, so you can’t say the last two statements are wrong. Even if you didn’t post the photo and lost your job anyway, your friend never said that you were guaranteed to keep your job if you didn’t post it.

The four cases above correspond to the four rows of the truth table. For this truth table we will use P for “posting the photo,” and L for “losing your job.”

Table 1.1.10. Truth table for a conditional statement
P L If P, then L
T T T
T F F
F T T
F F T

If the hypothesis (the “if” part) is false, we cannot say that the statement is a lie, so the result of the third and fourth rows is true. Notice that we are using a double negation in this explanation.

We are using the words and, or, not and if then in this book, but if you look up other resources on truth tables you are likely to see these symbols.

Symbols used in other resources.

\(A \text{ and } B\) is written \(A \land B\)

\(A \text{ or } B\) is written \(A \lor B\)

\(\text{not } A\) is written \(~A\)

\(\text{If } A\text{, then } B\) is written \(A\rightarrow B\)

Subsection 1.1.10 Truth Tables for Complex Statements

Truth tables really become useful when we analyze more complex statements. In this case we will have several columns. It helps to work from the inside out and create a column in the table for each intermediate statement.

Example 1.1.11.

Create a truth table for the statement A or not B

Solution

When we create the truth table, we start with columns for the propositions, A and B. Then we add a column for not B because that is part of the final statement. Our last column is the final statement A or not B.

A B not B A or not B
T T
T F
F T
F F

To complete the third column, not B, we take the opposite of the B column. Then to complete the fourth column, we only look at the A and the not B columns and compare them using or.

A B not B A or not B
T T F T
T F T T
F T F F
F F T T

Subsection 1.1.11 Truth Tables with Three Propositions

To create a truth table with three propositions we need eight rows for all the possible combinations. We will first determine the columns we need to get to our final statement. Then we will fill in the first three columns using the same methodology as before. Start with half true, half false, then cut the pattern in half each time.

Example 1.1.12.

Create a truth table for the statement A and not (B or C)

Solution

First let’s figure out the columns we will need. We have A, B, C, then we need the statement in the parentheses, (B or C). Then we need the negation of that column, not (B or C). Then we conclude with our final statement, A and not (B or C).

Here is the initial table:

Table 1.1.13.
A B C B or C not (B or C) A and not (B or C)
T T T
T T F
T F T
T F F
F T T
F T F
F F T
F F F

Now we complete the columns one at a time. We use the B column and C column to complete B or C,. Then not (B or C) is the opposite of that column. For the final column we only need to look at the first and fifth columns, shaded in blue, with and. Here is the completed table.

Table 1.1.14.
A B C B or C not (B or C) A and not (B or C)
T T T T F F
T T F T F F
T F T T F F
T F F F T T
F T T T F F
F T F T F F
F F T T F F
F F F F T F

For this statement A must be true and neither B or C can be true, so it is only true in the fourth row. For an example of this statement, let’s define these propositions in the context of professional baseball:

Let A = Anaheim wins, B = Baltimore wins, C = Cleveland wins.

Suppose that Anaheim will make the playoffs if: (1) Anaheim wins, and (2) neither Boston nor Cleveland wins. TFF is the only scenario in which Anaheim will make the playoffs.

Example 1.1.15.

Construct a truth table for the statement if m and not p, then r.

Solution

First, it may help to add parentheses to help you clarify the order. Our statement could also be written, if (m and not p), then r. To build this table, we will build the statement in parentheses and then repeat the r column after it. It’s easier to read the conditional statement from left to right. Here are the columns for the table:

Table 1.1.16.
m p r not p m and not p r If (m and not p), then 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

For the fourth column, we take the opposite of p. Then we use the first and fourth columns to complete m and not p. With the r column repeated we can use columns five and six to complete our conditional statement. Here is the completed table:

Table 1.1.17.
m p r not p m and not p r If (m and not p), then r
T T T F F T T
T T F F F F T
T F T T T T T
T F F T T F F
F T T F F T T
F T F F F F T
F F T T F T T
F F F T F F T

When m is true, p is false, and r is false—the fourth row of the table—then the hypothesis m and not p will be true, but the conclusion is false, resulting in an invalid conditional statement; every other case gives a true result.

If you want a real-life situation that could be modeled by if m and not p, then r, consider this:

Let m = we order meatballs, p = we order pasta, and r = Ruba is happy.

The statement if m and not p, then r is, “if we order meatballs and don’t order pasta, then Ruba is happy”. If m is true (we order meatballs), p is false (we don’t order pasta), and r is false (Ruba is not happy), then the statement is false, because we satisfied the premise, but Ruba did not satisfy the conclusion.

In this section we have discussed propositions, logical connectors and truth tables. In the next section, we will look at set relationships before we analyze arguments.

Exercises 1.1.12 Exercises

1.

Which of the following are propositions?

  1. Pigs can fly.

  2. What?

  3. I don't know.

  4. I like tofu.

Solution
  1. Proposition

  2. Not a proposition

  3. Proposition

  4. Proposition

2.

Which of the following are propositions?

  1. How far?

  2. Portland is not in Oregon.

  3. Portland Community College.

  4. It is raining.

Solution
  1. Not a proposition

  2. Proposition

  3. Not a proposition

  4. Proposition

3.

Write the negation of each proposition.

  1. I ride my bike to campus.

  2. Portland is not in Oregon.

Solution
  1. I do not ride my bike to campus.

  2. Portland is in Oregon.

4.

Write the negation of each proposition.

  1. You should see this movie.

  2. Lashonda is wearing blue.

Solution
  1. You should not see this movie.

  2. Lashonda is not wearing blue.

5.

Write a proposition that contains a double negative.

Solution

Answers will vary. Example: You can’t not do your homework.

6.

Write a proposition that contains a triple negative.

Solution

Answers will vary. Example: They decided not to cancel the ban on pesticides.

7.

For each situation, decide whether the “or” is most likely exclusive or inclusive.

  1. An entrée at a restaurant includes soup or salad.

  2. You should bring an umbrella or a raincoat with you.

Solution
  1. Exclusive

  2. Inclusive

8.

For each situation, decide whether the “or” is most likely exclusive or inclusive.

  1. We can keep driving on I-5 or get on I-405 at the next exit.

  2. You should save this document on your computer or a flash drive.

Solution
  1. Exclusive

  2. Inclusive

9.

For each situation, decide whether the “or” is most likely exclusive or inclusive.

  1. I will wear a sweater or a jacket.

  2. My next vacation will be on the Oregon Coast or Mount Hood.

Solution
  1. Inclusive

  2. Exclusive

10.

For each situation, decide whether the “or” is most likely exclusive or inclusive.

  1. While in California I will go to the beach or Disneyland.

  2. The insurance agent offers car or boat insurance.

Solution
  1. Inclusive

  2. Inclusive

11.

Rewrite the statement in the conditional form if p, then q.

  1. Whenever it is sunny, I go swimming.

  2. I go see a movie on Fridays.

Solution
  1. If it is sunny, then I will go swimming.

  2. If it is Friday, then I will go see a movie.

12.

Rewrite the statement in the conditional form if p, then q.

  1. I always carry an umbrella when it rains.

  2. On the weekend I like to hang out with friends.

Solution
  1. If it is raining, then I carry an umbrella.

  2. If it is the weekend, then I am hanging out with friends.

13.

Translate each statement from symbolic notation into English sentences. Let A represent “Elvis is alive” and let K represent “Elvis is the King”.

  1. Not A

  2. A or K

  3. Not A and K

  4. If K, then not A

Solution
  1. Elvis is not alive

  2. Elvis is alive or Elvis is the King

  3. Elvis is not alive and Elvis is the King

  4. If Elvis is the King, then Elvis is not alive

14.

Translate each statement from symbolic notation into English sentences. Let A represent “It rains in Oregon” and let B represent “I own an umbrella”.

  1. Not B

  2. A and not B

  3. If A, then B

  4. If not B, then A

Solution
  1. I do not own an umbrella.

  2. It rains in Oregon and I do not own an umbrella

  3. If it rains in Oregon, then I own an umbrella

  4. If I do not own an umbrella, then it rains in Oregon

15.

Translate each statement from English sentences into symbolic notation. Let A represent “I will protest” and let B represent “There is injustice.”

  1. There is injustice and I will protest.

  2. If there is injustice, then I will protest.

  3. I will protest if there is injustice.

  4. If there is not injustice, then I will not protest.

Solution
  1. B and A

  2. If B, then A

  3. If B, then A

  4. If not B, then not A

16.

Translate each statement from English sentences into symbolic notation. Let A represent “It’s time to eat” and let B represent “I am hungry.”

  1. It’s time to eat and I’m not hungry.

  2. It’s not time to eat.

  3. If it’s time to eat, then I’m hungry.

  4. If I’m not hungry then it’s not time to eat.

Solution
  1. A and not B

  2. Not A

  3. If A, then B

  4. If not B, then not A

17.

Determine if the entire statement is true or false.

  1. An apple is a vegetable, or an apple is a fruit.

  2. Portland is not a city in Oregon.

Solution
  1. True

  2. False

18.

Determine if the entire statement is true or false.

  1. Fish can walk and birds can swim.

  2. If it is warm outside, then it is sunny.

Solution
  1. False

  2. False

Complete the truth table for each statement and write the meaning of each statement in the third column.

19.

Let A be: I live in Oregon.

Let B be: I go to Portland Community College

A B A and B
T
T
F
F
Solution
A B A and B
T T T - I live in Oregon and I go to PCC
T F F - I live in Oregon and I don't go to PCC
F T F - I don't live in Oregon and I go to PCC
F F F - I don't live in Oregon and I don't go to PCC
20.

Let A be: I am a psychology major

Let B be: I'm planning to transfer to Portland State

A B A or B
T
T
F
F
Solution
A B A or B
T T T - I am a psychology major and I’m planning to transfer to PSU
T F T - I am a psychology major but I’m not planning to transfer to PSU
F T T - I am not a psychology major, but I’m planning to transfer to PSU
F F F - I am not a psychology major and I’m not planning to transfer to PSU

Complete the truth table for each statement.

21.

A and not B

A B Not B A and not B
T
T
F
F
Solution
A B Not B A and not B
T T F F
T F T T
F T F F
F F T F
22.

Not (not A or B)

A B Not A Not A or B Not (not A or B)
T
T
F
F
Solution
A B Not A Not A or B Not (not A or B)
T T F T F
T F F F T
F T T T F
F F T T F
23.

Not (A and B and C)

A B C A and B and C Not (A and B and C)
T
T
T
T
F
F
F
F
Solution
A B C A and B and C Not (A and B and C)
T T T T F
T T F F T
T F T F T
T F F F T
F T T F T
F T F F T
F F T F T
F F F F T
24.

Not A or (not B and C)

A B C Not A Not B Not B and C Not A or (Not B and C)
T
T
T
T
F
F
F
F
Solution
A B C Not A Not B Not B and C Not A or (Not B and C)
T T T F F F F
T T F F F F F
T F T F T T T
T F F F T F F
F T T T F F T
F T F T F F T
F F T T T T T
F F F T T F T

Create a complete truth table for each statement.

25.

Not(A and B) or C

Solution
A B C A and B Not (A and B) Not (A and B) or C
T T T T F T
T T F T F F
T F T F T T
T F F F T T
F T T F T T
F T F F T T
F F T F T T
F F F F T T
26.

(A or B) and (A or C)

Solution
A B C A or B A or C (A or B) and (A or C)
T T T T T T
T T F T T T
T F T T T T
T F F T T T
F T T T T T
F T F T F F
F F T F T F
F F F F F F
27.

If (A and B), then C

Solution
A B C A and B If (A and B), then C
T T T T T
T T F T F
T F T F T
T F F F T
F T T F T
F T F F T
F F T F T
F F F F T
28.

If (A or B), then not C

Solution
A B C A or B Not C If (A or B), then not C
T T T T F F
T T F T T T
T F T T F F
T F F T T T
F T T T F F
F T F T T T
F F T F F T
F F F F T T
29.

If (A and C), then not A

Solution
A C A and C Not A If (A and C), then not A
T T T F F
T F F F T
F T F T T
F F F T T
30.

If (B or C), then (A and B)

Solution
A B C B or C A and B If (B or C), then (A and B)
T T T T T T
T T F T T T
T F T T F F
T F F F F T
F T T T F F
F T F T F F
F F T T F F
F F F F F T