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 ?
- A)
- B)
- C)
- D)
- E)
Answer
B
Key insight
The painted rectangle is (a-2) by (b-2) and equals half the floor; clearing gives ab - 4a - 4b + 8 = 0, which factors as (a-4)(b-4) = 8.
Solution
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 .
Why this works
An equation of the form in integers is solved by adding the constant so the left side factors as (Simon's Favorite Factoring Trick); then the integer solutions come from the divisors of the right side. Geometric setups with borders or frames produce exactly this shape, so translate to algebra and factor rather than search.
The trap
Using a-1 and b-1 for the painted rectangle (a 1-foot border removes 1 foot from each side, so 2 from each dimension).
Common mistakes
- Using a-1 and b-1 for the painted rectangle (a 1-foot border removes 1 foot from each side, so 2 from each dimension).
- Counting the factorization as a second solution despite the requirement , or forgetting to check that negative factor pairs give invalid dimensions.
Techniques
Apply an identity: SFFT, sum of squares, difference of cubes, Vieta