# Algebra/Systems of Equations

## Systems of Simultaneous EquationsEdit

In a previous chapter, solving for a single unknown in one equation was already covered. However, there are situations when more than one unknown variable is present in more than one equation. When in a given problem, more than one algebraic equation is true at a time, it is said there is a **system of simultaneous equations** which are all true together at once. Such sets of multiple equations may help solve for more than one unknown variable in a problem, since having more than one unknown in one equation is typically not enough information to "solve" any of the unknowns.

An unknown quantity is something that needs algebraic information in order to solve it. An equation involving the unknown is typically a piece of information which may provide the information to "solve" the unknown, i. e. to determine a specific number value (or limited number of discrete values) that the unknown is (or can be) equal to. Some equations provide little or no information and so do little or nothing to narrow down the possibilities for solutions of the unknowns. Other equations make it impossible to satisfy an unknown with any real number, so the solution set for the unknown is an empty set. Many other useful equations make it possible to solve an unknown with one or just a few discrete solutions. Similar statements can be made for systems of simultaneous equations, especially regarding the relationships between them.

## Linear Simultaneous Equations with Two VariablesEdit

In the previous module, linear equations with two variables were discussed. A single linear equation having two unknown variables is practically insufficient to solve or even narrow down the solutions for the two variables, although it does establish a relationship between them. The relationship is shown graphically as a line. Another linear equation with the same two variables may be enough to narrow down the solution to the two equations to one value for the first variable and one value for the second variable, i. e. to solve the system of two simultaneous linear equations. Let's see how two linear equations with the same two unknowns might be related to each other. Since we said it was given that both equations were linear, the graphs of both equations would be lines in the same two-dimensional coordinate plane (for a system with two variables). The lines could be related to each other in the following three ways:

**1.** The graphs of both equations could **coincide** giving the **same line**. This means that the two equations are providing the same information about how the variables are related to each other. The two equations are basically the same, perhaps just different versions or forms of each other. Either one could be mathematically manipulated to produce the other one. Both lines would have the same slope and the same y-intercept. Such equations are considered **dependent** on each other. Since no new information is provided, the addition of the second equation does not solve the problem by narrowing the solution set down to one solution.

**Example**: Dependent linear equations

The above two equations provide the same information and result is the same graph, i. e. lines which **coincide** as shown in the following image.

Let's see how these equations can be mathematically manipulated to show they are basically the same.

Divide both sides of the first equation by 3 to give

- Now add y to both sides

- Now subtract 4 from both sides

This is the same as the second equation in the example. This is the slope-intercept form of the equation, from which a slope and a y-intercept unique to the line can be compared with any other equations in the slope-intercept form.

**2.** The graphs of two lines could be **parallel** although not the same. The two lines do not intersect each other at any point. This means there is no solution which satisfies both equations simultaneously, i. e. at the same time. The solution set for this system of simultaneous linear equations is the empty set. Such equations are considered **inconsistent** with each other and actually give contradictory information if it is claimed they are both true at the same time in the same problem. The parallel lines have equal slopes but different y-intercepts.

Sets of equations which have at least one common point which might provide a solution set are **consistent** with each other. For example, the dependent equations mentioned previously are consistent with each other.

**Example**: Inconsistent linear equations

To compare slopes and y-intercepts for these two linear equations, we place them in the slope-intercept forms. Subtract 3x from both sides of both equations.

Divide both sides of both equations by -2 and simplify to get slope-intercept forms for comparison.

Now, both slopes are equal at 3/2, but the y-intercepts at 1 and -1 are different.

The lines are parallel. The graphs are shown here:

**3.** If the two lines are not the same and are not parallel, then they would intersect at one point because they are graphed in the same two-dimensional coordinate plane. The one point of intersection is the ordered pair of numbers which is the solution to the system of two linear equations and two unknowns. The two equations provide enough information to solve the problem and further equations are not needed. Such equations intersecting at a point providing a solution to the problem are considered **independent** of each other. The lines have different slopes but may or may not have the same y-intercept. Because such equations provide at least one solution point, they are **consistent** with each other.

**Example**: Consistent independent linear equations

