Mathematical Reasoning (Part I) 1

Similar documents
1.1 Language and Logic

1.1 Language and Logic

CSC Discrete Math I, Spring Propositional Logic

Steinhardt School of Culture, Education, and Human Development Department of Teaching and Learning. Mathematical Proof and Proving (MPP)

Connectives Name Symbol OR Disjunction And Conjunction If then Implication/ conditional If and only if Bi-implication / biconditional

2. The Logic of Compound Statements Summary. Aaron Tan August 2017

Lecture 2. Logic Compound Statements Conditional Statements Valid & Invalid Arguments Digital Logic Circuits. Reading (Epp s textbook)

Proofs. Joe Patten August 10, 2018

5. Use a truth table to determine whether the two statements are equivalent. Let t be a tautology and c be a contradiction.

2. Sets. 2.1&2.2: Sets and Subsets. Combining Sets. c Dr Oksana Shatalov, Spring

Compound Propositions

Section A (not in the text) Which of the following are statements? Explain. 3. The President of the United States in 2089 will be a woman.

HANDOUT AND SET THEORY. Ariyadi Wijaya

Logical Operators. Conjunction Disjunction Negation Exclusive Or Implication Biconditional

2-4: The Use of Quantifiers

CSE 20. Final Review. CSE 20: Final Review

Section 1.1 Propositions

Chapter 1 Elementary Logic

Logic Overview, I. and T T T T F F F T F F F F

Logical Reasoning. Chapter Statements and Logical Operators

LECTURE 1. Logic and Proofs

Introduction to Sets and Logic (MATH 1190)

Logic, Sets, and Proofs

1.1 Statements and Compound Statements

AN INTRODUCTION TO MATHEMATICAL PROOFS NOTES FOR MATH Jimmy T. Arnold

Lecture Notes 1 Basic Concepts of Mathematics MATH 352

Conjunction: p q is true if both p, q are true, and false if at least one of p, q is false. The truth table for conjunction is as follows.

CMSC 250 Spring 2016: Final Exam Review Questions Key

Section L.1- Introduction to Logic

Discrete Mathematical Structures. Chapter 1 The Foundation: Logic

ICS141: Discrete Mathematics for Computer Science I

2/2/2018. CS 103 Discrete Structures. Chapter 1. Propositional Logic. Chapter 1.1. Propositional Logic

4. Sets The language of sets. Describing a Set. c Oksana Shatalov, Fall

Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes

EECS 1028 M: Discrete Mathematics for Engineers

Math 10850, fall 2017, University of Notre Dame

Chapter 1: The Logic of Compound Statements. January 7, 2008

Exclusive Disjunction

STRATEGIES OF PROBLEM SOLVING

PROPOSITIONAL CALCULUS

software design & management Gachon University Chulyun Kim

Logic and Proofs. (A brief summary)

A statement is a sentence that is definitely either true or false but not both.

2.2: Logical Equivalence: The Laws of Logic

The following techniques for methods of proofs are discussed in our text: - Vacuous proof - Trivial proof

Foundations of Discrete Mathematics

CHAPTER 1 - LOGIC OF COMPOUND STATEMENTS

Propositional Equivalence

~ p is always false. Based on the basic truth table for disjunction, if q is true then p ~

Example. Logic. Logical Statements. Outline of logic topics. Logical Connectives. Logical Connectives

Logic and Propositional Calculus

Logic. Def. A Proposition is a statement that is either true or false.

Packet #2: Set Theory & Predicate Calculus. Applied Discrete Mathematics

A Statement; Logical Operations

Introduction to Decision Sciences Lecture 2

Mat 243 Exam 1 Review

