Two trains leave the station going in the same direction. One train leaves two hours before the other one. If the first train travels at an average speed of 65 mph and the second train travels at an average speed of 90 mph, then how long will it take the second train to catch up to the first train?

In this concept, you will learn to solve linear systems by graphing.

### Graphing Linear Systems

The solution for a system of two linear equations with two variables is an ordered pair that will make both equations true. If an ordered pair makes one of the linear equations true then the ordered pair represents a point on the line. If the same ordered pair makes the second linear equation true then the ordered pair represents a point on that line. If the same point is on the two lines, then the lines both pass through this same point. This means that the two lines will cross each other or intersect at this point.

A system of equations can have one solution, no solution or an infinite number of solutions.

#### Solve the following system of linear equations by graphing.

Notice that both equations are written in slope-intercept form .

First, write down the information given in each equation.

Next, graph each of the equations on the same Cartesian grid.

The two lines intersect at the point

.The solution is

.#### Solve the following system of linear equations by graphing.

Notice that both equations are written in slope-intercept form .

First, write down the information given in each equation.

The equations have the same slopes but different intercepts.

-Next, graph each of the equations on the same Cartesian grid.

The lines are parallel which means they will never intersect. There is no solution for this system of equations.

#### Solve the following system of linear equations by graphing.

First, write down the information given in each equation.

The second equation is a multiple of the first equation.

Next, graph each of the equations on the same Cartesian grid.

The lines coincide which means they are actually the graph of the same line. There are an infinite number of solutions for this system of equations.

### Examples

#### Example 1

Earlier, you were given a problem about the two trains that left the station at different times. The second train left two hours after the first train but was travelling at a greater speed than the first train. You need to figure out when the second train will catch up to the first train.

First, write a system of linear equations to represent the distance travelled by each of the trains. Remember that distance

is a function of the product of speed and time .

Next, graph the two equations on the same Cartesian grid.

The lines display an intersection point just past five hours. This means the two trains will catch up with each other at this point.

Solve the following system of linear equations by graphing:

Both equations are written in standard form

.First, write each equation in slope-intercept form and write down the value of the slope and the -intercept.

Then, graph both equations on the same Cartesian grid.

The two lines intersect at the point . The solution for this system of linear equations is:

Answer the following examples using True or False. If the answer is false, explain why.

#### Example 2

If two lines intersect at one point, then the coordinates of that point are the solution to the linear system.

The answer is true.

#### Example 3

If a system of linear equations is such that both equations have the same slope but different intercepts then there are an infinite number of solutions for the linear system.

-The answer is false.

If two equations have the same slope then the graph of the equations will display two parallel lines with different intercepts. Parallel lines will never intersect. There is no solution for this linear system.

-#### Example 4

If a system of linear equations is such that the two lines coincide then there is no solution for the linear system.

The answer is false.

If the graph of the linear system displays two lines that coincide then every ordered pair is on both lines and satisfy both equations. There is an infinite number of solutions for the linear system.

### Review

Graph the following systems of equations. Identify the solution or write no solution or infinitely many solutions, if appropriate.

1.

2.

3.

4.

5.

6.

7.

8.

9.

10.

11.

12.

Answer each question true or false.

13. Some linear systems do not have a solution.

14. Perpendicular lines have one solution.

15. Lines with the same slope and

-intercept have infinite solutions.### Review (Answers)

To see the Review answers, open this PDF file and look for section 9.14.