Both of these equations are given in the slope-intercept, so it is easy to compare slopes and y-intercepts. For these two linear functions, both slopes are different and both y-intercepts are different. This means the lines are neither dependent nor inconsistent, so on a two-dimensional graph they must intersect at some point. In fact, the graph shows the lines intersecting at (1,-2), which is the ordered pair solution to this system of independent simultaneous equations. Visual inspection of a graph cannot be relied on to give perfectly accurate coordinates every time, so either the point is tested with both equations or one of the following two methods is used to determine accurate coordinates for the intersection point.

## Solving Linear Simultaneous EquationsEdit

Two ways to solve a system of linear equations are presented here, the addition method and the substitution method. Examples will show how two __independent__ linear simultaneous equations with two unknown variables could be solved for both unknown variables using these methods.

### Elimination by Addition MethodEdit

The **elimination by addition** method is often simply called the **addition** method. Using the addition method, one of the equations is __added (or subtracted)__ to the other equation(s), usually after multiplying the entire equation by a constant, in order to __eliminate__ one of the unknowns. If the equations are independent, then the resulting equation(s) should be one(s) which will have one less unknown. For an original system of two equations and two unknowns, the resulting equation with one less unknown would have one unknown left which could easily be solved for. For systems with more than two equations and two unknowns, the process of elimination by addition continues until an equation with one unknown results. This unknown could then be solved for and the solved value then substituted into the other equations resulting in a system with one less unknown. The elimination by addition process is repeated until all of the unknowns are solved.

If a system has two equations which are dependent, then the addition of the equations could or would eliminate both unknowns at once. If the equations are parallel lines which are inconsistent, then a contradictory equation could result. The addition method is useful for solving systems of simultaneous __linear__ equations, particularly if the equations are given in the form Ax + By = C, where x and y are the two unknown variables and A, B, and C are constants.

**Example**: Solve the following system of two equations for unknowns x and y using the addition method:

**Solution**: We can either multiply the first equation by -3 and add the result to the second equation to eliminate x, or we can multiply the second equation by 2 and add the result to the first equation to eliminate y. Let's multiply [both sides of ] the second equation by 2.

Now we __add__ this resulting equation to the first equation; i. e. each of the two sides of the equations are added together to give a combined equation as shown here:

This means that we add x + 2y and 6x - 2y to get 7x + 0·y __and__ we add 4 and 10 to get 14.

This __eliminates__ y from the combined equation to give an equation in x only:

- Now we solve for x:

Now that we have x, we can substitute the value for x into either of the original two equations and then solve for y. Let's pick the first equation for the substitution into x.

- Solving for y:

So the solution set consists of the ordered pair ( 2,1) which is the point of intersection for the two linear functions as shown here:

### Elimination by Substitution MethodEdit

The **elimination by substitution** method is often simply called the **substitution** method. With the substitution method, one of the equations is solved for one of the unknowns in terms of the other unknown(s). Then that expression for the first unknown is __substituted__ into the other equation(s) to __eliminate__ it such that the equation(s) then have only the other unknown(s) left. If the equations are independent, then the resulting equation(s) should be one(s) which will have one less unknown. For an original system of two equations and two unknowns, the resulting equation with one less unknown would have one unknown left which could easily be solved for. For systems with more than two equations and two unknowns, the process of elimination by substitution is repeated until an equation with one unknown results. This unknown could then be solved for and the solved value then substituted into the other equation(s), resulting in a system with one less unknown. The process of elimination by substitution continues until all of the unknowns are solved.

If a system has two equations which are dependent, then applying the substitution method would either eliminate two unknowns at once or result in an equation which do not yield single values for the remaining unknown(s). If the equations are parallel lines which are inconsistent, then a contradictory equation could result.

**Example**: Solve the following system of two equations for unknowns x and y using the substitution method:

**Solution**: We can start by solving for either x or y in terms of the other unknown in either one of the equations. Let's start by solving for x in terms of y in the first equation.

Next, we __substitute__ this expression for x into the other equation in order to __eliminate__ x from the equation.

We have eliminated x and now we have an equation in terms of y only. We now solve for y in this equation.

We have found the solution for y to be -1. We substitute this value for y into the expression for x in terms of y we determined from the first equation earlier.

Finally, we calculate the value of x.

So the solution set consists of the ordered pair (-2,-1) which is the point of intersection for the two linear functions as shown here:

## Slopes of Parallel and Perpendicular LinesEdit

