# Solutions To Mathematics Textbooks/Proofs and Fundamentals/Chapter 1

< Solutions To Mathematics Textbooks | Proofs and Fundamentals## Contents

# Exercise 1.2.1Edit

Statements: 1. "Today is a nice day" 4. "The U.S. has 49 States" 5. "I like to eat fruit, and you often think about traveling to Spain" 6. "If we go out tonight, the babysitter will be unhappy"

Non-statements: 2. "Go to sleep" → Command, order 3. "Is it going to snow tomorrow?" → Question 7. "Call me on Thursday if you are home" → Command, order

# Excercise 1.2.2Edit

## Answer onlyEdit

All are statements. See below for explanations.

## 1Edit

→ This is a statement. It is asserting that 4 is less than 3. This is false, so this is a false statement.

## 2Edit

If then → Note that this is not a simple statement. It is a compound statement, so to say, where there is a premise, and a consequence. The premise is the statement : *x* is greater or equal to two. The consequence statement is : *x* cubed is greater than one. The compound statement as a whole basically says that given the premise () we will have the consequence (). This kind of statement is explained later in the book.

## 3Edit

→ This is a statement, but is truth or falsity depends upon the value of *y*. If *y* take a number smaller than 7, then the statement is true; if *y* takes a value greater or equal to 7, then the statement becomes false.

## 4Edit

→ This is a statement, but again, the truth or falsity of the statement depends upon the values of *x*, *y* and *z*. For example, *x* = 4, *y* = 3 and *z* = 7 make the statement true.

## 5Edit

→ This is a statement. You may have seen it before in an algebra course. We can actually show that this is true no matter what the values of *a* and *b* are, expanding the square . This can be considered a **proof**, a concept that is shown later in the book.

## 6Edit

→ This is a statement, you may have seen it before as the pythagorean theorem, describing the relationships between the legs (*a* and *b*) and the hypothenuse (*c*) of a right triangle. It can be proven that this is always true for right triangles. In other context, its truth value depends on the values of *a*, *b*, and *c*.

## 7Edit

If then → This is a compound statement like the one in **(2)**, asserting that if *w* has a value of three, then rasing *z* to the *w*th power results in a value different to zero. Again, this depends on the value of *z*, but for some sets of numbers in can be shown that this is always true, but later in the book this is explained with greater care.

# Exercise 1.2.3Edit

## 1Edit

→ I like fruit and I don't like cereal.

## 2Edit

→ I don't like cereal or I know how to cook an omelette (Note, this also implies "...or I don't like cereal and I know how to cook an omelette", an important mathematical distinction lost in the English language).

## 3Edit

→ It is not the case that I know how to cook an omelette. (You can say I don't know how to cook an omelette, but depending on the context it is important to distinguish the negation from the statement).

## 4Edit

→ It is not the case that I like fruit or I don't like cereal (This can be confused with the statement . This one can be distinguished using punctuation, like: It is not the case that I like fruit**,** or I don't like cereal. Here the coma separates the statement from ). Another option is "It is not the case that I like fruit and it is not the case that I don't like cereal," according to DeMorgan's Laws.

## 5Edit

→ I don't like fruit or I like cereal (Here we directly incorporate the negation into the statement to make it shorter).

## 6Edit

→ I don't like fruit or I don't like cereal.

## 7Edit

→ I know how to cook an omelette and I like fruit, or I don't like cereal.

## 8Edit

→ I know how to cook an omelette, and I like fruit or I don't like cereal.

# Exercise 1.2.4Edit

In this exercise we use various forms of writing the conditional statements. Some of them might not be clear at first, so review those forms in the book. In common situations there are many ways of stating a conditional, and usually people are not rigorous about the language and rely on context to attain a good understanding of what is being said. In mathematics the language is very important, so you have to be very careful and try to eliminate any ambiguity.

## 1Edit

→ If I am eating spaghetti then I am happy.

## 2Edit

→ I am happy if and only if I am watching a movie.

## 3Edit

→ I am happy if I am watching a movie or eating spaghetti.

## 4Edit

→ I am watching a movie, or I am eating spaghetti only if I am happy.

## 5Edit

→ I'm not happy provided that I am watching a movie, and assuming that I am eating spaghetti, then I'm not happy.

## 6Edit

→ I'm happy and I'm not watching a movie if and only if I'm watching a movie or eating spaghetti.

# Exercise 1.2.5Edit

## 1Edit

Fred does not like to eat figs. → .

## 2Edit

Fred has red hair, and does not have a big nose. → .

## 3Edit

Fred has red hair or he likes to eat figs. → .

## 4Edit

Fred likes to eat figs, and he has red hair or he has a big nose. → .

## 5Edit

Fred likes to eat figs and he has read hair, or he has a big nose. → .

## 6Edit

It is not the case that Fred has a big nose or he has red hair. → .

## 7Edit

