Class 12 Maths, Worked in Full Past papersGet updates
Chapter 6 · Application of Derivatives

Miscellaneous · Q8: Window of perimeter 10 m: most light when width is 20π+4\frac{20}{\pi+4} m

Miscellaneous ExerciseOptimisation · Miscellaneous Exercise
The question

A window is in the form of a rectangle surmounted by a semicircular opening. The total perimeter of the window is 10 m. Find the dimensions of the window to admit maximum light through the whole opening.

Exam answer

Let the rectangle be 2r2r m wide and hh m high, with a semicircle of radius rr m on top. Then

2h+2r+πr=10⇒h=10−(π+2)r2\begin{aligned} 2h + 2r + \pi r &= 10 \\ \Rightarrow h &= \frac{10 - (\pi + 2)r}{2} \end{aligned}

with 0<r<10π+20 < r < \frac{10}{\pi + 2}⁠. The area of the window is

A=2rh+12πr2=10r−(π+2)r2+12πr2=10r−π+42r2\begin{aligned} A &= 2rh + \frac12\pi r^2 \\ &= 10r - (\pi + 2)r^2 + \frac12\pi r^2 \\ &= 10r - \frac{\pi + 4}{2}r^2 \end{aligned} A′(r)=10−(π+4)rA′′(r)=−(π+4)\begin{aligned} A'(r) &= 10 - (\pi + 4)r \\ A''(r) &= -(\pi + 4) \end{aligned}

A′(r)=0⇒r=10π+4A'(r) = 0 \Rightarrow r = \frac{10}{\pi + 4}⁠. As A′′(r)<0A''(r) < 0⁠, AA is maximum there. A′A' is positive before this point and negative after it, so this is the greatest area.

Then h=10−(π+2)r2=10π+4h = \frac{10 - (\pi + 2)r}{2} = \frac{10}{\pi + 4}⁠.

∴\therefore For maximum light, the rectangle is 20π+4\dfrac{20}{\pi + 4} m wide and 10π+4\dfrac{10}{\pi + 4} m high, with a semicircle of radius 10π+4\dfrac{10}{\pi + 4} m on top.

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

More light means more area of opening. The perimeter condition links the rectangle's height hh to the semicircle's radius rr⁠, so the area becomes a function of rr alone, and it turns out to be a downward parabola in rr⁠. Its vertex is the best window, and a downward parabola's vertex is its highest point on the whole range.

Given, to find, and the plan
Given
A window made of a rectangle with a semicircle on its top side; the perimeter of the whole window is 10 m. We assume the light admitted is proportional to the area of the opening.
To find
The dimensions (width and height of the rectangle, radius of the semicircle) that give the greatest area.
Plan
(1) Name the variables and write the perimeter. (2) The range of rr⁠. (3) The area as a function of rr⁠. (4) Differentiate, find the critical point. (5) Prove the greatest area on the whole range. (6) Read off the dimensions.

Basics you need

1Semicircle facts

A semicircle of radius rr has curved length πr\pi r (half of 2πr2\pi r⁠) and area 12πr2\frac12\pi r^2⁠. Its diameter 2r2r is the top side of the rectangle. Basics: area and volume formulas

2Building the function to optimise

Use the fixed perimeter to remove one variable, and require every length to be positive. Basics: building the function to optimise

3Derivative tests

