Chapter 1 Logic and Proof.

Slides:



Advertisements
Similar presentations
Nested Quantifiers Section 1.4.
Advertisements

Logic Chapter 2. Proposition "Proposition" can be defined as a declarative statement having a specific truth-value, true or false. Examples: 2 is a odd.
Copyright © Cengage Learning. All rights reserved.
Discrete Structures Chapter 3: The Logic of Quantified Statements
Ch 1.3: Quantifiers Open sentences, or predicates, are sentences that contain one or more variables. They do not have a truth value until variables are.
Chapter 3 Introduction to Logic © 2008 Pearson Addison-Wesley. All rights reserved.
Lesson Objective: I can…
Predicates and Quantifiers
CSCI 115 Chapter 2 Logic. CSCI 115 §2.1 Propositions and Logical Operations.
Discrete Mathematics and Its Applications
Logic Disjunction A disjunction is a compound statement formed by combining two simple sentences using the word “OR”. A disjunction is true when at.
§ 2.8 Solving Linear Inequalities. Martin-Gay, Beginning and Intermediate Algebra, 4ed 22 Linear Inequalities in One Variable A linear inequality in one.
Predicates and Quantified Statements
Chapter 2 The Logic of Quantified Statements. Section 2.1 Intro to Predicates & Quantified Statements.
COMP 170 L2 Part 3 of Course Chapter 3 of Textbook.
Chapter 2 Logic 2.1 Statements 2.2 The Negation of a Statement 2.3 The Disjunction and Conjunction of Statements 2.4 The Implication 2.5 More on Implications.
Lecture 7 – Jan 28, Chapter 2 The Logic of Quantified Statements.
 2012 Pearson Education, Inc. Slide Chapter 3 Introduction to Logic.
Discrete Structures – CNS 2300
Chapter 2 Symbolic Logic. Section 2-1 Truth, Equivalence and Implication.
Chapter 2 Copyright © 2015, 2011, 2007 Pearson Education, Inc. Chapter Copyright © 2015, 2011, 2007 Pearson Education, Inc. Chapter 2-1 Solving Linear.
Thinking Mathematically Statements, Negations, and Quantified Statements.
Lesson 1.4 Equations and Inequalities Goal: To learn how to solve equations and check solutions of equations and inequalities.
Predicate Logic One step stronger than propositional logic Copyright © Curt Hill.
Inequalities.
Mathematics for Comter I Lecture 3: Logic (2) Propositional Equivalences Predicates and Quantifiers.
Section 1.4. Propositional Functions Propositional functions become propositions (and have truth values) when their variables are each replaced by a value.
Solving One-Step Inequalities
Review of Equations and Inequalities An equation is a mathematical statement that two qualities are equal. Linear Equation in one variable can be written.
 Conjunctive Normal Form: A logic form must satisfy one of the following conditions 1) It must be a single variable (A) 2) It must be the negation of.
رياضيات متقطعة لعلوم الحاسب MATH 226. Chapter 1 Predicates and Quantifiers 1.4.
Chapter 1 Logic and Proof.
Logic Hubert Chan [O1 Abstract Concepts] [O2 Proof Techniques]
2. The Logic of Compound Statements Summary
3. The Logic of Quantified Statements Summary
Predicates and Quantified Statements I
Advanced Algorithms Analysis and Design
AND.
Objectives Solve compound inequalities in one variable involving absolute-value expressions. When an inequality contains an absolute-value expression,
Absolute Value Inequalities
Logic II CSE 140 etc..
CSNB 143 Discrete Mathematical Structures
Direct Proof and Counterexample I: Introduction
Chapter 3 The Logic of Quantified Statements
Chapter 3: Introduction to Logic
Chapter 2 Section 8.
Chapter 3 Introduction to Logic 2012 Pearson Education, Inc.
Logic Hubert Chan [O1 Abstract Concepts] [O2 Proof Techniques]
Negations of Quantified Statements
CMSC Discrete Structures
Chapter 2 Section 8.
Chapter 3 Introduction to Logic 2012 Pearson Education, Inc.
Chapter 8 Logic Topics
Chapter 3 Introduction to Logic 2012 Pearson Education, Inc.
Copyright © Cengage Learning. All rights reserved.
Chapter 3 Introduction to Logic © 2008 Pearson Addison-Wesley.
CHAPTER 1: LOGICS AND PROOF
Chapter 3 Introduction to Logic © 2008 Pearson Addison-Wesley.
Introduction to Predicates and Quantified Statements II
Introduction to Predicates and Quantified Statements I
Systems of Equations and Inequalities
Elementary Number Theory & Proofs
Chapter 3 Introduction to Logic © 2008 Pearson Addison-Wesley.
Section 3.3 Truth Tables for the Conditional and Biconditional
Copyright © Cengage Learning. All rights reserved.
Copyright © Cengage Learning. All rights reserved.
Statements and Logical Connectives
Objective Translate verbal sentences into equations and inequalities.
Algebra 1 Section 4.1.
2 Chapter Chapter 2 Equations, Inequalities and Problem Solving.
Presentation transcript:

