Let the point C be at origin. Then take CB as x-axis and CA as y-axis. Then co-ordinate of C(0,0),A(0,b) and B(a,0) Equation of line AB y−0=b−00−a(x−a) −ay=bx−ab bx+ay−ab=0 p= perpendicular length at point C on line AB p=∣∣∣b×0+a×0−ab√a2+b2∣∣∣ p=∣∣∣−ab√a2+b2∣∣∣ Squaring on both side, we get p2=a2b2a2+b2 p2a2+p2b2=a2b2 Dividing both side by p2a2b2, we get 1b2+1a2=1p2