Handout #1: Mathematical Reasoning



Similar documents
Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 2

Elementary Number Theory and Methods of Proof. CSE 215, Foundations of Computer Science Stony Brook University

Today s Topics. Primes & Greatest Common Divisors

Basic Proof Techniques

CHAPTER 3. Methods of Proofs. 1. Logical Arguments and Formal Proofs

def: An axiom is a statement that is assumed to be true, or in the case of a mathematical system, is used to specify the system.

3. Mathematical Induction

CHAPTER 2. Logic. 1. Logic Definitions. Notation: Variables are used to represent propositions. The most common variables used are p, q, and r.

WRITING PROOFS. Christopher Heil Georgia Institute of Technology

Chapter 3. Cartesian Products and Relations. 3.1 Cartesian Products

Math 3000 Section 003 Intro to Abstract Math Homework 2

Mathematics for Computer Science/Software Engineering. Notes for the course MSM1F3 Dr. R. A. Wilson

WHAT ARE MATHEMATICAL PROOFS AND WHY THEY ARE IMPORTANT?

INTRODUCTORY SET THEORY

Mathematical Induction

15 Prime and Composite Numbers

The Prime Numbers. Definition. A prime number is a positive integer with exactly two positive divisors.

The last three chapters introduced three major proof techniques: direct,

Kevin James. MTHSC 412 Section 2.4 Prime Factors and Greatest Comm

8 Divisibility and prime numbers

MATH10040 Chapter 2: Prime and relatively prime numbers

Mathematical Induction

Math 319 Problem Set #3 Solution 21 February 2002

CS 103X: Discrete Structures Homework Assignment 3 Solutions

6.2 Permutations continued

26 Integers: Multiplication, Division, and Order

Page 331, 38.4 Suppose a is a positive integer and p is a prime. Prove that p a if and only if the prime factorization of a contains p.

CSL105: Discrete Mathematical Structures. Ragesh Jaiswal, CSE, IIT Delhi

Continued Fractions and the Euclidean Algorithm

8 Primes and Modular Arithmetic

SECTION 10-2 Mathematical Induction

MATHEMATICAL INDUCTION. Mathematical Induction. This is a powerful method to prove properties of positive integers.

Cartesian Products and Relations

5544 = = = Now we have to find a divisor of 693. We can try 3, and 693 = 3 231,and we keep dividing by 3 to get: 1

DISCRETE MATH: LECTURE 3

Solutions to Homework 6 Mathematics 503 Foundations of Mathematics Spring 2014

Primes in Sequences. Lee 1. By: Jae Young Lee. Project for MA 341 (Number Theory) Boston University Summer Term I 2009 Instructor: Kalin Kostadinov

Introduction. Appendix D Mathematical Induction D1

CHAPTER 5. Number Theory. 1. Integers and Division. Discussion

MI314 History of Mathematics: Episodes in Non-Euclidean Geometry

The Fundamental Theorem of Arithmetic

SUBGROUPS OF CYCLIC GROUPS. 1. Introduction In a group G, we denote the (cyclic) group of powers of some g G by

Likewise, we have contradictions: formulas that can only be false, e.g. (p p).

Undergraduate Notes in Mathematics. Arkansas Tech University Department of Mathematics

k, then n = p2α 1 1 pα k

of Nebraska - Lincoln

Logic Appendix. Section 1 Truth Tables CONJUNCTION EXAMPLE 1

Introduction to Automata Theory. Reading: Chapter 1

A Few Basics of Probability

Math Circle Beginners Group October 18, 2015

Propositional Logic. A proposition is a declarative sentence (a sentence that declares a fact) that is either true or false, but not both.

CHAPTER 7 GENERAL PROOF SYSTEMS

MATH 289 PROBLEM SET 4: NUMBER THEORY

Mathematical Induction. Lecture 10-11

This asserts two sets are equal iff they have the same elements, that is, a set is determined by its elements.