Chapter 1 Logic and Proof

Section 1.2 Quantifiers

Is the sentence “x2 – 5x + 6 = 0” a statement? No, as it stands it is not a statement because it is true for some values of x and false for others. When a sentence involves a variable, we often refer to it using functional notation. p(x): x2 – 5x + 6 = 0 For a specific value of x, p(x) becomes a statement that is true or false. For example, p(2) is true and p(4) is false. When a variable is used in an equation or an inequality, we assume that the general context for the variable is the set of real numbers unless told otherwise. Within this context, we may remove the ambiguity of p(x) by using a quantifier. The sentence “For every x, x2 – 5x + 6 = 0” is a statement since it is false. In symbols we write “ x, p(x).” The universal quantifier  is read “for every,” “for all,” “for each,” etc.

The sentence “There exists an x such that x2 – 5x + 6 = 0” is a statement and it is true. In symbols we write “ x p(x).” The existential quantifier  is read “there exists.” The symbol is an abbreviation for “such that.” Sometimes the quantifier is not explicitly written down, as in the statement “If x is greater than 1, then x2 is greater than 1.” The intended meaning is “ x, if x > 1, then x2 > 1.” In general, if a variable is used in the antecedent of an implication without being quantified, then the universal quantifier is assumed to apply.

How do we negate a quantified statement? Consider the statement “Everyone in the room is awake.” What condition must apply to the people in the room for this to be false? Must everyone be asleep? No, it is sufficient that at least one person be asleep. On the other hand, in order for the statement “Someone in the room is asleep.” to be false, it must be the case that everyone is awake. Symbolically, if p(x): x is awake then ~ [  x, p(x)]  [  x ~ p(x)] and ~ [  x p(x)]  [  x, ~ p(x)]

Negate the following statements. Practice 1.2.3 Negate the following statements. (b) “There exists a positive number y such that 0 < g( y)  1.” Symbolically, we have “  y > 0 0 < g( y)  1.” Note that 0 < g( y)  1 means 0 < g( y) and g( y)  1. So the negation is “  y > 0, g( y)  0 or g( y) > 1.” So the negation is “  y > 0, g( y)  0 or g( y) > 1.” In words we have “For every positive number y, g( y)  0 or g( y) > 1.” (c) “For all x and y in A, there exists z in B such that x + y = z.” Note: This “and” is not used as a logical connective. In symbols: “  x and y in A,  z in B x + y = z.”

Negate the following statement. Practice 1.2.3(d) Negate the following statement.   > 0  N  n, if n  N, then  x in S, | fn (x) – f (x)| <  . We work from left to right, negating each part as we go.   > 0 ~ [  N  n, if n  N, then  x in S, | fn (x) – f (x)| <  ] .   > 0  N ~ [  n, if n  N, then  x in S, | fn (x) – f (x)| <  ] .   > 0  N  n ~ [ if n  N, then  x in S, | fn (x) – f (x)| <  ] .   > 0  N  n n  N and ~ [  x in S, | fn (x) – f (x)| <  ] .   > 0  N  n n  N and  x in S ~ [ | fn (x) – f (x)| <  ] .   > 0  N  n n  N and  x in S | fn (x) – f (x)|   ] .

Caution: Take careful note of the order in which quantifiers are used. Changing the order of two quantifiers can change the truth value. For example, when talking about real numbers, the following statement is true.  x  y y > x. Given any real number x, there is always a real number y that is greater than that x. But the following statement is false.  y  x, y > x. There is no fixed real number y that is greater than every real number.