GATE / CS ARCHIVE

GATE CSE 2013 / QUESTION 24

Expected triangles in a random graph

Discrete Mathematics · Probability & Random Variables · Full GATE CSE 2013 paper

GATE 2013, Q24 1 mark · MCQ
Report issue

Probability & Random Variables

Question 24, GATE 2013: An undirected random graph has 8 vertices, with edge probability 1/2 for each vertex pair. Find the expected number of unordered triangles. A1/8, B1, C7, D8. The standard independent-edge model is intended.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

Our answer: C under independent-edge model

For each of C(8, 3)=56 vertex triples, its triangle indicator has mean(1/2)3=1/8 under the standard independent-edge random-graph model. By linearity of expectation the expected count is 56/8=7, C. Equal individual edge probabilities alone would not establish independence: choosing either the complete or empty graph with probability 1/2 would instead give mean 28. The usual random-graph model is therefore a necessary convention.

Use one indicator variable for each unordered three-vertex subset, not for each ordered traversal of a triangle. There are 8·7·6/6=56 such subsets. Its three edges must all occur, with probability(1/2)³ under independence. The expected sum is the sum of expectations, so 56/8=7. Distinct triangle indicators can share edges and need not be independent; linearity of expectation does not require their independence. The independence needed is within the three edges of one triangle.

Original paper, page 5 · Answer key