Pcosθ+qsinθ=rP \cos \theta+q \sin \theta=rPcosθ+qsinθ=r
Pcos2θ+qsin2θ=rP \cos 2 \theta+q \sin 2 \theta=rPcos2θ+qsin2θ=r
Psinθ+qcosθ=rP \sin \theta+q \cos \theta=rPsinθ+qcosθ=r
Psin2θ+qcos2θ=rP \sin 2 \theta+q \cos 2 \theta=rPsin2θ+qcos2θ=r