cot θ = perpendicularbase=pq
Let base = qx and perpendicular = px
We will find hypotenuse by using pythagoras theorem
Hypotenuse2 = Base2 + Perpendicular2
Hypotenuse2 = (qx)2 + (px)2
Hypotenuse2 = (q2 + p2)x2
Hypotenuse = (q2+p2)x2
Hypotenuse = (q2+p2)x
Now,
sin θ = hypotenuseperpendicular=(p2+q2)xpx=p2+q2p
cos θ = hypotenusebase=(p2+q2)xqx=p2+q2q
Substituting values we get :
⇒psinθ+qcosθpsinθ−qcosθ=p×p2+q2p+q×p2+q2qp×p2+q2p−q×p2+q2q=p2+q2p2+p2+q2q2p2+q2p2−p2+q2q2=p2+q2p2+q2p2+q2p2−q2=(p2+q2)×p2+q2(p2−q2)×p2+q2=p2+q2p2−q2.
Hence, proved that psinθ+qcosθpsinθ−qcosθ = p2+q2p2−q2.