§1 Linear Equations and Linear Systems
1. The Big Idea
Linear algebra begins with a simple question:
Which values make several linear equations true at the same time?
A linear equation contains only first-power variables. No , no , no . Geometrically, it is always a flat object: a point, line, plane, or a higher-dimensional version of those.
The type of answer depends on how many variables are involved:
| Situation | A solution looks like | Geometric picture |
|---|---|---|
| One variable | a number | a point on the number line |
| Two variables | an ordered pair | a point on a line in the plane |
| Three variables | an ordered triple | a point on a plane in space |
| A system | values that satisfy all equations | the intersection of several flat objects |
Everything that follows is about organizing equations so the solution becomes easier to see.
2. Linear Equations in One Variable
A one-variable linear equation has the form
where and are constants. The number decides what kind of equation we have:
| Case | Equation after simplification | Result |
|---|---|---|
| exactly one solution: | ||
| , | no solution | |
| , | every real number works |
Example: One Solution
Divide by :
The coefficient of is nonzero, so the equation forces to be one specific value.
Example: No Solution
The left side is always , no matter what is. So this really says
That is impossible, so there is no solution.
Example: Infinitely Many Solutions
This says
which is always true. The equation gives no restriction on , so every real number is a solution.
3. Linear Equations in Several Variables
When there is more than one variable, a single equation usually cannot fix every variable. Instead, it describes a whole family of possible solutions.
Two Variables: A Line
A linear equation in two variables has the form
where are constants and are not both zero.
For example:
A solution is an ordered pair that makes the equation true. If , then
so
and therefore
So is one solution.
But it is not the only solution. If we pick a different , we get a different . As varies, the solutions sweep out all the points on the line.
Parameters: Using a Variable as a Slider
A parameter is a free variable that lets us describe infinitely many solutions without listing them one at a time.
For
choose freely. Let
Then
so
The full solution set is
Think of as a slider. Every time you choose a real number for , you get one point on the line.
Three Variables: A Plane
A linear equation in three variables has the form
where are constants and are not all zero.
For example:
One equation with three variables usually has two free variables. Let
Then
so
The solution set is
This describes a plane in three-dimensional space.
4. Systems of Linear Equations
A system of linear equations is a collection of equations that must all be true simultaneously.
Example:
A solution must satisfy every equation, not just one of them.
Systems have only three possible outcomes:
| Outcome | Meaning | Row-reduction clue |
|---|---|---|
| Exactly one solution | the equations meet at one point | each variable column has a pivot |
| No solution | the equations contradict each other | a row like |
| Infinitely many solutions | at least one variable is free | fewer pivots than variables |
Outcome 1: Exactly One Solution
Adding the equations gives , so . Then .
The solution is
Geometrically, two lines meet at one point.
Outcome 2: No Solution
The same expression cannot equal both and . These equations contradict each other.
In row-reduction, this kind of contradiction appears as something like
or, in augmented-matrix form,
That row says "zero equals five," so the system is inconsistent.
Outcome 3: Infinitely Many Solutions
The second equation is just twice the first. It does not add new information.
So instead of one intersection point, the equations describe the same line. Every point on that line is a solution.
5. Augmented Matrices
An augmented matrix is a compact way to write a system. We keep the coefficients on the left and the constants on the right.
For example,
becomes
Read it like this:
- each row is one equation
- each coefficient column belongs to one variable
- the vertical bar separates coefficients from constants
For the matrix above, the variable order is . That means the first column is the coefficient of , and the second column is the coefficient of .
Variable order matters. If the variables are , keep that order consistently when building and reading the matrix.
6. Elementary Row Operations
Row-reducing a matrix means repeatedly applying three legal moves called elementary row operations.
| Operation | Notation | Effect on equations |
|---|---|---|
| Swap two rows | changes their order | |
| Multiply a row by a nonzero constant | multiplies both sides of one equation | |
| Add a multiple of one row to another | replaces an equation with an equivalent combination |
These operations change how the system looks, but they do not change the solution set.
That is the whole point: we keep rewriting the system into an easier version until the answer is visible.
7. REF, RREF, and Pivots
Row-reduction aims for a clean staircase pattern.
Row Echelon Form (REF)
A matrix is in row echelon form if:
- All zero rows sit at the bottom.
- Each leading nonzero entry is to the right of the one above it.
- Entries below each leading entry are zero.
This creates a staircase shape.
Reduced Row Echelon Form (RREF)
A matrix is in reduced row echelon form if:
- It is already in REF.
- Each leading entry is .
- Each leading has zeros above and below it in its column.
RREF is the cleanest form because it usually lets you read the solution directly.
| Form | Goal | How you solve after reaching it |
|---|---|---|
| REF | make a staircase | use back substitution |
| RREF | clean above and below each pivot | read the solution directly |
Pivots and Free Variables
A pivot is a leading entry in a row. In RREF, pivots are leading s; variables with pivot columns are fixed, and the others are free.
- A variable with a pivot in its column is a pivot variable.
- A variable without a pivot in its column is a free variable.
- Free variables become parameters.
This pivot/free-variable idea is one of the most important habits in linear algebra.
8. Gaussian vs. Gauss-Jordan Elimination
The names sound similar, but the difference is simple:
| Method | Where you stop | What happens next |
|---|---|---|
| Gaussian elimination | REF | solve by back substitution |
| Gauss-Jordan elimination | RREF | read the solution from the matrix |
Gaussian Elimination
Gaussian elimination reduces a matrix to REF. Once you have a staircase, you start from the bottom row and work upward.
This is called back substitution.
Gauss-Jordan Elimination
Gauss-Jordan elimination keeps going until the matrix is in RREF. The goal is to make each pivot column as clean as possible.
For example,
already says
No extra work is needed.
9. Reading Solutions from RREF
Once a matrix is reduced, do not just stare at the numbers. Translate each row back into an equation.
Case A: One Solution
This means
Both variables have pivots, so the system has exactly one solution:
Case B: No Solution
The last row means
or simply
That is impossible, so the system has no solution.
Case C: Infinitely Many Solutions
With variables ordered as , this means
and
The -column has no pivot, so is free. Let
Then
and
So the solution set is
This describes infinitely many solutions because every real value of gives a different solution.
10. Homogeneous Systems
A homogeneous system has zeros on the right-hand side.
Example:
In matrix form, homogeneous systems look like
Every homogeneous system has at least one solution:
This is called the trivial solution.
The more interesting question is:
Are there any nontrivial solutions?
A nontrivial solution is a solution where at least one variable is not zero.
More Unknowns Than Equations
If a homogeneous system has more unknowns than equations, then at least one variable is free, so it has infinitely many solutions.
Why? There are not enough equations to force every variable to be a pivot variable.
So for a homogeneous system:
That also means there must be nontrivial solutions.
11. Problem-Solving Routine
When solving a system by row-reduction, use this checklist:
- Write the system clearly. Make sure each equation is in the same variable order.
- Build the augmented matrix. Coefficients go left of the bar, constants go right.
- Row-reduce. Use elementary row operations to reach REF or RREF.
- Look for contradiction rows. A row like means no solution.
- Identify pivots. Pivot columns correspond to pivot variables.
- Name the free variables. Usually use parameters like and .
- Write the solution clearly. Use a point for one solution, or a parameterized form for infinitely many solutions.
12. Key Takeaways
- A solution to a system must satisfy every equation at the same time.
- Row operations preserve the solution set, even though they change the matrix.
- REF gives a staircase; RREF gives the cleanest possible version.
- Pivot variables are fixed by the equations.
- Free variables become parameters.
- A contradiction row means the system has no solution.
- Homogeneous systems always have the trivial solution, but may also have nontrivial solutions.
Mini-Self-Check
- What does the row mean?
It means , which is impossible. The system has no solution.
- If a system with variables has pivots in the - and -columns only, which variable is free?
is free, because its column does not contain a pivot. You would usually set .
- Why does a homogeneous system always have at least one solution?
Because setting every variable equal to zero always satisfies . This is the trivial solution.