AMC 10 · 2008 · #16

Grade 7 geometry-2dnumber-theory
simons-favorite-factoring-trickarea-rectangleslinear-diophantine convert-to-algebra ↑ Prerequisites: area-rectangles
📏 Medium solution 💡 3 insights
Problem
A rectangular floor with whole-number sides has a one-unit border left unpainted. The border is exactly half the floor's area. Count the possible pairs of side lengths.

Pick an answer.

(A)
1
(B)
2
(C)
3
(D)
4
(E)
5
How to solve
Strategy Convert to Algebra

The wording hides a clean equation. A quick sketch shows the 1-foot border shaves 2 feet off the width and 2 feet off the length, so the painted rectangle is (a-2) by (b-2). The 'half the area' condition then becomes an equation in a and b; rearranged and factored it turns into a product of two integers equal to 8. Counting the valid pairs is just listing the factor pairs of 8 and keeping the ones with b > a.

1STEP 1

Sketch the border, size the inner rectangle

The border takes two units off each dimension.

painted rectangle = (a-2)×(b-2)
2STEP 2

Turn 'half the area' into an equation

Half the area becomes one equation.

(a-2)(b-2) = 1/2ab → 2(a-2)(b-2) = ab
3STEP 3

Expand, then factor with the +16 trick

Adding a constant makes it factor into two brackets.

2ab-4a-4b+8 = ab → ab-4a-4b+8 = 0 → ab-4a-4b+16 = 8 → (a-4)(b-4) = 8
4STEP 4

List the factor pairs, keep b > a

Listing factor pairs and keeping the order gives 2, choice (B).

(a-4)(b-4)=8: (1,8)→(a,b)=(5,12), (2,4)→(a,b)=(6,8)
Answer
2
Test both floors against the story. For (5, 12): total area is 60, the painted rectangle is 3 by 10 = 30, exactly half, so the border is also 30 - correct. For (6, 8): total area is 48, the painted rectangle is 4 by 6 = 24, exactly half - correct. Could there be more? The number 8 has only the positive factor pairs {1, 8} and {2, 4}; their reverses give b < a and are excluded, and negative pairs give impossible floor sizes. So exactly 2 pairs survive, matching choice (B) and ruling out 1, 3, 4, and 5.
💡Key takeaway

A one-foot border shrinks each side by two; write the half-area rule as an equation, nudge it into a neat product, and count the factor pairs.

  • Sketch the border, size the inner rectangle
  • Turn 'half the area' into an equation
  • Expand, then factor with the +16 trick
  • List the factor pairs, keep b > a