2008 AMC 10B Problem 23
A rectangular floor measures by feet, where and are positive integers with . An artist paints a rectangle on the floor with the sides of the rectangle parallel to the sides of the floor. The unpainted part of the floor forms a border of width 1 foot around the painted rectangle and occupies half of the area of the entire floor. How many possibilities are there for the ordered pair ?
Show solution without answering
Key insight
The painted part is 2 feet shorter in each direction and is half the floor. The equation rearranges to (a minus 4) times (b minus 4) equals 8.
Solution
Write the area condition as an equation, then rearrange it into a product of two whole numbers.
1. The border is foot wide on every side, so the painted rectangle loses foot at each end in both directions. It measures by .
2. The border is half the floor, so the painted part is the other half:
3. Multiply both sides by and expand:
4. Subtract from both sides:
5. The left side almost factors. Notice that . Our expression has instead of , so add to both sides:
6. Now and are whole numbers that multiply to , and is the bigger one because . The positive pairs are and :
- , : .
- , : .
7. Negative pairs like or would make at most , so would be or less. Not allowed.
8. Check: a floor has area and painted part , which is half. A floor has area and painted part , which is half.
There are possible pairs.
The answer is .
Why this works
An equation with , and in it can often be turned into (something) (something) number by adding the right constant to both sides. Once it is a product of whole numbers, the solutions come from listing the factor pairs of that number. Border and frame problems lead to this kind of equation again and again.
Concise solution
A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.
A -foot border on all four sides leaves a painted rectangle of dimensions . The border is half the floor, so the painted part is the other half:
Double and expand: , that is,
Add to both sides to complete the factoring:
With , the factor pairs are and , giving and . Negative factor pairs such as or would make , so they are excluded.
Check : painted . Check : painted .
The answer is .
Review in the AoPS books
- Introduction to Number Theory, Chapter 7: Algebra With Integers
- Introduction to Geometry, Chapter 8: Quadrilaterals
- Introduction to Algebra, Chapter 11: Special Factorizations
- Introduction to Geometry, Chapter 9: Polygons (§9.3)
Similar problems
Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site.