Solving systems of linear equations

📚 30.04.docx

Brief overview

This document introduces methods for solving systems of linear equations, emphasizing matrix manipulation techniques. It provides a framework for understanding the existence and nature of solutions to linear systems.

Key points

  • Overview of solving linear systems using augmented matrices.
  • Detailed explanation of the Gauss elimination method and back substitution.
  • The Gauss-Jordan reduction method for achieving reduced row echelon form.
  • Analyzing systems for no solution, unique solution, or infinite solutions.
  • Determining solution types through parameter analysis.

1. Solving systems of linear equations

1.1 Equivalent systems

Systems of linear equations are considered equivalent if they have the exact same solutions. This happens when their augmented matrices are row-equivalent.

Row equivalence is achieved through elementary row operations.

🔑 Important: Row-equivalent augmented matrices mean the original systems are equivalent.

1.2 Gauss elimination method

The Gauss elimination method solves a system of linear equations in two main steps. First, it transforms the system's augmented matrix into row echelon form using elementary row operations.

Second, it uses back-substitution, starting from the last equation, to find the solution.

  • Augmented matrix: This combines the coefficient matrix and the constant terms of a system.
  • Row echelon form: In this form, each leading entry of a row is in a column to the right of the leading entry of the row above it. Also, all entries below a leading entry are zero.

📝 Example: System: x+2y+3z=9x + 2y + 3z = 9 2x−y+z=82x - y + z = 8 3x−z=33x - z = 3

Augmented matrix after row operations: USD \begin{bmatrix} 1 & 2 & 3 & | & 9 \ 0 & 1 & 1 & | & 2 \ 0 & 0 & 1 & | & 3 \end{bmatrix} USD

Solution via back-substitution: z=3z=3, y=−1y=-1, x=2x=2. The system is consistent with a unique solution (2,−1,3)(2, -1, 3).

  • Application: If the coefficient matrix is square (n x n), Gauss elimination can determine if there's a unique solution.

1.3 Gauss-Jordan reduction method

The Gauss-Jordan reduction method is similar to Gauss elimination but goes a step further. It transforms the augmented matrix into reduced row echelon form.

This form directly shows the solution without needing back-substitution.

  • Reduced row echelon form: This form requires that each leading entry (pivot) is 1. It also demands that all entries above and below each pivot are zero.

📝 Example: System: x+2y+3z=6x + 2y + 3z = 6 2x−3y+2z=142x - 3y + 2z = 14 3x+y−z=−23x + y - z = -2

Augmented matrix in reduced row echelon form: USD \begin{bmatrix} 1 & 0 & 0 & | & 1 \ 0 & 1 & 0 & | & -2 \ 0 & 0 & 1 & | & 3 \end{bmatrix} USD

Solution: x=1x=1, y=−2y=-2, z=3z=3. The system is consistent with a unique solution (1,−2,3)(1, -2, 3).

1.4 System consistency and solutions

The nature of the solutions depends on the final form of the augmented matrix after row operations.

Matrix FormSystem TypeResult
0 = 1 (in the last row)InconsistentNo solution
Pivot in every column (vars)ConsistentUnique solution
Free variables existConsistentInfinitely many solutions

📝 Example (Inconsistent System): If row operations lead to a row like [0 0 0 | 1], this represents 0=10 = 1. This indicates the system is inconsistent and has no solution.

📝 Example (Infinitely Many Solutions): For a system leading to a reduced matrix like: USD \begin{bmatrix} 1 & 0 & 10 & | & -1 \ 0 & 1 & -5 & | & 2 \ 0 & 0 & 0 & | & 0 \end{bmatrix} USD The variables x1x_1, x2x_2, and x3x_3 can be expressed in terms of a free variable kk (here, x5=kx_5=k). x1=−1−10kx_1 = -1 - 10k x2=2+5kx_2 = 2 + 5k x3=−11+kx_3 = -11 + k (Note: This example from the text might have had x3x_3 in the original system, implying x3=−11+kx_3 = -11 + k and x5x_5 was a free variable) x4=9−2kx_4 = 9 - 2k x5=kx_5 = k This system has infinitely many solutions.

1.5 Analyzing solutions based on parameters

When a system includes parameters, row operations can reveal conditions for different solution types.

📝 Example: System: x+y=3x + y = 3 x+(a2−8)y=ax + (a^2 - 8)y = a

Augmented matrix after −r1+r2→r2-r_1 + r_2 \rightarrow r_2: USD \begin{bmatrix} 1 & 1 & | & 3 \ 0 & a^2 - 9 & | & a - 3 \end{bmatrix} USD

ConditionParameter ValueSolution Type
Inconsistent (no solution)a=−3a = -30=−60 = -6 (False)
Unique solutiona≠3,a≠−3a \neq 3, a \neq -3(a2−9)y=a−3(a^2-9)y = a-3 has unique yy
Infinitely many solutionsa=3a = 30=00 = 0 (True)

1.6 Trivial and non-trivial solutions

For homogeneous systems (where the constant terms are all zero, Ax=0Ax=0), the system always has at least the trivial solution (0,0,...,0)(0,0,...,0).

  • Trivial solution: The solution where all variables are zero.
  • Non-trivial solution: Any solution other than the trivial solution.

