Question:

Lal divides his garden into several identical squares and places posts at all the corners of all the squares. He then plants one tree per square. If a rectangular garden uses 36 posts in all, find the maximum number of trees that he could have planted.

Show Hint

When maximizing the number of interior rectangles/squares with fixed posts, choose dimensions so that post counts along each side are as close as possible.
Updated On: Jul 30, 2025
  • 25
  • 36
  • 16
  • 49
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is A

Solution and Explanation

Step 1: Relation between posts and squares

If the garden is divided into \( m \) rows and \( n \) columns of squares, there will be \( (m+1) \) posts along the length and \( (n+1) \) posts along the breadth. The total number of posts is given by: \[ (m+1)(n+1) = 36 \]

Step 2: Maximizing the number of squares (trees)

The number of squares is: \[ mn = (m+1)(n+1) - m - n - 1 \] From \((m+1)(n+1) = 36\), we have: \[ mn = 36 - m - n - 1 = 35 - (m + n) \] To maximize \( mn \), we must minimize \( m + n \).

Step 3: Minimizing \( m + n \)

For a fixed product \((m+1)(n+1) = 36\), the sum \( m+1 + n+1 \) is minimized when the factors are closest in value. Factors of \( 36 \) closest together are \( (6, 6) \), giving: \[ m = 5, \quad n = 5 \]

Step 4: Maximum number of squares

\[ \text{Squares} = m \times n = 5 \times 5 = 25 \]

Final Answer:

\[ \boxed{25} \]

Was this answer helpful?
0
0