Docsity

lecture slides for discrete, Schemes and Mind Maps of Discrete Mathematics

Partial preview of the text

Download lecture slides for discrete and more Schemes and Mind Maps Discrete Mathematics in PDF only on Docsity!

Discrete Math

(Math 231)

Dr. Ramesh

Garimella

Topics for

February 5

1. Review of Predicates or open statement

2. Quantifiers : Universal and Existential

3. Universal conditional statements

4. Examples

5. Universal Conditional statements

6. Negation of Quantifiers

7. Examples

Predicates or open statements

2 A predicate or open statement is a sentence that contains a finite number of variables and becomes a statement when specific values are substituted for the variables. The domain of a predicate variable is the set of all values that may be substituted in place of the variable. If P(x) is a predicate and x has domain D, the truth set of P(x) is the set of all elements of D that make P(x) true when they are substituted for x. The truth set of P(x) is denoted by {x ๐œ– D | P(x) is true}.

Predicates With Multiple Variables

Predicates can have multiple variables.

  • ๐‘ƒ ๐‘ฅ, ๐‘ฆ : ๐‘ฅ + ๐‘ฆ = 0
    • ๐‘ƒ 1 , 2 is false, ๐‘ƒ(โˆ’ 1 , 1 ) is true What is the Domain? What is the Truth Set?
  • ๐‘ƒ ๐‘ฅ, ๐‘ฆ, ๐‘ง : ๐‘ฅ + ๐‘ฆ = ๐‘ง
    • ๐‘ƒ( 3 , 4 , 5 ) is false, ๐‘ƒ( 1 , 2 , 3 ) is true
    • What is the domain? What is the Truth Set 4

Universal quantifiers

5 Let P(x) be a predicate and D the domain of x. A universal statement is a statement of the form โ€œโˆ€x โˆˆ D, P(x).โ€ It is defined to be true if, and only if, P(x) is true for each individual x in D. It is false if, and only if, P(x) is false for at least one x in D. A value for x for which P(x) is false is called a counterexample to the universal statement.

Existential Quantifier

Example: Let ๐‘ƒ ๐‘ฅ = ๐‘ฅ 2 โˆƒ๐‘ฅ ๐œ– ๐‘…, ๐‘ƒ(๐‘ฅ) = 16

  • English translation: โ€œthere exists (a value of) ๐‘ฅ, such that ๐‘ƒ ๐‘ฅ is trueโ€
  • English translation: โ€œfor at least one value of ๐‘ฅ, ๐‘ฅ 2 = 16 is trueโ€ 7 Definition: Let P(x) be a predicate and D the domain of x. An existential quantifier is a statement of the form โ€œโˆƒx โˆˆ D such that P(x).โ€ It is defined to be true if, and only if, P(x) is true for at least one x in D. It is false if, and only if, P(x) is false for all x in D.

Translating open statements or predicates to plain English

Translate from English to symbolic Logic using quantifiers

Rules for Negation with Quantifiers

Important Note:

If a statement has multiple quantifiers, negating it involves several

iterations of Equations (2.8) and (2.9).

Example (Cont.)

Example:

S : For every real number x there is a real number y for which y

3

= x.

( Symbolic logic)S: โˆ€ x โˆˆ R, โˆƒ y โˆˆ R, y

3

= x.

Negation of statements with multiple quantifiers

Universal Conditional Statements

16 A statement of the form โ€œ โˆ€๐‘ฅ, if ๐‘ƒ(๐‘ฅ) then ๐‘„ ๐‘ฅ โ€ is a universal conditional statement. Example:

  1. For all x, if x is rational, then x 2 is rational.
  2. For all x if x > 2 , then ๐‘ฅ 2 > 4.
  3. All bytes have eight bits.

Universal Conditional Statements (con.)

17

Example

19

Negation with Quantifiers

20 ยฌ(โˆ€x โˆˆ X, P(x)) โ‰ก โˆƒx โˆˆ X such that ยฌP(x) ยฌ(โˆƒx โˆˆ X, P(x)) โ‰ก โˆ€x โˆˆ X, ยฌP(x) Important Note: If a statement has multiple quantifiers, negating it involves applying these rules repeatedly until all quantifiers have been handled.