Chapter Summary. Propositional Logic. Predicate Logic. Proofs. The Language of Propositions (1.1) Applications (1.2) Logical Equivalences (1.

ECOM Discrete Mathematics

Logic. Definition [1] A logic is a formal language that comes with rules for deducing the truth of one proposition from the truth of another.

Discrete Mathematics. Instructor: Sourav Chakraborty. Lecture 4: Propositional Logic and Predicate Lo

4. Sets The language of sets. Describing a Set. c Oksana Shatalov, Fall Set-builder notation (a more precise way of describing a set)

1 The Foundation: Logic and Proofs

CHAPTER 1. MATHEMATICAL LOGIC 1.1 Fundamentals of Mathematical Logic

Numbers that are divisible by 2 are even. The above statement could also be written in other logically equivalent ways, such as:

THE LOGIC OF QUANTIFIED STATEMENTS

Section 1.3. Let I be a set. When I is used in the following context,

What is the decimal (base 10) representation of the binary number ? Show your work and place your final answer in the box.

1.3 Propositional Equivalences

1 The Foundation: Logic and Proofs

3/29/2017. Logic. Propositions and logical operations. Main concepts: propositions truth values propositional variables logical operations

22 3. STATEMENTS. P : 2 is an even number

Basic Logic and Proof Techniques

Propositional Logic, Predicates, and Equivalence

What is Logic? Introduction to Logic. Simple Statements. Which one is statement?

MAT 243 Test 1 SOLUTIONS, FORM A

Section 1.1: Logical Form and Logical Equivalence

Logic and Propositional Calculus

Intro to Logic and Proofs

Show Your Work! Point values are in square brackets. There are 35 points possible. Tables of tautologies and contradictions are on the last page.

PHIL12A Section answers, 16 February 2011

Propositional Logic Basics Propositional Equivalences Normal forms Boolean functions and digital circuits. Propositional Logic.

COMP 182 Algorithmic Thinking. Proofs. Luay Nakhleh Computer Science Rice University

PL: Truth Trees. Handout Truth Trees: The Setup

CSE 20: Discrete Mathematics

Department of Computer Science & Software Engineering Comp232 Mathematics for Computer Science

Review. Propositional Logic. Propositions atomic and compound. Operators: negation, and, or, xor, implies, biconditional.

Math Assignment 2 Solutions - Spring Jaimos F Skriletz Provide definitions for the following:

Section 1.1: Propositions and Connectives

Statements and Quantifiers

Discrete Mathematics & Mathematical Reasoning Predicates, Quantifiers and Proof Techniques

Discrete Mathematics and Its Applications

Handout on Logic, Axiomatic Methods, and Proofs MATH Spring David C. Royster UNC Charlotte

CSE 311: Foundations of Computing. Lecture 2: More Logic, Equivalence & Digital Circuits

Chapter 2: The Logic of Quantified Statements. January 22, 2010

2/13/2012. Logic: Truth Tables. CS160 Rosen Chapter 1. Logic?

Some Review Problems for Exam 1: Solutions

MAT 101 Exam 2 Logic (Part I) Fall Circle the correct answer on the following multiple-choice questions.

Part Two: The Basic Components of the SOFL Specification Language

Logic and Proof. On my first day of school my parents dropped me off at the wrong nursery. There I was...surrounded by trees and bushes!

Logic and Proofs. (A brief summary)

Transcription:

c Oksana Shatalov, Spring 2017 1 Mathematical Reasoning (art I) 1 Statements DEFINITION 1. A statement is any declarative sentence 2 that is either true or false, but not both. A statement cannot be neither true nor false and it cannot be both true and false. 1. The integer 5 is odd. 2. The integer 24277151704311 is prime. 3. 15 + 7 = 22 4. Substitute the number 7 for x. 5. What is the derivative of cos x? 6. Apple manufactures computers. 7. x > 7 8. The absolute value of a real number x is greater than 7. 9. The absolute value of a real number x is greater than 7. 10. x 2 0. 11. I am telling a lie. 12. What happen when inocchio says: My nose will grow now? Set Terminology and Notation (very short introduction 3 ) DEFINITIONS: Set is a well-defined collection of objects. Elements are objects or members of the set. Roster notation: A = {a, b, c, d, e} Read: Set A with elements a, b, c, d, e. Indicating a pattern: B = {a, b, c,..., z} Read: Set B with elements being the letters of the alphabet. If a is an element of a set A, we write a A that read a belongs to A. However, if a does not belong to A, we write a A. 1 This part is covered in Sections 1.1-1.3 in the textbook. 2 i.e. it has both a subject and a verb 3 We will study SETS in Chapter 2!

c Oksana Shatalov, Spring 2017 2 Some Number sets: R is the set of all real numbers; Z = {..., 3, 2, 1, 0, 1, 2, 3,...}, the set of all integers; Z + = {1, 2, 3,...}, the set of all positive integers; N = {0, 1, 2, 3,...}, the set of all natural numbers; E is the set of all even integers; O is the set of all odd integers; nz is the set of all integers multiples of n (n Z); An open sentence is any declarative sentence containing one or more variables, each variable representing a value in some prescribing set, called the domain of the variable, and which becomes a statement when values from their respective domains are substituted for these variables. 1. (x) : x + 5 = 7 2. (n) : n is divisible by 6. EXAMLE 2. Discuss (x) : (x 3) 2 1 over Z. EXAMLE 3. Discuss (x, y) : x 2 + y 2 = 1 when x, y R.

c Oksana Shatalov, Spring 2017 3 The NEGATION of a Statement DEFINITION 4. If is a statement, then the negation of, written (read not ), is the statement is false. Although could always be expressed as It is not the case that. there are usually better ways to express the statement. 1. : The integer 77 is even. 2. : 5 3 = 120 : 3. : The absolute value of the real number x is less than 5. Compound Statements Logical connectivity write read meaning Conjunction Q and Q Both and Q are true Disjunction Q or Q is true or Q is true : Ben is a student. Q: Ben is a teaching assistant. TRUTH TABLES Q Q Q Q Q

c Oksana Shatalov, Spring 2017 4 EXAMLE 5. Rewrite the following open sentences (over R) using disjunction or conjunction. (a) (x) : x 10. (b) (x) : x < 10. (c) (x) : 4x + 7 23. Implications DEFINITION 6. Let and Q be statements. The implication Q (read implies Q ) is the statement If is true, then Q is true. In implication Q, is called assumption, or hypothesis, or premise; and Q is called conclusion. Q Q T T T The truth table for implication: T F F F T T F F T EXAMLE 7. : You pass the final exam. Q: You pass the course. Q: Alternative Expressions for Q. Necessary and Sufficient Conditions If, then Q. implies Q. only if Q. is sufficient for Q. Q if. Q when. Q is necessary for. In order for Q to be true it is sufficient that be true. or Q must be true in order to to be true. REMARK 8. Note however, if Q is true, then it is not necessary that is true in order for Q to be true. Even if Q is true, may be false.

c Oksana Shatalov, Spring 2017 5 Converse DEFINITION 9. The statement Q is called a converse of the statement Q. EXAMLE 10. State the converse statement for implication in Example 7. EXAMLE 11. : The function f(x) = sin x is differentiable everywhere. Q: The function f(x) = sin x is continuous everywhere. Q Q Biconditional For statements and Q, ( Q) (Q ) is called the biconditional of and Q and is denoted by Q. The biconditional Q is stated as is equivalent to Q. or if and only if Q. (or iff Q. ) or as is a necessary and sufficient condition for Q. Q Q Q Q T T T F F T F F EXAMLE 12. Complete: (a) The biconditional The number 17 is odd if and only if 57 is prime. is. (a) The biconditional The number 24 is even if and only if 17 is prime. is. (a) The biconditional The number 17 is even if and only if 24 is prime. is.

c Oksana Shatalov, Spring 2017 6 Tautologies and Contradictions Tautology: statement that is always true Contradiction: statement that is always false ( ) ( ) T F Methods to verify tautology/contradiction: truth table and deductive proof. EXAMLE 13. Determine whether the following formula for the statements and Q is a tautology, contradiction, or neither. ( Q) ( Q). Logical Equivalence DEFINITION 14. Two compound statements are logically equivalent (write ) if they have the same truth tables, which means they both are true or both are false. Question: Are the statements Q and Q logically equivalent? EXAMLE 15. Let and Q be statement forms. Determine whether the compound statements Q and Q are logically equivalent (i.e. both true or both false). Q

c Oksana Shatalov, Spring 2017 7 REMARK 16. Let and Q be statements. The biconditional Q is a tautology if and only if and Q are logically equivalent. THEOREM 17. For statements and Q, ( Q) ( Q). Some Fundamental roperties of Logical Equivalence THEOREM 18. For the statement forms, Q and R, ( ) Commutative Laws Q Q Associative Laws (Q R) (Q R) Distributive Laws (Q R) (Q R) De Morgan s Laws ( Q) ( ) ( Q) ( Q) ( ) ( Q) roof. Each part of the theorem is verified by means of a truth table. Q

c Oksana Shatalov, Spring 2017 8 Quantified Statements EXAMLE 19. Consider the following open sentence: 2n 2 + 5 + ( 1) n (n) : is prime. 2 How to convert this open sentence into a statement? An open sentence can be made into a statement by using quantifiers. Universal: x means for all/for every assigned value a of x. Existential: x means that for some assigned values a of x. Quantified statements in symbols x D, (x). x D (x) in words For every x D, (x). If x D, then (x). There exists x such that (x). Once a quantifier is applied to a variable, then the variable is called a bound variable. variable that is not bound is called a free variable. The 1. The area of a rectangle is its length times its width. Quantifiers: 2. A triangle may be equilateral. Quantifiers: 3. 15 5 = 10 Quantifiers:

c Oksana Shatalov, Spring 2017 9 4. A real-valued function that is continuous at 0 is not necessarily differentiable at 0. Quantifiers: EXAMLE 20. For a triangle T, let (T ) : T is equilateral Q(T ): T is isosceles. State (T ) Q(T ) in a variety of ways: EXAMLE 21. Consider the following open sentences (x) : x is a multiple of 4. Q(x) : x is even. Complete: For every integer integer x, (x) Q(x) is. (x) is a Q(x) is a Q(x) is not a condition for Q to be true. condition for (x) to be true. condition for (x) to be true. EXAMLE 22. Consider the following open sentences (f) : f is a differentiable function. Q(f) : f is a continuous function. Complete: For every real-valued function f, (f) Q(f) is. For every real-valued function f, Q(f) (f) is. Q(f) is a condition. (f) is a condition for f to be differentiable, but not a condition for f to be continuous. EXAMLE 23. If m and n are odd integers then m + n is even.

c Oksana Shatalov, Spring 2017 10 Rewrite the statement in symbols. Then write its converse both in symbols and words. EXAMLE 24. Rewrite the following statements in symbols using quantifiers. Introduce variables, where appropriate. a) For every real number x, x + 5 = 7. b) All positive real numbers have a square root. c) The sum of an even integer and an odd integer is even. d) For every integer n, either n 1 or n 2 4. NEGATIONS DEFINITION 25. If is a statement, then the negation of, written (read not ), is the statement is false. 1. All continuous functions are differentiable. 2. :There exist real numbers a and b such that (a + b) 2 = a 2 + b 2.