📝 Example: System: x+y+z+w=0x + y + z + w = 0 x+w=0x + w = 0 x+2y+z=0x + 2y + z = 0

Reduced row echelon form leads to: x=−wx = -w y=wy = w z=−wz = -w

If we let w=kw=k, solutions are of the form (−k,k,−k,k)(-k, k, -k, k). This system has infinitely many solutions, including non-trivial ones.

🔑 Important: Gauss elimination and Gauss-Jordan reduction are systematic methods to determine if a linear system is consistent, has a unique solution, or has infinitely many solutions.

2. Gauss-Jordan reduction method

The Gauss-Jordan reduction method transforms an augmented matrix into reduced row echelon form. This form directly reveals the solution to the linear system.

2.1 The Gauss-Jordan process

The Gauss-Jordan method uses elementary row operations to convert an augmented matrix [A∣b][A|b] into reduced row echelon form [C∣d][C|d]. This process simplifies the system for easy solution extraction.

  • Step 1: Transform the augmented matrix [A∣b][A|b] into reduced row echelon form [C∣d][C|d] using elementary row operations.
  • Step 2: Read the solution directly from the resulting matrix [C∣d][C|d].

The final form [C∣d][C|d] makes it clear whether a system has no solution, a unique solution, or infinitely many solutions.

🔑 Important: Reduced row echelon form has leading 1s in each non-zero row, with zeros above and below each leading 1.

2.2 Interpreting solutions from reduced row echelon form

The structure of the reduced row echelon form matrix [C∣d][C|d] dictates the nature of the linear system's solutions.

  • No solution (inconsistent system): This occurs if a row in [C∣d][C|d] represents an equation of the form 0=10 = 1 (or any non-zero constant). This indicates a contradiction.
  • Unique solution: If the number of leading 1s equals the number of variables, and there are no contradictory rows, a unique solution exists. Each variable corresponds to a leading 1.
  • Infinitely many solutions: If the number of leading 1s is less than the number of variables, and there are no contradictory rows, infinitely many solutions exist. Variables without leading 1s become free variables, often represented by parameters.

2.2.1 Free variables and parameters

When a system has infinitely many solutions, some variables do not have leading 1s in the reduced row echelon form. These are called free variables.

  • Free variables can be assigned any value, typically represented by a parameter (e.g., kk).
  • The other variables (leading variables) are then expressed in terms of this parameter.

📝 Example: For the system represented by:

[11000−10010−50001−200000]\begin{bmatrix} 1 & 10 & 0 & 0 & -1 \\ 0 & 0 & 1 & 0 & -5 \\ 0 & 0 & 0 & 1 & -2 \\ 0 & 0 & 0 & 0 & 0 \end{bmatrix}

Variables x2x_2 and x5x_5 are free variables. If x5=kx_5 = k, then x1=−1−10kx_1 = -1 - 10k, x2=2+5kx_2 = 2 + 5k, x3=−11+kx_3 = -11 + k, and x4=9−2kx_4 = 9 - 2k.

2.3 Determining solution conditions using parameters

The Gauss-Jordan method can be used to find the values of parameters that lead to specific solution types.

System typeCondition in reduced row echelon formParameter requirement
No solution (inconsistent)A row of the form 0=non-zero0 = \text{non-zero}0=10 = 1 or similar
Unique solutionNumber of leading 1s = number of variablesNo contradictory rows
Infinitely many solutionsNumber of leading 1s < number of variablesNo contradictory rows

📝 Example: For the system: x+y=3x + y = 3 x+(a2−8)y=ax + (a^2 - 8)y = a

The augmented matrix is:

[11∣31a2−8∣a]\begin{bmatrix} 1 & 1 & | & 3 \\ 1 & a^2 - 8 & | & a \end{bmatrix}

After row reduction:

[11∣30a2−9∣a−3]\begin{bmatrix} 1 & 1 & | & 3 \\ 0 & a^2 - 9 & | & a - 3 \end{bmatrix}
  • No solution: Requires a2−9=0a^2 - 9 = 0 and a−3≠0a - 3 \neq 0. This occurs when a=−3a = -3.
  • Unique solution: Requires a2−9≠0a^2 - 9 \neq 0. This means a≠3a \neq 3 and a≠−3a \neq -3.
  • Infinitely many solutions: Requires a2−9=0a^2 - 9 = 0 and a−3=0a - 3 = 0. This occurs when a=3a = 3.

2.4 Comparison with Gaussian elimination

While Gaussian elimination also uses row operations, it transforms the matrix into row echelon form. Back-substitution is then needed to find the solution.

Gauss-Jordan reduction goes further to reach reduced row echelon form, allowing the solution to be read directly.

MethodTarget FormSolution Extraction
Gaussian eliminationRow echelon formBack-substitution
Gauss-Jordan reductionReduced row echelon formDirect reading of the solution

🔑 Important: Both methods are effective for solving linear systems, but Gauss-Jordan provides a more immediate solution from the final matrix form.

🔑 Important: The Gauss-Jordan method is fundamental for understanding the existence and nature of solutions for linear systems, making it crucial for exam preparation.

© 2026 Maeve. All rights reserved. This content is protected by copyright.

See also