Let A = i^Acosθ+j^Asinθ be any vector. Another vector B which is perpendicular to A can be expressed as
i^Bcosθ-j^Bsinθ
i^Bsinθ-j^Bcosθ
i^Bcosθ+j^Bsinθ
i^Bsinθ+j^Bcosθ
Dot product of two perpendicular vectors should be zero .
∴B=i^Bsinθ-j^Bcosθ
[∵(i^Acosθ+j^Asinθ)·(i^Bsinθ-j^Bcosθ)=0]