Stand in a field and you want the shortest walk to a straight fence. You would not stroll at a slant — you would head straight for it, meeting it at a right angle. That perpendicular length is the shortest distance. The same instinct works for a curved path: the closest point is where the line from you meets the curve squarely.
In Class 12, distance minimisation is a maxima–minima application: find the point on a given curve that is nearest a fixed point, and report that smallest distance.
Note
The goal is not "find the smallest number" — it is to locate the point on the curve closest to the given point, then compute the distance to it.
The Calculus Method
Let the fixed point be P=(a,b) and let a general point on the curve be Q=(x,f(x)). The distance is
D(x)=(x−a)2+(f(x)−b)2.
Tip
Minimise the squared distance S(x)=D(x)2 instead of D itself. Since squaring is increasing for non-negative values, the same x minimises both — and the algebra loses its square roots.
Set S′(x)=0, solve for x, and confirm it is a minimum with S′′(x)>0 (or a sign check of S′). Then D at that x is the answer.
A Worked Example
Find the point on the line y=2x+1 closest to the origin.
With Q=(x,2x+1), the squared distance is
S(x)=x2+(2x+1)2=5x2+4x+1.
Then S′(x)=10x+4=0⟹x=−52, and S′′(x)=10>0, a minimum. So y=2(−52)+1=51, and
Method: Minimizing the Distance From a Point to a Curve
The general technique for "closest point on a curve" problems — and a reminder to check every critical point the algebra produces, not just the first one found.
Steps
Step 1: Parametrize a general point on the curve
Write a typical point on the curve using one parameter (here, a point on y=x2 can be written (t,t2)), then form the squared distance to the fixed point.
Step 2: Minimise the squared distance, not the distance itself
D(t)2=(difference in x)2+(difference in y)2
Since squaring preserves order for non-negative values, the same t minimises both D and D2 — but D2 avoids differentiating a square root.
Step 3: Differentiate, solve for ALL critical points, and check validity
dtd(D2)=0
This can factor to give more than one critical value of t (or, as here, a condition on the fixed point's own parameter). Discard any critical value that falls outside the problem's stated range. …
Mistake 1: Stopping at the critical point t=0 and reporting distance =c
Why it's wrong: solving dtd(D2)=0 gives 2t[1+2(t2−c)]=0, which has two families of solutions — t=0 and t2=c−21 — but a student who only factors out t and drops the bracket entirely gets just the first, weaker candidate. Correct approach: solve the full factored equation and keep every branch; here the second branch gives the genuinely smaller squared distance c−41 for c>21.
Mistake 2: Forgetting to check that t2=c−21 is a valid (real, in-range) solution …