Discrete Mathematics University of Kentucky CS 275 Spring ... - MGNet
Discrete Mathematics University of Kentucky CS 275 Spring ... - MGNet
Discrete Mathematics University of Kentucky CS 275 Spring ... - MGNet
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Definition: A partition <strong>of</strong> a set S is a collection <strong>of</strong> disjoint sets whose union is A.<br />
Theorem: Let R be an equivalence relation on a set S. Then the equivalence<br />
classes <strong>of</strong> R form a partition <strong>of</strong> S. Conversely, given a partition {A i | i,I} <strong>of</strong> the<br />
set S, there is an equivalence relation R that has the sets A i , i,I, as its<br />
equivalence classes.<br />
169<br />
Graphs<br />
Definition: A graph G = (V,E) consists <strong>of</strong> a nonempty set <strong>of</strong> vertices V and a set<br />
<strong>of</strong> edges E. Each edge has either one or two vertices as endpoints. An edge<br />
connects its endpoints.<br />
Note: We will only study finite graphs (|V| < .).<br />
Categorizations:<br />
• A simple graph has edges that connects two different vertices and no two<br />
edges connect the same vertex.<br />
• A multigraph has multiple edges connecting the same vertices.<br />
• A loop is a set <strong>of</strong> edges from a vertex back to itself.<br />
• A pseudograph is a graph in which the edges do not have a direction<br />
associated with them.<br />
• An undirected graph is a graph in which the edges do not have direction.<br />
• A mixed graph has both directed and undirected edges.<br />
170