From Inscribed Geometry to an Area Function
A rectangle inscribed in a circle has all four vertices on the circle. Its dimensions cannot vary independently: making it wider changes how tall it can be while still fitting inside the same circle. Optimization turns this geometric restriction into a one-variable problem.
We will consider a nondegenerate rectangle whose sides are parallel to the coordinate axes, inscribed in a circle of radius \(R>0\). The circle may have any center. We will show that the unique largest-area rectangle is a square, and find its dimensions and area.
Why the Rectangle Is Centered at the Circle’s Center
First place the circle’s center at \((a,b)\). The rectangle’s horizontal coordinates are \(u\) and \(v\), with \(u<v\), and its vertical coordinates are \(s\) and \(t\), with \(s<t\). Its four vertices are \((u,s)\), \((u,t)\), \((v,s)\), and \((v,t)\).
The circle equation is \((X-a)^2+(Y-b)^2=R^2\). Since all four vertices lie on the circle, compare the equations for \((u,s)\) and \((v,s)\). Subtracting gives
Because \(u\ne v\), it follows that \(u+v=2a\). Repeating the comparison for \((u,s)\) and \((u,t)\) gives \(s+t=2b\). Thus the rectangle’s center is \((a,b)\), the circle’s center.
Let \(x=(v-u)/2\) be the rectangle’s half-width and \(y=(t-s)/2\) its half-height. Both are positive. The top-right vertex is \((a+x,b+y)\), so its membership in the circle gives the constraint \(x^2+y^2=R^2\). The full width is \(2x\), and the full height is \(2y\).
Build the One-Variable Objective
From \(x^2+y^2=R^2\), the positive half-height corresponding to a chosen half-width \(x\) is \(y=\sqrt{R^2-x^2}\). A nondegenerate rectangle has \(0<x<R\). For checking the limiting cases, extend the area function to the closed interval \(0\le x\le R\); at either endpoint the area is zero, corresponding to a degenerate rectangle.
This function is continuous on the closed interval, so it attains a maximum there. On the interior, differentiate using the product rule and the chain rule:
For \(0<x<R\), the denominator is positive. Therefore an interior critical point occurs exactly when \(R^2-2x^2=0\). Since \(x>0\), the solution is \(x=R/\sqrt{2}\). The constraint then gives \(y=R/\sqrt{2}\) as well.
Why This Critical Point Is the Global Maximum
A critical point alone does not establish a global maximum. We must also account for the endpoints and determine how the area changes across the feasible interval. The derivative provides that information: its sign is the sign of \(R^2-2x^2\).
When \(0<x<R/\sqrt{2}\), we have \(R^2-2x^2>0\). Thus \(A'(x)>0\), so the area increases.
When \(x=R/\sqrt{2}\), the numerator of \(A'(x)\) is zero. The constraint gives \(y=R/\sqrt{2}\).
When \(R/\sqrt{2}<x<R\), we have \(R^2-2x^2<0\). Thus \(A'(x)<0\), so the area decreases.
The extended function has \(A(0)=0\) and \(A(R)=0\), both less than its positive interior value.
The function therefore increases to the critical point and decreases afterward. That point is the unique global maximum on the full feasible interval. Substituting \(x=y=R/\sqrt{2}\), the full side lengths are \(2x=2y=\sqrt{2}R\), and the maximum area is \(4xy=2R^2\).
A Geometric Check on the Result
At the maximum, the two half-dimensions are equal. The rectangle is consequently a square, and the circle constraint confirms its diagonal: if each side is \(\sqrt{2}R\), the square’s diagonal has length
This agrees with the fact that the square’s opposite vertices lie at opposite ends of a diameter. The area of the largest rectangle is \(2/\pi\) times the area \(\pi R^2\) of the circle. That ratio is the same for every radius: changing the circle’s size scales all lengths by the same factor and areas by its square.
Worked Examples
Worked Example: A Circle of Radius 5
Find the dimensions and area of the largest axis-aligned rectangle inscribed in a circle of radius \(5\) units. Here \(R=5\). The maximizing half-dimensions are
Each full side length is twice its half-dimension:
The area is
Check the result against the circle constraint using the half-dimensions: \(x^2+y^2=25/2+25/2=25=R^2\). The full side lengths also give a diagonal \(\sqrt{(5\sqrt{2})^2+(5\sqrt{2})^2}=\sqrt{50+50}=10\) units, equal to the circle’s diameter. Both checks agree.
Worked Example: A Circle with Diameter 12
Find the maximum-area inscribed rectangle when the circle’s diameter is \(12\) centimeters. The radius is half the diameter, so \(R=12/2=6\) centimeters. The maximum-area rectangle is a square with side length
Its area is
To check, the square’s diagonal is \(\sqrt{(6\sqrt{2})^2+(6\sqrt{2})^2}=\sqrt{72+72}=\sqrt{144}=12\) centimeters. Its area computed from its sides is \((6\sqrt{2})(6\sqrt{2})=72\) square centimeters, matching the maximum-area formula.
Worked Example: A Circle Not Centered at the Origin
Suppose a circle has equation \((X-4)^2+(Y+3)^2=100\). Find the maximum-area axis-aligned rectangle inscribed in it. Comparing the equation with \((X-a)^2+(Y-b)^2=R^2\), its center is \((4,-3)\) and its radius is \(R=10\).
The maximum-area rectangle is centered at the circle’s center, and its half-width and half-height are both \(10/\sqrt{2}=5\sqrt{2}\). Thus its width and height are each \(10\sqrt{2}\) units, and its area is
The four vertices are \((4\pm5\sqrt{2},-3\pm5\sqrt{2})\), with the two signs chosen independently. For every such vertex, the squared coordinate differences from the center sum to \((5\sqrt{2})^2+(5\sqrt{2})^2=50+50=100\). Hence all four vertices lie on the given circle, and the side lengths produce the stated area.
Common Pitfall: Confusing Half-Dimensions with Side Lengths
The variables \(x\) and \(y\) in the constraint \(x^2+y^2=R^2\) measure from the circle’s center to one corner. They are half the rectangle’s width and height. Forgetting that distinction loses a factor of four in the area.
For example, with \(R=5\), the maximizing half-dimensions are \(x=y=5/\sqrt{2}\). A mistaken calculation might call these the full side lengths and report an area of \((5/\sqrt{2})^2=25/2\) square units. But each full side is twice as long, so the correct area is
A reliable check is to calculate the rectangle’s dimensions from the center-based variables before calculating area: width \(=2x\), height \(=2y\), and area \(=(2x)(2y)\).
When This Optimization Method Is Useful
The circle equation is the constraint, and the rectangle’s area is the objective. Expressing one half-dimension in terms of the other reduces the problem to a single variable; checking the critical point together with the boundary completes the global comparison. This same structure appears whenever a geometric restriction links dimensions that would otherwise vary independently.
The answer also captures a general geometric tradeoff. A rectangle can use more of the available radius in one direction only by using less in the perpendicular direction. At the maximum, neither direction is favored: the half-width and half-height are equal. The result is not just a plausible symmetric guess; the derivative and endpoint checks establish that it is the unique largest-area choice.
Check Your Understanding
Use the center-based half-dimensions and account for the feasible endpoints in your reasoning.
- For a circle of radius \(8\), what are the side lengths and maximum area of an inscribed axis-aligned rectangle?
- Why does the constraint involve the half-width and half-height rather than the full side lengths?
- For the area function \(A(x)=4x\sqrt{R^2-x^2}\), on which part of its domain is the area increasing?
- Why must the endpoints \(x=0\) and \(x=R\) be checked even after finding an interior critical point?
- How does the result change if the circle is translated without changing its radius?