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

Exercise 6.3 · Q19: Of all rectangles inscribed in a circle, the square has the largest area

Exercise 6.3Optimisation · Section 6.4
The question

Show that of all the rectangles inscribed in a given fixed circle, the square has the maximum area.

Exam answer

Let the circle have radius rr and let an inscribed rectangle have sides xx and yy⁠. Its diagonal is a diameter, so

x2+y2=4r2,0<x<2rx^2 + y^2 = 4r^2,\quad 0 < x < 2r A(x)=xy=x4r2−x2A(x) = xy = x\sqrt{4r^2 - x^2} A′(x)=4r2−x2−x24r2−x2=2(2r2−x2)4r2−x2\begin{aligned} A'(x) &= \sqrt{4r^2 - x^2} \\ &\quad - \frac{x^2}{\sqrt{4r^2 - x^2}} \\ &= \frac{2(2r^2 - x^2)}{\sqrt{4r^2 - x^2}} \end{aligned}

A′(x)=0⇒x2=2r2⇒x=2 rA'(x) = 0 \Rightarrow x^2 = 2r^2 \Rightarrow x = \sqrt2\,r⁠.

For 0<x<2 r0 < x < \sqrt2\,r⁠, A′(x)>0A'(x) > 0⁠, and for 2 r<x<2r\sqrt2\,r < x < 2r⁠, A′(x)<0A'(x) < 0⁠. So the area is greatest at x=2 rx = \sqrt2\,r⁠.

Then y=4r2−2r2=2 r=xy = \sqrt{4r^2 - 2r^2} = \sqrt2\,r = x⁠.

∴\therefore Of all the inscribed rectangles, the square has the maximum area. Hence proved.

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

The one idea this problem is built on

A rectangle inscribed in a circle always has a diameter as its diagonal (each corner angle is a right angle, and a right angle inscribed in a circle stands on a diameter). So its sides xx and yy satisfy x2+y2=(2r)2x^2 + y^2 = (2r)^2⁠. That one relation lets us write the area in terms of xx alone, maximise over 0<x<2r0 < x < 2r⁠, and find x=yx = y⁠.

Given, to find, and the plan
Given
A fixed circle of radius rr⁠; rectangles whose four vertices lie on it.
To show
The inscribed rectangle of largest area is a square.
Plan
Show the diagonal is a diameter, so x2+y2=4r2x^2 + y^2 = 4r^2⁠; write A=x4r2−x2A = x\sqrt{4r^2 - x^2} for 0<x<2r0 < x < 2r⁠; find where A′(x)=0A'(x) = 0⁠; use the sign of A′A' to show that point gives the largest area of all; then check that x=yx = y there.

Basics you need

1Angle in a semicircle

An angle inscribed in a circle is a right angle exactly when the chord it stands on is a diameter.

2Pythagoras' theorem

In a right triangle, (hypotenuse)2^2 = sum of the squares of the other two sides.

3Chain rule for a square root

