Difference between revisions of "2024 SSMO Speed Round Problems/Problem 6"
(→Solution) |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
==Problem== | ==Problem== | ||
− | There are <math>4</math> people and <math>4</math> houses. Each person independently randomly chooses a house to live in. The expected number of inhabited houses can be expressed as <math>\ | + | There are <math>4</math> people and <math>4</math> houses. Each person independently randomly chooses a house to live in. The expected number of inhabited houses can be expressed as <math>\tfrac{m}{n}</math>, where <math>m</math> and <math>n</math> are relatively prime positive integers. Find <math>m+n</math>. |
− | ==Solution== | + | ==Solution 1== |
− | Let <math>a_n</math> equal <math>1</math> if the nth house is occupied and <math>0</math> if the nth house is unoccupied. Thus, we are trying to find <math>\mathbb{E}[a_1+a_2+a_3+a_4] = 4\mathbb{E}[a_1]</math> by the Linearity of Expectation. Instead of calculating the probability that a single house is occupied, we instead calculate the probability that it is unoccupied. Each person has a <math>\ | + | |
+ | For each house, the expected probability that it is uninhabited is <math>\left(\frac{3}{4}\right)^4.</math> So, the expected probability that it is inhabited is <math>1-\left(\frac{3}{4}\right)^4 = \frac{175}{256}.</math> Thus, the expected number of inhabited houses is <cmath>4\cdot\left(\frac{175}{256}\right) = \frac{175}{64}\implies175+64 = \boxed{239}.</cmath> | ||
+ | |||
+ | ~SMO_Team | ||
+ | |||
+ | ==Solution 2== | ||
+ | Let <math>a_n</math> equal <math>1</math> if the nth house is occupied and <math>0</math> if the nth house is unoccupied. Thus, we are trying to find <math>\mathbb{E}[a_1+a_2+a_3+a_4] = 4\mathbb{E}[a_1]</math> by the Linearity of Expectation. Instead of calculating the probability that a single house is occupied, we instead calculate the probability that it is unoccupied. Each person has a <math>\tfrac{1}{4}</math> chance of residing in that house, and thus a <math>\tfrac{3}{4}</math> chance of not residing in that house. The probability that none of the people stay in that house is <math>\left (\tfrac{3}{4} \right)^4 = \tfrac{81}{256}</math>. Thus, the probability that any given house is occupied, or <math>\mathbb{E}[a_1]</math>, is <math>1 - \tfrac{81}{256} = \tfrac{175}{256}</math>. Thus, our answer is <math>4\cdot \tfrac{175}{256} = \tfrac{175}{64}</math>, <math>175+64=\boxed{239}</math>. | ||
-Vivdax | -Vivdax |
Latest revision as of 14:27, 10 September 2025
Problem
There are people and
houses. Each person independently randomly chooses a house to live in. The expected number of inhabited houses can be expressed as
, where
and
are relatively prime positive integers. Find
.
Solution 1
For each house, the expected probability that it is uninhabited is So, the expected probability that it is inhabited is
Thus, the expected number of inhabited houses is
~SMO_Team
Solution 2
Let equal
if the nth house is occupied and
if the nth house is unoccupied. Thus, we are trying to find
by the Linearity of Expectation. Instead of calculating the probability that a single house is occupied, we instead calculate the probability that it is unoccupied. Each person has a
chance of residing in that house, and thus a
chance of not residing in that house. The probability that none of the people stay in that house is
. Thus, the probability that any given house is occupied, or
, is
. Thus, our answer is
,
.
-Vivdax