---
title: "Shortest Distance Between a Parabola and a Circle"
organization: "NityaDhi Digital Mathematics Lab (Asa Edtech Private Limited)"
url: "https://www.nityadhi.com/problems/hard-c12-w1-09-shortest-distance-parabola-circle"
board: "JEE Foundation"
grade: "Class 12"
published_at: "2026-11-26T10:00:00+05:30"
---

# Shortest Distance Between a Parabola and a Circle

Find the shortest distance between the parabola $y^2 = 4x$ and the circle
$$x^2 + y^2 - 12x + 31 = 0.$$

## Textbook Solution

**Step 1: Find center and radius of the circle**  
Completing the square:
$$(x - 6)^2 + y^2 = 36 - 31 = 5.$$
So the circle has center $C(6, 0)$ and radius $r = \sqrt{5}$.

**Step 2: Minimize distance from $C(6, 0)$ to the parabola**  
Any point on $y^2 = 4x$ has parametric coordinates $P(t^2, 2t)$ for $t \in \mathbb{R}$.  
The squared distance $CP^2$ is:
$$f(t) = (t^2 - 6)^2 + (2t)^2 = t^4 - 8t^2 + 36.$$
Differentiating:
$$f'(t) = 4t^3 - 16t = 4t(t - 2)(t + 2) = 0 \implies t = 0, 2, -2.$$
Testing values:  
- $f(0) = 36 \implies CP = 6$.  
- $f(\pm 2) = 16 - 32 + 36 = 20 \implies CP = 2\sqrt{5} \approx 4.47 < 6$.

**Step 3: Subtract the radius**  
Since $CP_{\min} = 2\sqrt{5} > r = \sqrt{5}$, the curves do not intersect, and the shortest distance between them is:
$$d_{\min} = CP_{\min} - r = 2\sqrt{5} - \sqrt{5} = \sqrt{5}.$$

**Final Answer:** $\sqrt{5}$.

## Vedic Shortcut

**NityaDhi Completing-the-Square Optimization:**  
Instead of differentiating $f(t) = t^4 - 8t^2 + 36$, rewrite it immediately as:
$$f(t) = (t^2 - 4)^2 + 20.$$
Since $(t^2 - 4)^2 \ge 0$, the minimum is visibly $20$ at $t^2 = 4$, giving $CP_{\min} = 2\sqrt{5}$ and shortest distance $2\sqrt{5} - \sqrt{5} = \sqrt{5}$ with zero calculus!

## Common Mistakes

- Stopping at $t = 0$ (the vertex $(0, 0)$), which is actually a local *maximum* of distance from $(6, 0)$ along the parabola!  
- Forgetting to subtract the circle's radius $\sqrt{5}$ after finding the minimum distance from the circle's center.