- In a two-dimensional Cartesian coordinate plane, linear functions which are
__dependent__or whose graphs are__parallel lines__will have the__same slope__.**CONVERSELY**, linear functions having__equal slopes__are either__dependent__or have graphs that are__parallel lines__in a two-dimensional Cartesian coordinate plane. Of course, vertical parallel lines of the general form x=c are not functions and have no defined slopes.

*This paragraph restates itself. It should be reworded.*

- In a two-dimensional Cartesian coordinate plane, two lines that are
**perpendicular**to each other will form**right angles**(90° angles) with each other at the point where they intersect. When the slopes of two linear functions whose graphs are lines that are__perpendicular__are multiplied together, the__product of the two slopes equals -1__. Conversely, if__multiplying the slopes__of two linear functions gives a__product equal to -1__, then their graphs are__perpendicular lines__on a two-dimensional Cartesian coordinate plane.

- In other words, if two perpendicular lines have slopes m
_{1}and m_{2}, then

- If a pair of perpendicular lines consists of a horizontal line (of the form y = c) and a vertical line (of the form x = c), then the preceding rule does
__not__apply. A vertical line has no slope and the slope of a horizontal line = 0.

**Example**: Find the slope-intercept form of a [new] line which intersects y = (1/2)x - 3 at (4,-1) and is perpendicular to it.

**Solution**: First, find slope of the new line from slope of the given line. Let m = slope of the new line.

The slope-intercept form of the new line will be:

where b is the y-intercept of the new line. Next, solve for y-intercept of new line using the intersecting point (4,-1) and the new slope of -2. Substitute x = 4 and y = -1 into the preceding equation and solve for b.

Finally, the slope-intercept form of the new perpendicular line is :

## Solving Systems of Simultaneous Equations Involving Equations Of Degree 2Edit

The substitution method should be used for efficiency when solving nonlinear simultaneous equations, unless other methods such as the graphing method provide clear and simple solutions quickly (when they would be faster than substitution).

**Example**: Solve the system of simultaneous equations.

With the second equation, make a given term (here, 2x should be used) the subject.

Substitute the third equation into the first, and through factorization of the resulting, simplified quadratic with one variable the solutions can be found.

Hence we know or

Then, we calculate that the two possibilities are: , or; ,

## Solving Systems of Simultaneous Equations Using a Graphing CalculatorEdit

**TI-83 (Plus) and TI-84 Plus:**

1. Press "Y="

2. Enter both equations, solved for Y

3. Press "GRAPH"

4. If all intersection points are not visible, press "ZOOM" then 0 or select "0: ZoomFit"

5. Press "2nd" then "TRACE"

6. Press 5 or select "5: intersect"

7. Move the cursor to one of the intersection points. (There may be only one) Each of these points represents one solution to the system.

8. Press "ENTER" three times

9. The coordinates of the intersection are shown at the bottom of the screen. Repeat steps 5-8 for other solutions.

**TI-89 (Titanium):**

via Graphing:

1. Press the green "diamond key", located directly beneath the "2nd" (blue) button.

2. Follow steps 2-5 as listed above. To access "Y=" and "GRAPH", press the green "diamond key" , then press F1 (it activates the tertiary function, "Y=") and F3 ( "GRAPH"). To access "ZOOM" and "TRACE", press F2 and F3 (diamond function activated), respectively. For "ZoomFit", press F2, then "ALPHA" (white), then "=" (for A).

3. To locate the point of intersection, manually use the directional keypad (arrow keys), or press F5 for "Math", then 5 for "Intersection". (The second option is more difficult to use, however; manual searching and zooming is recommended.)

4. The coordinates are displayed on the bottom of the screen. Repeat steps 2 and 3 until all desired solutions have been found. For new or additional equations, return to the "Y=" as described above.

via Simultaneous Equation Solver:

**Note:**This is a default App on the TI-89 Titanium. If you are using the TI-89 or no longer have the Solver, visit the Texas Instruments site for a free download.

1. On the APPS screen, select "Simultaneous Equation Solver" and press enter. Press "3" when the next screen appears.

2. Enter the number of equations you wish to solve and the corresponding number of solutions.

3. The two equations are represented simultaneously in a 2 x 3 matrix (assuming that you are solving two equations and searching for two solutions. The size of the matrix depends on the number of equations you wanted to solve). In the corresponding boxes, enter the coefficients/constants of your equations, pressing "ENTER" every time you submit a value. (Remember that all equations must be converted into standard form - Ax + By = C - first!)

4. Once all values have been entered, press F5 to solve.