We first observe that the given function is the determinant of a 3 × 3 3 \times 3 3 × 3 matrix that depends on the angle θ \theta θ :
f ( θ ) = ∣ − sin 2 θ − 1 − sin 2 θ 1 − cos 2 θ − 1 − cos 2 θ 1 12 10 − 2 ∣ . f(\theta)=
\begin{vmatrix}
-\sin^{2}\theta & -1-\sin^{2}\theta & 1\\[4pt]
-\cos^{2}\theta & -1-\cos^{2}\theta & 1\\[4pt]
12 & 10 & -2
\end{vmatrix}. f ( θ ) = − sin 2 θ − cos 2 θ 12 − 1 − sin 2 θ − 1 − cos 2 θ 10 1 1 − 2 .
For any square matrix, the determinant formula along the first row is
∣ a 11 a 12 a 13 a 21 a 22 a 23 a 31 a 32 a 33 ∣ = a 11 ∣ a 22 a 23 a 32 a 33 ∣ − a 12 ∣ a 21 a 23 a 31 a 33 ∣ + a 13 ∣ a 21 a 22 a 31 a 32 ∣ . \begin{vmatrix}
a_{11}&a_{12}&a_{13}\\
a_{21}&a_{22}&a_{23}\\
a_{31}&a_{32}&a_{33}
\end{vmatrix}
= a_{11}
\begin{vmatrix}
a_{22}&a_{23}\\
a_{32}&a_{33}
\end{vmatrix}
- a_{12}
\begin{vmatrix}
a_{21}&a_{23}\\
a_{31}&a_{33}
\end{vmatrix}
+ a_{13}
\begin{vmatrix}
a_{21}&a_{22}\\
a_{31}&a_{32}
\end{vmatrix}. a 11 a 21 a 31 a 12 a 22 a 32 a 13 a 23 a 33 = a 11 a 22 a 32 a 23 a 33 − a 12 a 21 a 31 a 23 a 33 + a 13 a 21 a 31 a 22 a 32 .
We now label the first-row entries of our matrix:
a 11 = − sin 2 θ , a 12 = − 1 − sin 2 θ , a 13 = 1. a_{11}=-\sin^{2}\theta,\quad
a_{12}=-1-\sin^{2}\theta,\quad
a_{13}=1. a 11 = − sin 2 θ , a 12 = − 1 − sin 2 θ , a 13 = 1.
Likewise, the needed sub-determinants are computed one by one.
1. The first cofactor:
∣ a 22 a 23 a 32 a 33 ∣ = ∣ − 1 − cos 2 θ 1 10 − 2 ∣ = ( − 1 − cos 2 θ ) ( − 2 ) − 1 ⋅ 10 = 2 + 2 cos 2 θ − 10 = − 8 + 2 cos 2 θ . \begin{vmatrix}
a_{22}&a_{23}\\
a_{32}&a_{33}
\end{vmatrix}
=
\begin{vmatrix}
-1-\cos^{2}\theta & 1\\
10 & -2
\end{vmatrix}
= (-1-\cos^{2}\theta)(-2)-1\cdot 10
= 2+2\cos^{2}\theta-10
= -8+2\cos^{2}\theta. a 22 a 32 a 23 a 33 = − 1 − cos 2 θ 10 1 − 2 = ( − 1 − cos 2 θ ) ( − 2 ) − 1 ⋅ 10 = 2 + 2 cos 2 θ − 10 = − 8 + 2 cos 2 θ .
Multiplying by a 11 a_{11} a 11 we get
a 11 ( − 8 + 2 cos 2 θ ) = − sin 2 θ ( 2 cos 2 θ − 8 ) = − 2 sin 2 θ cos 2 θ + 8 sin 2 θ . a_{11}\bigl(-8+2\cos^{2}\theta\bigr)
= -\sin^{2}\theta\,(2\cos^{2}\theta-8)
= -2\sin^{2}\theta\cos^{2}\theta+8\sin^{2}\theta. a 11 ( − 8 + 2 cos 2 θ ) = − sin 2 θ ( 2 cos 2 θ − 8 ) = − 2 sin 2 θ cos 2 θ + 8 sin 2 θ .
2. The second cofactor:
∣ a 21 a 23 a 31 a 33 ∣ = ∣ − cos 2 θ 1 12 − 2 ∣ = ( − cos 2 θ ) ( − 2 ) − 1 ⋅ 12 = 2 cos 2 θ − 12. \begin{vmatrix}
a_{21}&a_{23}\\
a_{31}&a_{33}
\end{vmatrix}
=
\begin{vmatrix}
-\cos^{2}\theta & 1\\
12 & -2
\end{vmatrix}
= (-\cos^{2}\theta)(-2)-1\cdot 12
= 2\cos^{2}\theta-12. a 21 a 31 a 23 a 33 = − cos 2 θ 12 1 − 2 = ( − cos 2 θ ) ( − 2 ) − 1 ⋅ 12 = 2 cos 2 θ − 12.
Multiplying by − a 12 -a_{12} − a 12 (note the minus sign from the formula) gives
− ( − 1 − sin 2 θ ) ( 2 cos 2 θ − 12 ) = ( 1 + sin 2 θ ) ( 2 cos 2 θ − 12 ) . -\bigl(-1-\sin^{2}\theta\bigr)(2\cos^{2}\theta-12)
= (1+\sin^{2}\theta)(2\cos^{2}\theta-12). − ( − 1 − sin 2 θ ) ( 2 cos 2 θ − 12 ) = ( 1 + sin 2 θ ) ( 2 cos 2 θ − 12 ) .
Expanding inside:
( 1 + sin 2 θ ) ( 2 cos 2 θ − 12 ) = 2 cos 2 θ + 2 sin 2 θ cos 2 θ − 12 − 12 sin 2 θ . (1+\sin^{2}\theta)(2\cos^{2}\theta-12)
= 2\cos^{2}\theta+2\sin^{2}\theta\cos^{2}\theta-12-12\sin^{2}\theta. ( 1 + sin 2 θ ) ( 2 cos 2 θ − 12 ) = 2 cos 2 θ + 2 sin 2 θ cos 2 θ − 12 − 12 sin 2 θ .
3. The third cofactor:
∣ a 21 a 22 a 31 a 32 ∣ = ∣ − cos 2 θ − 1 − cos 2 θ 12 10 ∣ = ( − cos 2 θ ) ( 10 ) − ( − 1 − cos 2 θ ) ( 12 ) = − 10 cos 2 θ + 12 + 12 cos 2 θ = 12 + 2 cos 2 θ . \begin{vmatrix}
a_{21}&a_{22}\\
a_{31}&a_{32}
\end{vmatrix}
=
\begin{vmatrix}
-\cos^{2}\theta & -1-\cos^{2}\theta\\
12 & 10
\end{vmatrix}
= (-\cos^{2}\theta)(10)-(-1-\cos^{2}\theta)(12)
= -10\cos^{2}\theta+12+12\cos^{2}\theta
= 12+2\cos^{2}\theta. a 21 a 31 a 22 a 32 = − cos 2 θ 12 − 1 − cos 2 θ 10 = ( − cos 2 θ ) ( 10 ) − ( − 1 − cos 2 θ ) ( 12 ) = − 10 cos 2 θ + 12 + 12 cos 2 θ = 12 + 2 cos 2 θ .
Since a 13 = 1 a_{13}=1 a 13 = 1 , this term contributes exactly
12 + 2 cos 2 θ . 12+2\cos^{2}\theta. 12 + 2 cos 2 θ .
4. Adding all three contributions:
First contribution:
− 2 sin 2 θ cos 2 θ + 8 sin 2 θ . -2\sin^{2}\theta\cos^{2}\theta+8\sin^{2}\theta. − 2 sin 2 θ cos 2 θ + 8 sin 2 θ .
Second contribution:
2 cos 2 θ + 2 sin 2 θ cos 2 θ − 12 − 12 sin 2 θ . 2\cos^{2}\theta+2\sin^{2}\theta\cos^{2}\theta-12-12\sin^{2}\theta. 2 cos 2 θ + 2 sin 2 θ cos 2 θ − 12 − 12 sin 2 θ .
Third contribution:
12 + 2 cos 2 θ . 12+2\cos^{2}\theta. 12 + 2 cos 2 θ .
Now we combine like terms step by step.
• The mixed term − 2 sin 2 θ cos 2 θ -2\sin^{2}\theta\cos^{2}\theta − 2 sin 2 θ cos 2 θ from the first line cancels exactly with
+ 2 sin 2 θ cos 2 θ +2\sin^{2}\theta\cos^{2}\theta + 2 sin 2 θ cos 2 θ from the second line.
• Collecting the sin 2 θ \sin^{2}\theta sin 2 θ terms:
8 sin 2 θ − 12 sin 2 θ = − 4 sin 2 θ . 8\sin^{2}\theta-12\sin^{2}\theta=-4\sin^{2}\theta. 8 sin 2 θ − 12 sin 2 θ = − 4 sin 2 θ .
• Collecting the cos 2 θ \cos^{2}\theta cos 2 θ terms:
2 cos 2 θ + 2 cos 2 θ = 4 cos 2 θ . 2\cos^{2}\theta+2\cos^{2}\theta=4\cos^{2}\theta. 2 cos 2 θ + 2 cos 2 θ = 4 cos 2 θ .
• The constants − 12 -12 − 12 and + 12 +12 + 12 cancel out.
Thus the determinant simplifies neatly to
f ( θ ) = 4 cos 2 θ − 4 sin 2 θ = 4 ( cos 2 θ − sin 2 θ ) . f(\theta)=4\cos^{2}\theta-4\sin^{2}\theta
=4\bigl(\cos^{2}\theta-\sin^{2}\theta\bigr). f ( θ ) = 4 cos 2 θ − 4 sin 2 θ = 4 ( cos 2 θ − sin 2 θ ) .
Recalling the double-angle identity cos 2 θ = cos 2 θ − sin 2 θ \cos2\theta=\cos^{2}\theta-\sin^{2}\theta cos 2 θ = cos 2 θ − sin 2 θ , we rewrite the function as
f ( θ ) = 4 cos 2 θ . f(\theta)=4\cos2\theta. f ( θ ) = 4 cos 2 θ .
Next we examine the interval restriction π 4 ≤ θ ≤ π 2 \frac{\pi}{4}\le\theta\le\frac{\pi}{2} 4 π ≤ θ ≤ 2 π . Multiplying by 2 gives
π 2 ≤ 2 θ ≤ π . \frac{\pi}{2}\le 2\theta\le\pi. 2 π ≤ 2 θ ≤ π .
On this interval the cosine function decreases steadily from
cos ( π 2 ) = 0 down to cos ( π ) = − 1. \cos\!\left(\frac{\pi}{2}\right)=0
\quad\text{down to}\quad
\cos(\pi)=-1. cos ( 2 π ) = 0 down to cos ( π ) = − 1.
Therefore
− 1 ≤ cos 2 θ ≤ 0. -1\le\cos2\theta\le 0. − 1 ≤ cos 2 θ ≤ 0.
Multiplying every part of this inequality by the positive constant 4, we obtain
− 4 ≤ f ( θ ) ≤ 0. -4\le f(\theta)\le 0. − 4 ≤ f ( θ ) ≤ 0.
Thus the minimum value is m = − 4 m=-4 m = − 4 and the maximum value is M = 0 M=0 M = 0 . The required ordered pair is
( m , M ) = ( − 4 , 0 ) . (m,M)=(-4,0). ( m , M ) = ( − 4 , 0 ) .
Among the given alternatives, this matches Option B.
Hence, the correct answer is Option B.