All Exams Test series for 1 year @ ₹349 only
Question

A clique in a simple undirected graph is a complete subgraph that is not contained in any larger complete subgraph. How many cliques are there in the graph shown below ?

The correct answer is
5

A clique in a graph is a subset of vertices such that every two distinct vertices in the clique are adjacent. In simpler terms, a clique is a complete subgraph where each vertex connects directly to every other vertex in the subgraph. The task is to find all maximal cliques in the given graph. A maximal clique cannot be extended by including one more adjacent vertex, meaning it is not part of any larger clique.

Let's analyze the given graph:

From the image of the graph, we can identify the following cliques:

  • Triangle \( \{a, b, g\} \): This is a clique because all vertices (a, b, g) are connected to each other.
  • Triangle \( \{b, c, e\} \): This is a clique consisting of vertices b, c, and e.
  • Triangle \( \{a, d, g\} \): This is a clique with vertices a, d, and g.
  • Triangle \( \{d, e, f\} \): This forms a clique with vertices d, e, and f.
  • Triangle \( \{c, e, f\} \): This is a clique of vertices c, e, and f.

Each triangle mentioned is a maximal clique, as adding another vertex to any of these subgraphs would break the complete connectivity required for a clique.

Therefore, the total number of cliques in the graph is 5.

This matches with option 5, confirming that this is the correct answer.

Was this answer helpful?

Important Questions from Graph Theory

  1. A principal node is a

  2. Which of the following statement(s) is/are correct regarding about the undirected graph?

    I. Number of odd degree vertices is even.

    II. Sum of degrees of all vertices is even.

  3. Let $G(V, E)$ be an undirected and unweighted graph with 100 vertices. Let $d(u, v)$ denote the number of edges in a shortest path between vertices $u$ and $v$ in $V$. Let the maximum value of $d(u, v)$, $u, v \in V$ such that $u \neq v$, be 30. Let T be any breadth-first-search tree of G. Which ONE of the given options is CORRECT for every such graph G?

  4. Let $G$ be an edge-weighted undirected graph with positive edge weights. Suppose a positive constant $\alpha$ is added to the weight of every edge.
    Which ONE of the following statements is TRUE about the minimum spanning trees (MSTs) and shortest paths (SPs) in $G$ before and after the edge weight update?
  5. Maintaining a graph in memory by means of its adjacency matrix is known as
Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App