CS 300500N Introduction to Discrete Structures - PowerPoint PPT Presentation

1 / 20
About This Presentation
Title:

CS 300500N Introduction to Discrete Structures

Description:

Discrete mathematics deals with 'Separated' or discrete sets of objects ... standard facts of discrete mathematics. Development of mathematical reasoning skills ... – PowerPoint PPT presentation

Number of Views:64
Avg rating:3.0/5.0
Slides: 21
Provided by: vard
Category:

less

Transcript and Presenter's Notes

Title: CS 300500N Introduction to Discrete Structures


1
CS 300/500NIntroduction to Discrete Structures
2
Discrete mathematics deals with
  • Separated or discrete sets of objects
  • (rather than continuous sets)
  • Processes with a sequence of
  • individual steps
  • (rather than continuously changing
    processes)

3
Goals of this class
  • Study of standard facts of discrete mathematics
  • Development of mathematical reasoning skills
  • Discussion of applications

4
Outline of Topics
  • Mathematical Logic (Ch. 1,2)
  • Proofs and Induction (Ch. 3,4)
  • Graph Theory (Ch. 11)
  • Set Theory (Ch. 5)
  • Relations (Ch. 10)
  • Counting Techniques (Ch. 6)
  • Algorithms and Their Analysis (Ch. 9)

5
Logic
  • Logic is study of abstract reasoning,
  • specifically,
  • concerned with whether reasoning is
    correct.
  • Logic focuses on
  • relationship among statements
  • as opposed to
  • the content of any particular statement.

6
Example
  • Sequence of statements
  • All students take CS300.
  • Anyone who takes CS300 is CS major.
  • Therefore, all students are CS majors.
  • If (1) and (2) were true,
  • then logic would assure that (3) is true.

7
Outline of logic topics
  • Simple Statements
  • Compound Statements
  • Conditional Statements
  • Quantified Statements
  • Valid and Invalid Arguments for all
  • kind of statements

8
Logical Statements
  • Definition A statement is a sentence that
    is true or false but not both.
  • Examples 358 (true statement)
  • Today is Friday (false statement)
  • Note xgty is not a statement

9
Logical Connectives
  • For given statements p and q
  • Negation of p p (not p)
  • Conjunction of p and q ( p
    and q)
  • Disjunction of p and q (p
    or q)

10
Truth table for negation
11
Truth table for conjunction
12
Truth table for disjunction
13
Statement form
  • Expression made up of
  • statement variables (such as p,q)
  • and logical connectives
  • becomes a statement when
  • actual statements are substituted
  • for the variables.
  • Example
  • (Exclusive Or)

14
Truth Table for a Statement Form
  • Ex Truth table for

15
Logical equivalence
  • Statements P and Q are
  • logically equivalent
  • if and only if
  • they have identical truth values
  • for each substitution of
  • their component statement variables.
  • Ex

16
Verifying logical equivalence
  • Ex

17
Important Logical Equivalences
  • Double negation
  • De Morgans laws
  • Ex negation of -5 lt x lt 7 is

18
Tautologies and Contradictions
  • Tautology is a statement form
  • which is true
  • for all values of statement variables.
  • E.g., is a tautology
  • Contradiction is a statement form
  • which is false
  • for all values of statement variables.
  • E.g., is a contradiction

19
More Logical Equivalences
  • Commutative laws
  • Associative laws
  • Distributive laws
  • Absorption laws

20
Simplifying Statement Forms
Write a Comment
User Comments (0)
About PowerShow.com