Math 101. Rumbos Spring 2010 1 Handout #1: Mathematical Reasoning 1 Propositional Logic A proposition is a mathematical statement that it is either true or false; that is, a statement whose certainty or falsity can be ascertained; we call this the βtruth valueβ of the statement. Thus, a proposition can have only one two truth values: it can be either true, denoted by π , or it can be false, denoted by πΉ . For example, the statement βπ2 is evenβ is either true or false depending on the value that π takes on in the set of integers. On the other hand, the statement βThis sentence is falseβ is not a proposition (Why?). The truth values of a proposition, π , can be displayed in tabular form as follows: π π πΉ This is an example of a βtruth table.β Given a proposition π , its negation, denoted by ¬π , is deο¬ned by the truth table π π πΉ ¬π πΉ π Example 1.1. Give the negation of the statement βAll students in this class are male.β Answer: βThere is at least one student in this class who is not male.β β‘ Example 1.2. Give the negation of the statement βIf π is even, the π2 is even.β Answer: βThere exist and integer π such that π is even and π2 is not even.β β‘ Math 101. Rumbos Spring 2010 2 The previous two examples illustrate the concept of a quantiο¬er in mathematical statements. Expressions like βthere is,β βthere exists,β βall,β βfor all,β and βfor someβ are examples of quantiο¬ers. Quantiο¬ers modify statements of the form π (π₯) which depend on a variable (in this case π₯) which can take on values in a set under consideration. For example, π (π) : βπ2 is evenβ can be modiο¬ed as follows βThere exists and integer, π, such that π2 is even,β or βFor all integers, π, π2 is even.β The ο¬rst statement is true, but the second one is false. The ο¬rst statement can be written in more compact notation as follows: β(βπ β β€) (π2 is even).β The symbol β reads βthere exists,β βthere isβ or βfor some.β It is called the existential quantiο¬er. The second statement can be written as β(βπ β β€) (π2 is even).β The symbol β reads βfor all β or βfor every.β It is called the universal quantiο¬er. The negation of the statement β(βπ β β€) (π2 is even)β is the statement β(βπ β β€) (π2 is not even).β In symbols, if we let π (π) denote βπ2 is even,β we write ¬(βπ β β€)π (π)) β‘ (βπ β β€)¬π (π)). The symbol β‘ is read: βis equivalent to.β Math 101. Rumbos Spring 2010 3 Deο¬nition 1.3. Two mathematical statements are equivalent if they have the same truth tables. If π and π are equivalent, we write π β‘π or π ββ π. Thus, the truth table for the statement π β‘ π is π π π πΉ πΉ π π πΉ π πΉ π β‘π π πΉ πΉ π Thus, π β‘ π is true only when the propositions π and π have the same truth values. Logical equivalence, β‘, is an example of a logical connector. In the next section we will see more examples of logical connectors. 2 Logical Connectors Most mathematical statements are made up of several propositions. Propositions can be put together in various ways and following certain rules that prescribe the truth values of the composite statements. In this section we describe how this is done. 2.1 Conjunctions The conjunction of two propositions, π and π, is the statement π β§ π deο¬ned by the truth table: π π π πΉ πΉ π π πΉ π πΉ π β§π π πΉ πΉ πΉ π β§ π reads βπ and π.β Thus, the conjunction, π β§ π is true only when both π and π are true. Math 101. Rumbos 2.2 Spring 2010 4 Disjunctions The disjunction of two propositions, π and π, is the statement π β¨ π deο¬ned by the truth table: π π π πΉ πΉ π π πΉ π πΉ π β¨π π π π πΉ π β¨ π reads βπ or π.β Thus, the disjunction, π β¨ π is false only when both π and π are false. In other words π β¨ π is true when either one of the statements, π and π, is true. 2.3 Implications The implication of two propositions, π and π, also known as material implication or truthβfunctional conditional, is the statement π β π deο¬ned by the truth table: π π π πΉ πΉ π π πΉ π πΉ π βπ π πΉ π π π β π reads βπ implies π,β or βIf π , then π.β Other ways to translate the material implication π β π in Mathematics are: βπ follows from π ;β βπ, if π ;β βπ only if π;β βπ is necessary for π ;β and βπ is suο¬cient for π.β The statement π in the material implication π β π is referred to as the hypothesis or antecedent, while π is called the conclusion or consequent of the implication. Material implication are very important in Mathematics. Most mathematical theorems are of the form: βIf some set of hypotheses hold true, then a conclusion must necessarily follow.β Thus, in order to prove a mathematical statement, it is important to understand the import of the truthβfunctional deο¬nition given in the truthβtable: π β π is false only when π is true and π is false. Thus, in order to establish the validity of a theorem of the form βIf π , then π,β one must show that if π is true, then π must be true. We will explore this idea further in the Section 4 on page 7 of these notes where we discuss methods for proving mathematical statements. Math 101. Rumbos 3 Spring 2010 5 Equivalences and Rules of Reasoning We have already seen the deο¬nition of logical equivalence; namely, two mathematical statements are equivalent if they have the same truth tables. If π and π are equivalent, we write π β‘π or π ββ π. The statement π ββ π is also read βπ if and only if π,β or βπ iο¬ π,β or βπ is necessary and suο¬cient for π.β The truth table for the statement π ββ π is π π π πΉ πΉ π π πΉ π πΉ π ββ π π πΉ πΉ π Example 3.1. Show that the statements π β π and ¬π β¨ π are equivalent. Solution: The strategy here is to set up a truth table that displays all the truth value for the statements and shows that they are the same. π π π πΉ πΉ π π πΉ π πΉ ¬π πΉ πΉ π π π β π ¬π β¨ π π π πΉ πΉ π π π π Since the last two columns have the same truth values, the two statements are equivalent. That is, (π β π) β‘ (¬π β¨ π) or (π β π) ββ (¬π β¨ π) β‘ Alternatively, we can also solve the previous example by computing the truth values (or truth table) for the statement (π β π) ββ (¬π β¨ π). Math 101. Rumbos Spring 2010 6 Example 3.2. Compute the truth table for (π β π) ββ (¬π β¨ π). Solution: We complete the following true table using the deο¬nition of logical equivalence. π π π πΉ πΉ π π πΉ π πΉ ¬π πΉ πΉ π π π βπ π πΉ π π ¬π β¨ π π πΉ π π (π β π) ββ (¬π β¨ π) π π π π Observe that all the truth values under (π β π) ββ (¬π β¨ π) are π . β‘ Deο¬nition 3.3. A statement for which all the truth values are π is called a tautology. Example 3.4. Determine if the implications π β π and π β π are equivalent. Solution: Consider the truth table π π π πΉ πΉ π π πΉ π πΉ π βπ πβπ π π πΉ π π πΉ π π Observe that the last two columns have diο¬erent truth values. Therefore, the two implications are not equivalent. β‘ The implication π β π is called the converse of the implication π β π. The previous example shows that an implication and its converse are not equivalent. Fact 3.5. Two statements π and π are equivalent if and only if π β π and π β π both hold true. Proof. We show that the statements π ββ π and (π β π) β§ (π β π ) are equivalent. To do so, consider the following truth table π π π πΉ πΉ π π πΉ π πΉ π βπ π πΉ π π πβπ π π πΉ π (π β π) β§ (π β π ) π ββ π π π πΉ πΉ πΉ πΉ π π Math 101. Rumbos Spring 2010 7 Example 3.6. Show that the implications π β π and ¬π β ¬π are equivalent. Solution: To prove this compute the truth table π π π πΉ πΉ π π πΉ π πΉ ¬π πΉ πΉ π π ¬π π β π πΉ π π πΉ πΉ π π π ¬π β ¬π π πΉ π π β‘ The implication ¬π β ¬π is called the contrapositive of the implication π β π. The previous example shows that an implication and its contrapositive are equivalent. 4 Methods of Proof The goal of this section is to develop techniques for proving mathematical statements. 4.1 Direct Methods We have already seen one way of proving a mathematical statement of the form Theorem. If π , then π. Based of the fact that the implication π β π is false only when π is true and π is false, the idea behind the method of proof that we discussed was to assume that π is true and then to proceed, through a chain of logical deductions, to conclude that π is true. Here is the outline of the argument: Proof: Suppose that π is true. Then, ... .. . Therefore, π This is an example of a direct method of proof. In the following section we discuss indirect methods of proof. Math 101. Rumbos Spring 2010 8 Example 4.1. Prove the statement: If π is even, then π2 is even. Proof: Assume that the integer π is even. Then, π = 2π, for some integer π. It then follows that π2 = (2π)2 = 4π 2 = 2(2π 2 ), which shows that π2 is even. 4.2 4.2.1 Indirect Methods Proving the Contrapositive The idea behind this method of proof comes from the fact that the implication ¬π β ¬π is equivalent to the implication π β π. Thus, in order to prove π β π, it suο¬ces to prove ¬π β ¬π . Here is the outline of the argument: Theorem. If π , then π Proof. Suppose that ¬π is true; i.e., assume that π is false. Then, ... .. . Hence, ¬π . Consequently, ¬π β ¬π is true; therefore, π β π is true. Example 4.2. Prove that π2 is even implies that π is even. Proof. Suppose that π is not even. Then π = 2π + 1 for some integer π. It then follows that π2 = (2π + 1)2 = 4π 2 + 4π + 1 = 2(2π 2 + 2π) + 1, which shows that π2 is not even. Thus, π is not even implies that π2 is not even, and therefore the contrapositive is true; namely, π2 is even implies that π is even Math 101. Rumbos 4.2.2 Spring 2010 9 Proof by Contradiction or Reductio ad Absurdum A contradiction is a statement of the form π β§ ¬π ; that is, a statement which is always false. The idea behind Reductio ad Absurdum comes from the fact that the implication (π β§ ¬π) β (π β§ ¬π ) is equivalent to the implication π β π. To see why this is the case, consider the following truth table: π π π πΉ πΉ π π πΉ π πΉ ¬π πΉ π πΉ π π β§ ¬π π β§ ¬π πΉ πΉ π πΉ πΉ πΉ πΉ πΉ (π β§ ¬π) β (π β§ ¬π ) π πΉ π π π βπ π πΉ π π Here is the outline of an argument by contradiction: Theorem. If π , then π Proof. Assume that π is true. Arguing by contradiction, suppose also that π is false. Then, ... .. . π .. . ¬π Hence, π β§ ¬π . This is absurd. Consequently, it must be that case that π is true. Therefore, π β π is true. The argument outlined above can also be used to prove a statement of the form Theorem. π is true. Math 101. Rumbos Spring 2010 10 Proof. Arguing by contradiction, assume that ¬π is true; that is, suppose that π is false. Then, ... .. . π .. . ¬π Hence, π β§ ¬π . This is absurd. Consequently, it must be that case that π is true. In order to verify the validity of this argument, consider the truth table: π π πΉ ¬π πΉ π π β§ ¬π πΉ πΉ ¬π β (π β§ ¬π ) π πΉ Observe that the columns for π and ¬π β (π β§ ¬π ) have the same truth values; therefore, π and ¬π β (π β§ ¬π ) are equivalent; in symbols, (¬π β (π β§ ¬π )) ββ π Before we present the next example, recall a few facts about prime numbers. Deο¬nition 4.3. A natural number π > 1 is said to be a prime number, or a prime, is its only (positive) divisors are 1 and π. If an integer is not a prime, then it is said to be a composite number. Theorem 4.4 (Fundamental Theorem of Arithmetic). Every natural number π > 1 can be written as a product of primes. This representation of π is unique up to the order of the prime factors. Theorem 4.5. There are inο¬nitely many prime numbers.1 1 The ο¬rst proof of this theorem is usually ascribed to Euclid, a Greek mathematician who lived circa 330 B.C. Math 101. Rumbos Spring 2010 11 Proof. Arguing by contradiction, suppose that there are only a ο¬nite number of prime numbers. Denote them by π1 , π2 , π3 , . . . , ππ . Then, this list contains all the prime numbers. Form the number π = π1 π2 π3 β β β ππ + 1. Then, π is not a prime since it is not in the list of primes given above. Thus, π is composite. Let π be a prime divisor of π. Then π is not on the list of primes; for if it was in the list, then π would divide π β π1 π2 π3 β β β ππ = 1. This is impossible. Hence, π is a prime which is not on the list; but this is absurd since the list π1 , π2 , π3 , . . . , ππ is assumed to contain all the primes. This contradiction shows that there must be inο¬nitely many primes.
© Copyright 2026 Paperzz