Find perpendicular distance of the line joining the points (cosθ, sinθ) and (cosϕ, sinϕ) from the origin.
(1)
Let the points be A=(cosθ, sinθ) and B=(cosϕ, sinϕ)
Equation of line AB is
y-sinθ=sinϕ-sinθcosϕ-cosθ(x-cosθ)
⇒ y-sinθ=2cos(θ+ϕ2)sin(ϕ-θ2)-2sin(ϕ+θ2)sin(ϕ-θ2)(x-cosθ)
⇒ ysin(θ+ϕ2)-sinθ sin(θ+ϕ2)=-xcos(θ+ϕ2)+cosθ cos(θ+ϕ2)
⇒ xcos(θ+ϕ2)+ysin(θ+ϕ2)-{cosθ cos(θ+ϕ2)+sinθ sin(θ+ϕ2)}=0
⇒ xcos(θ+ϕ2)+ysin(θ+ϕ2)-cos(θ-θ+ϕ2)=0
⇒ xcos(θ+ϕ2)+ysin(θ+ϕ2)-cos(θ-ϕ2)=0
Now, perpendicular distance of line from the origin is
=|0+0-cos(θ-ϕ2)|cos2(θ+ϕ2)+sin2(θ+ϕ2)=|cos(θ-ϕ2)|