Skip to main content

Section2.1Systems of Linear Equations

Objectives
  1. Learn what a system of linear equations is.
  2. Learn how a system of linear equations corresponds to a vector equation.
  3. Learn what is meant by a solution to a system of linear equations.
  4. Understand the solutions to systems of linear equations geometrically in dimensions 2 and 3.
  5. Vocabulary: system of linear equations, consistent system, inconsistent system, solution set.

A major part of linear algebra is understanding the solutions of systems of linear equations.

Definition

An equation in the unknowns x,y,z,... is called linear if both sides of the equation are a sum of (constant) multiples of x,y,z,..., plus an optional constant.

For instance,

3x+4y=2zxz=100

are linear equations, but

3x+yz=3sin(x)cos(y)=2

are not.

We will usually move the unknowns to the left side of the equation, and move the constants to the right.

A system of linear equations is a collection of several linear equations, like

Ax+2y+3z=62x3y+2z=143x+yz=2. (2.1.1)

Definition(Solution sets)

  • A solution of a system of equations is a list of numbers x,y,z,... that make all of the equations true simultaneously.
  • The solution set of a system of equations is the collection of all solutions.
  • Solving the system means finding all solutions with formulas involving some number of parameters.

In the previous chapter, we encountered vector equations. It turns out that vector equations are simply systems of linear equations in different notation. We’ll give two examples to show this is the case.

A system of linear equations need not have a solution. We have already seen an example of this in vector notation (example in Section 1.2). Here is another example: there do not exist numbers x and y making the following two equations true simultaneously:

Cx+2y=3x+2y=3

In this case, the solution set is empty, and the system is said to be inconsistent.

Definition

A system of equations is called inconsistent if it has no solutions. It is called consistent if it has at least one solution.

This definition exactly matches the definition for vector equations (definition in Section 1.2). A system of linear equations is consistent exactly when the associated vector equation is.

Subsection2.1.1Pictures of Solution Sets

Before discussing how to solve a system of linear equations below, it is helpful to see some pictures of what these solution sets look like geometrically.

One Equation in Two Variables

Consider the linear equation x+y=1. We can rewrite this as y=1x, which defines a line in the plane: the slope is 1, and the x -intercept is 1.

Definition(Lines)

For our purposes, a line is a ray that is straight and infinite in both directions.

One Equation in Three Variables

Consider the linear equation x+y+z=1. This is the implicit equation for a plane in space.

xyz
Definition(Planes)

A plane is a flat sheet that is infinite in all directions.

Two Equations in Two Variables

Now consider the system of two linear equations

Cx3y=32x+y=8.

Each equation individually defines a line in the plane, pictured below.

A solution to the system of both equations is a pair of numbers (x,y) that makes both equations true at once. In other words, it as a point that lies on both lines simultaneously. We can see in the picture above that there is only one point where the lines intersect: therefore, this system has exactly one solution. (This solution is (3,2), as the reader can verify.)

Usually, two lines in the plane will intersect in one point, but of course this is not always the case. Consider now the system of equations

Cx3y=3x3y=3.

These define parallel lines in the plane.

The fact that that the lines do not intersect means that the system of equations has no solution. Of course, this is easy to see algebraically: if x3y=3, then it is cannot also be the case that x3y=3.

There is one more possibility. Consider the system of equations

Cx3y=32x6y=6.

The second equation is a multiple of the first, so these equations define the same line in the plane.

In this case, there are infinitely many solutions of the system of equations.

Two Equations in Three Variables

Consider the system of two linear equations

Bx+y+z=1xz=0.

Each equation individually defines a plane in space. The solutions of the system of both equations are the points that lie on both planes. We can see in the picture below that the planes intersect in a line. In particular, this system has infinitely many solutions.

Figure13The planes defined by the equations x+y+z=1 and xz=0 intersect in the red line, which is the solution set of the system of both equations.

Subsection2.1.2Parametric Description of Solution Sets

According to this definition, solving a system of equations means writing down all solutions in terms of some number of parameters. We will give a systematic way of doing so in Section 2.3; for now we give parametric descriptions in the examples of the previous subsection.

Lines

Consider the linear equation x+y=1 of this example. In this context, we call x+y=1 an implicit equation of the line. We can write the same line in parametric form as follows:

(x,y)=(t,1t)foranytR.

This means that every point on the line has the form (t,1t) for some real number t. In this case, we call t a parameter, as it parameterizes the points on the line.

t=0t=1t=1

Now consider the system of two linear equations

Bx+y+z=1xz=0

of this example. These collectively form the implicit equations for a line in R3. (At least two equations are needed to define a line in space.) This line also has a parametric form with one parameter t:

(x,y,z)=(t,12t,t).
Figure16The planes defined by the equations x+y+z=1 and xz=0 intersect in the yellow line, which is parameterized by (x,y,z)=(t,12t,t). Move the slider to change the parameterized point.

Note that in each case, the parameter t allows us to use R to label the points on the line. However, neither line is the same as the number line R: indeed, every point on the first line has two coordinates, like the point (0,1), and every point on the second line has three coordinates, like (0,1,0).

Planes

Consider the linear equation x+y+z=1 of this example. This is an implicit equation of a plane in space. This plane has an equation in parametric form: we can write every point on the plane as

(x,y,z)=(1tw,t,w)foranyt,wR.

In this case, we need two parameters t and w to describe all points on the plane.

Figure18The plane in R3 defined by the equation x+y+z=1. This plane is parameterized by two numbers t,w; move the sliders to change the parameterized point.

Note that the parameters t,w allow us to use R2 to label the points on the plane. However, this plane is not the same as the plane R2: indeed, every point on this plane has three coordinates, like the point (0,0,1).

When there is a unique solution, as in this example, it is not necessary to use parameters to describe the solution set.