After Midterm Flashcards
Simple Graph
A simple graph G =(V,E) consists of a non-empty set of Vertices V and a set E of unordered pairs of distinct elements of V called edges
Multigraph
When a graph allows multiple edges between pairs of vertices, we call it a multigraph.
Pseudograph
A multigraph that allows for loops
Directed Graph
A directed graph G = (V,E) that consists of a non-empty set of vertices V and a set E of ordered pairs of distinct elements of V called edges.
Order
of vertices (Typically n)
Size
of edges (Typically m)
Max # edges for simple graph
n choose 2 = (n(n-1))/2
Max # edges for direct graph
n^2
Same degree theory
In a simple graph of n>1 vertices, there is always two vertices with the same degree
(u,v) in an edge in a directed graph
u is adjacent to v
v is adjacent from u
Handshaking Theorm
If you divide the sum of the degrees of a simple graph by 2 you get the number of edges
Bipartite Graph
A simple graph is bipartite if the set vertices V can be split into two sets V1 and V2 such that all edges have one endpoint in V1 and one in V2.
Matching
A matching is a subset of edges such that no two edges are incident with the same vertex
Maximum Matching
A matching with the largest amount of edges possible
Subgraph
A subgraph of G = (V, E) is a graph G = (W,F) such that W is a subset of V and F is a subset of E.
Induced Subgraph
An induced subgraph has the same properties as a subgraph, although additionally, all edges between two vertices in the subgraph must be present if they are in the original.
Isomorphism
Two simple graphs G1 = (V1,E1) and G2 = (V2,E2) are isomorphic if there is a one-to-one and onto function from V1 to V2 such that edge (u,v) is in E1, if and only if (f(u),f(v)) is in E2 for all edges.
Path
A path is a sequence of vertices V0,V1…Vn where there is an edge between each consecutive pair of vertices
Simple Path
A path that doesn’t contain the same vertex more than once
Cut Vertex
A vertex is a cut vertex if the removal of it and its incident edges leaves the graph disconnected
Vertex Cut
A subset V1 of V such that G-V1 is disconnected
Directed Graph: Strongly Connected
There is a path from (u,v) and (v,u) for every pair of vertices.
Directed Graph: Weakly Connected
The graph is connected when direction is removed
Euler Path
A path that traverses every edge exactly once in an undirected graph (Two vertexs of odd degree)