Systems of Linear Equations and Their Solutions#
5. Systems of Linear Equations and Their Solutions#
5.1 What is a System of Linear Equations?#
A system of linear equations is a collection of one or more linear equations involving the same set of variables. The goal is to find values for these variables that satisfy all the equations simultaneously.
For example, the system of equations:
[
]
is a system of two linear equations in two variables,
5.2 Types of Solutions#
There are three possible outcomes for a system of linear equations:
1. Unique solution: A single point where all equations intersect.
2. No solution: The system is inconsistent, meaning the equations contradict each other.
3. Infinitely many solutions: The system is dependent, meaning the equations describe the same line or plane.
5.3 Solving Systems of Linear Equations#
There are several methods to solve systems of linear equations:
5.3.1 Substitution Method#
- Solve one equation for one variable.
- Substitute this expression into the other equation(s).
- Solve for the remaining variable(s).
Example:
[
]
- Solve Equation 1 for
:
[
y = 2 - x
] - Substitute into Equation 2:
[
2x - (2 - x) = 1 \
2x - 2 + x = 1 \
3x = 3 \
x = 1
] - Substitute
back into Equation 1:
[
1 + y = 2 \quad \Rightarrow \quad y = 1
]
Solution:
5.3.2 Elimination (or Addition) Method#
- Multiply one or both equations by constants to align coefficients of one variable.
- Add or subtract the equations to eliminate one variable.
- Solve for the remaining variable.
Example:
[
]
- Add Equation 1 and Equation 2 to eliminate
:
[
(x + y) + (2x - y) = 2 + 1 \
3x = 3 \quad \Rightarrow \quad x = 1
] - Substitute
back into Equation 1:
[
1 + y = 2 \quad \Rightarrow \quad y = 1
]
Solution:
5.3.3 Matrix Method (Gaussian Elimination)#
This method involves converting the system of equations into an augmented matrix and performing row operations to solve for the variables.
Consider the system:
[
]
This system can be written as the augmented matrix:
[
]
The goal is to use row operations to simplify this matrix into row echelon form, and then use back substitution to solve.
Step 1: Subtract 2 times Row 1 from Row 2:
[
]
Step 2: Multiply Row 2 by
[
]
Step 3: Subtract Row 2 from Row 1:
[
]
This corresponds to the system:
[
x = 1, \quad y = 1
]
Solution:
5.4 Special Cases#
- Consistent and Independent System: The system has exactly one solution (unique solution).
- Consistent and Dependent System: The system has infinitely many solutions, typically represented by a free variable.
- Inconsistent System: The system has no solution because the equations contradict each other.
Practice Problems#
-
Solve the following system using substitution or elimination:
[
] -
Solve the system using the elimination method:
[
] -
Solve the following system using Gaussian elimination:
[
] -
Determine whether the following system has a solution:
[
]
Would you like solutions to these problems, or should we move to Eigenvalues and Eigenvectors next?