Table of Content
Table of Content
Table of content
1. Graph......................................................................................................................2
Definition 1.1 : of Graph........................................................................................2
Definition 1.2 : Loop..............................................................................................5
Definition 1.3 : Isomorphic graph.........................................................................6
Definition 1.4 : Degree of vertex...........................................................................7
Theorem 1 : Handshaking Lemma for vertices.....................................................8
Definition1.5 : Path................................................................................................9
Definition1.6 : Cycle...............................................................................................9
Definition 1.7 : Connected graph........................................................................10
2. Planar graph.........................................................................................................11
Face......................................................................................................................12
Definition 2.2 Degree of face..............................................................................13
Theorem 2.1: Handshaking Lemma for faces.....................................................13
Theorem 2.2: Euler’s formula of graph theory...................................................13
Corollary of Euler’s formula................................................................................14
Theorem 2.3: Kuratowski’s Theorem..................................................................16
3.Platonic Solid.............................................................................................................17
Theorem 3.1 : There are only 5 platonic solids.................................................18
1
2
1. Graph
Undirected graph
The elements in E are not ordered pairs in, i.e. {A,B} ¿ {B,A} in E for
any A , B ∈ V
2
3
Does there exist a path that traverses every edge once and only once?
V={A,B,C,D} , E={{A,B},{A,C},{A,D},{B,C},{B,D},{C,D}}
Both graph above are the same even the edge intercept differently, since the connections between
vertices are the same.
3
4
4
5
Problem: A thief wants to break into a room, but he does not have the password. The keypad has only
0 and 1 digits. If the length of the password is 3 and the room will open as long as a correct sequence
is input e.g. if the password is 100, when you input 0100, the room will also open. What is the
minimum number of digits that required trying all the combinations of the passwords?
In the figure, each vertex is a two-digit number. The label on the edge is the digit you type. Every
vertex has only two outward direction arrows which are also called outdegrees since you can type
either 1 or 0. If the right-most digit of a vertex V 1 is the same as the left-most digit of a vertex V 2.
Then an ordered pair {V 1,V 2} is an edge. If we start with 00, then go through every edge once, the
result consists all the combinations of length 3 digits.
E.g.
5
6
A simple digraph Not a simple graph since more than one edges
Vertex A has only one edge outward and one between vertices A and B. This is also called
inward. multigraph.
6
7
{x , y }∈ E1 ⟺ {f ( x), f ( y ) }∈ E 2
Adjacent
Two vertices v1 , v 2 are adjacent if {v 1 , v 2 }∈ E.
For direction graph, if either { v 1 , v 2 } ∈ E∨{ v 2 , v 1 } ∈ E then v1 , v 2 are
adjacent.
Example:
7
8
Example:
In the graph, the vertices are names of some children. There are edges between two
children if they are friends. Which children have the least number of friends? How
about the most?
Since Peter has the least edge, he has the least friends. And Ben, Tom and Chris have
the highest degree, and they have the most friends.
Proof:
For each edge, it is incident to two vertices, so the sum all the degree of vertices will
double count the each edge twice. For loops, the degree will add two to the same
vertex so the equation still holds.
8
9
Example:
In a party, assume everyone only shake hands with the same person once. If the
number of handshake for each person is an odd number, then let the number of
handshake be (2 ai +1 ¿ for i=1,2 , … , n , where n is number of people in the party.
Consider the people as a set of vertices and if two people have handshake, then they
have edge connected. Then by the handshaking lemma, we have
n
2|E|=∑ deg ( v i )=2 ( a 1+ a2+ …+a n )+ n
i=1
Try it:
What can you say about the number of vertices that have odd degree?
A path that pass through all edges and vertices Since { A , C }∉ E , this is not a path
Path (A,B,E,D,C)
Red lines are paths, black lines are edges
9
10
So for a connected graph, for any vertices v1 , v 2, there exists a path starts from v1 and
ends at v 2.
10
11
vertices A to D
Example:
Let G= (V , E ) be a simple graph .
V = { a , b , c , d , e , f } , E={{ a , b } , { b , c } , { c , e } , { e , f } }
Is G connected?
2. Planar graph
Definition 2.1 :Planar graph is a graph that can be drawn on a plane
such that edges do not intercept with others.
11
12
Example:
Is the following a planar graph?
Yes. Since for this graph, we can redraw such that no edges intercepting, while the
graph representing the same vertices V and edges E.
Face
The region that is separated by the edges of a planar graph is called face.
The bounded face is called interior face. And the unbounded face is also
counted and called exterior face.
Only 1 face which is There are two faces, one Also two faces, the edge between vertices C
exterior exterior (face2) and one & E does not form a new face
interior (face1).
12
13
Proof:
For each edge, it is contact to exactly two faces. (For edge that contact to one face, it
will contribute two to the degree of face.) Therefore, the sum of degree of faces will
be the double of the number of edges.
13
14
Proof:
This will be proved by induction on the number of edges.
Since when adding a loop to the graph, it will increase the number of edges and face
each by 1. Then the formula v – (e+1) + (f+1) = v − e + f = 2 still holds. Therefore we
can assume there are no loops.
When the number of face is 1, it is an exterior face. For a connected planar graph G=
(V,E) , since it is connected, there is no simple cycle, and we have v vertices and v-1
edges for somev ∈ N . Therefore v – e + f = 1 + 1 = 2.
Assume the formula is true for some positive integer k.
For any graph that has k+1 faces, since number of face= k+1 ≥ 2, there is a simple
cycle. Then we can remove an edge that connects two faces to form a new graph G’.
The number of edges (let it be e’) and faces (let it be f’) of G’ will both decrease by
one. Since G’ has k face, by induction hypothesis, i.e. v – e’ + f’=2, G’ satisfied the
formula. Since e’=e-1 and f’=f-1, we have v - ( e – 1 ) + ( f – 1 ) = 2. Hence, v – e + f =2.
Proof:
Since v ≥ 3, each face has at least degree 3. Then sum of degree of faces is at least 3f.
So by the handshaking lemma, we have 2 e ≥ 3 f . And from Euler’s formula, we have
f =e−v +2 , which implies 2 e ≥ 3e-3 v +6 ⇒ e ≤ 3 v−6 .
Corollary 2: Let G be a planar graph, then there exists a vertex with degree less than
6.
Proof:
For a connected planar graph with v vertices, e edges and f faces. If v < 3, it is
obviously true. So assume v ≥ 3. Then by Corollary 1, we have e ≤ 3 v −6, which
implies 2 e ≤ 6 v −6. If all vertices have degree 6 or above, then by handshaking
lemma, we have 2 e ≥ 6 v together with Corollary 1 yields a contradiction. Therefore,
it is impossible for all vertices having degree 6 or above.
For disconnected graph, we can consider each subgraph that is connected.
Therefore, we can also find a vertex with degree less than 6.
14
15
Corollary 3: Let G be a connected planar graph, with v vertices, e edges and f faces. If
v ≥ 3 and all simple cycles with length ≥ 4, then e ≤ 2 v −4 .
Proof:
Since each simple cycle has at least length 4, the degree of each face is also at least
4. Then by handshaking lemma for faces, we have 2 e ≥ 4 f . By Euler’s formula, we
have f = e – v +2. So 2 e ≥ 4e-4 v +8, then e ≤ 2 v −4.
Corollary 4: Let G be a connected planar graph, with v vertices, e edges and f faces. If
v ≥ 3 and all simple cycles with length ≥ 4 , then there exists a vertex with degree less
than 4.
Example 1:
K 5 is not a planar graph. K n means that there are n vertices and there are edges
between all distinct vertices. For K 5, there are 5 vertices and 1+2+3+4=10 edges. And
it is a connected graph with vertices more than 3. But3 v −6=9<10=e, so Corollary
1 implies K 5 is not a planar graph.
Example 2:
There are three household and they need water supply, electricity supply and tower
gas supply. Assume for each supply (water, electricity and tower gas), there are only
one supply plant. If you would like to use a graph to represent the connection, is it
possible that there is no edges intersect?
This is equivalent to determine whether the graph is a planar graph.
Denote the three households as A = {v1,v2,v3} and the three plants as B ={v4,v5,v6}.
There is an edge between two vertices only if the vertices are in different sets of A, B.
It is obvious that it is connected graph. Besides, for any simple cycle starting from vi
( v i , v a , … , v a , v i ), assume vi ∈ A then v a ∈ B , then v a ∈ A , since no repeated edge
1 k 1 2
for a simple cycle, , so v a ≠ v i. Similarily, vi ≠ v a ∈ B . And so, the simple cycle has at
2 3
least length four. If the graph is planar, then by corollary 2, we have e ≤ 2 v −4. But in
this graph there are 6 vertices and 3x3=9 edges, i.e. 2 v−4=8< 9=e. Therefore, this
graph is not planar and cannot be drawn without edges intersect.
Remark:
1. In example 2, it is a graph called K 3,3 which vertex set V has two subsets
(partition) of vertices V 1∧V 2, each having 3 elements such that there is an edge
between two vertices only if the vertices are in different sets of V 1∧V 2.
15
16
16
17
3.Platonic Solid
A platonic solid is a regular convex polyhedron. The faces are regular polygons and
having the same number of edges meeting at every vertex.
Remark:
Convex: For any two points on the surfaces of the polyhedron, the line segment
joining them is inside the polyhedron.
Example:
(from Wikipedia)
(from Wikipedia)
Not convex which is not a platonic solid/not all Tetrahedron
vertices have the same number of edges
intercepting
Other insight: Consider there is a sphere surround the solid, then you can project the
17
18
Proof:
1. The degree of vertex is constant since every vertex has the same number (say d)
of edges intercepting for a convex polyhedron, then by handshaking lemma
2 e=dv where e is number of edges and v is number of vertices.
2. Since each face are the same polygon, the degree (say s) of faces is constant and
so by handshaking lemma for face, we have
2 e=sf where e is number of edges and f is number of faces.
3. Since it is a planar graph, by Euler’s formula, we have
v−e +f =2
Then
2e 2e 1 1 1 1
−e + =2⇒ + − =
d s d s 2 e
This implies if d and s are determined, e is also determined, and hence v and f. So
(s,d) as an order pair is sufficient to describe a platonic solid.
And for faces, the degree of faces (s) should be at least three, since it is a regular
polygon.
Since the solid is 3D. We must have at least 3 edges (d) intercepting one vertex.
When d=3,
1 1 1
− =
s 6 e
Since e must be positive,
1 1
⇒ − > 0⇒ 6> s
s 6
So the value of s is at most 5.
Similarly, when d=4, s is at most 3, when d=5, s is also at most 3.
Since the formula is “symmetric” for d and s, so we have the same conclusion.
Therefore, we have
18
19
3 3 4 6 4
3 4 8 12 6
3 5 20 30 12
4 3 6 12 8
5 3 12 30 20
19
20
20