Sets, Functions, Graphs, Trees - PowerPoint PPT Presentation

1 / 35
About This Presentation
Title:

Sets, Functions, Graphs, Trees

Description:

A set can not contain same object more than once. Two sets ... Venn diagram. Universe. A. U. DeMorgan`s laws. Collection of sets. Size (cardinality) of the set ... – PowerPoint PPT presentation

Number of Views:29
Avg rating:3.0/5.0
Slides: 36
Provided by: slavaf
Category:

less

Transcript and Presenter's Notes

Title: Sets, Functions, Graphs, Trees


1
Sets, Functions, Graphs, Trees
2
Sets
A set is a collection of objects, called members
or elements
xÏS
xÎS
We can describe set by explicitly listing its
members
Sa,s,d,f,g
A set can not contain same object more than once
Two sets are equal if they contain same elements
A¹B
AB
3
Some frequently encountered sets
4
Subsets
If all the elements of a set A are contained in a
set B then A is a subset B
A Í B
A Í B
If A Í B and A ¹ B than A is proper subset B
A Ì B
AB if and only if A Í B and B Í A
For any A, B, and C if A Í B and B Í C , then A
Í C
For any A Æ Í A
5
Definition of set in terms of other sets
Xx x/2 Î Z
Directly
Applying set operations
6
Set operations laws
7
Set operations laws II
8
Set operations laws III
Venn diagram
9
Universe
U
A
10
DeMorgans laws
11
Collection of sets
12
Size (cardinality) of the set
  • finite
  • infinite
  • countably infinite
  • uncountably infinite

For any two finite sets A and B AÈB A
B - AÇB AÈB A B
13
Cartesian product
A x B (a,b) a Î A, b Î B
A x B A B
14
Binary relation
15
Functions
16
Functions
17
Graphs
directed undirected
18
Directed Graphs
19
Undirected Graphs
20
Adjacency relation
21
Degree of a vertex
22
Path
23
Cycles
24
Isomorphism
25
Representation of graphs in memory (undirected
graph)
26
Representation of graphs in memory (directed
graph)
27
Tree Forrest
28
Rooted Tree
29
Height of the Tree
30
Ordered Tree
31
Ordered Tree
32
Binary Tree
33
Binary Tree II
34
Binary Tree representation
35
Binary Tree representation II
Write a Comment
User Comments (0)
About PowerShow.com