Cotangent half-angle identity
Statement of the identity cot ( θ 2 ) = 1 + cos θ sin θ \boxed{\displaystyle \cot\!\left(\tfrac{\theta}{2}\right)=\frac{1+\cos\theta}{\sin\theta}} This relates the cotangent of half an angle to the sine and cosine of the whole angle (with θ ≢ 2 k π \theta\not\equiv 2k\pi so sin θ ≠ 0 \sin\theta\neq0 ). Proof using double-angle formulas Start from double-angle expressions sin θ = 2 sin ( θ 2 ) cos ( θ 2 ) , 1 + cos θ = 2 cos 2 ( θ 2 ) . \sin\theta \;=\; 2\sin\!\bigl(\tfrac{\theta}{2}\bigr)\cos\!\bigl(\tfrac{\theta}{2}\bigr), \quad 1+\cos\theta \;=\; 2\cos^{2}\!\bigl(\tfrac{\theta}{2}\bigr). Form the ratio 1 + cos θ sin θ \dfrac{1+\cos\theta}{\sin\theta} 1 + cos θ sin θ = 2 cos 2 ( θ 2 ) 2 sin ( θ 2 ) cos ( θ 2 ) = 2 cos 2 ( θ 2 ) 2 sin ( θ 2 ) cos ( θ 2 ) = cos ( θ 2 ) sin ( θ 2 ) . \frac{1+\cos\theta}{\sin\theta} \;=\; \frac{2\cos^{2}\!\bigl(\tfrac{\theta}{2}...