I. Mathematical Statements and Proofs

Similar documents
Handout #1: Mathematical Reasoning

3. Mathematical Induction

Properties of Real Numbers

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

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

Binary Adders: Half Adders and Full Adders

Matrix Algebra. Some Basic Matrix Laws. Before reading the text or the following notes glance at the following list of basic matrix algebra laws.

Chapter 3. Cartesian Products and Relations. 3.1 Cartesian Products

26 Integers: Multiplication, Division, and Order

Continued Fractions and the Euclidean Algorithm

1.2. Successive Differences

INTERSECTION MATH And more! James Tanton

Mathematical Induction

Boolean Algebra Part 1

INCIDENCE-BETWEENNESS GEOMETRY

Factorizations: Searching for Factor Strings

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

WOLLONGONG COLLEGE AUSTRALIA. Diploma in Information Technology

CS 3719 (Theory of Computation and Algorithms) Lecture 4

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.

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

A Second Course in Mathematics Concepts for Elementary Teachers: Theory, Problems, and Solutions

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

Math 55: Discrete Mathematics

WRITING PROOFS. Christopher Heil Georgia Institute of Technology

Incenter Circumcenter

Logic in Computer Science: Logic Gates

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


Automata and Formal Languages

Lecture 1. Basic Concepts of Set Theory, Functions and Relations

2.1. Inductive Reasoning EXAMPLE A

Greatest Common Factors and Least Common Multiples with Venn Diagrams

of Nebraska - Lincoln

1.2 Solving a System of Linear Equations

Set operations and Venn Diagrams. COPYRIGHT 2006 by LAVON B. PAGE

Basic Proof Techniques

MATH10040 Chapter 2: Prime and relatively prime numbers

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

To Evaluate an Algebraic Expression

Applications of Fermat s Little Theorem and Congruences

SUM OF TWO SQUARES JAHNAVI BHASKAR

Row Echelon Form and Reduced Row Echelon Form

Mathematical Induction. Lecture 10-11

Mathematical Induction. Mary Barnes Sue Gordon

Lecture 16 : Relations and Functions DRAFT

SECTION 10-2 Mathematical Induction

Arrangements of Stars on the American Flag

Discrete Mathematics

Solutions of Linear Equations in One Variable

S on n elements. A good way to think about permutations is the following. Consider the A = 1,2,3, 4 whose elements we permute with the P =

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

Deterministic Finite Automata

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

Vocabulary. Term Page Definition Clarifying Example. biconditional statement. conclusion. conditional statement. conjecture.

Section 1.1 Real Numbers

Arkansas Tech University MATH 4033: Elementary Modern Algebra Dr. Marcel B. Finan

PYTHAGOREAN TRIPLES KEITH CONRAD

Creating, Solving, and Graphing Systems of Linear Equations and Linear Inequalities

Regular Languages and Finite Automata

SOLUTIONS FOR PROBLEM SET 2

Solving Rational Equations

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

Math 3000 Section 003 Intro to Abstract Math Homework 2

IB Math Research Problem

Hooray for the Hundreds Chart!!

1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1.

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

Chapter 17. Orthogonal Matrices and Symmetries of Space

6.2 Permutations continued

Chapter 11 Number Theory

arxiv: v2 [math.ho] 4 Nov 2009

Session 6 Number Theory

4.2 Euclid s Classification of Pythagorean Triples

4.5 Linear Dependence and Linear Independence

Geometry 1. Unit 3: Perpendicular and Parallel Lines

CMPSCI 250: Introduction to Computation. Lecture #19: Regular Expressions and Their Languages David Mix Barrington 11 April 2013

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

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

3 Some Integer Functions

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

Playing with Numbers

Mathematical Induction

Zachary Monaco Georgia College Olympic Coloring: Go For The Gold

Math 319 Problem Set #3 Solution 21 February 2002

E3: PROBABILITY AND STATISTICS lecture notes

This unit will lay the groundwork for later units where the students will extend this knowledge to quadratic and exponential functions.

INTRODUCTORY SET THEORY

ALGEBRA. sequence, term, nth term, consecutive, rule, relationship, generate, predict, continue increase, decrease finite, infinite

Combinatorial Proofs

Notes on Factoring. MA 206 Kurt Bryan

