GATE CS 1996 · Determinant

MCQ · 1 mark · Problem EM-MTRX-0024

The matrices \[\begin{bmatrix} \cos\theta && -\sin\theta \\ \sin\theta && \cos\theta \end{bmatrix}\] and \[\begin{bmatrix} a && 0\\ 0&& b \end{bmatrix}\] commute under multiplication
  1. A
    if \(a=b \text{ or } \theta = n\pi\), n is an integer
  2. B
    always
  3. C
    never
  4. D
    if \(a \cos\theta = b \sin\theta\)

Solve it on GATE DA practice →More Determinant, Rank & Geometry problems

Show the worked solutionWith \(c=\cos\theta,\ s=\sin\theta\):\[RD=\begin{bmatrix}ac&-bs\\as&bc\end{bmatrix},\qquad DR=\begin{bmatrix}ac&-as\\bs&bc\end{bmatrix}.\]They are equal iff \((a-b)\sin\theta=0\), i.e. \(a=b\) or \(\theta=n\pi\).Answer: A

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com