Gradient LabSign up free

Home / GATE DA / 2024 / Q.65

GATE DA 2024, Q.65: Cov(X, Y) for "both heads" and "at least one head"

Probability and statisticsCovariance2 marksNumerical answerFree

The question

Two fair coins are tossed. X = 1 if both are heads, else 0. Y = 1 if at least one is heads, else 0. Find Cov(X, Y) to three decimals.

Watch it solved

Solve it step by step

  1. Means. E[X] = 1/4, E[Y] = 3/4.
  2. Product. X = 1 forces Y = 1, so XY = X and E[XY] = 1/4.
  3. Covariance. 1/4 − (1/4)(3/4) = 1/16 = 0.0625.

Answer: 0.0625

Official IISc Bengaluru answer key: 0.062 to 0.063.

Common mistake. Computing E[X]E[Y] and forgetting to subtract it from E[XY], or assuming X and Y are independent (covariance 0).

Remember. Cov(X, Y) = E[XY] − E[X]E[Y].

See it move

Learn the idea behind this question in the free animated lesson Mean, variance and the normal curve, then Probability.

Want every question solved? The past-paper pack has all 195 questions from 2024, 2025 and 2026 for ₹499. The cheat sheet pack has 23 printable sheets for ₹399.

See the past-paper pack See the cheat sheets

Source: official GATE DA 2024 question paper and answer key (IISc Bengaluru). The question is lightly reworded; every number and option is kept.