Solution:
Key idea: Expand the determinant along the first row; the identity sin2θ+cos2θ=1 then removes every θ, leaving an equation in x alone.
Step 1 — Expand along the first row.
We multiply each entry of row 1, namely x, sinθ and cosθ, by its minor, with the signs +,−,+.
Δ=x−x11x−sinθ−sinθcosθ1x+cosθ−sinθcosθ−x1
Step 2 — Evaluate the three minors.
Each minor is a 2×2 determinant.
−x11x=−x2−1
−sinθcosθ1x=−xsinθ−cosθ
−sinθcosθ−x1=−sinθ+xcosθ
Step 3 — Substitute and open the brackets.
We put the minors back and multiply out; the two sinθcosθ terms cancel.
Δ=x(−x2−1)−sinθ(−xsinθ−cosθ)+cosθ(−sinθ+xcosθ)
Δ=−x3−x+xsin2θ+sinθcosθ−sinθcosθ+xcos2θ
Δ=−x3−x+x(sin2θ+cos2θ)
Step 4 — Use sin2θ+cos2θ=1.
The bracket equals 1, so the −x and +x terms cancel.
Δ=−x3−x+x
Δ=−x3
Step 5 — Use the given value.
The determinant equals 8, so we solve −x3=8 for real x.
−x3=8
x3=−8
x=−2
Therefore, x=−2.