Find Garden Length & Width: Perimeter & Area System
What This Problem Teaches
- Setting up systems of equations from geometric constraints
- Working with perimeter and area formulas simultaneously
- Solving quadratic equations that arise from real-world contexts
- Interpreting multiple solutions in geometric problems
- Connecting algebra to spatial reasoning
Let's Draw It
The fence forms the perimeter: 2l + 2w = 190 ft
The garden has area: l × w = 2100 ft²
Solution: Method 1 — System of Equations Approach
Let's define our variables and translate the geometric constraints into algebraic equations.
Step 1 — Define variables and set up equations
Let l = length of the garden (in feet) and w = width of the garden (in feet).
From the problem constraints:
Step 2 — Simplify the perimeter equation
Divide the perimeter equation by 2:
Step 3 — Solve for one variable
From l + w = 95, we can express the width in terms of length:
Step 4 — Substitute into the area equation
Replace w with (95 - l) in the area equation:
Step 5 — Rearrange into standard quadratic form
Move all terms to one side:
Step 6 — Solve the quadratic equation
Using the quadratic formula where a = 1, b = -95, c = 2100:
This gives us two solutions:
Step 7 — Find the corresponding widths
For each length value, calculate w = 95 - l:
Solution: Method 2 — Roots and Coefficients Approach
Instead of substitution, we can recognize that length and width are the roots of a quadratic equation.
Step 1 — Identify sum and product
From our constraints, we know:
Step 2 — Construct the quadratic
If two numbers have sum S and product P, they are roots of t² - St + P = 0:
Step 3 — Factor the quadratic
We need two numbers that multiply to 2100 and add to 95. Let's find factors of 2100:
Since 60 + 35 = 95, we have:
Step 4 — Identify the solutions
The roots are t = 60 and t = 35, giving us the same dimensions: 60 ft and 35 ft.
(length and width can be assigned to either dimension)
Verification
Let's confirm our answer satisfies both original constraints.
2l + 2w = 2(60) + 2(35) = 120 + 70 = 190 ft ✓
Check the area:
l × w = 60 × 35 = 2100 ft² ✓
Both constraints are satisfied perfectly.
Watch Out For These
Writing l × w = 190 and 2l + 2w = 2100. Remember: perimeter is the distance around (adds lengths), while area is the space inside (multiplies dimensions).
Writing l + w = 190 instead of 2l + 2w = 190. A rectangle has TWO lengths and TWO widths in its perimeter.
Choosing arbitrarily between 60×35 and 35×60. Both represent the same rectangle—the distinction between "length" and "width" is conventional, not mathematical.
Computing √(95² - 4·1·2100) = √(9025 - 8400) = √625 = 25 incorrectly. Double-check that 95² = 9025 and 4×2100 = 8400.
The Pattern Behind This
This problem exemplifies a fundamental pattern in optimization and constraint problems.
General Setup: Given a rectangle with perimeter P and area A, the dimensions are roots of:
The discriminant (P/2)² - 4A tells us whether real solutions exist. For our problem:
Since the discriminant is positive and a perfect square, we get two distinct rational solutions. If the discriminant were zero, we'd have a square. If negative, no real rectangle could satisfy both constraints.
Connection to other fields: This same mathematical structure appears in economics (cost-revenue optimization), physics (projectile motion), and engineering (design constraints).
Real Applications
- Landscaping: Designing gardens, pools, or lawns with fixed budgets for edging or fencing materials
- Construction: Optimizing room layouts when both floor area and wall perimeter (for baseboards, crown molding) matter
- Agriculture: Planning crop fields where both planting area and fencing costs must be considered
What If?
A farmer has 240 ft of fence and wants a rectangular garden with area 3200 ft². What are the dimensions?
Perimeter: 2l + 2w = 240, so l + w = 120
Area: l × w = 3200
w = 120 - l, so l(120 - l) = 3200120l - l² = 3200
l² - 120l + 3200 = 0
l = (120 ± √(14400 - 12800))/2 = (120 ± √1600)/2 = (120 ± 40)/2l = 80 or l = 40
Dimensions: 80 ft by 40 ft
Perimeter: 2(80) + 2(40) = 240 ✓
Area: 80 × 40 = 3200 ✓
The garden is built against a barn wall, so only three sides need fencing. Using 150 ft of fence, the area is still 2100 ft². Find the dimensions.
Only three sides need fence: l + 2w = 150
Area: l × w = 2100
l = 150 - 2w
(150 - 2w) × w = 2100150w - 2w² = 2100
2w² - 150w + 2100 = 0w² - 75w + 1050 = 0
w = (75 ± √(5625 - 4200))/2 = (75 ± √1425)/2w = (75 ± 5√57)/2w ≈ 30 or w ≈ 45
If w = 30, then l = 150 - 60 = 90
If w = 45, then l = 150 - 90 = 60
Dimensions: 90 ft × 30 ft or 60 ft × 45 ft
A rectangular garden is 70 ft by 25 ft. How much fencing is needed? If you wanted to double the area while keeping the same shape ratio, what would be the new perimeter?
Perimeter = 2l + 2w = 2(70) + 2(25) = 140 + 50 = 190 ft
Area = 70 × 25 = 1750 ft²
New area = 2 × 1750 = 3500 ft²
Length-to-width ratio = 70/25 = 2.8
If new width = w, then new length = 2.8w
(2.8w) × w = 35002.8w² = 3500w² = 1250w = √1250 ≈ 35.36 ftl = 2.8 × 35.36 ≈ 99 ft
Original fencing: 190 ft
New perimeter: 2(99) + 2(35.36) ≈ 269 ft
A farmer has exactly 200 ft of fencing and wants to maximize the area of a rectangular garden. What dimensions give the largest possible area, and what is that area?
Perimeter constraint: 2l + 2w = 200, so l + w = 100
w = 100 - lArea = l × w = l(100 - l) = 100l - l²
This is a downward parabola. Maximum occurs at the vertex.
For f(l) = -l² + 100l, the vertex is at l = -b/(2a) = -100/(2(-1)) = 50
l = 50 ftw = 100 - 50 = 50 ft
Maximum Area = 50 × 50 = 2500 ft²
The maximum area rectangle is always a square!
Optimal dimensions: 50 ft × 50 ft
Maximum area: 2500 ft²
Frequently Asked Questions
2026-08-01