4.2 Euclid s Classification of Pythagorean Triples

Theorem3.1.1 Thedivisionalgorithm;theorem2.2.1insection2.2 If m, n Z and n is a positive

Cosmological Arguments for the Existence of God S. Clarke

Solutions to Math 51 First Exam January 29, 2015

So let us begin our quest to find the holy grail of real analysis.

PYTHAGOREAN TRIPLES KEITH CONRAD

Every Positive Integer is the Sum of Four Squares! (and other exciting problems)

I. GROUPS: BASIC DEFINITIONS AND EXAMPLES

CS510 Software Engineering

mod 10 = mod 10 = 49 mod 10 = 9.

Chapter 11 Number Theory

88 CHAPTER 2. VECTOR FUNCTIONS. . First, we need to compute T (s). a By definition, r (s) T (s) = 1 a sin s a. sin s a, cos s a

The Chinese Remainder Theorem

Math 55: Discrete Mathematics

This chapter is all about cardinality of sets. At first this looks like a

INCIDENCE-BETWEENNESS GEOMETRY

Stanford Math Circle: Sunday, May 9, 2010 Square-Triangular Numbers, Pell s Equation, and Continued Fractions

Invalidity in Predicate Logic

Predicate Logic. For example, consider the following argument:

Doug Ravenel. October 15, 2008

Lecture Notes in Discrete Mathematics. Marcel B. Finan Arkansas Tech University c All Rights Reserved

Lecture 13 - Basic Number Theory.

GREATEST COMMON DIVISOR

= = 3 4, Now assume that P (k) is true for some fixed k 2. This means that

p: I am elected q: I will lower the taxes

Predicate Logic. Example: All men are mortal. Socrates is a man. Socrates is mortal.

4.5 Linear Dependence and Linear Independence

An Innocent Investigation

Cyclotomic Extensions

Math 223 Abstract Algebra Lecture Notes

Student Outcomes. Lesson Notes. Classwork. Discussion (10 minutes)

Regular Languages and Finite Automata

Number Theory. Proof. Suppose otherwise. Then there would be a finite number n of primes, which we may

NOTES ON LINEAR TRANSFORMATIONS

Lemma 5.2. Let S be a set. (1) Let f and g be two permutations of S. Then the composition of f and g is a permutation of S.

Math Workshop October 2010 Fractions and Repeating Decimals

Predicate Logic Review

1. Give the 16 bit signed (twos complement) representation of the following decimal numbers, and convert to hexadecimal:

Logic in general. Inference rules and theorem proving

CS 3719 (Theory of Computation and Algorithms) Lecture 4

Set Theory Basic Concepts and Definitions

COMP 250 Fall 2012 lecture 2 binary representations Sept. 11, 2012

A Study on the Necessary Conditions for Odd Perfect Numbers

WOLLONGONG COLLEGE AUSTRALIA. Diploma in Information Technology

Transcription:

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 T, or it can be false, denoted by F For example, the statement n 2 is even is either true or false depending on the value that n 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, P, can be displayed in tabular form as follows: P T F This is an example of a truth table Given a proposition P, its negation, denoted by P, is defined by the truth table P T F P F T Example 11 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 12 Give the negation of the statement If n is even, the n 2 is even Answer: There exist and integer n such that n is even and n 2 is not even

Math 101 Rumbos Spring 2010 2 The previous two examples illustrate the concept of a quantifier in mathematical statements Expressions like there is, there exists, all, for all, and for some are examples of quantifiers Quantifiers modify statements of the form P (x) which depend on a variable (in this case x) which can take on values in a set under consideration For example, P (n): n 2 is even can be modified as follows or There exists and integer, n, such that n 2 is even, For all integers, n, n 2 is even The first statement is true, but the second one is false The first statement can be written in more compact notation as follows: ( n Z) (n 2 is even) The symbol reads there exists, there is or for some It is called the existential quantifier The second statement can be written as ( n Z) (n 2 is even) The symbol reads for all or for every It is called the universal quantifier The negation of the statement ( n Z) (n 2 is even) is the statement ( n Z) (n 2 is not even) In symbols, if we let P (n) denote n 2 is even, we write The symbol is read: is equivalent to ( n Z)P (n)) ( n Z) P (n))