PRIME FACTORS OF CONSECUTIVE INTEGERS

Just the Factors, Ma am

Stupid Divisibility Tricks

WOLLONGONG COLLEGE AUSTRALIA. Diploma in Information Technology

Solving Linear Systems, Continued and The Inverse of a Matrix

Math/Stats 425 Introduction to Probability. 1. Uncertainty and the axioms of probability

Lecture Notes on Polynomials

Notes on Complexity Theory Last updated: August, Lecture 1

Transcription:

These are supplementary notes for Week 1 s lectures. It does not cover all of the material discussed in lectures, but rather is intended to provided extra explanations of material related to the lectures. The required text is Peter J. Eccles book An Introduction to Mathematical Reasoning. The section and page numbers refer to his book. I. Mathematical Statements and Proofs In this part we learn, mostly by example, how to write mathematical statements and how to write basic mathematical proofs. I.1. The language of mathematics (p. ) 1.1. Mathematical statements (p. ) Definition (p. ). A statement (or proposition) is a sentence that is either true or false (both not both). So is an odd integer is a statement. But π is a cool number is not a (mathematical) statement. Note that 4 is an odd integer is also a statement, but it is a false statement. 1.2 Logical connectives (p. 5) The connective or Given two statements, such as 2 is an odd integer (false) and is an odd integer (true), we can form a combined statement using the connective or by: (2 is an odd integer) or ( is an odd integer). This statement is true since at least one of the two statements 2 is an odd integer and is an odd integer is true. More abstractly, Definition (p. 5). Given two statements P and Q, we say that the statement P or Q is true if at least one of the two statements P and Q is true. Table 1.2.1 (p. 6). It is convenient to use a truth table to exhibit this definition: P Q P or Q T T T T F T F T T F F F For example, the last row says that if P is false and Q is false, then P or Q is false. The connective and 1

Definition (p. 7). Given two statements P and Q, we say that the statement P and Q is true if both of the two statements P and Q are true. The truth table is (Exercise 1.1 on p. 8): P Q P and Q T T T T F F F T F F F F The connective not Definition (pp. 7 8). Given a statement P, we say that the statement not P is true if P is false. The truth table is: P T F not P F T Sets and Venn diagrams Let A and B be sets (this will be discussed more in section 6). We denote x being an element of A by x A. means union and means intersection and c means complement. 1. x A B means x A or x B. 2. x A B means x A and x B.. x A c means not x A (also denoted as x / A). So union corresponds to or, intersection corresponds to and, and complement corresponds to not. I.2. Implications The following is statement is true for any statements P and Q (proof this as an exercise): If P, then P or Q. Let a and b be real numbers. Consider the statement ab = 0. We claim that this statement is equivalent to the statement a = 0 or b = 0. We can see this as follows. 1. Suppose ab = 0. 1a. If a = 0, then a = 0 or b = 0. 1b. If a 0, then 0 = 0 a = ab a = b. Since b = 0, we conclude that a = 0 or b = 0. We have proved, by cases, that: If ab = 0, then a = 0 or b = 0. 2. Suppose a = 0 or b = 0. 2a. If a = 0, then ab = 0 b = 0. 2b. If b = 0, then ab = a 0 = 0. We have proved, by cases, that: If a = 0 or b = 0, then ab = 0. 2

Combining what we have done in 1 and 2, we see that the statement ab = 0 is equivalent to the statement a = 0 or b = 0. One may also see the above by using a truth table: 2.1. Implications (p. 10) Consider the (true) statement: a = 0 b = 0 a = 0 or b = 0 ab = 0 T T T T T F T T F T T T F F F F If an integer a is even, then a 2 is even. (1) This is an example of an implication. It means that if the statement an integer a is even is true, then the statement a 2 is even is true. Remark 1 To prove (1), we need to prove that every even integer a has square a 2 which is even. It is not enough given an example. So, of course, saying 10 is even, and 10 2 = 100 is even. is not enough to prove (1)! In this statement, if a is odd (i.e., not even), then nothing is said about a 2. Of course, we can make the separate implication: If an integer a is odd, then a 2 is odd. (2) This statement is also true, as we shall see below. But it is not equivalent to (does not have the same meaning as) the previous statement. As a mathematical abbreviation, we write (1) and (2) respectively as: and (a is even) (a 2 is even) (a is odd) (a 2 is odd). That is, in lieu of If..., then..., we use. More abstractly, given two statements P and Q, when we write: If P, then Q. () we mean that if P is true, then Q is true. In particular, if P is false, then nothing is said about whether Q is true. For () we also write P Q. Here s the truth table for implication: P Q P Q T T T T F F F T T F F T Let s consider some examples. Example 1. Consider the predicates P (n) being n is even and Q (n) being n 2 is even. The (universal) statement (4)

