If \[\left|\begin{array}{ccc}\cos (A+B) & -\sin (A+B) & \cos (2 B) \\ \sin A & \cos A & \sin B \\ -\cos A & \sin A & \cos B\end{array}\right|=0\], then the value of \[B\] is
Show Hint
Expand the determinant along the first row; the cofactors simplify using sum formulas.
Step 1: Understanding the Concept
Expand along the first row and simplify each minor with \(\cos(A+B)=\cos A\cos B-\sin A\sin B\) and \(\sin(A+B)=\sin A\cos B+\cos A\sin B\).
Step 2: First Two Terms
\(\cos(A+B)(\cos A\cos B-\sin A\sin B)=\cos^{2}(A+B)\).
\(+\sin(A+B)(\sin A\cos B+\cos A\sin B)=\sin^{2}(A+B)\).
Step 3: Third Term
\(\cos 2B(\sin^{2}A+\cos^{2}A)=\cos 2B\).