xsecθ+ycscθ=a⇒xsecθ+ycscθ−a=0 ...(1)and xcosθ−ysinθ=acos2θ⇒xcosθ−ysinθ−acos2θ=0 ...(2)
We know that the coordinates of the origin (x1,y1)=(0,0).
We also know that the standard equation of the line is ax+by+c=0.
Comparing Eqs. (1) and (2) with the standard equation, we get
a1=secθ,b1=cscθ,c1=−a,a2=cosθ,b2=−sinθ and c2=−acos2θ
Therefore,the length of the perpendicular from the origin to the line (1) is given by
(p)=|ax1+by1+c1|√a2+b2=|secθ×(0)+cscθ×(0)−a|√sec2θ+csc2θ
=acosθsinθ√sin2θ+cos2θ=asinθcosθ
Similarly, the length of the perpendicular from the origin to the line (2) is given by
(p′)=|a2x1+b2y1+c2|√a2+b2
=|cosθ×(0)−sinθ×(0)−acos2θ|√cos2θ+sin2θ=acos2θ
Therefore,4p2+p′2=4a2sin2θcos2θ+a2cos22θ
=a2(2sinθcosθ)2+a2cos22θ=a2(sin22θ+cos22θ)=a2