First we note that a homogeneous linear system
⎩⎨⎧2x+3y−z=0x+ky−2z=02x−y+z=0
has a non-trivial solution only when the determinant of its coefficient matrix is zero. Stating the condition,
det2123k−1−1−21=0.
We expand this determinant along the first row:
det=2k−1−21−312−21+(−1)12k−1.
Now we evaluate each 2×2 minor:
k−1−2112−2112k−1=k(1)−(−2)(−1)=k−2,=1(1)−(−2)(2)=1−(−4)=5,=1(−1)−k(2)=−1−2k.
Substituting these back,
det=2(k−2)−3(5)+(−1)(−1−2k)=2k−4−15+1+2k=4k−18.
The determinant must be zero for a non-trivial solution, so
4k−18=0⟹k=418=29.
With this value of k the system becomes
⎩⎨⎧2x+3y−z=0x+29y−2z=02x−y+z=0
We solve these equations to obtain the ratios among x,y,z. From the third equation,
2x−y+z=0⟹y=2x+z.
We substitute this y into the first equation:
2x+3(2x+z)−z2x+6x+3z−z8x+2z4x+zz=0=0=0=0=−4x.
Putting z=−4x back into y=2x+z gives
y=2x+(−4x)=−2x.
Thus
x:y:z=x:−2x:−4x=1:−2:−4.
Taking x=1,y=−2,z=−4 we compute the required expression
yx+zy+xz+k=−21+−4−2+1−4+29=−21+21−4+29=0−4+29=−4+29=2−8+9=21.
Hence, the correct answer is Option B.