2019 AMC 10A Problems/Problem 10
Problem
A rectangular floor that is feet wide and feet long is tiled with one-foot square tiles. A bug walks from one corner to the opposite corner in a straight line. Including the first and the last tile, how many tiles does the bug visit?
Solution 1
The number of tiles the bug visits is equal to plus the number of times it crosses a horizontal or vertical line. As it must cross horizontal lines and vertical lines, it must be that the bug visits a total of squares.
Note: The general formula for this is , because it is the number of vertical/horizontal lines crossed minus the number of corners crossed (to avoid double counting). In this particular problem, it was (since ), which is , but then you add because the first tile and the last tile are counted, which in the general formula are not counted.
One can see why it is gcd(a,b) due to slope
~Williamgolly
Solution 2 (drawing)
We can also draw a diagram or scale model of the entire rectangular floor (optionally with grid paper and/or a ruler so it will be to scale), then simply count the number of tiles the path crosses. To make this slightly easier, we can divide the full grid into sections, and just draw one of these feet by feet sections.
Though it may appear that the line we drew comes very close to several points, we know that since and are relatively prime (numbers where the only positive integer that divides both of them is 1, a.k.a. numbers with a gcd of 1), the line will not actually pass through any of these points, so the total number of squares crossed will be the same regardless of which side we count. If we count the number of squares the line passes through using the diagram, we get squares. We can then multiply this by 2 to find out the total number of squares the bug passes through on the rectangular floor giving us a total of .
Video Solution
https://www.youtube.com/watch?v=qN1g7Vt5SCg
~savannahsolver
See Also
2019 AMC 10A (Problems • Answer Key • Resources) | ||
Preceded by Problem 9 |
Followed by Problem 11 | |
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 AMC 10 Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.