Discrete Structures Unit 1
Discrete Structures Unit 1
Unit 1
Mathematical Reasoning (Logic and Proof)
non-constant value)
Truth Tables
■ An operator or connective combines one or more
operand expressions into a larger expression. (e.g., “+” in numeric expressions.)
■ The Boolean domain is the set {T, F}. Either of its elements is called a Boolean value.
An n-tuple (p1,…,pn) of Boolean values is called a Boolean n-tuple.
■ An n-operand truth table is a table that assigns a Boolean value to the set of all Boolean
n-tuples.
Some Popular Boolean Operators
■ Note that p⊕q means that p is true, or q is true, but not both!
■ This operation is called exclusive or, because it excludes the
possibility that both p and q are true.
Implication Operator
■ The conditional statement (aka implication)
p → q states that p implies q. p q P −> q
p q ~P ∨ q P->q