MathCastle
Counting & ProbabilitySuperchallengeExpected Value, Linearity & Advanced Probability

Expected Value, Linearity & Advanced Probability · Superchallenge problem

Each of the 88 vertices of a cube is coloured red, green or blue, independently and uniformly at random. An edge of the cube is monochromatic if its two endpoints have the same colour. Let XX be the number of monochromatic edges among the 1212 edges. Find the variance of XX. Express your answer as a common fraction.