# XXVI.  Solving Systems of Equations

Solving systems of equations and solving equations with two or more variables is the same thing.  The thing to remember is that you have to have at least one equation for every variable.  So, if there's three variables, you need three different equations.  Why - I'm glad you asked.  There are several methods for solving these equations and you really need to look at them all.

## Substitution with systems of equations

The substitution method is one of the easiest and, I confess, it may be the one I use the most.  First, let's look at a problem with two variables.  We need two equations.  Assume the variables are x and y.

Solve one of the problems for x.  In other words, manipulate one of the equations until it is in the form x = ...  Make sure that there is no x on the other side of the equation.  If it's easier, solve for y.  A variable is a variable.

Substitute whatever x = in the first equation for each x in the second equation.  Now, solve the second equation for y.  If you've done it correctly, you should now know what y equals.  Substitute that value for y in either of the original equations and you'll get a value of x.

## Elimination

We can use these methods with any number of variables, but let's work this method with two equations/variables.

5x + 3y = 9

5x - 2y = 4

These two equations really shout elimination because all we have to do is subtract one of the equations from the other to make this a one variable equation.

5x + 3y = 9

-5x +2y = -4

I multiplied the second equation by negative 1.  This changed 5x to -5x, -2y to +2y, and 6 to -6.  Now, add the two equations together.

0x + 5y = 5

Or 5y = 5, and when we divide both sides of the equation by 5 we get y=1

Substitute the 1 into either equation to find x, lets look at 5x + 3y = 9.  That becomes

5x + 3(1) = 9

Subtract 3 from both sides and get

5x = 6

Divide both sides by 5 and x = 6/5 or x = 1 1/5

## Matrices

This has nothing to do with living in a virtual reality.  According to Dictionary.com a matrix (in the context of mathematics) is a rectangular array of numeric or algebraic quantities subject to mathematical operations.

It has to be listed under the heading of solving systems of equations, because it is definitely used for that purpose, but is such a stand alone subject that it also needs its own webpage.  Please click on - Matrix - for more information.  These are powerful tools.

## Graphing

Solving Systems of Equations by graphing is really easy and it's just as it sounds.  If you graph the equations by plugging in values for x and y (assuming those are your variables) and plotting the points.  Those locations where the lines intersect are values for the variables that work for both.  There are a couple of problem with graphing to find  the answer.

The first is that it is sometimes difficult to get an exact answer from looking at a graph.  Once you find your intersections, plug those points back in the equations to make sure they work.

The second problem is that if you have three or more variables, graphing may be difficult on a two dimensional graph.  If your calculator has higher than two dimensional capabilities, then it can probably solve the problem for you other ways as well.

III. Algebra

VI  Equations

VII. Exponents

IX Fractions

XIII.  Linear Equations

XVII.  Real Numbers

XIV.  Math Terms

XVIII.  Percentages

XV.  Matrices

XIX.  PEMDAS Order of Operations

XXII. Slope