Lecture 1
Lecture 1
Lecture 1
𝑎𝑎
𝑎𝑎
𝑑𝑑
𝑒𝑒 𝑒𝑒 𝑑𝑑
Deleting a vertex
Let 𝐺𝐺 = (𝑉𝑉, 𝐸𝐸) be a graph, and 𝑣𝑣 ∈ 𝑉𝑉.
If we delete the vertex 𝑣𝑣 from 𝐺𝐺 , the resulting graph has vertex set
𝑉𝑉 \{𝑣𝑣} and edge set 𝐸𝐸 \{𝑒𝑒|𝑒𝑒 𝑖𝑖𝑖𝑖 𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖 𝑤𝑤𝑤𝑤𝑤𝑤𝑤 𝑣𝑣}.
Then, the graph is denoted by 𝐺𝐺 \{𝑣𝑣} .
Deleting an edge
Let 𝐺𝐺 = (𝑉𝑉, 𝐸𝐸) be a graph, and 𝑒𝑒 ∈ 𝐸𝐸.
If we delete the edge 𝑒𝑒 from 𝐺𝐺 , the resulting graph has vertex set
𝑉𝑉 and edge set 𝐸𝐸 \{𝑒𝑒}.
Then, the graph is denoted by 𝐺𝐺 \{𝑒𝑒} .
Subgraph
Let 𝐺𝐺 = (𝑉𝑉, 𝐸𝐸) and 𝐺𝐺𝐺 = (𝑉𝑉𝑉, 𝐸𝐸𝐸) be graphs.
We say that 𝐺𝐺𝐺 is a subgraph of 𝐺𝐺 if 𝑉𝑉𝑉 ⊆ 𝑉𝑉 and 𝐸𝐸 ′ ⊆ 𝐸𝐸.
A subgraph 𝐺𝐺𝐺 of 𝐺𝐺 is a proper subgraph of 𝐺𝐺 if 𝐺𝐺𝐺 ≠ 𝐺𝐺.
Induced Subgraph
Let 𝐺𝐺 = (𝑉𝑉, 𝐸𝐸) be a simple graphs. We say that 𝐺𝐺𝐺 = (𝑉𝑉𝑉, 𝐸𝐸𝐸) is a
subgraph of 𝐺𝐺 induced by the subset 𝑉𝑉𝑉 ⊆ 𝑉𝑉 if 𝐸𝐸𝐸 contains an edge in
𝐸𝐸 if and only if both endpoints of this edge are in 𝑉𝑉𝑉.
Example, for the graph below:
and this one is an induced by the vertices 𝑣𝑣1 , 𝑣𝑣2 , 𝑣𝑣4 , subgraph.
Vertex Degree
The degree of a vertex 𝑣𝑣 , denoted by 𝑑𝑑(𝑣𝑣), (or 𝑑𝑑𝑑𝑑𝑑𝑑(𝑣𝑣)) in an
undirected simple graph is the number of edges incident with it.
Example
𝑑𝑑 𝑎𝑎 = 2, 𝑑𝑑 𝑏𝑏 = 4, 𝑑𝑑 𝑐𝑐 = 4, 𝑑𝑑 𝑑𝑑 = 1, 𝑑𝑑 𝑒𝑒 = 3, d f = 4, d g = 0
A vertex of degree zero is called isolated. It follows that an
isolated vertex is not adjacent to any vertex.
A vertex is pendant if and only if it has degree one.
Consequently, a pendant vertex is adjacent to exactly one
other vertex.
If we consider the adjacency matrix of a graph, then the number of 1s
in the column and row corresponding to the certain vertex 𝑣𝑣, is 𝑑𝑑(𝑣𝑣),
the degree of 𝑣𝑣 .
And in the incidence matrix the number of 1s in the column
corresponding to the certain vertex 𝑣𝑣, is 𝑑𝑑(𝑣𝑣).
In addition, the degrees of the vertices in isomorphic simple graphs
must be the same.
Theorem (Handshaking theorem).
If 𝐺𝐺 = (𝑉𝑉, 𝐸𝐸) is an undirected graph with 𝑚𝑚 edges, then
∑𝑣𝑣∈𝑉𝑉 𝑑𝑑(𝑣𝑣) = 2𝑚𝑚
Proof.
Consider the incidence matrix of the graph 𝐺𝐺 = (𝑉𝑉, 𝐸𝐸), the sum
of all columns = ∑𝑣𝑣∈𝑉𝑉 𝑑𝑑(𝑣𝑣), and the sum of all rows = 2𝑚𝑚.□
Theorem. In any undirected graph 𝐺𝐺 = (𝑉𝑉, 𝐸𝐸) the number of
odd-degree vertices is even.
Proof.
From the previous theorem we have 2 𝐸𝐸 = ∑𝑣𝑣∈𝑉𝑉 𝑑𝑑(𝑣𝑣). If
the number of odd degree vertices is odd, then the sum could
not be even.
Degree sequence
If graph 𝐺𝐺 has vertices 𝑣𝑣1 , 𝑣𝑣2 , ⋯ , 𝑣𝑣𝑛𝑛 , the sequence
(𝑑𝑑(𝑣𝑣1 ), 𝑑𝑑(𝑣𝑣2 ), ⋯ , 𝑑𝑑(𝑣𝑣𝑛𝑛 )) (usually written in nonincreasing order) is
called the degree sequence of 𝐺𝐺.
Every graph has a degree sequence, but which sequences occur?
That is,
given nonnegative integers 𝑑𝑑1 , ⋯ , 𝑑𝑑𝑛𝑛 , is there a graph with these as
the vertex degrees?