Skip to content

Commit 6a6506c

Browse files
danahzhangfifthist
authored andcommitted
Update 5.tex
Proposed Change (b) & (c) answers from n-1 to 2^n -1 Reasoning Answer assumes that there are N players, but in the original problem, there are 2^n players.
1 parent 0fb1d1b commit 6a6506c

1 file changed

Lines changed: 8 additions & 9 deletions

File tree

  • src/chapters/1/sections/counting/problems

src/chapters/1/sections/counting/problems/5.tex

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,20 @@
55

66
The number of times $2^N$ can be divided by two is $\log_{2}{2^N}$ which means the total amount of rounds in the tournament is $$ N $$
77

8-
\item The number of games in a given round is $\frac{N_{r}}{2}$. We can sum up
8+
\item The number of games in a given round is $2^N$. We can sum up
99
these values for all the rounds.
1010

1111
\begin{equation}
1212
\begin{split}
13-
f(N) & = \frac{N}{2} + \frac{N}{4} + \frac{N}{8} + \dots + \frac{N}{2^{\log_{2}{N}}}\\
14-
& =N \sum_{i=0}^{\log_{2}{N}} \frac{1}{2^{i}}\\
15-
& =N \times \frac{N-1}{N}\\
16-
& =N-1
13+
f(N) & = \2^0 + \2^1 + \2^2 + \dots + \2^N\\
14+
& =N \sum_{i=0}^{\N} \2^N\\
15+
& =2^N -1
1716
\end{split}
1817
\end{equation}
1918

20-
\item Tournament is over when a single player is left. Hece, $N-1$ players
19+
\item Tournament is over when a single player is left. Hece, $2^N$ players
2120
need to be eliminated. As a result of a match, exactly one player is eliminated.
22-
Hence, the number of matches needed to eliminate $N-1$ people is
21+
Hence, the number of matches needed to eliminate $2^N -1$ people is
2322

24-
$$ N-1 $$
25-
\end{enumerate}
23+
$$ 2^N - 1$$
24+
\end{enumerate}

0 commit comments

Comments
 (0)