is true. Note that (n is even) (n 2 is even) P (n) n n 2 Q (n) P (n) Q (n) T even even T T F odd odd F T Here we used the 1st and 4th rows of the truth table (4) for P Q to obtain that the last column has two T s. Example 2. Consider the predicates P (x) being x 0 and Q (x) being x 2 0. The statement is true. Note that (x 0) (x 2 0) P (x) Q (x) P (x) Q (x) T x 0 x 2 0 T T F x < 0 x 2 > 0 T T Here we used the 1st and rd rows of the truth table for P Q to obtain that the last column has two T s. Definition. (p. 14) The converse of the statement If P, then Q. is the statement: If Q, then P. In other words, the converse of P Q is Q P. So the converse of If an integer a is even, then a 2 is even. is: If a 2 is even, then a is even. (being understood that a is an integer). In general, as in this case, a statement does not have the same meaning as its converse. Example. Consider the true statement: Its converse is: If x 0, then x 2 0. If x 2 0, then x 0. The converse is false since 1 < 0 and ( 1) 2 0. Definition 2 Let P and Q be statements. The statement: P Q means that (P Q) and (Q P ). In other words, we have both: If P is true, then Q is true. and If Q is true, then P is true. In this case, we also say that P if and only if Q or P is equivalent to Q. 2.2. Arithmetic (p. 15) Division algorithm (dividing by 2 case). For each integer a there exists unique integers b and r such that (1) a = 2b + r and (2) r = 0 or r = 1. 4

2.. Mathematical truth (p. 17) I.. Proofs.1. Direct proofs (p. 22) We now prove that the square of an even integer is even. Proposition (The square of an even integer is even) Let a be an integer. If a is even, then a 2 is even. Proof. Suppose a is even. By definition, there exists an integer q such that a = 2q. Then a 2 = (2q) 2 = 2 ( 2q 2). Since 2q 2 is an integer, by this equality and the definition of even, we conclude that a 2 is even. Remarks on the proof : We first wrote down the definition of even to get... a = 2q. Then we used this to rewrite a 2 as equal to 2 ( 2q 2), which is 2 times an integer. One of the most basic techniques of proving results is to write down the definition(s) and work toward the desired conclusion (direct proof). Exercise 4 1. Prove that if a and b are even integers, then a + b is even. 2. Prove that if a and b are even integers, then ab is even. Explain why this is a generalization of Proposition. Solution. (1) Suppose a and b are even. Then there exist integers q, r such that a = 2q and b = 2r. Thus a + b = 2 (q + r) is even (since q + r is an integer). This is a generalization of Proposition since that is the special case where a = b..2. Constructing proofs backwards (p. 27) Consider the statement: For any real numbers a, b and c, a 2 + b 2 + c 2 1 (a + b + c)2. We can prove this statement by constructing the proof backwards: a 2 + b 2 + c 2 1 (a + b + c)2 = a 2 + b 2 + c 2 1 ( a 2 + b 2 + c 2 + 2ab + 2ac + 2bc ) = 2 ( a 2 + b 2 + c 2) 1 (2ab + 2ac + 2bc) = 2 ( a 2 + b 2 + c 2 ab ac bc ) 0 = 2a 2 + 2b 2 + 2c 2 2ab 2ac 2bc 0 = (a b) 2 + (a c) 2 + (b c) 2 0. 5

Since the last statement (inequality) is true for all real numbers a, b and c, by the string of (5) implications, we conclude that the first statement a 2 + b 2 + c 2 1 (a + b + c)2 is true for all real numbers a, b and c. Remark. Some algebra facts you should know (follows just from the distributive law): (a + b) 2 = a 2 + b 2 + 2ab, (a b) 2 = a 2 + b 2 2ab. 6