### Let’s Think About It

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.

### Guidance

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.

Let’s look at an example.

Solve the following system of linear equations by graphing.

\begin{align*}\begin{array}{rcl} y &=& 2x-4 \\ y &=& -2x+8 \end{array}\end{align*}

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

.Let’s look at another example.

Solve the following system of linear equations by graphing.

\begin{align*}\begin{array}{rcl} y &=& 3x-1 \\ y &=& 3x+2 \end{array}\end{align*}

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

First, write down the information given in each equation.

\begin{align*}\begin{array}{rcl} y &=& mx+b \\ y &=& 3x-1 \\ m &=& 3; b=-1 \end{array}\end{align*}

\begin{align*}\begin{array}{rcl} y &=& mx+b \\ y &=& 3x+2 \\ m &=& 3; b=2 \end{array}\end{align*}

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.

Let’s look at another example.

Solve the following system of linear equations by graphing.

\begin{align*}\begin{array}{rcl} y &=& - \frac{1}{4} x -1 \\ x+4y &=& -4 \end{array}\end{align*}

First, write down the information given in each equation.

\begin{align*}\begin{array}{rcl} y &=& mx+b \\ y &=& -\frac{1}{4}x-1 \\ m &=& -\frac{1}{4}; b=-1 \end{array}\end{align*}

\begin{align*}\begin{array}{rcl} x+4y &=& -4 \qquad \text{written in standard form} \ Ax+By=C \\ x- \text{intercept} &=& (-4,0) \\ y- \text{intercept} &=& (0,-1) \end{array}\end{align*}

The second equation is a multiple \begin{align*}(4)\end{align*} 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.

### Guided Practice

Solve the following system of linear equations by graphing:

\begin{align*}\begin{array}{rcl} 2x+3y &=& 4 \\ x-5y &=& -11 \end{array}\end{align*}

Both equations are written in standard form

.First, write each equation in slope-intercept form \begin{align*}y=mx+b\end{align*} and write down the value of the slope and the -intercept.

\begin{align*}\begin{array}{rcl} y &=& mx+b \\ y &=& -\frac{2}{3}x+\frac{4}{3} \\ m &=& -\frac{2}{3}; b=\frac{4}{3} \end{array}\end{align*}

Then, graph both equations on the same Cartesian grid.

The two lines intersect at the point \begin{align*}(-1,2)\end{align*}. The solution for this system of linear equations is:

\begin{align*}\dbinom{x}{y} = \dbinom{-1}{2}\end{align*}

### Examples

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

#### Example 1

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 2

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 3

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.

### Follow Up

Remember 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 .

\begin{align*}\begin{array}{rcl} d &=& st \\ \text{Train } 2 : d &=& 90t \end{array}\end{align*}

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.

### Video Review

https://www.youtube.com/watch?v=5a6zpfl50go

### Explore More

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.