ddxu=u′2u\frac{d}{dx}\sqrt{u} = \frac{u'}{2\sqrt{u}}⁠, so ddx4r2−x2=−x4r2−x2\frac{d}{dx}\sqrt{4r^2 - x^2} = \frac{-x}{\sqrt{4r^2 - x^2}}⁠. Basics: the chain rule

4Local versus largest

Increasing up to cc and decreasing after cc on the whole range means f(c)f(c) is the largest value (Theorem 1, Section 6.3). Lesson: optimisation problems

Solution

  1. Every inscribed rectangle has a diameter as its diagonal

    Let the circle have centre O and radius rr (fixed). Let ABCD be any rectangle inscribed in it. The angle ABC is a right angle and B lies on the circle, so the chord AC on which it stands is a diameter (converse of "the angle in a semicircle is a right angle"). Hence

    AC=2r.AC = 2r.
    O x y r r A B C D diagonal = 2r dashed: the square every inscribed rectangle has a diameter as its diagonal: x² + y² = (2r)²
    A rectangle ABCD with sides AB=xAB = x and BC=yBC = y inscribed in a circle of radius rr⁠. Its diagonal passes through the centre O, so it is a diameter of length 2r2r⁠. The dashed gold square is the rectangle the proof will single out.
    Another way to see it: the diagonals of a rectangle are equal and bisect each other, so their midpoint is the same distance from all four corners. The only point equidistant from three points of a circle is its centre, so the diagonals meet at O and each is a diameter.
    Circle theorem: the angle in a semicircle is a right angle, and a right angle inscribed in a circle stands on a diameter.
  2. The relation between the sides, and the allowed range

    Let the sides be AB=xAB = x and BC=yBC = y⁠. Triangle ABC has a right angle at B, so by Pythagoras

    x2+y2=(2r)2=4r2.x^2 + y^2 = (2r)^2 = 4r^2.

    Hence y=4r2−x2y = \sqrt{4r^2 - x^2}⁠, and a genuine rectangle needs x>0x > 0 and y>0y > 0⁠:

    0<x<2r.0 < x < 2r.
    Conversely, every xx in (0,2r)(0, 2r) gives an inscribed rectangle (draw any diameter as the diagonal and a right angle on it). So maximising over 0<x<2r0 < x < 2r covers all inscribed rectangles, which is what "of all the rectangles" requires.
    y>0y > 0 means 4r2−x2>04r^2 - x^2 > 0⁠, that is x<2rx < 2r⁠. Basics: interval notation
  3. The area as a function of xx

    A(x)=xy=x4r2−x2,0<x<2r.A(x) = xy = x\sqrt{4r^2 - x^2},\qquad 0 < x < 2r.
    Area of a rectangle = length × breadth; substituting for yy leaves one variable. Here rr is a fixed constant, not a variable.
    Area of a rectangle. Basics: building the function
  4. Differentiate

    Product rule, with the chain rule for the square root:

    A′(x)=4r2−x2+x⋅−x4r2−x2=(4r2−x2)−x24r2−x2=2(2r2−x2)4r2−x2.\begin{aligned} A'(x) &= \sqrt{4r^2 - x^2} + x\cdot\frac{-x}{\sqrt{4r^2 - x^2}} \\ &= \frac{(4r^2 - x^2) - x^2}{\sqrt{4r^2 - x^2}} \\ &= \frac{2(2r^2 - x^2)}{\sqrt{4r^2 - x^2}}. \end{aligned}
    To combine the two terms, write the first one over the common denominator 4r2−x2\sqrt{4r^2 - x^2}⁠. On 0<x<2r0 < x < 2r the denominator is positive, so AA is differentiable on the whole range and its only critical points are where the numerator is 0.
    ddxu=12u⋅dudx\frac{d}{dx}\sqrt{u} = \frac{1}{2\sqrt{u}}\cdot\frac{du}{dx} with u=4r2−x2u = 4r^2 - x^2⁠, dudx=−2x\frac{du}{dx} = -2x⁠. Basics: the chain rule
  5. Critical point and sign of A′A'

    A′(x)=0  ⟺  x2=2r2  ⟺  x=2 rA'(x) = 0 \iff x^2 = 2r^2 \iff x = \sqrt2\,r (the negative root is outside the range; 2 r<2r\sqrt2\,r < 2r⁠, so it is inside). Since the denominator is positive, A′(x)A'(x) has the sign of 2r2−x22r^2 - x^2⁠:

    • for 0<x<2 r0 < x < \sqrt2\,r⁠: x2<2r2x^2 < 2r^2⁠, so A′(x)>0A'(x) > 0 and AA is increasing;
    • for 2 r<x<2r\sqrt2\,r < x < 2r⁠: x2>2r2x^2 > 2r^2⁠, so A′(x)<0A'(x) < 0 and AA is decreasing.

    By the first derivative test (Theorem 3) x=2 rx = \sqrt2\,r is a point of local maxima, and the sign pattern on the whole range shows A(x)<A(2 r)A(x) < A(\sqrt2\,r) for every other inscribed rectangle.

    0.5r r 1.5r 2r 0.5r² r² 1.5r² 2r² x A largest: A = 2r² at x = √2 r A′ > 0 A′ < 0
    The area AA (in units of r2r^2⁠) against the side xx (in units of rr⁠) on 0<x<2r0 < x < 2r⁠. The single peak is at x=2 r≈1.414rx = \sqrt2\,r \approx 1.414r⁠, with A=2r2A = 2r^2⁠.
    The first derivative test fits best here: the sign of A′A' is visible from the factored form, whereas A′′A'' is messy. The same sign information gives the global conclusion.
    First Derivative Test, Theorem 3, Section 6.4; Theorem 1, Section 6.3. Lesson: derivative tests
  6. The largest rectangle is a square

    At x=2 rx = \sqrt2\,r⁠:

    y=4r2−2r2=2r2=2 r=x.y = \sqrt{4r^2 - 2r^2} = \sqrt{2r^2} = \sqrt2\,r = x.

    The two adjacent sides are equal, so the rectangle of maximum area is a square, of side 2 r\sqrt2\,r and area 2r22r^2⁠. This is what was to be shown.

    A rectangle with two equal adjacent sides is a square. Its area x⋅y=2 r⋅2 r=2r2x \cdot y = \sqrt2\,r \cdot \sqrt2\,r = 2r^2⁠.
    2r2=2 r\sqrt{2r^2} = \sqrt2\,r because r>0r > 0⁠. Basics: area and volume formulas
Result

For a circle of radius rr⁠, an inscribed rectangle with sides x,yx, y satisfies x2+y2=4r2x^2 + y^2 = 4r^2⁠, and its area x4r2−x2x\sqrt{4r^2 - x^2} is largest exactly when x=y=2 rx = y = \sqrt2\,r⁠. So of all inscribed rectangles, the square has the maximum area, namely 2r22r^2⁠. (The textbook gives no answer for this "show that" question.)

Check it with numbers

Take r=1r = 1 (diagonal 2). Sides x=1x = 1⁠: area 1×3≈1.73211 \times \sqrt3 \approx 1.7321⁠. x=1.4x = 1.4⁠: area 1.4×2.04≈1.99961.4 \times \sqrt{2.04} \approx 1.9996⁠. x=1.5x = 1.5⁠: area 1.5×1.75≈1.98431.5 \times \sqrt{1.75} \approx 1.9843⁠. The square, x=2≈1.4142x = \sqrt2 \approx 1.4142⁠, gives exactly 2, the largest. Also, without calculus: xy≤x2+y22=2r2xy \le \frac{x^2 + y^2}{2} = 2r^2⁠, with equality only when x=yx = y⁠, since x2+y2−2xy=(x−y)2≥0x^2 + y^2 - 2xy = (x - y)^2 \ge 0⁠.

Common mistakes
  1. Using x2+y2=r2x^2 + y^2 = r^2⁠. The diagonal is the diameter 2r2r⁠, not the radius.
  2. Dropping the chain-rule factor −2x-2x inside the square root's derivative.
  3. Proving only a local maximum. "Of all the rectangles" needs the comparison over the whole range 0<x<2r0 < x < 2r⁠, which the sign of A′A' gives.
  4. Assuming the answer. Do not start from x=yx = y⁠; derive it.
What to take away
  1. "Inscribed in a circle" turns into an equation: here the diagonal equals the diameter.
  2. Maximising  \sqrt{\ }-expressions: the derivative becomes one fraction whose denominator is positive, so the numerator decides the sign.
  3. Another shape-in-a-shape problem: the cone in a sphere, Question 23.

Every fact used, and where it comes from

FactUsed inSource
Angle in a semicircle is a right angle (and its converse)Step 1Circle geometry, Class 9
Pythagoras' theoremStep 2Geometry, Class 10
Product rule; chain rule for u\sqrt{u}Step 4Chapter 5 (Basics: the chain rule)
Critical pointStep 5Note after Theorem 2, Section 6.4 (Lesson: maxima and minima)
First derivative testStep 5Theorem 3, Section 6.4 (Lesson: derivative tests)
Sign of f′f' decides increasing or decreasingStep 5Theorem 1 and the Remark after it, Section 6.3 (Lesson: increasing and decreasing)
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 →