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=9 2x−y+z=8 3x−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=3, y=−1, x=2. The system is consistent with a unique solution (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=6 2x−3y+2z=14 3x+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=1, y=−2, z=3. The system is consistent with a unique solution (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 Form | System Type | Result |
|---|---|---|
0 = 1 (in the last row) | Inconsistent | No solution |
| Pivot in every column (vars) | Consistent | Unique solution |
| Free variables exist | Consistent | Infinitely many solutions |
📝 Example (Inconsistent System): If row operations lead to a row like
[0 0 0 | 1], this represents 0=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 x1, x2, and x3 can be expressed in terms of a free variable k (here, x5=k). x1=−1−10k x2=2+5k x3=−11+k (Note: This example from the text might have had x3 in the original system, implying x3=−11+k and x5 was a free variable) x4=9−2k x5=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=3 x+(a2−8)y=a
Augmented matrix after −r1+r2→r2: USD \begin{bmatrix} 1 & 1 & | & 3 \ 0 & a^2 - 9 & | & a - 3 \end{bmatrix} USD
Condition Parameter Value Solution Type Inconsistent (no solution) a=−3 0=−6 (False) Unique solution a=3,a=−3 (a2−9)y=a−3 has unique y Infinitely many solutions a=3 0=0 (True)
1.6 Trivial and non-trivial solutions
For homogeneous systems (where the constant terms are all zero, Ax=0), the system always has at least the trivial solution (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=0 x+w=0 x+2y+z=0
Reduced row echelon form leads to: x=−w y=w z=−w
If we let w=k, solutions are of the form (−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] into reduced row echelon form [C∣d]. This process simplifies the system for easy solution extraction.
- Step 1: Transform the augmented matrix [A∣b] into reduced row echelon form [C∣d] using elementary row operations.
- Step 2: Read the solution directly from the resulting matrix [C∣d].
The final form [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] dictates the nature of the linear system's solutions.
- No solution (inconsistent system): This occurs if a row in [C∣d] represents an equation of the form 0=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., k).
- The other variables (leading variables) are then expressed in terms of this parameter.
📝 Example: For the system represented by:
10001000001000010−1−5−20Variables x2 and x5 are free variables. If x5=k, then x1=−1−10k, x2=2+5k, x3=−11+k, and x4=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 type | Condition in reduced row echelon form | Parameter requirement |
|---|---|---|
| No solution (inconsistent) | A row of the form 0=non-zero | 0=1 or similar |
| Unique solution | Number of leading 1s = number of variables | No contradictory rows |
| Infinitely many solutions | Number of leading 1s < number of variables | No contradictory rows |
📝 Example: For the system: x+y=3 x+(a2−8)y=a
The augmented matrix is:
[111a2−8∣∣3a]After row reduction:
[101a2−9∣∣3a−3]
- No solution: Requires a2−9=0 and a−3=0. This occurs when a=−3.
- Unique solution: Requires a2−9=0. This means a=3 and a=−3.
- Infinitely many solutions: Requires a2−9=0 and a−3=0. This occurs when a=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.
| Method | Target Form | Solution Extraction |
|---|---|---|
| Gaussian elimination | Row echelon form | Back-substitution |
| Gauss-Jordan reduction | Reduced row echelon form | Direct 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.