# Basic Algebra/Solving Equations/Equations with More than One Variable

Sometimes, there will be more than one variable that needs to be solved for in an equation. There are systems used by mathematicians to solve for these unknown quantities, which are discussed below.

## Vocabulary

Variable
A letter (A-Z) that takes the place of a number.
Expression
A group of numbers and variables, added, multiplied, subtracted or divided by each other (examples include: ${\displaystyle 2,7x,8x-7,{\sqrt {x}}+4}$ )
Equation
An expression that is equal to another expression
Coefficient
The number multiplied by a variable (the 3 in ${\displaystyle 3x}$ )

## Lesson

There are three simple ways to solve an equation with two variables.

The number of variables in an equation corresponds to the number of equations needed to solve for the variables.

### Graphing

The most simple way to solve for the variables is by graphing both equations and finding the point where they intersect. This method is not incredibly accurate, unless we measure it with a ruler however, since we cannot be sure exactly where an intersection is unless we measure it.

### The substitution method

In these, the first step is isolating one variable on one side of an equation. After this is accomplished, the expression on the other side of the equal sign can be substituted for the variable we solved for in the first step. Now, this second equation has only one variable. We simplify the equation, solving for the remaining variable. Then we plug this value back into one of the original equations and solve for the first variable.

### Elimination method

To use the elimination method, we make the coefficients of one variable opposites of each other by multiplying or dividing both sides of the equations by the desired numbers. Once this is accomplished, we arrange the equations so that each variable is above the same variable in the other equation. After this, we add the coefficients of each variable to each other to produce a new equation, with only one variable (since the coefficients of one set of variables will cancel. Then follow the steps listed under substitution to solve for the remaining variable(s). (Refer to example 3 to see this method in action)

## Example Problems

### Example 1

 ${\displaystyle {\begin{cases}3x+2=y\\4x-6=2y\end{cases}}}$ ${\displaystyle 4x-6=2(3x+2)}$ Substitute (3x + 2) for y in the second equation ${\displaystyle 4x-6=6x+4}$ Distribute the 2 ${\displaystyle 4x=6x+10}$ Add 6 to each side ${\displaystyle -2x=10}$ Subtract 6x from each side ${\displaystyle x=-5}$ Divide side by -2 Now, plug -5 in for x in one of the original equations and solve for y: ${\displaystyle 3(-5)+2=y}$ ${\displaystyle -15+2=y}$ Simplify ${\displaystyle -13=y}$ Simplify to get the answer

So the solutions are ${\displaystyle x=-5}$  and ${\displaystyle y=-13}$ . (If you graphed these lines, the intersection would be at the point ${\displaystyle (-5,-13)}$ )

### Example 2

 ${\displaystyle {\begin{cases}5x+3y=12\\x-y=4\end{cases}}}$ ${\displaystyle {\begin{cases}5x+3y=12\\3x-3y=12\end{cases}}}$ Multiply the second equation by 3 on each side so that the coefficients of the y's will be 3 and -3 ${\displaystyle 8x+0y=24}$ "Add" the equations together using the addition method ${\displaystyle x=3}$ Divide each side of the equation by 8 Plug this 3 back into the first equation for x and solve for y: ${\displaystyle (3)-y=4}$  ${\displaystyle -y=1}$  ${\displaystyle y=-1}$

So, x=3 and y= -1

### Example 3

 ${\displaystyle {\begin{cases}2y=3x+20\\4y=6x+24\end{cases}}}$ ${\displaystyle {\begin{cases}y={\frac {3}{2}}x+10\\y={\frac {3}{2}}x+6\end{cases}}}$ Divide the equations by 2 and 4, respectively ${\displaystyle {\frac {3}{2}}x+10={\frac {3}{2}}x+6}$ Substitute ${\displaystyle 10=6}$ Subtract ${\displaystyle {\frac {3}{2}}x}$  from each side

This absurd equation is obviously false, therefore there are no solutions. This is because the coefficients of the x were the same while in slope-intercept form, so the lines were parallel (never touching) so there are no solutions. (For a further explanation of slope-intercept form, see Slope-Intercept Form of a Line)

NOTE: When you get and equation that is always true (3=3 or 5=5) there are infinitely many solutions.

## Practice Games

There is a 2-variable game on the following webpage: [1]

## Practice Problems

Use / as the fraction line and put spaces between the wholes and fractions!

1 ${\displaystyle y=x+2}$
${\displaystyle y=5x-1}$

 x= , y=

2 ${\displaystyle x+y=5}$
${\displaystyle 2x-y=10}$

 x= , y=

3 ${\displaystyle 4x+6=2y}$
${\displaystyle x+y=5}$

 x= , y=

4 ${\displaystyle x-2y=7}$
${\displaystyle y-x=13}$

 x= , y=

5 ${\displaystyle y=2x-1}$
${\displaystyle 2y+2=4x}$

 x= , y=

 « Basic AlgebraEquations with More than One Variable » Solving Equations with Variables on Both Sides of the Equation Formulas