\(=\sqrt{1+1+2 \cos \theta}\)
\(=\sqrt{2(1+\cos \theta)}\)
\(=\sqrt{2 \times 2 \cos ^{2} \frac{\theta}{2}}\)
\(=2 \cos \frac{\theta}{2}\)
\(|\hat{ A }-\hat{ B }|=\sqrt{|\hat{ A }|^{2}+|\hat{ B }|^{2}-2|\hat{ A }||\hat{ B }| \cos \theta}\)
\(=\sqrt{2-2 \cos \theta}\)
\(=2 \sin \frac{\theta}{2}\)
\(\frac{|\hat{ A }+\hat{ B }|}{|\hat{ A }-\hat{ B }|}=\cot \frac{\theta}{2}\)