To determine the conditions under which the system of equations has infinitely many solutions, we consider the given set of linear equations:
For a system of linear equations to have infinitely many solutions, the equations need to be linearly dependent. This implies that each equation is a linear combination of the others.
First, let's express these equations in matrix form:
| \(\begin{bmatrix} 1 & -2 & 1 \\ 2 & 3 & 1 \\ 1 & 2 & p \end{bmatrix} \begin{bmatrix} x \\ y \\ z \end{bmatrix} = \begin{bmatrix} 0 \\ 6 \\ q \end{bmatrix}\) |
The coefficient matrix is:
| \(A = \begin{bmatrix} 1 & -2 & 1 \\ 2 & 3 & 1 \\ 1 & 2 & p \end{bmatrix}\) |
To ensure the system has infinitely many solutions, the rank of the augmented matrix \([A|b]\) must be equal to the rank of the coefficient matrix \(A\), but less than the number of variables, i.e., rank should be 2 in this 3-variable system for non-trivial solutions.
The augmented matrix is:
| \([A|b] = \begin{bmatrix} 1 & -2 & 1 & 0 \\ 2 & 3 & 1 & 6 \\ 1 & 2 & p & q \end{bmatrix}\) |
We perform row operations on the augmented matrix to check for consistency:
| \(\begin{bmatrix} 1 & -2 & 1 & 0 \\ 0 & 7 & -1 & 6 \\ 0 & 4 & p-1 & q \end{bmatrix}\) |
For the matrix to have rank 2 (indicating infinitely many solutions), the third row must become a linear combination of the second, leading to no new information. Therefore:
\(k[0, 7, -1, 6] = [0, 4, p-1, q]\)
Equating coefficients:
Now solving \(q - p\):
\(q - p = \frac{24}{7} - \frac{3}{7} = \frac{21}{7} = 3\)
Thus, the correct option is indeed \(q - p = 3\).