Systems of Linear Equations

Not infrequently, the best way to model a real world situation is by using two or more variables. When the model is made entirely of linear equations, then we can use the methods in this chapter for solving the system of linear equations, assuming solution(s) exist. By far the easiest version of these systems is a system with two variables and two linear equations. 

Linear Equations

The definition of a linear equation given in can be extended to more variables. Any equation of the form a1x1+a2x2+...+anxn = b, for real numbers a1, a2, ..., an (all nonzero) and b, is a linear equation or a first-degree equation in n unknowns.

System of Equations

A system of equations is a set of two or more equations, in two or more variables. for which a common solution is sought.

A set of equations considered simultaneously is called a system of equations. The solutions of a system of equations must satisfy every equation in the system. If all the equations in a system are linear, the system is a system of linear equations, or a linear system.

Solving Systems Graphically

A system of two linear equations with two variables can be graphed on the same coordinate axes. In this case, any solution(s) to the system will be points where both of the equations are true simultaneously, where the two lines intersect or overlap.

 There are three possible outcomes from a system of two variables. Here is an illustration from the text of the three scenarios:

Figure showing graphs and descriptions of the three possible scenarios when solving a system of two linear equations graphically-1.PNG

Let's consider each of these three possibilities separately:

The Graphs of the Two Lines Intersect at One Point

This is by far the most common alternative in any algebra class. In this case, there is exactly one solution, and it is a point given by the coordinates, (x,y). Because there are one or more solutions the system is called consistent, and because neither equation is a multiple of the other one, the equations are said to be independent.

Example

Consider the system of linear equations below:

LaTeX: y-x=1yx=1

LaTeX: y+x=3y+x=3

We can use the intercept method to graph these two equations since they are both in standard form.

Let LaTeX: x=0\:x=0to find the y-intercept in the first equation. 

LaTeX: y-x=y-\left(0\right)=1yx=y(0)=1

LaTeX: y=1y=1

So, the y-intercept is LaTeX: \left(0,1\right).(0,1).

Let LaTeX: y=0\:y=0to find the x-intercept in the first equation,

LaTeX: y-x=\left(0\right)-x=1yx=(0)x=1

LaTeX: -x=1x=1

LaTeX: x=-1x=1

So, the x-intercept is LaTeX: \left(-1,0\right).(1,0).

Similarly, we can get the y-intercept and x-intercept for the second equation, which are LaTeX: \left(0,3\right)\:(0,3)and LaTeX: \left(3,0\right).(3,0).

The graph looks like this when we put both lines on the same coordinate axes:

Graph of two simulaneous linear equations with one solution.PNG

Notice from the image that the two lines intersect at one point, the point LaTeX: \left(1,2\right),(1,2),thus this system has exactly one solution, which is the point LaTeX: \left(1,2\right).(1,2).

The Graphs of the Two Lines Are Parallel

In this case the two lines never intersect. Because the lines are parallel, the lines will have identical slopes but they will have different y-intercepts. This type of system of equations is called inconsistent because it has no solutions, and because neither equation is a multiple of the other one, the equations are said to be independent.

Example

Consider the system of linear equations below:

LaTeX: y=-3x+5y=3x+5

LaTeX: y=-3x-2y=3x2

In this case, both equations are given in the slope-intercept form. Both of the equations have a slope on LaTeX: -3\:3because the number multiplying the x variable is always the slope for any line in slope-intercept LaTeX: \left(y=mx+b\right)\:(y=mx+b)form.  The y-intercepts are the points LaTeX: \left(0,5\right)\:(0,5)and LaTeX: \left(0,-2\right),\:(0,2),so the graph of these two lines looks like this:

graph of the two parallel lines.PNG

Since the two lines never intersect, this system of equations has no solution.

The Two Equations Have the Same Graph

Sometimes the two equations actually represent the identical line. In this case the lines represented by the two equations intersect at every point on the graph of the line represented by either of the equations. Thus, there are an infinite number of solutions, and the solutions are all points on the graph of either of the equations in the system. This type of system is consistent because there are solutions. However, the equations are said to be dependent because one equation is a multiple of the other.

Example

Consider the system of linear equations below:

LaTeX: 3y-2x=63y2x=6

LaTeX: -12y+8x=-2412y+8x=24

We can see that one way to get the second equation would be to multiply both sides of the first equation by -4. If we divide the second equation by -4, then graph both equations using the intercept method, we get the following graph:

Graph of a system where both equations represent the same line.PNG

Since all points on this line are in the solution set of the system of equations, we write the solution using set-builder notation by choosing either of the equations so that the equation for the solution of this system would be LaTeX: \lbrace\left(x,y\right)\mid\left(x,y\right)\:is\:on\:the\:line\:represented\:by\:3y-2x=6\rbrace.{(x,y)(x,y)isonthelinerepresentedby3y2x=6}.

Note: It would also have been correct to replace the equation in the solution above with the other equation from the system, since all of the points are the same for either equation.

Examples

Here are some more examples of solving systems of linear equations by graphing:

On the next page, complete Homework 3.1.