Difference between revisions of "2017 AIME II Problems/Problem 11"
The turtle (talk | contribs) |
|||
Line 3: | Line 3: | ||
==Solution== | ==Solution== | ||
− | <math>\boxed{544}</math> | + | It is obvious that any configuration of one-way roads which contains a town whose roads all lead into it or lead out of it cannot satisfy the given. We claim that any configuration which does not have a town whose roads all lead into it or lead out of it does satisfy the given conditions. Now we show that a loop of <math>3</math> or more towns exist. Pick a town, then choose a neighboring town to travel to <math>5</math> times. Of these <math>6</math> towns visited, at least two of them must be the same; therefore there must exist a loop of <math>3</math> or more towns because a loop of <math>2</math> towns cannot exist. We want to show that the loop can be reached from any town, and any town can be reached from the loop. |
+ | |||
+ | Case <math>1</math>. The loop has <math>5</math> towns. | ||
+ | Clearly every town can be reached by going around the loop. | ||
+ | |||
+ | Case <math>2</math>. The loop has <math>4</math> towns. | ||
+ | The town not on the loop must have a road leading to it. This road comes from a town on the loop. Therefore this town can be reached from the loop. This town not on the loop must also have a road leading out of it. This road leads to a town on the loop. Therefore the loop can be reached from the town. | ||
+ | |||
+ | Case <math>3</math>. The loop has <math>3</math> towns. | ||
+ | There are two towns not on the loop; call them Town <math>A</math> and Town <math>B</math>. Without loss of generality assume <math>A</math> leads to <math>B</math>. Because a road must lead to <math>A</math>, the town where this road comes from must be on the loop. Therefore <math>A</math> and therefore <math>B</math> can be reached from the loop. Because a road must lead out of <math>B</math>, the town it leads to must be on the loop. Therefore the loop can be reached from <math>B</math> and also <math>A</math>. | ||
+ | |||
+ | The number of good configurations is the total number of configurations minus the number of bad configurations. There are <math>2^{{5\choose2}}</math> total configurations. To find the number of bad configurations in which a town exists such that all roads lead to it, there are <math>5</math> ways to choose this town and <math>2^6</math> ways to assign the six other roads that do not connect to this town. The same logic is used to find the number of bad configurations in which a town exists such that all roads lead out of it. It might be tempting to conclude that there are <math>5\times2^6+5\times2^6</math> bad configurations, but the configurations in which there exists a town such that all roads lead to it and a town such that all roads lead out of it are overcounted. There are <math>5</math> ways to choose the town for which all roads lead to it, <math>4</math> ways to choose the town for which all roads lead out of it, and <math>2^3</math> ways to assign the remaining <math>3</math> roads not connected to either of these towns. Therefore, the answer is <math>2^{{5\choose2}}-(5\times2^6+5\times2^6-5\times4\times2^3)=\boxed{544}</math>. | ||
+ | |||
+ | <math>\textbf{The Turtle - is there a better way?}</math> | ||
=See Also= | =See Also= | ||
{{AIME box|year=2017|n=II|num-b=10|num-a=12}} | {{AIME box|year=2017|n=II|num-b=10|num-a=12}} | ||
{{MAA Notice}} | {{MAA Notice}} |
Revision as of 18:23, 23 March 2017
Problem
Five towns are connected by a system of roads. There is exactly one road connecting each pair of towns. Find the number of ways there are to make all the roads one-way in such a way that it is still possible to get from any town to any other town using the roads (possibly passing through other towns on the way).
Solution
It is obvious that any configuration of one-way roads which contains a town whose roads all lead into it or lead out of it cannot satisfy the given. We claim that any configuration which does not have a town whose roads all lead into it or lead out of it does satisfy the given conditions. Now we show that a loop of or more towns exist. Pick a town, then choose a neighboring town to travel to
times. Of these
towns visited, at least two of them must be the same; therefore there must exist a loop of
or more towns because a loop of
towns cannot exist. We want to show that the loop can be reached from any town, and any town can be reached from the loop.
Case . The loop has
towns.
Clearly every town can be reached by going around the loop.
Case . The loop has
towns.
The town not on the loop must have a road leading to it. This road comes from a town on the loop. Therefore this town can be reached from the loop. This town not on the loop must also have a road leading out of it. This road leads to a town on the loop. Therefore the loop can be reached from the town.
Case . The loop has
towns.
There are two towns not on the loop; call them Town
and Town
. Without loss of generality assume
leads to
. Because a road must lead to
, the town where this road comes from must be on the loop. Therefore
and therefore
can be reached from the loop. Because a road must lead out of
, the town it leads to must be on the loop. Therefore the loop can be reached from
and also
.
The number of good configurations is the total number of configurations minus the number of bad configurations. There are total configurations. To find the number of bad configurations in which a town exists such that all roads lead to it, there are
ways to choose this town and
ways to assign the six other roads that do not connect to this town. The same logic is used to find the number of bad configurations in which a town exists such that all roads lead out of it. It might be tempting to conclude that there are
bad configurations, but the configurations in which there exists a town such that all roads lead to it and a town such that all roads lead out of it are overcounted. There are
ways to choose the town for which all roads lead to it,
ways to choose the town for which all roads lead out of it, and
ways to assign the remaining
roads not connected to either of these towns. Therefore, the answer is
.
See Also
2017 AIME II (Problems • Answer Key • Resources) | ||
Preceded by Problem 10 |
Followed by Problem 12 | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 | ||
All AIME Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.