For which values of k does the linear system x+y+z=2, 2x+3y+2z=5, 2x+3y+(k2−2)z=k+3 have (a) a unique solution, (b) infinitely many solutions and (c) no solution?

Linear algebra and optimisation, Systems of linear equations
Level L2 Elementary. Length Medium. Nature Mat Mathematical.

What's being asked

Whether you can row-reduce an augmented matrix with a parameter and apply the Rouché–Capelli rank condition for consistency.

Key idea

Row-reducing the augmented matrix [A∣b] isolates (k2−4)z=k−2 in the last row; the system has a unique solution when k∉{−2,2}, infinitely many when k=2, and no solution when k=−2.

Steps

  1. Write the augmented matrix [A∣b]=(1112232523k2−2k+3).
  2. Eliminate below the first pivot (R2←R2−2R1 and R3←R3−2R1), then subtract the new R2 from R3 (R3←R3−R2): this gives the row-echelon form (1112010100k2−4k−2).
  3. Analyse the third row (k2−4)z=k−2, noticing k2−4=(k−2)(k+2): (a) when k≠2 and k≠−2, rank⁡(A)=rank⁡([A∣b])=3, giving a unique solution (y=1, z=1k+2, x=1−1k+2).
  4. (b) When k=2, the last row becomes 0z=0, so rank⁡(A)=rank⁡([A∣b])=2<3 and there are infinitely many solutions (y=1, x+z=1).
  5. (c) When k=−2, the last row becomes 0z=−4, so rank⁡(A)=2<rank⁡([A∣b])=3 and the system is inconsistent (no solution).

Common mistakes

How long your answer should be

Half a page; 3–4 minutes.

Last checked on 4 December 2026.

Read this

Previous in Linear algebra and optimisation: A 4×6 matrix A has a null space of dimension 3, and b∈R4 lies in the column space of A. What is the rank of A, how many free parameters does the solution to Ax=b have, and could Ax=c have a solution for every c∈R4?
Next in Linear algebra and optimisation: A 3×3 matrix A has trace 6, determinant 6, and one eigenvalue equal to 1. What are its other two eigenvalues, and what are the trace and determinant of B=A2−2A?