# The math behind a bracket

**URL:** <https://boards.straightdope.com/t/the-math-behind-a-bracket/600383>\
**Category:** The Game Room\
**Created:** [October 21, 2011, 6:56pm UTC](https://boards.straightdope.com/t/the-math-behind-a-bracket/600383 "2011-10-21T18:56:59Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![etv78](https://avatars.discourse-cdn.com/v4/letter/e/d78d45/32.png) [@etv78](https://boards.straightdope.com/u/etv78)\
**Post date:** [October 21, 2011, 6:56pm UTC](https://boards.straightdope.com/t/the-math-behind-a-bracket/600383/1 "2011-10-21T18:56:59Z")

</div>

Assuming single elimination with no byes, I know that the number of teams in the field is 2^x where x is the # of games the champ needs to win. AND that the field is x-1. My question is: WHY is this true? And I realize the explanation will be glaringly obvious.

---

<div class="post-metadata">

**Author:** ![notfrommensa](https://avatars.discourse-cdn.com/v4/letter/n/f14d63/32.png) [@notfrommensa](https://boards.straightdope.com/u/notfrommensa)\
**Post date:** [October 21, 2011, 7:22pm UTC](https://boards.straightdope.com/t/the-math-behind-a-bracket/600383/2 "2011-10-21T19:22:54Z")

</div>

> [@](#):
>
> I know that the number of teams in the field is 2^x

> [@](#):
>
> AND that the field is x-1.

2nd statement is not correct and I am not sure what your question is

---

<div class="post-metadata">

**Author:** ![Snarky\_Kong](https://avatars.discourse-cdn.com/v4/letter/s/a183cd/32.png) [@Snarky\_Kong](https://boards.straightdope.com/u/Snarky_Kong)\
**Post date:** [October 21, 2011, 7:29pm UTC](https://boards.straightdope.com/t/the-math-behind-a-bracket/600383/3 "2011-10-21T19:29:14Z")

</div>

Because the field is halved in each round.

---

<div class="post-metadata">

**Author:** ![Munch](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/munch/32/5281_2.png) [@Munch](https://boards.straightdope.com/u/Munch)\
**Post date:** [October 21, 2011, 9:33pm UTC](https://boards.straightdope.com/t/the-math-behind-a-bracket/600383/4 "2011-10-21T21:33:34Z")

</div>

> [@etv78](#):
>
> Assuming single elimination with no byes, I know that the number of teams in the field is 2^x where x is the # of games the champ needs to win. AND that the field is x-1. My question is: WHY is this true? And I realize the explanation will be glaringly obvious.

Nope.

Work backwards. If it’s single elimination for X teams, then at the end of the tournament, every team but one (the champion) will have a loss. Thus, there are X-1 games (since each game doles out one loss). As for the number of games the champ needs to win, that completely depends on whether or not you have an even factorial of 2 teams (2, 4, 8, 16, 32, 64, etc.) or not. If you don’t, then your champ could certainly have come from a seeding where they got a bye.

---

<div class="post-metadata">

**Author:** ![sachertorte](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/sachertorte/32/3727_2.png) [@sachertorte](https://boards.straightdope.com/u/sachertorte)\
**Post date:** [October 21, 2011, 9:56pm UTC](https://boards.straightdope.com/t/the-math-behind-a-bracket/600383/5 "2011-10-21T21:56:54Z")

</div>

If you want a proof, I would suggest Induction as the method you want to use.

ETA: and your initial statements are not correct.

2^x should be the number of teams. x is the number of games needed by the winning team to win the tournament. It works for x=0 too.  
(2^x) - 1 is the total number of games in the tournament.

---

<div class="post-metadata">

**Author:** ![Munch](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/munch/32/5281_2.png) [@Munch](https://boards.straightdope.com/u/Munch)\
**Post date:** [October 22, 2011, 12:58am UTC](https://boards.straightdope.com/t/the-math-behind-a-bracket/600383/6 "2011-10-22T00:58:18Z")

</div>

> [@sachertorte](#):
>
> 2^x should be the number of teams. x is the number of games needed by the winning team to win the tournament. It works for x=0 too.  
> (2^x) - 1 is the total number of games in the tournament.

So in a 63 team tournament you need to win 5.9772 games? Or a 33 team tournament requires 5.0443 wins? No, 2^x comes up with the maximum number of slots for a tournament of x tiers.

---

<div class="post-metadata">

**Author:** ![Malacandra](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@Malacandra](https://boards.straightdope.com/u/Malacandra)\
**Post date:** [October 22, 2011, 7:08am UTC](https://boards.straightdope.com/t/the-math-behind-a-bracket/600383/7 "2011-10-22T07:08:50Z")

</div>

> [@Munch](#):
>
> As for the number of games the champ needs to win, that completely depends on whether or not you have an even factorial of 2 teams (2, 4, 8, 16, 32, 64, etc.) or not.

You misspelled “power”.

Spot on otherwise, though.

---

<div class="post-metadata">

**Author:** ![septimus](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/septimus/32/410_2.png) [@septimus](https://boards.straightdope.com/u/septimus)\
**Post date:** [October 22, 2011, 10:15am UTC](https://boards.straightdope.com/t/the-math-behind-a-bracket/600383/8 "2011-10-22T10:15:24Z")

</div>

> [@Munch](#):
>
> So in a 63 team tournament you need to win 5.9772 games?

No. 5.984375 games on average. Google “Bye.”

---

<div class="post-metadata">

**Author:** ![Munch](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/munch/32/5281_2.png) [@Munch](https://boards.straightdope.com/u/Munch)\
**Post date:** [October 22, 2011, 12:24pm UTC](https://boards.straightdope.com/t/the-math-behind-a-bracket/600383/9 "2011-10-22T12:24:38Z")

</div>

> [@septimus](#):
>
> No. 5.984375 games on average. Google “Bye.”

I know what a bye is, I mentioned them in post #4. I’m merely stating that his formula doesn’t give the number of teams, rather the number of maximum slots. As for the numbers, I got mine from Wolfram Alpha. Maybe solving for 2^x=63 has a different result on Google, but I doubt it.

> [@Malacandra](#):
>
> You misspelled “power”.

:smack: Thanks.

---

<div class="post-metadata">

**Author:** ![septimus](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/septimus/32/410_2.png) [@septimus](https://boards.straightdope.com/u/septimus)\
**Post date:** [October 22, 2011, 3:00pm UTC](https://boards.straightdope.com/t/the-math-behind-a-bracket/600383/10 "2011-10-22T15:00:41Z")

</div>

> [@Munch](#):
>
> I know what a bye is,… As for the numbers, I got mine from Wolfram Alpha. Maybe solving for 2^x=63 has a different result on Google, but I doubt it.

I hate to argue about nothin’ but …  
If you’re using 2^x=63 to calculate average games won by winner, you do need to study up on “Bye.”

---

<div class="post-metadata">

**Author:** ![etv78](https://avatars.discourse-cdn.com/v4/letter/e/d78d45/32.png) [@etv78](https://boards.straightdope.com/u/etv78)\
**Post date:** [October 22, 2011, 5:24pm UTC](https://boards.straightdope.com/t/the-math-behind-a-bracket/600383/11 "2011-10-22T17:24:24Z")

</div>

I was assuing 2 raised to a power, and the power itself, are whole #s.

---

<div class="post-metadata">

**Author:** ![Chronos](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/chronos/32/134_2.png) [@Chronos](https://boards.straightdope.com/u/Chronos)\
**Post date:** [October 22, 2011, 5:29pm UTC](https://boards.straightdope.com/t/the-math-behind-a-bracket/600383/12 "2011-10-22T17:29:33Z")

</div>

The OP specified single elimination with no byes, which implies that the number of teams must be a power of 2.

---

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [October 22, 2011, 5:56pm UTC](https://boards.straightdope.com/t/the-math-behind-a-bracket/600383/13 "2011-10-22T17:56:32Z")

</div>

> [@septimus](#):
>
> I hate to argue about nothin’ but …  
> If you’re using 2^x=63 to calculate average games won by winner, you do need to study up on “Bye.”

If byes were assigned completely at random, this would be accurate.

---

<div class="post-metadata">

**Author:** ![ZenBeam](https://avatars.discourse-cdn.com/v4/letter/z/3ab097/32.png) [@ZenBeam](https://boards.straightdope.com/u/ZenBeam)\
**Post date:** [October 22, 2011, 6:22pm UTC](https://boards.straightdope.com/t/the-math-behind-a-bracket/600383/14 "2011-10-22T18:22:03Z")

</div>

If I assume each of the 63 teams has the same likelyhood of winning the tournament, the expected number of wins for the tournament winner is  
(62_6 + 1_5)/63 = 5.984127

If I assume the team with a Bye has twice the chance of winning as all the others, the expected number of wins for the tournament winner is  
(62_6 + 2_5)/64 = 5.96875

Using 2^x = 63 gives me 5.97728.

What am I missing?

---

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [October 22, 2011, 9:48pm UTC](https://boards.straightdope.com/t/the-math-behind-a-bracket/600383/15 "2011-10-22T21:48:24Z")

</div>

I goofed. The base 2 logarithm of the number of teams is a lower bound for the number of games the winner has to play, but it’s not exactly right.
