We are asked to find all real numbers k k k for which the given system of three linear equations
x + y + z = 2 2 x + y − z = 3 3 x + 2 y + k z = 4 \begin{aligned}
x + y + z &= 2 \\
2x + y - z &= 3 \\
3x + 2y + kz &= 4
\end{aligned} x + y + z 2 x + y − z 3 x + 2 y + k z = 2 = 3 = 4
has a unique solution. A system of three linear equations in three unknowns has a unique solution exactly when the determinant of its coefficient matrix is non-zero. We first form that coefficient matrix:
A = [ 1 1 1 2 1 − 1 3 2 k ] . A \;=\;
\begin{bmatrix}
1 & 1 & 1 \\
2 & 1 & -1 \\
3 & 2 & k
\end{bmatrix}. A = 1 2 3 1 1 2 1 − 1 k .
The determinant of a 3 × 3 3\times3 3 × 3 matrix
[ a 11 a 12 a 13 a 21 a 22 a 23 a 31 a 32 a 33 ] \begin{bmatrix}
a_{11} & a_{12} & a_{13}\\
a_{21} & a_{22} & a_{23}\\
a_{31} & a_{32} & a_{33}
\end{bmatrix} a 11 a 21 a 31 a 12 a 22 a 32 a 13 a 23 a 33
is given by the formula
det A = a 11 ( a 22 a 33 − a 23 a 32 ) − a 12 ( a 21 a 33 − a 23 a 31 ) + a 13 ( a 21 a 32 − a 22 a 31 ) . \det A \;=\;
a_{11}(a_{22}a_{33}-a_{23}a_{32})
\;-\;
a_{12}(a_{21}a_{33}-a_{23}a_{31})
\;+\;
a_{13}(a_{21}a_{32}-a_{22}a_{31}). det A = a 11 ( a 22 a 33 − a 23 a 32 ) − a 12 ( a 21 a 33 − a 23 a 31 ) + a 13 ( a 21 a 32 − a 22 a 31 ) .
We now apply this formula to our matrix A A A , identifying each entry:
a 11 = 1 , a 12 = 1 , a 13 = 1 , a 21 = 2 , a 22 = 1 , a 23 = − 1 , a 31 = 3 , a 32 = 2 , a 33 = k . \begin{aligned}
a_{11}&=1, & a_{12}&=1, & a_{13}&=1,\\
a_{21}&=2, & a_{22}&=1, & a_{23}&=-1,\\
a_{31}&=3, & a_{32}&=2, & a_{33}&=k.
\end{aligned} a 11 a 21 a 31 = 1 , = 2 , = 3 , a 12 a 22 a 32 = 1 , = 1 , = 2 , a 13 a 23 a 33 = 1 , = − 1 , = k .
Substituting these values into the determinant formula, we obtain
det A = 1 ( 1 ⋅ k − ( − 1 ) ⋅ 2 ) − 1 ( 2 ⋅ k − ( − 1 ) ⋅ 3 ) + 1 ( 2 ⋅ 2 − 1 ⋅ 3 ) . \det A
=\;1\bigl(1\cdot k-(-1)\cdot2\bigr)
-\;1\bigl(2\cdot k-(-1)\cdot3\bigr)
+\;1\bigl(2\cdot2-1\cdot3\bigr). det A = 1 ( 1 ⋅ k − ( − 1 ) ⋅ 2 ) − 1 ( 2 ⋅ k − ( − 1 ) ⋅ 3 ) + 1 ( 2 ⋅ 2 − 1 ⋅ 3 ) .
We now simplify each of the three products step by step.
First product (inside the first parentheses):
1 ⋅ k − ( − 1 ) ⋅ 2 = k + 2. 1\cdot k-(-1)\cdot2
=\;k+2. 1 ⋅ k − ( − 1 ) ⋅ 2 = k + 2.
Second product (inside the second parentheses):
2 ⋅ k − ( − 1 ) ⋅ 3 = 2 k + 3. 2\cdot k-(-1)\cdot3
=\;2k+3. 2 ⋅ k − ( − 1 ) ⋅ 3 = 2 k + 3.
Third product (inside the third parentheses):
2 ⋅ 2 − 1 ⋅ 3 = 4 − 3 = 1. 2\cdot2-1\cdot3
=\;4-3
=\;1. 2 ⋅ 2 − 1 ⋅ 3 = 4 − 3 = 1.
Substituting these simplified results back into the expression for the determinant, we have
det A = 1 ( k + 2 ) − 1 ( 2 k + 3 ) + 1 ( 1 ) . \det A
=\;1(k+2)\;-\;1(2k+3)\;+\;1(1). det A = 1 ( k + 2 ) − 1 ( 2 k + 3 ) + 1 ( 1 ) .
Because each coefficient in front of the parentheses is 1 1 1 (with the appropriate sign), we can drop the explicit multiplication:
det A = ( k + 2 ) − ( 2 k + 3 ) + 1. \det A
=\;(k+2)\;-\;(2k+3)\;+\;1. det A = ( k + 2 ) − ( 2 k + 3 ) + 1.
Now we simplify the right-hand side term by term:
( k + 2 ) − ( 2 k + 3 ) + 1 = k + 2 − 2 k − 3 + 1 = ( k − 2 k ) + ( 2 − 3 + 1 ) = − k + 0 = − k . \begin{aligned}
(k+2)&-(2k+3)+1
&=&\;k+2-2k-3+1\\
&=&\;(k-2k)+(2-3+1)\\
&=&\;-k+0\\
&=&\;-k.
\end{aligned} ( k + 2 ) − ( 2 k + 3 ) + 1 = = = = ( k − 2 k ) + ( 2 − 3 + 1 ) − k + 0 − k . k + 2 − 2 k − 3 + 1
Thus, the determinant of matrix A A A is
det A = − k . \det A = -k. det A = − k .
For the system to possess a unique solution, we require that this determinant be non-zero:
det A ≠ 0 ⟹ − k ≠ 0 ⟹ k ≠ 0. \det A \neq 0
\quad\Longrightarrow\quad
-k \neq 0
\quad\Longrightarrow\quad
k \neq 0. det A = 0 ⟹ − k = 0 ⟹ k = 0.
All real numbers except zero satisfy this condition. Therefore, the set S S S of all real values of k k k for which the system has a unique solution is
S = R ∖ { 0 } . S = \mathbb{R}\setminus\{0\}. S = R ∖ { 0 } .
Hence, the correct answer is Option B.