---
title: "Minimum Diagonal of a Variable Rectangle Inscribed in a Triangle"
organization: "NityaDhi Digital Mathematics Lab (Asa Edtech Private Limited)"
url: "https://www.nityadhi.com/problems/hard-olympiad-geo-w1-12"
board: "Olympiad"
grade: "Olympiad"
published_at: "2026-11-27T15:45:00+05:30"
---

# Minimum Diagonal of a Variable Rectangle Inscribed in a Triangle

In an acute triangle $ABC$, side $BC$ has length $15$ and the altitude from $A$ to $BC$ has length $8$. A variable rectangle $PQRS$ is inscribed in $\triangle ABC$ such that $P$ and $Q$ lie on side $BC$, $R$ lies on side $AC$, and $S$ lies on side $AB$. Find the minimum possible length of the diagonal $PR$.

## Textbook Solution

1. **Relate the dimensions of the rectangle by similar triangles:**
   Let $w = PQ = SR$ be the width of the rectangle and $h = QR = PS$ be its height (with $0 < h < 8$ and $0 < w < 15$).
   Because $SR \parallel BC$, $\triangle ASR \sim \triangle ABC$. The altitude of $\triangle ASR$ from $A$ to $SR$ is $8 - h$. Comparing base-to-altitude ratios:
   $$\frac{w}{15} = \frac{8 - h}{8} \implies \frac{w}{15} + \frac{h}{8} = 1.$$

2. **Express $PR^2$ and minimize via Cauchy-Schwarz (or completing the square):**
   By the Pythagorean theorem, $PR^2 = w^2 + h^2$. Applying the Cauchy-Schwarz inequality to the vectors $(w, h)$ and $\left(\frac{1}{15}, \frac{1}{8}\right)$:
   $$(w^2 + h^2)\left(\frac{1}{15^2} + \frac{1}{8^2}\right) \ge \left(\frac{w}{15} + \frac{h}{8}\right)^2 = 1.$$
   Compute $\frac{1}{225} + \frac{1}{64} = \frac{64 + 225}{225 \cdot 64} = \frac{289}{14400} = \left(\frac{17}{120}\right)^2$. Therefore:
   $$PR^2 \ge \left(\frac{120}{17}\right)^2 \implies PR \ge \frac{120}{17}.$$

3. **Verify the equality point lies inside the valid domain:**
   Equality in Cauchy-Schwarz holds when $\frac{w}{1/15} = \frac{h}{1/8}$, i.e., $15w = 8h$, which together with $\frac{w}{15} + \frac{h}{8} = 1$ yields:
   $$h = \frac{8 \cdot 15^2}{289} = \frac{1800}{289} \in (0, 8), \qquad w = \frac{15 \cdot 8^2}{289} = \frac{960}{289} \in (0, 15).$$
   Since $\triangle ABC$ is acute, the rectangle lies strictly inside $\triangle ABC$ for any $h \in (0, 8)$.

**Final Answer:** $\frac{120}{17}$.

## Vedic Shortcut

**NityaDhi Coordinate-Line Geometry Shortcut:**
Notice the linear constraint $\frac{w}{15} + \frac{h}{8} = 1$ in the $(w, h)$-plane is simply the hypotenuse of a right triangle with legs $15$ and $8$ (and hypotenuse $\sqrt{15^2 + 8^2} = 17$)!
Minimizing $PR = \sqrt{w^2 + h^2}$ is literally finding the shortest distance from the origin $(0,0)$ to that line—which is the **altitude to the hypotenuse** of the $8$-$15$-$17$ right triangle:
$$PR_{\min} = \frac{\text{leg}_1 \times \text{leg}_2}{\text{hypotenuse}} = \frac{8 \cdot 15}{17} = \frac{120}{17}!$$

## Common Mistakes

1. **Thinking the minimum diagonal occurs when the rectangle is a square ($w = h$):** For $w = h = \frac{120}{23}$, the diagonal is $\frac{120\sqrt{2}}{23} \approx 7.38 > \frac{120}{17} \approx 7.06$; symmetry maximizes area or perimeter in some cases, NOT $w^2 + h^2$ when the base and height are unequal!
2. **Assuming $AB$ and $AC$ are needed:** The answer depends solely on the base $BC$ and its altitude $h_a$, regardless of the individual slant sides $AB$ and $AC$ (as long as $\triangle ABC$ is acute so $P, Q$ stay on segment $BC$).