A linear equation is an equation in which each unknown appears only to the first power and no products of unknowns occur. Linear equations are the first concrete objects of linear algebra. They lead naturally to systems of equations, matrices, row operations, solution sets, and the equation . Standard linear algebra texts treat systems of linear equations as a starting point because they give both the computational and geometric form of the subject.
4.1 Linear Equations in One Variable
A linear equation in one variable has the form
where and are scalars.
If , the equation has the unique solution
For example,
has solution
If , then the equation becomes
If , every value of is a solution. If , there is no solution.
Thus even in one variable, a linear equation may have one solution, no solution, or infinitely many solutions.
4.2 Linear Equations in Several Variables
A linear equation in variables has the form
where and are scalars.
The numbers are called coefficients. The number is called the constant term or right-hand side.
For example,
is a linear equation in three variables.
The equation
is not linear because it contains a product of unknowns. The equation
is not linear because appears with power .
4.3 Solutions
A solution of a linear equation is a choice of values for the unknowns that makes the equation true.
For the equation
the vector
is a solution because
The vector
is not a solution because
A solution is therefore not an equation. It is a vector of values assigned to the unknowns.
4.4 Solution Sets
The solution set of an equation is the set of all its solutions.
For example, the equation
has infinitely many solutions:
All of these points lie on the same line in .
We may describe the whole solution set by choosing one variable freely. Let
Then
Thus the solution set is
The parameter records the freedom in the solution.
4.5 Geometry of a Linear Equation
In , one nonzero linear equation defines a line.
For example,
defines the line consisting of all points whose coordinates satisfy the equation.
In , one nonzero linear equation defines a plane. For example,
defines a plane in three-dimensional space.
In , one nonzero linear equation defines a hyperplane:
The coefficient vector
is normal to the hyperplane.
4.6 Homogeneous Linear Equations
A linear equation is homogeneous if its right-hand side is zero:
Every homogeneous linear equation has at least one solution, namely the zero vector:
This is called the trivial solution.
For example,
has solution
It also has nonzero solutions, such as
The solution set of a homogeneous linear equation through the origin is a subspace. In , it is usually a line through the origin. In , it is usually a plane through the origin.
4.7 Nonhomogeneous Linear Equations
A linear equation is nonhomogeneous if its right-hand side is not zero:
A nonhomogeneous equation does not pass through the origin unless the origin satisfies it. Since substituting the zero vector gives
the origin is not a solution when .
For example,
defines a line that does not pass through the origin.
A nonhomogeneous solution set is often a translate of a homogeneous solution set. If is one particular solution of
then every solution can be written as
where satisfies
4.8 Systems of Linear Equations
A system of linear equations is a finite collection of linear equations involving the same unknowns. A system can have no solution, exactly one solution, or infinitely many solutions.
For example,
is a system of two equations in two unknowns.
A solution of the system must satisfy both equations at the same time. Solving the system means finding the intersection of the solution sets of the individual equations.
For this example, adding the two equations gives
so
Substituting into gives
Thus the solution is
4.9 Consistent and Inconsistent Systems
A system is consistent if it has at least one solution.
A system is inconsistent if it has no solution.
For example,
is inconsistent. No pair can make both equations true.
Geometrically, these are two parallel lines in the plane. They never intersect.
The system
is consistent and has infinitely many solutions. The second equation is just twice the first equation, so both equations describe the same line.
4.10 Matrix Form
A system of linear equations can be written in matrix form.
The system
can be written as
where
This notation separates three parts of the problem:
| Object | Meaning |
|---|---|
| Coefficients | |
| Unknowns | |
| Right-hand side |
The equation is the basic symbolic form of linear systems.
4.11 Augmented Matrices
The augmented matrix of a system is formed by appending the right-hand side vector to the coefficient matrix.
For the system
the augmented matrix is
The vertical bar separates coefficients from constants. It has no algebraic effect, but it helps display the system.
The augmented matrix records all numerical information in the system. Row operations on this matrix correspond to algebraic operations on the equations.
4.12 Equivalent Systems
Two systems of linear equations are equivalent if they have the same solution set.
For example, the systems
and
are equivalent. The second system is obtained by adding the first two equations.
The equations look different, but the solution set is unchanged.
Solving a linear system usually means replacing it by simpler equivalent systems until the solution is clear.
4.13 Elementary Equation Operations
There are three elementary operations that preserve the solution set of a system:
| Operation | Description |
|---|---|
| Interchange equations | Swap two equations |
| Scale an equation | Multiply one equation by a nonzero scalar |
| Replace an equation | Add a multiple of one equation to another |
These operations are the equation-level form of elementary row operations.
They preserve solutions because they do not change the logical content of the system. They only rewrite the same constraints in a more useful form.
4.14 Leading Variables and Free Variables
When a system is simplified, some variables are determined by equations. These are leading variables.
Other variables may be chosen freely. These are free variables.
For example, consider
There is one equation and two unknowns. Let . Then
Here is a leading variable and is a free variable. The solution set is
Free variables are the algebraic source of infinitely many solutions.
4.15 Parametric Form
A solution set with free variables is often written in parametric form.
For example,
has three unknowns and one equation. Let
Then
Thus
This can be written as
The first vector is a particular solution. The remaining vectors describe directions along which one may move while staying in the solution set.
4.16 Number of Solutions
A linear system has only three possible solution behaviors:
| Type | Description | Geometric meaning |
|---|---|---|
| No solution | Inconsistent system | Empty intersection |
| Exactly one solution | Unique solution | Single intersection point |
| Infinitely many solutions | Nonunique solution | Line, plane, or higher-dimensional set |
A system cannot have exactly two solutions.
The reason is linearity. If a homogeneous system has two distinct solutions, then the difference between them gives a nonzero direction of freedom. That direction produces infinitely many solutions. The same idea applies to nonhomogeneous systems after subtracting one particular solution.
4.17 Linear Equations as Constraints
A linear equation imposes one linear constraint.
The equation
restricts to lie on a hyperplane. A system imposes several constraints at once:
Each row of gives one equation. Each equation cuts down the possible values of , unless it is redundant or inconsistent with the others.
This constraint view is useful in optimization, statistics, geometry, and numerical computation.
4.18 Summary
A linear equation has the form
A system of linear equations is a finite collection of such equations in the same unknowns. The solution set may be empty, contain one vector, or contain infinitely many vectors.
The main concepts are:
| Concept | Meaning |
|---|---|
| Coefficient | Scalar multiplying an unknown |
| Unknown | Variable to be solved for |
| Solution | Values satisfying the equation |
| Solution set | All solutions |
| Homogeneous equation | Right-hand side is zero |
| Nonhomogeneous equation | Right-hand side is nonzero |
| Consistent system | At least one solution |
| Inconsistent system | No solution |
| Augmented matrix | Coefficients plus right-hand side |
| Free variable | Variable chosen independently |
Linear equations are the entry point to linear algebra because they connect symbolic calculation, geometry, and computation. The next chapters develop systematic methods for solving them.