Docsity

Review Notes on Discrete Structures | CSCI 243, Study notes of Discrete Structures and Graph Theory

Partial preview of the text

Download Review Notes on Discrete Structures | CSCI 243 and more Study notes Discrete Structures and Graph Theory in PDF only on Docsity!

12/6/

CSci 243

Discrete Structures

Lecture 30

Review

12/6/

Outline^ • How to study for final• Topics Covered• Quick Checks, Collected• Homework Assignments, Collected

12/6/

Topics Covered^ • 9: Sets, Tuples, Cartesian Product• 9: Binary Relations, Functions• 8: Sequences, Sums, Products, Useful Funcs• 7: Logic, Predicates• 7: Proofs: Truth Tables, Laws, Rules of Infer.,

Proof Methods, (10) Weak & Strong Induction

  • 9: Algorithms, Algorithm Analysis, Complexity• 10: Recursion• 7: Graphs, Finite State Machines

12/6/

Topics Covered^ • 6: Paths/Cycles, Shortest Path, Min. Span. Tree• 5: Graph Coloring, Graph Implementation• 9: Tree, Traversing Trees• 8: Counting, Pigeonhole Principle• 10: Permutations and Combs, (5) Binomial Thm.• 10: Probability• 7: Random Variables, Expected Values, Variance• 10: Recurrence Relations• 10: Proof of Correctness of Algorithms

12/6/

Quick Questions^ • Given:

A = {1, 4, 2, 7, 9}B = {4, 11, 7, 3}C = {1, 4, 2}

• A \ (B

I

C) =?

• (A

I

B)

U

(B

I

C) =?

12/6/

Quick Questions^ • T/F? cats and dogs are disjoint sets of animals• T/F? cats and dogs partition the set of mammals• How many sets in

P

A if |A|=n?

12/6/

Quick Question^ • Venn diagram for (A

I

B)

U

C?

12/6/

Quick Questions^ • Given:

A = { 1, 2, 3, 4 }R = { (1,2), (2,3), (2,4), (3,5) }S = { (3,2), (4,1), (2,4) }

  • What pairs must be added to make R transitive?• What is R

o

S?

12/6/

13

Quick Questions^ • Write the first 10 terms for the sequence {a

},n

where a

n^

= 1/n

2

  • Conjecture a formula for a

n^

for the sequence

which begins 1, 2, 4, 8, 16, 32, 64.

  • Why is this a “conjecture”?

12/6/

Quick Question^ • Solve:

=

10

1

i^

i

12/6/

Quick Question^ • What is:

∑∏

=^

=

4

2

4 3

j^

i

j

i

12/6/

  • Given: It is not the case that the sky is always

blue and dogs always chase cats

Quick Question• Abstract:• Simplify:• Make Concrete:

12/6/

Quick Question^ • Is (

P

(P

f

Q))

f!

Q a tautology?

12/6/

  • Assume: P(x,y,z)

x+y=z

  • True or False?:
    • P(1,2,4)• P(4,5,8)

v

P(1,1,2)

Quick Questions