The line L has equation y=c−mx, with m>0 and c>0. It passes through the point R(a,b) and cuts the axes at the points P(p,0) and Q(0,q), where a, b, p and q are all positive. Find p and q in terms of a, b and m.
As L varies with R remaining fixed, show that the minimum value of the sum of the distances of P and Q from the origin is (a21+b21)2, and find in a similar form the minimum distance between P and Q. (You may assume that any stationary values of these distances are minima.)
Suggestion
Could we draw a diagram to help us visualise the problem?
As L varies with R remaining fixed, show that the minimum value of the sum of the distances of P and Q from the origin is (a21+b21)2…
How could we find a minimum? What is varying here? Could we differentiate with respect to that?
Solution
The equation of a line with gradient −m, passing through the point R(a,b) is y−b=−m(x−a). We can rearrange this and compare it with the given equation for L to find that c=ma+b. Therefore we find that q=ma+b and p=mma+b.
As L varies with R remaining fixed, show that the minimum value of the sum of the distances of P and Q from the origin is (a21+b21)2…
Use the applet to explore the behaviour as
m
varies. Drag
R
to different locations and vary
m
to see how the values of
OP+OQ
and
PQ
change.
[interactive embed (geogebra-iframe): //www.geogebratube.org/material/iframe/id/fQRUBj5w/width/600/height/450/border/888888/rc/false/ai/false/sdz/false/smb/false/stb/false/stbh/false/ld/false/sri/true/asb/false/at/html5] — not part of the text import; see the source page.
Download GeoGebra file
Let the sum of the distances of P and Q from the origin be D. Then D=(ma+b)+(mma+b)=ma+mb+a+b. Since a and b are fixed, by varying L we are effectively just varying m. Therefore, we want to minimise D with respect to m.
Now differentiating, we have dmdD=a−m2b. We get a stationary point when dmdD=0. That gives a=m2b⟺m=±ab. We are told that m>0, so we choose the positive root m=ab.
This value must be a minimum value as there is only one stationary value, and by considering our expression for D, we can see that as m→0,D will become very large, and the same will happen as m→∞.
To find the minimum value, we substitute back into the expression for
D
:
D=a+b+aab+bba=a+b+2a21b21=(a21+b21)2
as required.
… and find in a similar form the minimum distance between P and Q.
The distance PQ=p2+q2.
It’s helpful for us to note that the minimum value of p2+q2 coincides with the minimum value of p2+q2, so we can make our lives a little easier by concentrating on minimising PQ2=p2+q2=(mma+b)2+(ma+b)2 rather than p2+q2.
Thus the minimum value of PQ=p2+q2 as L varies is (a32+b32)23.
As before, this value must be a minimum value as there is only one legitimate stationary value, and we can create arbitrarily large PQ by taking m→0 or m→∞.