c Oksana Shatalov, Spring 2017 11 Rules to negate statements with quantifiers: ( x D, (x)) ( x D (x)) ( x D, ( (x) Q(x)) ( x D, ( (x) Q(x)) ( x D ( (x) Q(x)) ( x D ( (x) Q(x)) EXAMLE 26. Negate the statements below using the following steps: 1. Rewrite in symbols using quantifiers. 2. Express the negation of in symbols using the above rules. 3. Express in words. a) : If n is an odd integer then 3n + 7 is odd. b) : There exists a positive integer n such that m(n + 5) < 1 for every integer m. c) : There exists a prime number p which is greater then 7 and less than 10.

c Oksana Shatalov, Spring 2017 12 d) : For every even integer n there exists an integer m such that n = 2m. e) : If n is an integer and n 2 is a multiple of 4 then n is a multiple of 4. Negating An Implication THEOREM 27. For statements and Q, ( Q) ( Q). roof. REMARK 28. The negation of an implication is not an implication! EXAMLE 29. Apply Theorem 27 to Negate the following statement: 4 S: If n is an integer and n 2 is a multiple of 4, then n is a multiple of 4. S S 4 Cf. Example 26(e)

c Oksana Shatalov, Spring 2017 13 EXAMLE 30. Express the following statements in the form for all..., if... then... using symbols to represent variables. Then write their negations, again using symbols. (a) S : Every octagon has eight sides. (b) S : Between any two real numbers there is a rational number.