Discrete Structures-Lec01
Discrete Structures-Lec01
Lecture # 1
Discrete Structures
• In this course:
• Mathematical reasoning,
• Logic, propositional and predicate logic,
• rules of inference,
• proof by induction, proof by contraposition, proof by contradiction,
proof by implication,
• set theory, relations, equivalence relations and partitions, partial
orderings,
• recurrence relations, functions, mappings,
• function composition,
• inverse functions, recursive functions, Number Theory
Discrete Structures
• Recommended Books:
• What is Discrete?
• Non-continuous
• Therefore discrete sets include finite and countable sets
Discrete Structures
• Logic:
• Logic is the study of the principles and methods that
distinguish between a valid and an invalid argument.
• Simple Statement:
• A statement is a declarative sentence that is either true or false
but not both.
• A statement is also referred to as a proposition
Discrete Structures
• Logic:
• Crucial for mathematical reasoning
• Important for program design
• Used for designing electronic circuitry
• Simple Statement:
• EXAMPLES:
a. 2+2 = 4,
b. It is Sunday today
• Simple Statement:
• Example:
Propositions Not Propositions
• Rule:
If the sentence is preceded by other sentences
that make the pronoun or variable reference
clear, then the sentence is a statement.
Example Example
x=1 •Bill Gates is an American.
x>2 •He is very rich
“x > 2” is a statement “He is very rich” is a
with truth-value statement with truth-value
FALSE. TRUE.
Discrete Structures
• Logic:
• UNDERSTANDING STATEMENTS
• COMPOUND STATEMENT:
Simple statements could be used to build a
compound statement.
LOGICAL CONNECTIVES
EXAMPLES:
1. “3 + 2 = 5” and “Lahore is a city in Pakistan”
2. “The grass is green” or “ It is hot today”
3. “Discrete Mathematics is not difficult to me”