Square's Side vs Circle and Rectangle

Square side length from inscribed circle is a medium quant interview question on Pure Math.

Difficulty Medium Topic Pure Math

This geometry question considers a square with an inscribed circle and a smaller rectangle tucked into a corner so that it fits exactly and touches the circle. The candidate must relate the sizes and positions of these three shapes using the fact that the circle is tangent to the square's sides and the rectangle sits flush in a corner. The central challenge is to express the side length of the square in terms of the given rectangle's dimensions and the circle's radius, using only the geometric constraints given by tangency and symmetry.

The problem leans heavily on recognizing and constructing right triangles formed by the corner of the square, the point where the rectangle meets the circle, and the circle's center. It tests whether the candidate can translate the verbal and visual description into algebraic relationships, then combine those relationships cleanly. An interviewer is watching for comfort with coordinate or symmetric reasoning, correct and non-redundant use of the Pythagorean theorem, and the ability to handle multiple constraints without losing track of which distances and variables correspond to which geometric features.

What it tests

Whenever an object is inscribed within another (like a circle in a square), the key is to relate their dimensions through the constraints imposed by tangency and symmetry. When an additional object (like a rectangle) is placed in a corner and also touches the inscribed object, the distances from the corner to the point of tangency become crucial. These distances often form right triangles, where the legs are the differences between the inscribed object's radius and the rectangle's sides, and the hypotenuse is the radius itself. The Pythagorean theorem then naturally arises because the shortest path from the corner to the circle (through the rectangle) must be straight, forming a right triangle. This geometric structure is common in problems involving nested or tangent shapes, and the relationships are governed by the fixed distances and perpendicularity imposed by the tangency points.

Practise this question with written feedback, or hear it in a spoken mock interview.

Get started free