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.
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
Equation - an expression that is equal to another expression
Coefficient - the number multiplied by a variable (the 3 in )
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.
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.
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)
- Substitute (3x + 2) for y in the second equation
- Distribute the 2
- Add 6 to each side
- Subtract 6x from each side
- Divide each side by -2
- Now, plug -5 in for x in one of the original equations and solve for y:
So the solutions are x=-5 and y=-13 (If you graphed these lines, the intersection would be at the point (-5,-13)
- Multiply the second equation by 3 on each side so that the coefficients of the y's will be 3 and -3
- "Add" the equations together using the addition method
- Divide each side of the equation by 8
- Plug this 3 back into the first equation for x and solve for y
So, x=3 and y= -1
- Divide the equations by 2 and 4, respectively
- Subtract 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.
There is a 2-variable game on the following webpage: 
Infinitely many solutions