Use logical connectors (and/or) and conditional statements (if, then) in context
Evaluate the truth value of compound statements in context
Determine whether statements are logically equivalent
Chapter 1 Introduction.
In this chapter we’ll learn several different tools for decision making. We’ll look at logic, sets, Venn diagrams, percentages, rates and proportions. Then we’ll work with a problem solving process that can be applied to many types of situations.
Subsection1.1.1Logic
Logic is the study of reasoning. Our goal in this section is to look at propositions, logical connectors and statements that are used in everyday life and examine their meaning.
Subsection1.1.2Propositions
A proposition is a complete sentence that is either true or false. Opinions can be propositions, but questions or phrases cannot.
Example1.1.2.
Which of the following are propositions?
I am reading a math book.
Math is fun!
Do you like turtles?
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 look at compound statements.
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.
Subsection1.1.3Negation (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.
Example1.1.3.
Write the negation of the following propositions.
I am reading a math book.
Math is fun!
The sky is not green.
Cars have wheels.
Solution.
Negation: I am not reading a math book.
Negation: Math is not fun!
Negation: The sky is green (or not not green).
Negation: Cars do not have wheels.
Subsection1.1.4Negation of All and None
It is worth mentioning these qualifiers and how to negate them. If we were to make the statement, “All students read this book,” we could negate it by saying “Not all students read this book.” or “Some students don’t read this book.” Notice how this is very different from “No students read this book.”
If we were to negate, “No students read this book,” we could say, “A student is reading this book,” or even, “Some students do read this book.” It only takes one counterexample to negate an all or nothing statement and the phrases some do and some don’t are often used for this purpose. The same concept applies to similar words like everyone, nobody, always and never.
Example1.1.4.
Write two different negations of each statement.
All college students take psychology.
Dogs are never brown.
Solution.
Negations: Not all college students take psychology, or, Some college students don’t take psychology.
Negations: There are brown dogs, or, Some dogs are brown.
Subsection1.1.5Multiple 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 saying you will go. In fact, it’s often used for emphasis or a slightly different meaning, that you really must go. If someone says, “I don’t disagree,” they may be saying they don’t exactly agree but the person has a point. A double negative is similar to multiplying two negative numbers which gives a positive result. Using a third negation would then be equivalent to a single negation.
Note that in some instances a negation word like “no,” “nobody,” or “nothing” is used to emphasize rather than negate and this is called negative concord. For example, “I ain’t got no money,” is not a double negative but rather an emphasis of not having any money. This is common across many varieties of English and other languages. You can read more about negative concord at this site 1
ygdp.yale.edu/phenomena/negative-concord
. In general, use your judgment and context cues to distinguish between a double negative and negative concord. We will use multiple negations but not negative concord in this book.
In the media and in ballot measures we often see multiple negations and it can be confusing to figure out what a statement means.
Example1.1.5.
Read the statement and 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.
Example1.1.6.
Read the statement and 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.
Subsection1.1.6Logical Connectors: and 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).
Example1.1.7.
Determine whether each compound statement is true or false.
Six is an even number and Salem is the capital of Oregon.
Six is an even number or Salem is the capital of Oregon.
Guitars have strings and cats do not have whiskers.
Guitars have strings or cats do not have whiskers.
Whales are not mammals and spiders have ten legs.
Whales are not mammals or spiders have ten legs.
Solution.
True. Six is even and Salem is the capital of Oregon. Since both parts are true, the “and” statement is true.
True. Since both parts are true, the “or” statement is true.
False. Guitars have strings but cats do have whiskers. Both statements must be true for an “and” statement to be true.
True. Since the first part is true, the “or” statement is true.
False. Whales are mammals and spiders have eight legs, so both parts are false, making the “and” statement false.
False. Neither of the parts are true, so the “or” statement is false.
Subsection1.1.7Exclusive 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.
Example1.1.8.
Determine whether each or statement is inclusive or exclusive.
Would you like a chicken or vegan meal?
We want to hire someone who speaks Spanish or Chinese.
Are you going to wear sandals or tennis shoes?
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.
Subsection1.1.8Conditional 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 first part (the “if” part) is called the hypothesis and the second part (the “then” part) is called the conclusion.
The statement, “It is raining,” may be true or false for any given day. If the hypothesis is true, then we will follow the course of action and go to the mall. If the hypothesis is false, though, we haven’t said anything about what we will or won’t do.
To understand the truth 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 on social media, you’ll lose your job.” Under what conditions can you say that your friend was wrong?
There are four possible outcomes:
You post the photo and lose your job
You post the photo and don’t lose your job
You don’t post the photo and lose your job
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. This is the only time when a conditional statement is false.
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.
In this case it can be useful to outline the possibilities and outcomes in a table. The four cases above correspond to the four rows of a truth table. If your class is using truth tables they are covered in a later section. For this table we will use P for “posting the photo,” and L for “losing your job.”
Posting the Photo (P)
Losing Your Job (L)
If P, then L
You post the photo (T)
You lose your job (T)
True
You post the photo (T)
You don’t lose your job (F)
False
You don’t post the photo (F)
You lose your job (T)
True
You don’t post the photo (F)
You don’t lose your job (F)
True
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.
Example1.1.9.
Determine whether each conditional statement is true or false.
If tricycles have three wheels, then bicycles have two wheels.
If tricycles have three wheels, then tricycles can fly.
If pigs can fly, then birds can fly.
If pigs can fly, then the sky is yellow.
Solution.
True. Tricycles have three wheels and bicycles have two wheels. The hypothesis and conclusion are both true, so the statement is true.
False. Tricycles have three wheels, but they cannot fly. The hypothesis is true but the conclusion is false, making the statement false.
True. Pigs cannot fly (on their own) but birds can. Since the hypothesis is false, the statement is true regardless of whether the conclusion is true or false.
True. Since the hypothesis is false, the statement is true regardless of whether the conclusion is true or false.
Subsection1.1.9Evaluating Compound Statements
Some situations combine many “if, then”, “and” or “or” statements that may be inclusive or exclusive. Here’s an example where we need to evaluate a complex statement.
Example1.1.10.
Determine which set(s) of qualificaitons meet the requirement: “To apply for this job, applicants must have a bachelor’s degree, an associate’s degree and 3 years of relevant experience, or a high school diploma or GED and 6 years of relevant experience.”
Lyssa has a bachelor’s degree and 2 years of relevant experience.
Jordan has a high school diploma and 3 years of relevant experience.
Ayan has an associate’s degree and 6 years of relevant experience.
Sylvia has a GED and 6 years of relevant experience.
Solution.
There are many combinations that work here. Lyssa, Ayan and Sylvia all meet the requirements or go beyond what is needed. Jordan does not have enough years of experience to go with a high school diploma for this job.
We are using the words and, or, not and if then in this book, but if you look up other resources on logic 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\) may be written as ~\(A\) or \(\lnot A\)
\(\text{If } A\text{, then } B\) is written \(A\rightarrow B\)
Subsection1.1.10Logical Equivalence
And and or statments can have their propositions reversed without affecting the truth value of the statement. If you need to buy bacon and eggs, that’s the same as buying eggs and bacon. The order does matter for a conditional statement, though. Sometimes during an argument, an if, then statement will be reversed or combined with not in different ways. There are names for the combinations and it is helpful to look at which statements are equivalent to each other. Here are the names for the different combinations of if, then and not statements.
Original Conditional: if p, then q
Converse: if q, then p
Inverse: if not p, then not q
Contrapositive: if not q, then not p
Let’s look at all of the possibilities in an example.
Example1.1.11.
Assume this original conditional statement is true: “If you take your dog to the park, they will be happy.” Write the converse, inverse and contrapositive of the original statement and determine which are equivalent to each other.
Solution.
Original Statement: p is, “You take your dog to the park,” and q is, “Your dog is happy.”
Converse: “If your dog is happy, then you took them to the park.” Notice we needed to change the tense to keep the order of events the same. If your dog is happy does that mean you took them to the park? Not necessarily, because there are other reasons your dog could be happy like getting a treat or taking a walk. So this is false.
Inverse: “If you don’t take your dog to the park, they will not be happy.” This is similar to the converse. Even if you don’t take your dog to the park, they could be unhappy for another reason. This is false. The inverse is logically equivalent to the converse.
Contrapositive: “If your dog is not happy, then you did not take them to the park.” Since the original statement is true, then this is also true. Taking your dog to the park would result in them being happy, so if they are not happy we can say that they did not go to the park. The contrapositive is logically equivalent to the original statement.
Let’s summarize the results in this box.
Logical Equivalence.
A conditional statement and its contrapositive are equivalent.
The converse and inverse of a conditional statement are equivalent.
Exercises1.1.11Exercises
1.
Which of the following are propositions?
Pigs can fly.
What?
I don’t know.
I like tofu.
2.
Which of the following are propositions?
How far?
Portland is not in Oregon.
Portland Community College.
It is raining.
3.
Write the negation of each proposition.
I ride my bike to campus.
Portland is not in Oregon.
4.
Write the negation of each proposition.
You should see this movie.
Lashonda is wearing blue.
5.
Write the negation of each proposition.
Nobody rides their bike to campus.
All cities named Portland are in Oregon.
6.
Write the negation of each proposition.
Everyone should see this movie.
Lashonda never wears blue.
7.
Write a proposition that contains a double negative.
8.
Write a proposition that contains a triple negative.
9.
For each situation, decide whether the “or” is most likely exclusive or inclusive.
An entrée at a restaurant includes soup or salad.
You should bring an umbrella or a raincoat with you.
10.
For each situation, decide whether the “or” is most likely exclusive or inclusive.
We can keep driving on I-5 or get on I-405 at the next exit.
You should save this document on your computer or a flash drive.
11.
For each situation, decide whether the “or” is most likely exclusive or inclusive.
I will wear a sweater or a jacket.
My next vacation will be on the Oregon Coast or Mount Hood.
12.
For each situation, decide whether the “or” is most likely exclusive or inclusive.
While in California I will go to the beach or Disneyland.
The insurance agent offers car or boat insurance.
13.
Rewrite the statement in the conditional form if p, then q.
Whenever it is sunny, I go swimming.
I go see a movie on Fridays.
14.
Rewrite the statement in the conditional form if p, then q.
I always carry an umbrella when it rains.
On the weekend I like to hang out with friends.
15.
Determine whether the compound statement is true or false.
An apple is a vegetable or an apple is a fruit.
Portland is not a city in Oregon.
Fish can walk and birds can swim.
If \(2 + 5 = 10\text{,}\) then \(2 + 7 = 12\text{.}\)
16.
Determine whether the compound statement is true or false.
A horse is not a mammal.
If a horse is a mammal, then fish are mammals.
A triangle has three sides or four angles.
The Eiffel Tower is in London and the Taj Mahal is in India.
17.
Determine whether the compound statement is true or false.
A square has four sides and all sides are equal.
A square is not a triangle.
Six is an odd number or a multiple of 5.
If dogs have wings, then seven is an even number.
18.
Determine whether the compound statement is true or false.
An octogon has 8 sides or a rectangle has 5 sides.
An octogon does not have 8 sides.
If an octogon has 8 sides, then a triangle has three angles.
Whales are not mammals and cats are mammals.
19.
Write the converse, inverse and contrapositive of the statement: “If you go to the store, then you will have food for dinner.”
20.
Write the converse, inverse and contrapositive of the statement: “If you do your homework, then you will do well on the test.”
21.
Identify which pairs of statements are logically equivalent.
If you do not use your credit well, then you will not have a good credit rating.
If you use your credit well, then you will have a good credit rating.
If you have a good credit rating, then you use your credit well.
If you do not have a good credit rating then you do not use your credit well.
22.
Identify which pairs of statements are logically equivalent.
If you are not wearing shorts, then it is not hot outside.
If you are wearing shorts, then it is hot outside.
If it is not hot ouside, then you are not wearing shorts.