Degrees & Isomorphism
In a graph, when two different vertices are connected by only one edge, and that edge is undirected, we have a simple graph. Simple as that.
We can represent an edge connecting
The vertices of an undirected edge are called the endpoints of that edge.
So, where
Here is an example of a simple graph:
If we call this graph
And, the edges are:
Note that using capital letters for vertices is probably not a good idea.
Two vertices are adjacent if they are the endpoints of the same edge.
For example,
An edge is incident to its endpoints.
For example, the edge
The number of edges incident to a vertex is called that vertex's degree.
For example, the degree of the vertex
Simple graphs don't have self-loops.
As opposed to simple graphs, multigraphs have two endpoints that have more than one edge connecting them.
According to the handshaking lemma:
The sum of the degrees of vertices in a simple graph equals twice the number of edges.
It's because every edge contributes two to the sum of the degrees, one for each of its endpoints.
It also implies that the sum of the degrees can't be odd, because it's twice the number of edges:
A complete graph
An example:
On the other hand, an empty graph has no edges.
An example:
Note: For more special types of graphs, Kimberly Brehm's video does a pretty good overview.
We mentioned the concept of isomorphism briefly in Partial Orders and Equivalence, but let's take a look at it once more.
An isomorphism between graphs
So, two graphs should have the same connections.
An example:
A simple graph is a bipartite graph if its vertices can be partitioned into two sets,