Concept:
- The value of a determinant is unchanged when other columns or rows are added to, or subtracted from, a column or row.
- The determinant of a triangular matrix is the product of its diagonal entries.
- The given condition \(a^2+b^2+c^2=-2\), that is \(a^2+b^2+c^2+2=0\), is used to simplify a column.
Step 1: Add all the columns to the first column
Apply \(C_1\to C_1+C_2+C_3\). In the first row the new entry is \[ 1+a^2x+(1+b^2)x+(1+c^2)x=1+x\,(a^2+b^2+c^2+2)=1 . \] The second and third rows give the same value \(1\). Hence \[ f(x)=\begin{vmatrix}1&(1+b^2)x&(1+c^2)x\\1&1+b^2x&(1+c^2)x\\1&(1+b^2)x&1+c^2x\end{vmatrix}. \]
Step 2: Create zeros in the first column
Apply \(R_2\to R_2-R_1\) and \(R_3\to R_3-R_1\): \[ f(x)=\begin{vmatrix}1&(1+b^2)x&(1+c^2)x\\0&1-x&0\\0&0&1-x\end{vmatrix}. \]
Step 3: Read the degree
The determinant is triangular, so \[ f(x)=(1-x)^2=x^2-2x+1 . \] This is a polynomial of degree \(2\). The apparent degree \(3\) from the three entries containing \(x\) is lost through cancellation, and degrees \(1\) or \(0\) would need the coefficient of \(x^2\) to vanish, which it does not.
Step 4: Conclusion
\(f(x)=(1-x)^2\) has degree \(2\). Hence, the correct option is (D), \(2\).