Javatpoint Logo
Javatpoint Logo

What is Graph and Graph Theory?


A graph is a pictorial and mathematical representation of a set of objects where some pairs of objects are connected by links.

The interconnected objects are represented by points termed as vertices or nodes and the links that connect the vertices are called edges or arcs or lines.

In other words, a graph is an ordered pair G = (V, E) where,

  • G specifies the graph.
  • V is the vertex-set whose elements are called the vertices, or nodes of the graph. This set is often denoted by V(G) or just V.
  • E is the edge-set whose elements are called the edges, or connections between vertices of the graph. This set is often denoted by E(G) or just E.

Let's see the following graph:

What is Graph and Graph Theory

In the above graph,

Graph Theory

Graph theory is the sub-field of mathematics and computer science which deals with graphs, diagrams that contain points and lines and which often pictorially represents mathematical truths.

In short, graph theory is the study of the relationship between edges and vertices.

Youtube For Videos Join Our Youtube Channel: Join Now


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA