The principle of superposition is just a restatement of the fact that matrix mappings are linear. Nevertheless, this restatement is helpful when trying to understand the structure of solutions to systems of linear equations.

Homogeneous Equations

A system of linear equations is homogeneous if it has the form

where is an matrix and . Note that homogeneous systems are consistent since is always a solution, that is, .

The principle of superposition makes two assertions:

  • Suppose that and in are solutions to (??) (that is, suppose that and ); then is a solution to (??).
  • Suppose that is a scalar; then is a solution to (??).

The principle of superposition is proved using the linearity of matrix multiplication. Calculate to verify that is a solution, and calculate to verify that is a solution.

We see that solutions to homogeneous systems of linear equations always satisfy the general property of superposition: sums of solutions are solutions and scalar multiples of solutions are solutions.

We illustrate this principle by explicitly solving the system of equations Use row reduction to show that the matrix is row equivalent to which is in reduced echelon form. Recall, using the methods of Section ??, that every solution to this linear system has the form Superposition is verified again by observing that the form of the solutions is preserved under vector addition and scalar multiplication. For instance, suppose that are two solutions. Then the sum has the form where .

We have actually proved more than superposition. We have shown in this example that every solution is a superposition of just two solutions

Inhomogeneous Equations

The linear system of equations in unknowns is written as where is an matrix, , and . This system is inhomogeneous when the vector is nonzero. Note that if are solutions to the inhomogeneous equation (that is, and ), then is a solution to the homogeneous equation. That is, For example, let Then are both solutions to the linear system . It follows that is a solution to the homogeneous system , which can be checked by direct calculation.

Thus we can completely solve the inhomogeneous equation by finding one solution to the inhomogeneous equation and then adding to that solution every solution of the homogeneous equation. More precisely, suppose that we know all of the solutions to the homogeneous equation and one solution to the inhomogeneous equation . Then is another solution to the inhomogeneous equation and every solution to the inhomogeneous equation has this form.

An Example of an Inhomogeneous Equation

Suppose that we want to find all solutions of where Suppose that you are told that is a solution of the inhomogeneous equation. (This fact can be verified by a short calculation — just multiply and see that the result equals .) Next find all solutions to the homogeneous equation by putting into reduced echelon form. The resulting row echelon form matrix is Hence we see that the solutions of the homogeneous equation are Combining these results, we conclude that all the solutions of are given by

Exercises

Consider the homogeneous linear equation
(a)
Write all solutions to this equation as a general superposition of a pair of vectors and .
(b)
Write all solutions as a general superposition of a second pair of vectors and .

Write all solutions to the homogeneous system of linear equations
as the general superposition of three vectors.
  • Find all solutions to the homogeneous equation where
  • Find a single solution to the inhomogeneous equation
  • Use your answers in (a) and (b) to find all solutions to (??).