Question
Mathematics Question on Distance of a Point From a Line
If p is the length of perpendicular from the origin to the line whose intercepts on the axes are a and b, then show that p21=a21+b21.
Answer
It is known that the equation of a line whose intercepts on the axes are a and b is
ax+by=1
bx+ay=ab
bx+ay–ab=0………………..(1)
The perpendicular distance (d) of a lineAx+By+C=0 from a point (x1,y1) is given by
d=A2+B2∣Ax1+By1+C∣
On comparing equation (1) to the general equation of line Ax+By+C=0, we obtain A=b,B=a, and C=−ab.
Therefore, if p is the length of the perpendicular from point (x1,y1)=(0,0) to line (1), we obtain
p=b2+a2∣A(0)+B(0)−ab∣
⇒p=a2+b2∣−ab∣
On squaring both sides, we obtain
p2=a2+b2(−ab)2
⇒p2(a2+b2)=a2b2
⇒a2b2a2+b2=p21
⇒p21=a21+b21
Hence, we showed that p21=a21+b21.