Theorem 1, Section 6.3 (sign of A′A' gives increasing or decreasing) and Theorem 4, Section 6.4 (second derivative test). Lesson: derivative tests

Solution

  1. Variables and the perimeter

    Let the semicircle have radius rr m, so the rectangle is 2r2r m wide; let the rectangle be hh m high. The boundary of the whole opening consists of the two vertical sides, the bottom and the arc:

    2h+2r+πr=10.2h + 2r + \pi r = 10.
    r 2r (width) h h rectangle 2r by h semicircle arc πr thick outline = perimeter 2h + 2r + πr = 10
    The window (equal scales), drawn at the best shape, where h=rh = r⁠. The thick outline is the perimeter; the dashed diameter lies inside the opening and is not part of it.
    The top side of the rectangle is shared with the semicircle and lies inside the window, so it is not part of the "total perimeter". Counting it would give 2h+4r+πr2h + 4r + \pi r⁠, a different problem.
    Length of a semicircular arc (Basic 1). Basics: area and volume formulas
  2. Express hh in rr⁠, and the range of rr

    h=10−(π+2)r2.h = \frac{10 - (\pi + 2)r}{2}.

    Range. We need r>0r > 0 and h>0h > 0⁠; the second means (π+2)r<10(\pi + 2)r < 10⁠. So

    0<r<10π+2≈1.945.0 < r < \frac{10}{\pi + 2} \approx 1.945.
    2r+πr=(π+2)r2r + \pi r = (\pi + 2)r⁠. A window with h≤0h \le 0 would have no rectangular part, so it is not the shape described.
  3. The area as a function of rr

    A=2rh+12πr2=r(10−(π+2)r)+12πr2=10r−(π+2−π2)r2=10r−π+42 r2.\begin{aligned} A &= 2rh + \tfrac12\pi r^2 \\ &= r\big(10 - (\pi + 2)r\big) + \tfrac12\pi r^2 \\ &= 10r - \left(\pi + 2 - \tfrac\pi2\right)r^2 \\ &= 10r - \tfrac{\pi + 4}{2}\,r^2. \end{aligned}
    Rectangle area 2r×h2r \times h⁠, with 2rh=r(10−(π+2)r)2rh = r\big(10 - (\pi + 2)r\big) from Step 2, plus the semicircle's area. Collecting the r2r^2 terms: π+2−π2=π+42\pi + 2 - \frac\pi2 = \frac{\pi + 4}{2}⁠.
  4. Differentiate and find the critical point

    A′(r)=10−(π+4)r,A′(r)=0  ⟺  r=10π+4.A'(r) = 10 - (\pi + 4)r, \qquad A'(r) = 0 \iff r = \frac{10}{\pi + 4}.

    This lies in the range, because π+4>π+2\pi + 4 > \pi + 2 gives 10π+4<10π+2\frac{10}{\pi + 4} < \frac{10}{\pi + 2}⁠.

    Power rule: ddr10r=10\frac{d}{dr}10r = 10 and ddrπ+42r2=(π+4)r\frac{d}{dr}\frac{\pi + 4}{2}r^2 = (\pi + 4)r⁠.
  5. It gives the greatest area on the whole range

    A′(r)=10−(π+4)rA'(r) = 10 - (\pi + 4)r is positive for r<10π+4r < \frac{10}{\pi + 4} and negative for r>10π+4r > \frac{10}{\pi + 4}⁠. By Theorem 1, AA increases up to r=10π+4r = \frac{10}{\pi + 4} and decreases after it, so this rr gives a larger area than every other rr in the range. The second derivative agrees: A′′(r)=−(π+4)<0A''(r) = -(\pi + 4) < 0⁠, a local maximum by Theorem 4 (i).

    AA is a quadratic in rr with a negative r2r^2 coefficient, a downward parabola, so its vertex is its highest point. The sign of A′A' is the calculus way of saying the same thing for the whole range at once.
    Theorem 1, Section 6.3; Theorem 4 (i), Section 6.4 (Basic 3). Lesson: optimisation problems
  6. The dimensions

    With r=10π+4r = \frac{10}{\pi + 4}⁠:

    width 2r=20π+4≈2.80 m,h=10π+4≈1.40 m.\begin{aligned} \text{width } 2r &= \tfrac{20}{\pi + 4} \approx 2.80 \text{ m}, \\ h &= \tfrac{10}{\pi + 4} \approx 1.40 \text{ m}. \end{aligned}

    For hh⁠, put rr into Step 2:

    10−(π+2)r=10−10(π+2)π+4=10(π+4)−10(π+2)π+4=20π+4,\begin{aligned} 10 - (\pi + 2)r &= 10 - \tfrac{10(\pi + 2)}{\pi + 4} \\ &= \tfrac{10(\pi + 4) - 10(\pi + 2)}{\pi + 4} \\ &= \tfrac{20}{\pi + 4}, \end{aligned}

    and hh is half of that, 10π+4\frac{10}{\pi + 4}⁠.

    So the rectangle is 20π+4\frac{20}{\pi + 4} m wide and 10π+4\frac{10}{\pi + 4} m high, with a semicircle of radius 10π+4\frac{10}{\pi + 4} m. The greatest area is A=100π+4−50π+4=50π+4≈7.00A = \frac{100}{\pi + 4} - \frac{50}{\pi + 4} = \frac{50}{\pi + 4} \approx 7.00 m².

    A neat feature: the height of the rectangle equals the radius, so the whole window is exactly as tall (h+r=20π+4h + r = \frac{20}{\pi + 4}⁠) as it is wide.
Result

With the perimeter 2h+2r+πr=102h + 2r + \pi r = 10⁠, the area is A(r)=10r−π+42r2A(r) = 10r - \frac{\pi + 4}{2}r^2 for 0<r<10π+20 < r < \frac{10}{\pi + 2}⁠, greatest at r=10π+4r = \frac{10}{\pi + 4}⁠. The window admits the most light when the rectangle is 20π+4≈2.80\frac{20}{\pi + 4} \approx 2.80 m wide and 10π+4≈1.40\frac{10}{\pi + 4} \approx 1.40 m high, topped by a semicircle of radius 10π+4≈1.40\frac{10}{\pi + 4} \approx 1.40 m; the opening is then 50π+4≈7.00\frac{50}{\pi + 4} \approx 7.00 m². (The answer key in this reprint gives no answer for this question.)

Check it with numbers

r=h=10π+4≈1.400248r = h = \frac{10}{\pi + 4} \approx 1.400248⁠. Perimeter: 2h+2r+πr=(4+π)r2h + 2r + \pi r = (4 + \pi)r⁠, and (4+π)(1.400248)≈10.0000(4 + \pi)(1.400248) \approx 10.0000⁠. ✓ Area: with π+42≈3.570796\frac{\pi + 4}{2} \approx 3.570796⁠,

A≈10(1.400248)−3.570796(1.400248)2≈7.001239.\begin{aligned} A &\approx 10(1.400248) \\ &\quad - 3.570796(1.400248)^2 \\ &\approx 7.001239. \end{aligned}

Neighbours are smaller: A(1.2)≈6.858053A(1.2) \approx 6.858053 and A(1.6)≈6.858761A(1.6) \approx 6.858761⁠.

Common mistakes
  1. Counting the diameter in the perimeter. It is inside the window.
  2. Using the full circle: the arc is πr\pi r⁠, not 2πr2\pi r⁠, and the area 12πr2\frac12\pi r^2⁠, not πr2\pi r^2⁠.
  3. Taking the width as rr instead of 2r2r⁠.
  4. Giving only rr when the question asks for the dimensions of the window.
What to take away
  1. "Maximum light" means maximum area; say this assumption out loud.
  2. Read "perimeter" carefully: only the outer boundary counts.
  3. When the function is a downward parabola, its vertex is the global maximum on any range that contains it.

Every fact used, and where it comes from

FactUsed inSource
Arc length πr\pi r and area 12πr2\frac12\pi r^2 of a semicircle; area of a rectangleSteps 1, 3Class X mensuration
Power ruleStep 4Table 5.3, Section 5.3
Sign of A′A' gives increasing / decreasingStep 5Theorem 1 and its proof, Section 6.3
Second derivative testStep 5Theorem 4 (i), Section 6.4
No answer printed for this questionResultAnswer key, Miscellaneous Exercise on Chapter 6 (lists Q2 to Q4 only)
All decimal valuesSteps 2, 6, CheckRecomputed in the site's verification script
Found an error, or want more?

Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →