Graduate

GraduateDiscrete MathematicsGraph Theory


Graph Representations


Graph theory is a fascinating field within discrete mathematics that studies the properties of graphs - mathematical structures used to model paired relationships between objects. Before diving into complex concepts, it is important to understand the basic idea of graph representation.

What is a graph?

A graph G consists of a set V called vertices or nodes, and a set E of edges or links connecting pairs of vertices. A graph can be defined mathematically as follows:

    g = (v, e)

Here, V is the collection of vertices, and E is the collection of edges.

Types of graphs

There are different types of graphs depending on their structure and properties. Some of the major categories are as follows:

  • Undirected graph: A graph whose edges have no direction.
  • Directed graph (digraph): A graph in which each edge has a direction.
  • Weighted graph: A graph that has weights associated with its edges.
  • Unweighted graph: All edges have the same weight, usually denoted as 1.
  • Multigraphs: Graphs where multiple edges are allowed between two nodes.
  • Simple graph: A graph with no loops and multiple edges.

Visual representation of the graph

Visual representations of graphs help in understanding and interpreting their structure. Consider an undirected graph G with vertices {A, B, C, D} and edges {(A, B), (A, C), (B, D), (C, D)}

    Vertex: { A, B, C, D }
    Edges: { (A, B), (A, C), (B, D), (C, D) }
A B C D

In the above figure the circles represent vertices and lines represent edges.

Adjacency matrix

One way to represent a graph is through an adjacency matrix. This is a square matrix used to represent a finite graph, where the elements indicate whether pairs of vertices in the graph are adjacent or not.

If A is an adjacency matrix of a graph G, and A[i][j] is equal to 1, it indicates that there is an edge from vertex i to vertex j. If A[i][j] is equal to 0, there is no edge. For undirected graphs, the matrix is symmetric.

    Adjacency matrix for the above graph:
    a B C D
  A 0 1 1 0
  B 1 0 0 1
  C 1 0 0 1
  D 0 1 1 0

Adjacency list

Another way to represent a graph is through an adjacency list. It is an array of lists that is used to represent a graph. The size of the array is equal to the number of vertices.

Each vertex in the array has a list of vertices to which it is connected. Adjacency lists are particularly useful for representing sparse graphs.

    Adjacency list for the above graph:
    
    A: B, C
    Bad
    C: a, d
    D: B, C

Incidence matrix

The incidence matrix is another way to represent a graph. In the incidence matrix, rows represent vertices and columns represent edges. Each edge is represented by specifying which vertices it connects.

For undirected graphs, each edge contributes two entries to the incidence matrix, one for each endpoint. If the graph is directed, a sign (+ or -) can be used to indicate the direction.

    Incidence matrix for the above graph:
    (a, b) (a, c) (b, d) (c, d)
  A 1 1 0 0
  B 1 0 1 0
  C 0 1 0 1
  D 0 0 1 1

Graph isomorphism

Two graphs are called isomorphic if there is a one-to-one correspondence between their vertex sets that preserves closeness. Essentially, isomorphic graphs are structurally identical, just with different labels.

Applications of graph representations

Graph representation is important in various fields such as computer science, biology, social sciences, and logistics. Here are some applications:

  • Network analysis: Representing computer or social networks.
  • Circuit design: Understanding and designing circuits through electrical networks.
  • Scheduling problems: Optimizing tasks and managing resources efficiently.
  • Biology: Modelling of ecosystems, genetic structure or neural networks.

Conclusion

Understanding graph representation is fundamental to studying more advanced topics in graph theory. Identifying different ways to describe and analyze graphs allows mathematicians and scientists to effectively apply this knowledge in a variety of domains. Graph theory remains a highly active and important area in mathematical research, with its applications continually growing with the development of technology and society.


Graduate → 10.1.1


U
username
0%
completed in Graduate


Comments