# Systems of Equations

## Definition

A *system of equations* consists of two or more equations considered simultaneously.

A *solution* to a system of equations is the set of all points that make all of the equations true.

Generally speaking, to solve a system of equations you need as many unique equations as there are variables.

## Solution Methods

### Graphically

For simple systems (only two variables) it is often convenient just to graph the equations on a computer or graphing calculator and see where they intercept. By zooming in it is possible to find an answer to several decimal places of precision–more than adequate for most business applications.

Let’s say we are given the following system of equations:

At first glance, this system looks like it will be a little tough to solve algebraically. Luckily, we have our trusty graphing calculator or computer algebra system and we can input them and graph them:

It is immediately apparent that this system has only one solution that lies on all three curves. Putting our cursor over it and zooming in, we find out that it occurs at **(2, 3)**.

Incidentally, while we are not allowed to use computers on the waiver exam, we are allowed calculators. I assume this means that graphing calculators are OK?

### Substitution

- Solve one of the equations for one of the variables.
- Use this expression to replace that variable in the next equation.
- Solve this equation for the next variable.
- Repeat steps 2-3 until you have a solution value for the last variable.
- Plug this value into your intermediate equations until you get values for the other variables.

Let’s try solving the system of equations above by substitution. We will work with equations (1) and (3) first because they don’t have any fractions and will be easier to deal with. Equation (3) is already solved in terms of **y** so we can plug it in on the left side of equation (1):

Subtracting the term **2x – 1** from both sides of the equation gives us:

Factoring, we find:

So **x = {0, 2, -3}**. We substitute these x values back into equation (3) to find the corresponding y values:

So the solution set for equations (1) and (3) is **{(0,-1), (2,3), (-3,-7)}**. However, since we are also constrained by equation (2), we need to plug each of these points into it and see if they work:

**(0, -1)** does not satisfy the equation:

**(2, 3)** does, however:

And **(-3,-7)** does not:

Therefore, **(2,3)** is the only point that is a solution to the system of all three equations.

### By Elimination

*Elimination* is the other main algebraic method of solving systems. It is usable as long as the equations in the system are either linear, or can be expressed as linear combinations of similar terms (such as some systems of polynomials). The steps are:

- Rewrite all equations in standard form (i.e. terms with variables on the left in descending order by degree, constants on the right).
- Pick any two equations in the system. Multiply both sides of one of the equations by a constant such that one of the terms becomes equal to one of the terms of the other equation.
- Subtract one of the two equations from the other to cancel out a term.
- If the system has more than two equations, repeat the process until you have canceled out all but one variable.
- Substitute in the value of this variable to find the values of the other variables.

As an example, let’s consider the following system of two linear equations:

Both of these equations are already in standard form, so the first step has been done for us.

We want the x terms to cancel, so we start out by multiplying both sides of equation (1) by **3/2**:

Now subtract equation (2) from equation (1) to cancel the x terms:

Solve for y:

And plug the y value of **34/19** into either equation to find a value for x. In This case, we will use equation (1):

So the solution to this system is **(63/19, 34/19)**. Sorry about the ugly fractions; I make up these examples on the fly.

When solving larger systems, many people use matrix notation instead of writing out all of the equations. The process, however, is conceptually identical.

## Sources

Beecher, J., Penna, J., & Bittenger, M. (2008). *College Algebra* [3rd Ed.]. Boston, MA: Pearson.