It is not the case that Fred has a big nose, or he has red hair. → .

## 8Edit

Fred has a big nose and red hair, or he has a big nose and likes to eat figs. → .

# Exercise 1.2.6Edit

## 1Edit

If the house is 30 years old, then it is ugly. → .

## 2Edit

If the house is blue, then it is ugly or it is 30 years old. → .

## 3Edit

If the house is blue then it is ugly, or it is 30 years old. → (We put the consequence statement in parenthesis to clarify to leave out any ambiguities. Sometimes it is assumed that the implication takes precedence over other logic operators other than the biconditional, so that you can drop some parenthesis from statements. But it is better to use parenthesis to eliminate any ambiguity that can arise).

## 4Edit

The house is not ugly if and only if it is 30 years old. → .

## 5Edit

The house is 30 years old if it is blue, and it is not ugly if it is 30 years old. → .

## 6Edit

For the house to be ugly, it is necessary and sufficient that it be ugly and 30 years old. → Remember that when we have the expression "necessary and sufficient" we are referring to a biconditional statement, hence: .

# Exercise 1.2.7Edit

## 1Edit

→ Since *A* is true, then it doesn't matter the truth value of *C*, the disjunction (OR) statement is **true**.

## 2Edit

→ *C* is false, then no matter the truth values of *D*, the conjunction (AND) statement will be false. And since the truth value of *B* is also false, then the OR statement will be **false**.

## 3Edit

→ *B* is false, so the AND statement is false. But then comes the negation of the AND statement, so the whole statement would be **true**.

## 4Edit

→ *C* is false, but with the negation it becomes true. That makes the whole OR statement **true**.

## 5Edit

→ *A* is true, so the left AND statement is also true. Therefore, the whole OR statement is **true**.

## 6Edit

