Difference between revisions of "2024 AMC 8 Problems/Problem 14"
Scrabbler94 (talk | contribs) (→Solution 2 (Advanced)) |
Scrabbler94 (talk | contribs) (→Solution 2 (Advanced)) |
||
Line 21: | Line 21: | ||
A & 0 & 8 & \infty & 5 & \infty & \infty \ | A & 0 & 8 & \infty & 5 & \infty & \infty \ | ||
X & 0 & 7 & \infty & 5 & 15 & \infty \ | X & 0 & 7 & \infty & 5 & 15 & \infty \ | ||
− | M & 0 & 7 & 21 & 5 & 13 & | + | M & 0 & 7 & 21 & 5 & 13 & 32 \ |
Y & 0 & 7 & 18 & 5 & 13 & 30 \ | Y & 0 & 7 & 18 & 5 & 13 & 30 \ | ||
C & 0 & 7 & 18 & 5 & 13 & 28 \ | C & 0 & 7 & 18 & 5 & 13 & 28 \ |
Revision as of 14:36, 31 January 2024
Contents
[hide]- 1 Problem
- 2 Solution 1
- 3 Solution 2 (Advanced)
- 4 Video Solution 1 (easy to digest) by Power Solve
- 5 Video Solution 2 by SpreadTheMathLove
- 6 Video Solution 3 by NiuniuMaths (Easy to understand!)
- 7 Video Solution by CosineMethod [🔥Fast and Easy🔥]
- 8 Video Solution by Math-X (First fully understand the problem!!!)
- 9 See Also
Problem
The one-way routes connecting towns and are shown in the figure below(not drawn to scale).The distances in kilometers along each route are marked. Traveling along these routes, what is the shortest distance from A to Z in kilometers?
Solution 1
We can simply see that path will give us the smallest value. Adding, . This is nice as it’s also the smallest value, solidifying our answer.
You can also simply brute-force it or sort of think ahead - for example, getting from A to M can be done ways; () or , so you should take the shorter route (). Another example is M to C, two ways - one is and the other is . Take the shorter route. After this, you need to consider a few more times - consider if () is greater than ), which it is not, and consider if ) is greater than () or () which it is not. TL;DR: . [Note: This is probably just the thinking behind the solution.] {Double-note: As MaxyMoosy said, since this answer is the smallest one, it has to be the right answer.}
~MaxyMoosy ~HACKER2022
Solution 2 (Advanced)
We can execute Dijkstra's algorithm by hand to find the shortest path from to every other town, including . This effectively proves that, assuming we execute the algorithm correctly, that we will have found the shortest distance. The distance estimates for each step of the algorithm (from to each node) are shown below:
The steps are as follows: starting with the initial node , set and for all where indicates the distance from to . Consider the outgoing edges and and update the distance estimates and , completing the first row of the table.
The node is the unvisited node with the lowest distance estimate, so we will consider and its outgoing edges and . The distance estimate equals , and the distance estimate updates to , because . This completes the second row of the table. Repeating this process for each unvisited node (in order of its distance estimate) yields the correct distance once the algorithm is complete.
~scrabbler94
Video Solution 1 (easy to digest) by Power Solve
Video Solution 2 by SpreadTheMathLove
https://www.youtube.com/watch?v=RRTxlduaDs8
Video Solution 3 by NiuniuMaths (Easy to understand!)
https://www.youtube.com/watch?v=V-xN8Njd_Lc
~NiuniuMaths
Video Solution by CosineMethod [🔥Fast and Easy🔥]
https://www.youtube.com/watch?v=bAxLRYT6SCw
Video Solution by Math-X (First fully understand the problem!!!)
https://youtu.be/BaE00H2SHQM?si=y_YVZFC4DQdB2qhM&t=3280
~Math-X
See Also
2024 AMC 8 (Problems • Answer Key • Resources) | ||
Preceded by Problem 13 |
Followed by Problem 15 | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25 | ||
All AJHSME/AMC 8 Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.