Graph Theroy & Combinatorics by Prince
Graph Theroy & Combinatorics by Prince
Brief History of Graph Theory :- Graph Theory started in 1736 with Leonhard Euler,
who solved the
Konigsberg Bridge Problem. He introduced the
concept of vertices
(points) and edges (lines). Graph theory is now widely
used in many fields.
Matrix representations :-
a) Adjacency Matrix : A matrix that shows direct connections between vertices.
=>For the undirected graphs : The matrix is symmetric.
=> All connected graph 1 other wish 0. Directed graph is note symmetric matrices.
b) Incidence Matrix : A matrix showing which vertices are connected to which
edges.
Degree :- No. of total edges are connected/incident on any vertex is called degree
of Graph.
For Undirected Graph - Σdeg(Vi) = 2e
Directed Graph - Σdeg-(Vi) + Σdeg+(Vi) = 2e
Operations on graphs :-
1. Union and Intersection
2. Complement of a graph
3. Subgraphs
4. Graph Isomorphism
Pendant Vertex :- A vertex with degree one (connected by a single edge). Degree =
1
Null Graph :- A graph with no edges, only vertices. It is called Null or edgeless
graph.
Cut sets :- A cut set is a set of edges whose removal disconnects the graph.
=> Minimal cut set: No proper subset of it disconnects the graph.
Properties of Cut Sets :- Every cut set must contain at least one edge from every
spanning tree.
=> Cut sets and circuits are dual: If an edge belongs to a cycle, it cannot belong
to every cut set.
All cut sets fundamental circuits :- From a spanning tree, we can generate -
=> All fundamental circuits (by adding one edge to the tree).
=> All cut sets (by removing one edge from the tree)
Network flow :- A network is a directed graph where each edge has a capacity (max
flow).
Goal: Maximize flow from source (s) to sink (t).
Uses algorithms like:
1. Ford-Fulkerson
2. Edmonds-Karp
Geometrical Graph :- A geometrical graph is a graph drawn in the plane such that :
=> Vertices are distinct points in the plane
=> Edges are straight-line segments connecting these points
Chromatic polynomial :- A function P(G, λ) that counts the number of ways to color
a graph G
using λ colors such that adjacent vertices
have different colors.
Ex. For a path of 2 vertices, P(G, λ) = λ(λ−1)
Covering :- Vertex Cover: A set of vertices such that every edge in the graph is
incident to at least one
vertex from the set.
=> Edge Cover: A set of edges such that every vertex is incident to at least one
edge.
=> Goal: Find the minimum cover.
Four color problem :- Every planar graph (map) can be colored with at most four
colors such that no
two adjacent regions share the same color.
Directed graph :- A graph where edges have direction (from one vertex to another).
=> Notation: Arcs (→) instead of undirected edges (—).
Digraph and Binary relations :- A digraph can represent a binary relation (R) on a
set A.
=> Example: (a, b) ∈ R ⇔ directed edge from a → b
Connectedness :-
Strongly Connected: There is a directed path from every vertex to every other
vertex.
Weakly Connected: If the underlying undirected graph is connected.
𝑃(𝑛,𝑟)=𝑛!(𝑛−𝑟)!
Permutation :- Arrangement of objects in a specific order.
Without repetition:
With repetition: (n)r
Ex. Number of ways to arrange 3 out of 5 books:
𝐶(5+3−1,3)=𝐶(7,3)=35
Choose 3 Chocolates from 5 types (repeats allowed):
a sequence 𝑎0,𝑎1,𝑎2, using a power series, where each term is divided by the
way to represent
Summation operator :- The summation operator, denoted by the Greek letter Sigma
(Σ), is
used to represent the sum of a sequence of terms.