→ Since *D* is true, then (we don't need to worry about the AND statement) the inner OR statement is true and subsequently the outer OR statement is **true**.

# Exercise 1.2.8Edit

## 1Edit

→ Since the antecedent (*Z*) is false, then the statement is **true** (a false antecedent mans the conditional is true no matter what the truth value of the consequence is).

## 2Edit

→ The truth value of both *X* and *Z* is the same (false) so the statement is **true**.

## 3Edit

→ *X* has truth value false, therefore the whole statement is **false**.

## 4Edit

→ In the inner conditional, we have a false antecedent (*X*), so the conditional is true. Then the outer conditional is **true** because the antecedent (*W*) and the consequnce (the inner conditional) are both true.

## 5Edit

→ The inner conditional in the left hand of the AND operator is true, because both *Y* and *W* are true. The equivalence then is also true, so the entire left hand side of the AND operator is true . As the *X* is negated, that makes the right hand side of the AND operator true, hence the whole statement is **true**.

## 6Edit

. → The left hand side of the equivalence is false since *W* is a true antecedent and *X* is a false consequence. The right hand side of the equivalence is also false, because *Y* being true makes the OR part true, but the negation changes the truth value, so it is false. We have then: left hand side false and right hand side false, making the equivalence **true**.

# Exercise 1.2.9Edit

Let *X* = "Flora likes fruit", *Y* = "Flora doesn't like carrots", *Z* = "Flora likes nuts", *W* = "Flora doesn't like rutabags". We assume all this statements are true, and its negations are obviously false.

## 1Edit

Flora likes fruit and carrots → . The negation of the *Y* statement is false, so the whole statement is **false**.

## 2Edit

Flora likes nuts or rutabags, and she does not like carrots. → . *Z* has a truth value of true, so the OR part is true. Now, *Y* is true, so the AND part is **true**.

## 3Edit

Flora likes carrots, or she likes fruits and nuts. → . Both *X* and *Z* are true, so the AND statement is true, and subsequently the OR statement is **true**.

## 4Edit

Flora likes fruits or nuts, and she likes carrots or rutabags. → . Since *Y* and *W* are both negated, both are false and the right OR statement becomes false. That is enough to make the whole statement **false**.

## 5Edit

Flora likes rutabags, or she likes fruit and either carrots or rutabags. → . The inner OR is false, because both *Y* and *W* are negated, so they are both false. Therefore, the AND statement becomes false, and that makes the right hand side of the outer OR false. The left hand side of the OR is false (negation of *W*, a true statement). As both sides are false, the whole statement is **false**.

# Exercise 1.2.10Edit

Let *X* = "Hector likes beans", *Y* = "Hector doesn't like peas", *Z* = "Hector doesn't like lentils", *W* = "Hector likes sunflower seeds". It is assumed that all statements are true, so their negations are false.

## 1Edit

If Hector likes beans, then he likes lentils. → . Since there is a true antecedent (*X*) with a false consequence (negation of *Z*), the statement is **false**.

## 2Edit

Hector likes lentils if and only if he likes peas. → . Since both *Z* and *Y* have the same truth value (false), the equivalence statement is **true**.

## 3Edit

Hector likes sunflower seeds, and if he likes lentils then he likes beans. → . The consequence in the right hand side of AND is true, since it has a false antecedent (negation of *Z*). The left hand side is true, so the whole statement is **true**.

## 4Edit

Hector likes peas and sunflower seeds if he likes beans. → . The AND statement is false because *Y* is negated. Having a true antecedent (*X*) and a false consequence (the AND statement), this whole statement is **false**.

## 5Edit

If Hector likes lentils then he likes sunflower seeds, or Hector likes lentils if and only if he likes peas. → . In the right hand side, both *Y* and *Z* are negated, so both are false, and since their truth value is the same, the equivalence is true. Therefore, the OR statement is **true**.

## 6Edit

For Hector to like beans and lentils it is necessary and sufficient for him to like peas or sunflower seeds. → . The left hand side of the equivalence is false, because there is a false statement in AND (the negation of *Z*). In the right hand side, since there is a true statement (*W*) in the OR, then the right hand side is true. But the sides of the equivalence differ in truth values, so the whole statement is ultimately **false**.

# Exercise 1.2.11Edit

# Exercise 1.2.12Edit

# Exercise 1.2.13Edit

A statement is a tautology if its truth table always gives true values. We have a contradiction when the truth table always gives false values.

## 1Edit

→

→ This statement is neither a tautology nor a contradiction.

## 2Edit

→

→ This statement is a tautology, because as we see in the truth table, it is always true.

## 3Edit

→

→ This statement is a contradiction, given that it always is false.

## 4Edit

→

→ We can stop at that row of the truth table, because now we know that the statement can't be a tautology or a contradiction.

## 5Edit

→

→ This statement is a tautology.

## 6Edit

→

→ We see that this statement is neither a tautology nor a contradiction.

## 7Edit

→

→ The statement is always false, therefore it is a contradiction.

# Exercise 1.2.14Edit

## 1Edit

If John eats a blueberry pizza, then he either eats a blueberry pizza or he does not. → Let *X* = "John eats a blueberry pizza". Then we have the following statement: → We can already see that this is a **tautology**, because no matter the truth value of *X*, is always true, and if the consequence in the conditional is always true, then so is the conditional. But let's see the truth table, just to be certain:

## 2Edit

If John eats a blueberry pizza or he does not, then he eats a blueberry pizza. → Let *X* = "John eats a blueberry pizza". Then we have the following statement: .

→ This statement is **neither a tautology nor a contradiction**.

## 3Edit

If pigs have wings and pigs do not have wings, then the sun sets in the east. → Let *X* = "pigs have wings" and *Y* = "the sun sets in the east". We can write this statement as follows: .

→ This statement is a **tautology**, since it always is false. The reason for this is that in the statement both truth values are always opposite, and because is and AND statement, it can't be true. And, since these false statement is the antecedent of the conditional, no matter what the value of *Y* is, the statement is always true. You can convince yourself of this by looking at the truth table:

.

## 4Edit

If Ethel goes to the movies then Agnes will eat a cake, and Agnes does not eat cake, and Ethel goes to the movies. → Let *X* = "Ether goes to the movies" and *Y* = "Agnes eats a cake". The statement can be written as follows: .

According to the truth table, this statement is a **contradiction**, since it is always false.

## 5Edit

Rabbits eat cake or pie, and if rabbits eat pie then eat cake. → Let *X* = "Rabbits eat cake" and *Y* = "Rabbits eat pie". So, we can write this statement like this: .

→ This statement is **neither a tautology nor a contradiction**.

## 6Edit

The cow is green or the cow is not green, if and only if the goat is blue and the goat is not blue. → Let *X* = "The cow is green" and *Y* = "The goat is blue". The we have the following statement: .

→ This one is a clear **contradiction**. Note that is alwyas true, because always one of *X* and *¬X* is true. But when we have , it is always false because the truth values are always opposite. Therefore, the truth values of and are never the same, so the whole statement is alwyas false: a contradiction. Let's look at the truth table:

# Exercise 1.2.15Edit

## 1Edit

Show that is a tautology. → We already know that an OR statement is true when at least one of the two statements is true. Since we have a statement that is a tautology (always true), therefore the OR statement will be true no matter the truth value of *P*. We can put a truth table just to show how this works:

## 2Edit

Show that is a contradiction. → When we have an AND statement, we know that is only true if both statements are true. But since one of the statements is a contradiction (always false), then the AND statement can't be true. Hence is always false: a contradiction.

# Exercise 1.3.1Edit

Let *P*, *Q*, *R* and *S* be statements. Show that the following are true.

## 1Edit

. We need to show that this is a tautology.

Therefore, this is true. Other way to see this is true is by using **Fact 1.3.2 - 8.** to yield and then **Fact 1.3.2 - 13.** to get . Then, using **Fact 1.3.1 - 3 (Simplification)** gives us .