Math 101 Rumbos Spring 2010 3 Definition 13 Two mathematical statements are equivalent if they have the same truth tables If P and Q are equivalent, we write P Q or P Q Thus, the truth table for the statement P Q is P Q P Q T T T T F F F T F F F T Thus, P Q is true only when the propositions P and Q 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 21 Conjunctions The conjunction of two propositions, P and Q, is the statement P Q defined by the truth table: P Q P Q T T T T F F F T F F F F P Q reads P and Q Thus, the conjunction, P Q is true only when both P and Q are true

Math 101 Rumbos Spring 2010 4 22 Disjunctions The disjunction of two propositions, P and Q, is the statement P Q defined by the truth table: P Q P Q T T T T F T F T T F F F P Q reads P or Q Thus, the disjunction, P Q is false only when both P and Q are false In other words P Q is true when either one of the statements, P and Q, is true 23 Implications The implication of two propositions, P and Q, also known as material implication or truth functional conditional, is the statement P Q defined by the truth table: P Q P Q T T T T F F F T T F F T P Q reads P implies Q, or If P, then Q Other ways to translate the material implication P Q in Mathematics are: Q follows from P ; Q, if P ; P only if Q; Q is necessary for P ; and P is sufficient for Q The statement P in the material implication P Q is referred to as the hypothesis or antecedent, while Q 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 definition given in the truth table: P Q is false only when P is true and Q is false Thus, in order to establish the validity of a theorem of the form If P, then Q, one must show that if P is true, then Q 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 Spring 2010 5 3 Equivalences and Rules of Reasoning We have already seen the definition of logical equivalence; namely, two mathematical statements are equivalent if they have the same truth tables If P and Q are equivalent, we write P Q or P Q The statement P Q is also read P if and only if Q, or P iff Q, or P is necessary and sufficient for Q The truth table for the statement P Q is P Q P Q T T T T F F F T F F F T Example 31 Show that the statements P Q and P Q 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 P Q P P Q P Q T T F T T T F F F F F T T T T F F T T T Since the last two columns have the same truth values, the two statements are equivalent That is, (P Q) ( P Q) or (P Q) ( P Q) Alternatively, we can also solve the previous example by computing the truth values (or truth table) for the statement (P Q) ( P Q)

Math 101 Rumbos Spring 2010 6 Example 32 Compute the truth table for (P Q) ( P Q) Solution: We complete the following true table using the definition of logical equivalence P Q P P Q P Q (P Q) ( P Q) T T F T T T T F F F F T F T T T T T F F T T T T Observe that all the truth values under (P Q) ( P Q) are T Definition 33 A statement for which all the truth values are T is called a tautology Example 34 Determine if the implications P Q and Q P are equivalent Solution: Consider the truth table P Q P Q Q P T T T T T F F T F T T F F F T T Observe that the last two columns have different truth values Therefore, the two implications are not equivalent The implication Q P is called the converse of the implication P Q The previous example shows that an implication and its converse are not equivalent Fact 35 Two statements P and Q are equivalent if and only if P Q and Q P both hold true Proof We show that the statements P Q and (P Q) (Q P ) are equivalent To do so, consider the following truth table P Q P Q Q P (P Q) (Q P ) P Q T T T T T T T F F T F F F T T F F F F F T T T T

