Skip to content
Official PYQ · 2013

GATE CS 2013 Q24 — Probability: Random Variables and Distributions

Explain with AI

Consider an undirected random graph of eight vertices. The probability that there is an edge between a pair of vertices is 12.\dfrac{1}{2}. What is the expected number of unordered cycles of length three?

Choose one option
View worked solution

Answer: C

To find the expected number of unordered cycles of length three (triangles) in a random graph of 88 vertices, we can use the linearity of expectation.

Let the number of vertices be n=8n = 8.

  1. Number of possible triplets: The number of ways to choose 33 vertices out of 88 to form a potential cycle of length three is given by: (83)=8×7×63×2×1=56\binom{8}{3} = \frac{8 \times 7 \times 6}{3 \times 2 \times 1} = 56
  2. Probability of a cycle: For any chosen triplet of vertices to form a cycle of length three, all three edges connecting these vertices must be present. Since the probability of an edge existing between any pair of vertices is p=12p = \frac{1}{2}, and the existence of edges is independent, the probability that all three edges exist is: P(cycle)=p3=(12)3=18P(\text{cycle}) = p^3 = \left(\frac{1}{2}\right)^3 = \frac{1}{8}
  3. Expected value: Let XiX_i be an indicator random variable such that Xi=1X_i = 1 if the ii-th triplet forms a cycle, and Xi=0X_i = 0 otherwise. The total number of cycles is X=∑i=156XiX = \sum_{i=1}^{56} X_i.
    By linearity of expectation: E[X]=E[∑i=156Xi]=∑i=156E[Xi]=56×P(Xi=1)E[X] = E\left[\sum_{i=1}^{56} X_i\right] = \sum_{i=1}^{56} E[X_i] = 56 \times P(X_i = 1) E[X]=56×18=7E[X] = 56 \times \frac{1}{8} = 7

Thus, the expected number of unordered cycles of length three is 7.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Probability: Random Variables and Distributions questions