Question icon
11 grade maths others

A farmer wishes to grow a 100 m² rectangular vegetable garden. Since he has only 30m of barbed wire, he fences three sides of the rectangular garden, letting the compound wall of his house act as the fourth side (fence). Find the dimensions of his garden.






Profile image of Aniket Singh
1 Year agoGrade
Answers icon

1 Answer

Profile image of Askiitians Tutor Team
1 Year ago

Let the dimensions of the rectangular garden be:
- Length = \( l \) meters
- Width = \( w \) meters

The area of the garden is given as \( 100 \, m^2 \), so:
\( l \cdot w = 100 \)
(1) \( l = \frac{100}{w} \)

The farmer fences only three sides of the garden because the fourth side is a compound wall. The total length of the barbed wire available is \( 30 \, m \), so:
\( l + 2w = 30 \)
(2) \( l = 30 - 2w \)

### Solving the equations
From equation (1), we have \( l = \frac{100}{w} \).
From equation (2), \( l = 30 - 2w \).

Equating the two expressions for \( l \):
\( \frac{100}{w} = 30 - 2w \)

Multiply through by \( w \) to eliminate the denominator:
\( 100 = 30w - 2w^2 \)

Rearrange into standard quadratic form:
\( 2w^2 - 30w + 100 = 0 \)
\( w^2 - 15w + 50 = 0 \)

Solve this quadratic equation using the quadratic formula:
\( w = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} \), where \( a = 1 \), \( b = -15 \), \( c = 50 \).

\( w = \frac{-(-15) \pm \sqrt{(-15)^2 - 4(1)(50)}}{2(1)} \)
\( w = \frac{15 \pm \sqrt{225 - 200}}{2} \)
\( w = \frac{15 \pm \sqrt{25}}{2} \)
\( w = \frac{15 \pm 5}{2} \)

The two possible values for \( w \) are:
\( w = \frac{15 + 5}{2} = 10 \)
\( w = \frac{15 - 5}{2} = 5 \)

### Corresponding lengths
If \( w = 10 \):
\( l = \frac{100}{10} = 10 \)

If \( w = 5 \):
\( l = \frac{100}{5} = 20 \)

### Verification
1. For \( l = 10, w = 10 \): \( l + 2w = 10 + 2(10) = 30 \). Satisfies the fencing condition.
2. For \( l = 20, w = 5 \): \( l + 2w = 20 + 2(5) = 30 \). Satisfies the fencing condition.

### Conclusion
The farmer has two possible sets of dimensions for the garden:
1. Length = 10 m, Width = 10 m (a square garden).
2. Length = 20 m, Width = 5 m (a rectangular garden).