math 401 test 3 Flashcards
the size of the vertex set |V| is called the ? of G
order
G is a multigraph if
there are some repeated edges {xi, xj} (called a multiple edge) for i=/=j in E
G is a general graph if
we further allow a multigraph to have {xi, xi} (called a loop) in E
how to count the degree of a vertex with a loop
the loop counts twice for degree (but only once for edge)
Σd(vi) from i to n =
2|E|
Handshake problem: prove that the number of people that shake hands an odd number of times is even
Σd(vi) of the odd’s + Σd(vi) of the even’s must be = 2|E|. Since Σd(vi) of the evens will be even, the Σd(vi) of the odds must be even as well
Two general graphs are called isomorphic provided that
|V| = |V’| and |E| = |E’|
Let G be a (general) graph. G’ is a (general) subgraph of G if
V’⊆V and E’⊆E
G’ is a spanning (general) subgraph of G if
V’ = V and E’ ⊆ E
G’ is a (general) subgraph induced by V’ if
any edge of G with both end-vertices in V’ is also an edge of G’
A walk is closed if
you return to the starting vertex
A walk is open if
you do not return to the starting vertex
A trail is
a walk with distinct edges
A closed trail is
a closed walk with distinct edges
A path is
a walk with distinct vertices
A cycle is
a closed walk with distinct vertices
A general graph is called connected provided that, for each pair of vertices x and y, there is
a walk joining x and y
Let G and G’ be two general graphs. Then the following are necessary conditions for G and G’ to be isomorphic
- if G is a graph, so is G’
- G and G’ have the same number of components
- if G has a cycle equal to some length k, so does G’
- if G has an (induced) general subgraph that is a complete graph Km, so does G’
The adjacency matrix is an n x n array such that
the entry aij in row i and column j equals teh number of edges joining xi and xj
An open Eulerian trail is
an open trail which contains each edge of a graph G exactly once
a closed Eulerian trail is
a closed trail which contains each edge of G exactly once
Let G be a connected general graph. G has a closed Eulerian trail if and only if
the degree of each vertex of G is even
Let G be a connected general graph. G has an open Eulerian trail if and only if
G has exactly two vertices of odd degree
Let G be a connected graph and suppose that the number of vertices of G with odd degree is m>0. Then the edges of G can be partitioned into ? trails. It is impossible to partition the edges of G into fewer than ? open trails.
m/2