If \(\begin{vmatrix}x-2 & 1 & 2\\ 1 & 2x & 1\\ -1 & 1 & 1\end{vmatrix} =3\), then the values of x are:
Answer & explanation
Correct answer: option 3
The correct answer is Option (3) → \(1, -\displaystyle\frac{1}{2}\)
Expanding along the first row:
\((x-2)(2x \cdot 1 - 1 \cdot 1) - 1(1 \cdot 1 - 1 \cdot (-1)) + 2(1 \cdot 1 - 2x \cdot (-1))\)
\(= (x-2)(2x-1) - 2 + 2(1 + 2x)\)
\(= 2x^2 - 5x + 2 - 2 + 2 + 4x\)
\(= 2x^2 - x + 2\)
Setting it equal to 3:
\(2x^2 - x - 1 = 0\)
\((x - 1)(2x + 1) = 0\)
\( \displaystyle x = 1 \text{ or } x = -\frac{1}{2} \)