Introduction to Predicates and Quantified Statements I

Slides:



Advertisements
Similar presentations
1.3 Predicates and Quantifiers
Advertisements

The Logic of Quantified Statements
Discrete Structures Chapter 1 Part B Fundamentals of Logic Nurul Amelina Nasharuddin Multimedia Department 1.
Discrete Mathematics Lecture 2 Alexander Bukharovich New York University.
 x (x 2  0) 1. True2. False.  x (3x + 2 = 12) 1. True2. False.
Discrete Structures Chapter 3: The Logic of Quantified Statements
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.
Quantifiers and Negation Predicates. Predicate Will define function. The domain of a function is the set from which possible values may be chosen for.
A Brief Summary for Exam 1 Subject Topics Propositional Logic (sections 1.1, 1.2) –Propositions Statement, Truth value, Proposition, Propositional symbol,
Variables Tutorial 3c variable A variable is any symbol that can be replaced with a number to solve a math problem. An open sentence has at least one.
Predicates and Quantified Statements M , 3.2.
Chapter 1, Part II: Predicate Logic With Question/Answer Animations.
1.4 Solving Equations ●A variable is a letter which represents an unknown number. Any letter can be used as a variable. ●An algebraic expression contains.
Copyright © Cengage Learning. All rights reserved. CHAPTER 3 THE LOGIC OF QUANTIFIED STATEMENTS THE LOGIC OF QUANTIFIED STATEMENTS.
Copyright © Curt Hill Quantifiers. Copyright © Curt Hill Introduction What we have seen is called propositional logic It includes.
Math 51/COEN 19 Day 3, 1.4 Quantifiers 1. 3 Predicates A lot like functions that return booleans Let P(x) denote x
Predicates and Quantified Statements
Chapter 2 The Logic of Quantified Statements. Section 2.1 Intro to Predicates & Quantified Statements.
1 Introduction to Abstract Mathematics Predicate Logic Instructor: Hayk Melikya Purpose of Section: To introduce predicate logic (or.
Copyright © 2013, 2009, 2006 Pearson Education, Inc. 1 1 Section 2.7 Solving Linear Inequalities Copyright © 2013, 2009, 2006 Pearson Education, Inc. 1.
Lecture 7 – Jan 28, Chapter 2 The Logic of Quantified Statements.
Fall 2008/2009 I. Arwa Linjawi & I. Asma’a Ashenkity 1 The Foundations: Logic and Proofs Predicates and Quantifiers.
Discrete Structures – CNS 2300
Chapter 2 Symbolic Logic. Section 2-1 Truth, Equivalence and Implication.
7.4. 5x + 2y = 16 5x + 2y = 16 3x – 4y = 20 3x – 4y = 20 In this linear system neither variable can be eliminated by adding the equations. In this linear.
Basic Definitions of Set Theory Lecture 24 Section 5.1 Fri, Mar 2, 2007.
Predicate Logic One step stronger than propositional logic Copyright © Curt Hill.
Section 3.5 Solving Systems of Linear Equations in Two Variables by the Addition Method.
Statements Containing Multiple Quantifiers Lecture 11 Section 2.3 Mon, Feb 5, 2007.
Solve 7n – 2 = 5n + 6. Example 1: Solving Equations with Variables on Both Sides To collect the variable terms on one side, subtract 5n from both sides.
Section 1.5 and 1.6 Predicates and Quantifiers. Vocabulary Predicate Domain Universal Quantifier Existential Quantifier Counterexample Free variable Bound.
Direct Proof and Counterexample I Lecture 11 Section 3.1 Fri, Jan 28, 2005.
Mathematics for Comter I Lecture 3: Logic (2) Propositional Equivalences Predicates and Quantifiers.
Lecture 041 Predicate Calculus Learning outcomes Students are able to: 1. Evaluate predicate 2. Translate predicate into human language and vice versa.
1 Introduction to Abstract Mathematics Chapter 3: The Logic of Quantified Statements. Predicate Calculus Instructor: Hayk Melikya 3.1.
Section 1.4. Propositional Functions Propositional functions become propositions (and have truth values) when their variables are each replaced by a value.
Introduction to Predicates and Quantified Statements I Lecture 9 Section 2.1 Wed, Jan 31, 2007.
Discrete Mathematical الرياضيات المتقطعة. Example 12 June OR Q(x,y): x+y=x-y a) Q(1,1): 2=0 False b) Q(2,0): 2+0=2-0 True c) Q(1,y): 1+y=1-y False(take.
3. The Logic of Quantified Statements Summary
Predicates and Quantified Statements I
Using Multiplication & Division
EQUATION IN TWO VARIABLES:
Linear Equations in One Variable
Chapter 3 The Logic of Quantified Statements
Negations of Quantified Statements
Chapter 1 The Foundations: Logic and Proofs
Copyright © Cengage Learning. All rights reserved.
CS201: Data Structures and Discrete Mathematics I
Introduction to Predicates and Quantified Statements II
Solving Equations with variables on each side
Solving Algebraic Equations
Introduction to Predicates and Quantified Statements II
Statements Containing Multiple Quantifiers
Equations and Inequalities
A Brief Summary for Exam 1
Lecture 1.3: Predicate Logic
What are the following properties?
SECTION 2-4 : SOLVING EQUATIONS WITH THE VARIABLE ON BOTH SIDES
Discrete Mathematics Lecture 4 Logic of Quantified Statements
Copyright © Cengage Learning. All rights reserved.
Copyright © Cengage Learning. All rights reserved.
CS201: Data Structures and Discrete Mathematics I
Statements Containing Multiple Quantifiers
Systems of Linear Equations: An Introduction
Algebra 1 Section 2.4.
Variables.
Lecture 1.3: Predicate Logic
Presentation transcript:

Introduction to Predicates and Quantified Statements I Lecture 7 Section 2.1 Fri, Jan 21, 2005

Predicates A predicate is a sentence that “x flies like a y.” contains a finite number of variables, and becomes a statement when values are substituted for the variables. “x flies like a y.” Let x be “time” and y be “arrow.” Let x be “fruit” and y be “banana.”

Domains of Predicate Variables The domain D of a predicate variable x is the set of all values that x may take on. Let P(x) be the predicate. x is a free variable. The truth set of P(x) is the set of all values of x  D for which P(x) is true.

The Universal Quantifier The symbol  is the universal quantifier. The statement x  S, P(x) means “for all x in S, P(x),” where S  D. x is a bound variable, bound by the quantifier . The statement is true if P(x) is true for all x in S. The statement is false if P(x) is false for at least one x in S.

Examples Statement Predicate Statements “7 is a prime number” is true. “x is a prime number” is neither true nor false. Statements “x  {2, 3, 5, 7}, x is a prime number” is true. “x  {2, 3, 6, 7}, x is a prime number” is false.

Examples of Universal Statements x  {1, …, 10}, x2 > 0. x  {1, …, 10}, x2 > 100. x  R, x3 – x  0. x  R, y  R, x2 + xy + y2  0. x  , x2 > 100.

p, q  {T, F}, ~(p q) = (~p)  (~q). Identities Identities are universal statements. The algebraic identity (x + 1)2 = x2 + 2x + 1 is equivalent to x  R, (x + 1)2 = x2 + 2x + 1. The boolean identity ~(p q)  (~p)  (~q) is equivalent to p, q  {T, F}, ~(p q) = (~p)  (~q).

The Existential Quantifier The symbol  is the existential quantifier. The statement x  S, P(x) means “there exists x in S such that P(x),” S  D. x is a bound variable, bound by the quantifier . The statement is true if P(x) is true for at least one x in S. The statement is false if P(x) is false for all x in S.

Examples of Universal Statements x  {1, …, 10}, x2 > 0. x  {1, …, 10}, x2 > 100. x  R, x3 – x  0. x  R, y  R, x2 + xy + y2  0. x  , x2 > 100.

Universal Conditional Statements The statement x  S, P(x)  Q(x) is a universal conditional statement. Example: x  R, if x > 0, then x + 1/x  2. Example: n  N, if n is prime and n is 1 greater than a multiple of 4, then there exist a, b  N such that n = a2 + b2.

Universal Conditional Statements Suppose that predicates P(x) and Q(x) have the same domain D. If P(x)  Q(x) for all x in the truth set of P(x), then we write P(x)  Q(x).

Examples x > 0  x + 1/x  2. n is a multiple of 6  n is a multiple of 2 and n is a multiple of 3. n is a multiple of 8  n is a multiple of 2 and n is a multiple of 4.

Universal Conditional Statements Again, suppose that predicates P(x) and Q(x) have the same domain D. If P(x)  Q(x) for all x in the truth set of P(x), then we write P(x)  Q(x).

Examples Which of the following are true? x > 0  x + 1/x  2. n is a multiple of 6  n is a multiple of 2 and n is a multiple of 3. n is a multiple of 8  n is a multiple of 2 and n is a multiple of 4.

Solving Algebraic Equations Steps in solving algebraic equations are equivalent to universal conditional statements. The step x + 3 = 8  x = 5 is justified by the statement x + 3 = 8  x = 5.

Solving Algebraic Equations An (valid) algebraic step from P(x) to Q(x) is reversible only if P(x)  Q(x). Reversible Adding 1 to both sides. Taking logarithms. Not reversible Squaring both sides. Multiplying by an arbitrary constant.