Skip to main content
Logo image

Math in Society, 2nd Edition: Tools for decision making

Section 1.1 Logic in Everyday Life

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.
Figure 1.1.1. Alternative Video Lesson

Subsection 1.1.1 Logic

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.

Subsection 1.1.2 Propositions

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

Example 1.1.2.

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 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.

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.3.

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 Negation 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.

Example 1.1.4.

Write two different negations of each statement.
  1. All college students take psychology.
  2. Dogs are never brown.
Solution.
  1. Negations: Not all college students take psychology, or, Some college students don’t take psychology.
  2. Negations: There are brown dogs, or, Some dogs are brown.

Subsection 1.1.5 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 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.

Example 1.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.

Example 1.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.

Subsection 1.1.6 Logical 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).

Example 1.1.7.

Determine whether each compound statement is true or false.
  1. Six is an even number and Salem is the capital of Oregon.
  2. Six is an even number or Salem is the capital of Oregon.
  3. Guitars have strings and cats do not have whiskers.
  4. Guitars have strings or cats do not have whiskers.
  5. Whales are not mammals and spiders have ten legs.
  6. Whales are not mammals or spiders have ten legs.
Solution.
  1. True. Six is even and Salem is the capital of Oregon. Since both parts are true, the “and” statement is true.
  2. True. Since both parts are true, the “or” statement is true.
  3. False. Guitars have strings but cats do have whiskers. Both statements must be true for an “and” statement to be true.
  4. True. Since the first part is true, the “or” statement is true.
  5. False. Whales are mammals and spiders have eight legs, so both parts are false, making the “and” statement false.
  6. False. Neither of the parts are true, so the “or” statement is false.

Subsection 1.1.7 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.8.

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.8 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 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:
  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. 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.

Example 1.1.9.

Determine whether each conditional statement is true or false.
  1. If tricycles have three wheels, then bicycles have two wheels.
  2. If tricycles have three wheels, then tricycles can fly.
  3. If pigs can fly, then birds can fly.
  4. If pigs can fly, then the sky is yellow.
Solution.
  1. True. Tricycles have three wheels and bicycles have two wheels. The hypothesis and conclusion are both true, so the statement is true.
  2. False. Tricycles have three wheels, but they cannot fly. The hypothesis is true but the conclusion is false, making the statement false.
  3. 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.
  4. True. Since the hypothesis is false, the statement is true regardless of whether the conclusion is true or false.

Subsection 1.1.9 Evaluating 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.

Example 1.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.”
  1. Lyssa has a bachelor’s degree and 2 years of relevant experience.
  2. Jordan has a high school diploma and 3 years of relevant experience.
  3. Ayan has an associate’s degree and 6 years of relevant experience.
  4. 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\)

Subsection 1.1.10 Logical 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.

Example 1.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.

Exercises 1.1.11 Exercises

1.

Which of the following are propositions?
  1. Pigs can fly.
  2. What?
  3. I don’t know.
  4. I like tofu.

2.

Which of the following are propositions?
  1. How far?
  2. Portland is not in Oregon.
  3. Portland Community College.
  4. It is raining.

3.

Write the negation of each proposition.
  1. I ride my bike to campus.
  2. Portland is not in Oregon.

4.

Write the negation of each proposition.
  1. You should see this movie.
  2. Lashonda is wearing blue.

5.

Write the negation of each proposition.
  1. Nobody rides their bike to campus.
  2. All cities named Portland are in Oregon.

6.

Write the negation of each proposition.
  1. Everyone should see this movie.
  2. 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.
  1. An entrée at a restaurant includes soup or salad.
  2. You should bring an umbrella or a raincoat with you.

10.

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.

11.

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.

12.

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.

13.

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.

14.

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.

15.

Determine whether the compound 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.
  3. Fish can walk and birds can swim.
  4. If \(2 + 5 = 10\text{,}\) then \(2 + 7 = 12\text{.}\)

16.

Determine whether the compound statement is true or false.
  1. A horse is not a mammal.
  2. If a horse is a mammal, then fish are mammals.
  3. A triangle has three sides or four angles.
  4. The Eiffel Tower is in London and the Taj Mahal is in India.

17.

Determine whether the compound statement is true or false.
  1. A square has four sides and all sides are equal.
  2. A square is not a triangle.
  3. Six is an odd number or a multiple of 5.
  4. If dogs have wings, then seven is an even number.

18.

Determine whether the compound statement is true or false.
  1. An octogon has 8 sides or a rectangle has 5 sides.
  2. An octogon does not have 8 sides.
  3. If an octogon has 8 sides, then a triangle has three angles.
  4. 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.
  1. If you do not use your credit well, then you will not have a good credit rating.
  2. If you use your credit well, then you will have a good credit rating.
  3. If you have a good credit rating, then you use your credit well.
  4. 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.
  1. If you are not wearing shorts, then it is not hot outside.
  2. If you are wearing shorts, then it is hot outside.
  3. If it is not hot ouside, then you are not wearing shorts.
  4. If it is hot outside, then you will wear shorts.