Math 101 Rumbos Spring 2010 7 Example 36 Show that the implications P Q and Q P are equivalent Solution: To prove this compute the truth table P Q P Q P Q Q P T T F F T T T F F T F F F T T F T T F F T T T T The implication Q P is called the contrapositive of the implication P Q 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 41 Direct Methods We have already seen one way of proving a mathematical statement of the form Theorem If P, then Q Based of the fact that the implication P Q is false only when P is true and Q is false, the idea behind the method of proof that we discussed was to assume that P is true and then to proceed, through a chain of logical deductions, to conclude that Q is true Here is the outline of the argument: Proof: Suppose that P is true Then, Therefore, Q 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 41 Prove the statement: If n is even, then n 2 is even Proof: Assume that the integer n is even Then, n = 2k, for some integer k It then follows that n 2 = (2k) 2 = 4k 2 = 2(2k 2 ), which shows that n 2 is even 42 Indirect Methods 421 Proving the Contrapositive The idea behind this method of proof comes from the fact that the implication is equivalent to the implication Q P P Q Thus, in order to prove P Q, it suffices to prove Q P Here is the outline of the argument: Theorem If P, then Q Proof Suppose that Q is true; ie, assume that Q is false Then, Hence, P Consequently, Q P is true; therefore, P Q is true Example 42 Prove that n 2 is even implies that n is even Proof Suppose that n is not even Then n = 2k + 1 for some integer k It then follows that n 2 = (2k + 1) 2 = 4k 2 + 4k + 1 = 2(2k 2 + 2k) + 1, which shows that n 2 is not even Thus, n is not even implies that n 2 is not even, and therefore the contrapositive is true; namely, n 2 is even implies that n is even

Math 101 Rumbos Spring 2010 9 422 Proof by Contradiction or Reductio ad Absurdum A contradiction is a statement of the form R R; that is, a statement which is always false The idea behind Reductio ad Absurdum comes from the fact that the implication (P Q) (R R) is equivalent to the implication P Q To see why this is the case, consider the following truth table: P Q Q P Q R R (P Q) (R R) P Q T T F F F T T T F T T F F F F T F F F T T F F T F F T T Here is the outline of an argument by contradiction: Theorem If P, then Q Proof Assume that P is true that Q is false Then, Arguing by contradiction, suppose also R R Hence, R R This is absurd Consequently, it must be that case that Q is true Therefore, P Q is true The argument outlined above can also be used to prove a statement of the form Theorem P is true

Math 101 Rumbos Spring 2010 10 Proof Arguing by contradiction, assume that P is true; that is, suppose that P is false Then, R R Hence, R R This is absurd Consequently, it must be that case that P is true In order to verify the validity of this argument, consider the truth table: P P R R P (R R) T F F T F T F F Observe that the columns for P and P (R R) have the same truth values; therefore, P and P (R R) are equivalent; in symbols, ( P (R R)) P Before we present the next example, recall a few facts about prime numbers Definition 43 A natural number p > 1 is said to be a prime number, or a prime, is its only (positive) divisors are 1 and p If an integer is not a prime, then it is said to be a composite number Theorem 44 (Fundamental Theorem of Arithmetic) Every natural number n > 1 can be written as a product of primes This representation of n is unique up to the order of the prime factors Theorem 45 There are infinitely many prime numbers 1 1 The first proof of this theorem is usually ascribed to Euclid, a Greek mathematician who lived circa 330 BC

Math 101 Rumbos Spring 2010 11 Proof Arguing by contradiction, suppose that there are only a finite number of prime numbers Denote them by p 1, p 2, p 3,, p r Then, this list contains all the prime numbers Form the number q = p 1 p 2 p 3 p r + 1 Then, q is not a prime since it is not in the list of primes given above Thus, q is composite Let p be a prime divisor of q Then p is not on the list of primes; for if it was in the list, then p would divide q p 1 p 2 p 3 p r = 1 This is impossible Hence, p is a prime which is not on the list; but this is absurd since the list p 1, p 2, p 3,, p r is assumed to contain all the primes This contradiction shows that there must be infinitely many primes