Solutions To Mathematics Textbooks/Proofs and Fundamentals/Chapter 1

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Exercise 1.2.1[edit | edit source]

Statements: 4. "The U.S. has 49 States"


Non-statements: 1. "Today is a nice day" → Opinion 2. "Go to sleep" → Command, order 3. "Is it going to snow tomorrow?" → Question 5. I like to eat fruit, and you often think about traveling to Spain. 6. If we go tonight the babysitter will be unhappy. 7. "Call me on Thursday if you are home" → Command, order

Exercise 1.2.2[edit | edit source]

Answer only[edit | edit source]

1[edit | edit source]

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

2[edit | edit source]

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.

3[edit | edit source]

→ This is a statement, but its 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.

4[edit | edit source]

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

5[edit | edit source]

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

6[edit | edit source]

→ 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 contexts, its truth value depends on the values of a, b,

7[edit | edit source]

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 wth power results in a value different to zero. Again, this depends on the value of z, but for some sets of numbers it can be shown that this is always true, but later in the book this is explained with greater care.

Exercise 1.2.3[edit | edit source]

1[edit | edit source]

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

2[edit | edit source]

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

3[edit | edit source]

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

4[edit | edit source]

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

5[edit | edit source]

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

6[edit | edit source]

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

7[edit | edit source]

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

8[edit | edit source]

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

Exercise 1.2.4[edit | edit source]

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.

1[edit | edit source]

→ If I am eating spaghetti then I am happy.

2[edit | edit source]

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

3[edit | edit source]

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

4[edit | edit source]

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

5[edit | edit source]

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

6[edit | edit source]

→ 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.5[edit | edit source]

1[edit | edit source]

Fred does not like to eat figs. → .

2[edit | edit source]

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

3[edit | edit source]

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

4[edit | edit source]

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

5[edit | edit source]

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

6[edit | edit source]

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

7[edit | edit source]

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

8[edit | edit source]

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

Exercise 1.2.6[edit | edit source]

1[edit | edit source]

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

2[edit | edit source]

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

3[edit | edit source]

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

4[edit | edit source]

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

5[edit | edit source]

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

6[edit | edit source]

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.7[edit | edit source]

1[edit | edit source]

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

2[edit | edit source]

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.

3[edit | edit source]

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.

4[edit | edit source]

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

5[edit | edit source]

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

6[edit | edit source]

→ 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.8[edit | edit source]

1[edit | edit source]

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

2[edit | edit source]

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

3[edit | edit source]

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

4[edit | edit source]

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

5[edit | edit source]

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

6[edit | edit source]

. → 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.9[edit | edit source]

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.

1[edit | edit source]

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

2[edit | edit source]

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.

3[edit | edit source]

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.

4[edit | edit source]

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.

5[edit | edit source]

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.10[edit | edit source]

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.

1[edit | edit source]

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.

2[edit | edit source]

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.

3[edit | edit source]

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.

4[edit | edit source]

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.

5[edit | edit source]

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.

6[edit | edit source]

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.11[edit | edit source]

1[edit | edit source]

2[edit | edit source]

3[edit | edit source]

4[edit | edit source]

5[edit | edit source]

Exercise 1.2.12[edit | edit source]

1[edit | edit source]

2[edit | edit source]

3[edit | edit source]

4[edit | edit source]

5[edit | edit source]

Exercise 1.2.13[edit | edit source]

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.

1[edit | edit source]


→ This statement is neither a tautology nor a contradiction.

2[edit | edit source]


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

3[edit | edit source]


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

4[edit | edit source]


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

5[edit | edit source]


→ This statement is a tautology.

6[edit | edit source]


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

7[edit | edit source]


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

Exercise 1.2.14[edit | edit source]

1[edit | edit source]

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:

2[edit | edit source]

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.

3[edit | edit source]

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

4[edit | edit source]

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.

5[edit | edit source]

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.

6[edit | edit source]

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 always 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 always false: a contradiction. Let's look at the truth table:

Exercise 1.2.15[edit | edit source]

1[edit | edit source]

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:

2[edit | edit source]

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.1[edit | edit source]

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

1[edit | edit source]

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

Exercise 1.4.1[edit | edit source]

For each of the following arguments, if it is valid, give a derivation, and if it is not valid, show why.

1[edit | edit source]

Therefore, the argument is valid (we have shown a derivation).

2[edit | edit source]

Constructing the table of truth, it can be seen that it is not a tautology, therefore, it is not a valid reasoning.

3[edit | edit source]

Therefore, the argument is valid (we have shown a derivation).

4[edit | edit source]

Therefore, the argument is valid (we have shown a derivation).

5[edit | edit source]

Constructing a truth table, it can be seen that it is not a tautology, therefore, it is not a valid reasoning. Values that satisfy all premises as true but leave the conclusion as false are: Q is false, S is false, F is false, E is false, and H is false.

Exercise 1.5.3[edit | edit source]

1[edit | edit source]

2[edit | edit source]

3[edit | edit source]

4[edit | edit source]

5[edit | edit source]

6[edit | edit source]

7[edit | edit source]

Exercise 1.5.11[edit | edit source]

1[edit | edit source]

2[edit | edit source]

Note: remember always use the Existential Instantiation (EI) before the Universal Instantiation (UI).