Introduction to Predicates and Quantified Statements I Lecture 9 Section 2.1 Wed, Jan 31, 2007.

Slides:



Advertisements
Similar presentations
1.3 Predicates and Quantifiers
Advertisements

Solving Equations A Solution
The Logic of Quantified Statements
Discrete Mathematics Lecture 2 Alexander Bukharovich New York University.
CMSC 250 Discrete Structures Exam #1 Review. 21 June 2007Exam #1 Review2 Symbols & Definitions for Compound Statements pq p  qp  qp  qp  qp  q 11.
Discrete Mathematics Math 6A Instructor: M. Welling.
Discrete Structures Chapter 3: The Logic of Quantified Statements
Copyright © Cengage Learning. All rights reserved.
Discrete Structures Chapter 3: The Logic of Quantified Statements
CSE115/ENGR160 Discrete Mathematics 01/20/11 Ming-Hsuan Yang UC Merced 1.
HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2010 Hawkes Learning Systems. All rights reserved. Hawkes Learning Systems: College Algebra.
CSci 2011 Discrete Mathematics Lecture 3 CSci 2011.
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.
Logical Form and Logical Equivalence Lecture 2 Section 1.1 Fri, Jan 19, 2007.
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.
Math 021.  An equation is defined as two algebraic expressions separated by an = sign.  The solution to an equation is a number that when substituted.
Lecture 1.2: Equivalences, and Predicate Logic* CS 250, Discrete Structures, Fall 2011 Nitesh Saxena *Adopted from previous lectures by Cinda Heeren, Zeph.
Statements with Multiple Quantifiers. When a statement contains more than one quantifier, we imagine the actions suggested by the quantifiers as being.
Notes: Monday, January 10 th Algebraic Expressions.
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
Hazırlayan DISCRETE COMPUTATIONAL STRUCTURES Propositional Logic PROF. DR. YUSUF OYSAL.
Predicates and Quantified Statements
Chapter 2 The Logic of Quantified Statements. Section 2.1 Intro to Predicates & Quantified Statements.
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.
Lecture 1.3: Predicate Logic CS 250, Discrete Structures, Fall 2012 Nitesh Saxena Adopted from previous lectures by Cinda Heeren.
Fall 2008/2009 I. Arwa Linjawi & I. Asma’a Ashenkity 1 The Foundations: Logic and Proofs Predicates and Quantifiers.
Chapter 2 Symbolic Logic. Section 2-1 Truth, Equivalence and Implication.
Predicate Logic One step stronger than propositional logic Copyright © Curt Hill.
Lecture 1.2: Equivalences, and Predicate Logic CS 250, Discrete Structures, Fall 2015 Nitesh Saxena Adopted from previous lectures by Cinda Heeren, Zeph.
Week 4 - Friday.  What did we talk about last time?  Floor and ceiling  Proof by contradiction.
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.
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.
Discrete Mathematical Structures: Theory and Applications 1 Logic: Learning Objectives  Learn about statements (propositions)  Learn how to use logical.
Law of logic Lecture 4.
Lecture 1.2: Equivalences, and Predicate Logic
3. The Logic of Quantified Statements Summary
CSE15 Discrete Mathematics 01/23/17
EQUATION IN TWO VARIABLES:
Example: Solve the equation. Multiply both sides by 5. Simplify both sides. Add –3y to both sides. Simplify both sides. Add –30 to both sides. Simplify.
Linear Equations in One Variable
1-5 Equations Goals: Solve equations with one variable
Negations of Quantified Statements
Chapter 1 The Foundations: Logic and Proofs
Copyright © Cengage Learning. All rights reserved.
Introduction to Predicates and Quantified Statements II
Solving Equations with variables on each side
Solving Algebraic Equations
CHAPTER 1: LOGICS AND PROOF
Objective Solve equations in one variable that contain variable terms on both sides.
Introduction to Predicates and Quantified Statements II
Statements Containing Multiple Quantifiers
Equations and Inequalities
A Brief Summary for Exam 1
Introduction to Predicates and Quantified Statements I
Lecture 1.3: Predicate Logic
Discrete Mathematics CMP-200 Propositional Equivalences, Predicates & Quantifiers, Negating Quantified Statements Abdul Hameed
What are the following properties?
SECTION 2-4 : SOLVING EQUATIONS WITH THE VARIABLE ON BOTH SIDES
Objective Solve equations in one variable that contain variable terms on both sides.
Discrete Mathematics Lecture 4 Logic of Quantified Statements
Copyright © Cengage Learning. All rights reserved.
Variables.
Lecture 1.3: Predicate Logic
Presentation transcript:

Introduction to Predicates and Quantified Statements I Lecture 9 Section 2.1 Wed, Jan 31, 2007

Predicates A predicate is a sentence that contains a finite number of variables, and becomes a statement when values are substituted for the variables. If today is x, then Discrete Math meets today. The predicate becomes true when x = Wednesday.

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.

Domains of Predicate Variables In the previous example, we could define the domain of x to be D = {Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday} Then the truth set of the predicate is S = {Monday, Tuesday, Wednesday, Friday}

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. In this case, x is a bound variable, bound by the quantifier .

The Universal 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 “7 is a prime number” is true. Predicate “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}, x 2 > 0.  x  {1, …, 10}, x 2 > 100.  x  R, x 3 – x  0.  x  R,  y  R, x 2 + xy + y 2  0.  x  , x 2 > 100.

Identities Algebraic identities are universal statements. When we write the algebraic identity (x + 1) 2 = x 2 + 2x + 1 what we mean is  x  R, (x + 1) 2 = x 2 + 2x + 1.

Identities DeMorgan’s Law ~(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),” where S  D. x is a bound variable, bound by the quantifier .

The Existential 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}, x 2 > 0.  x  {1, …, 10}, x 2 > 100.  x  R, x 3 – x  0.  x  R,  y  R, x 2 + xy + y 2  0.  x  , x 2 > 100.

Solving Equations An algebraic equation has a solution if there exists a value for x that makes it true.  x  R, (x + 1) 2 = x 2 + x + 2.

Boolean Expressions A boolean expression Is not a contradiction if there exist truth values for its variables that make it true. Is not a tautology if there exists truth values for its variables that make if false. The expression p  q  p  q. is neither a contradiction nor a tautology.

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  13, then (½)n 2 + 3n – 4 > 8n + 12.

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 Biconditional 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 algebraic step from P(x) to Q(x) is reversible only if P(x)  Q(x). Reversible steps Adding 1 to both sides. Taking logarithms. Not reversible steps Squaring both sides. Multiplying by an arbitrary constant.