# 4.5: Determining the Equation of a Line from the Graph

## The Equation of the Line

**Introduction**

In this lesson you will learn how to determine the equation of a line from a graph by counting. The intercept will be located first and then the denominator of the slope will be determined by counting to the right until you are above or below the second point. The numerator of the slope will be determined by next counting upward or downward to this second point. To determine these values form a given graph, the points must be exact points on the graph.

You will also learn to algebraically determine the equation of a line by using the coordinates of two points on the graph. These two points will be used to calculate the slope of the line by counting. The intercept will then be determined algebraically.

**Objectives**

The lesson objectives for Determining the Equation of a Line from the Graph are:

- Understanding the process of locating the intercept on a graph
- Counting from the intercept to a second point to determine the equation of the line.
- Using two points on the graph of the line to determine the slope of the line by counting and using the slope and one point to algebraically calculate the value of the intercept.

**Introduction**

In previous lessons you learned how to determine the slope of a line by counting between two exact points on the graph. In this lesson, you will use the intercept and one other point on the graph as the exact points.

The intercept of the graph is (0, –5). From the slope and counting to the right, the run of the graph is four units to the right. The rise to the second point is upward three units. The slope of the line is . The equation of the line in slope-intercept form is

**Watch This**

Khan Academy Slope and y-Intercept Intuition

**Guidance**

The equation for the graph of a linear function can be determined from the graph by counting. The equation can then be readily written in slope-intercept form.

**Example A**

Determine the equation of the following graph. Write the equation in slope-intercept form.

The intercept is (0, 4). The slope has a run of five units to the right and a rise of 2 units downward. The slope of the line is . The equation of the line in slope-intercept form is

**Example B**

Determine the equation, in slope-intercept form of the line shown on the following graph:

The intercept is not an exact point on this graph. The value of fractions on a Cartesian grid can only be estimated. Therefore, the points (3, –1) and (9, –6) will be used to determine the slope of the line. The slope of the line is six units to the right and five units downward. The slope is . The slope and one of the points will be used to algebraically calculate the intercept of the line.

The equation in slope-intercept form is

**Example C**

Determine the equation, in standard form, for the line on the following graph:

The intercept is not an exact point on this graph. Therefore, the points (4, 0) and (–1, –3) will be used to determine the slope of the line. The slope of the line is five units to the right and three units upward. The slope is . The slope and one of the points will be used to algebraically calculate the equation of the line in standard form.

The equation of the line in standard form is

**Guided Practice**

1. Write the equation, in slope-intercept form, of the following graph:

2. Write the equation, in slope-intercept form, of the following graph:

3. Write the equation, in standard form, of the following graph:

**Answers**

1. The first step is to determine the coordinates of the intercept.

The intercept is (0, –3).

The second step is to count to determine the value of the slope. The slope is 7 units to the right and 4 units upward. The slope of the line is . The equation of the line in slope-intercept form is

2. The intercept is not an exact point on the graph. Therefore begin by determining the slope of the line by counting between two points on the line.

The coordinates of two points on the line are (1, 0) and (6, –4).

The slope is 5 units to the right and 4 units downward. The slope of the line is . The intercept of the line must be calculated by using the slope and one of the points on the line.

The equation of the line in slope-intercept form is

3. The first step is to determine the slope of the line.

The slope of the line is 4 units to the right and 3 units upward. The slope of the line is .

The coordinates of one point on the line are (2, 5).

The equation of the line in standard form is

**Summary**

In this lesson you have learned that the equation of a linear graph can be determined by counting from the intercept to determine the slope of the line. The values of both the intercept and of the slope can be filled into the equation to write the equation in slope-intercept form. If the intercept of the line is not an exact point, two other points from the graph can be used to determine the slope of the line. The slope of the line can be found by counting. The value of the intercept can then be calculated algebraically. The equation of the line can be written in slope-intercept form using

You have also learned that to write the equation of a line in standard form, the value of the intercept is not needed. The slope can be determined by counting. The value of the slope and the coordinates of one other point on the line are used in the function to write the equation in standard form.

**Problem Set**

**For each of the following graphs, write the equation in slope-intercept form:**

**For each of the following graphs, write the equation in slope-intercept form:**

**For each of the following graphs, write the equation standard form:**

**Answers**

**For each of the following graphs...**

- The intercept is (0, 5). Another point on the line is (1, 2). The value of the slope is 1 unit to the right and 3 units downward. The value of the slope is . The equation of the line in slope-intercept form is

- The intercept is (0, –3). Another point on the line is (4, 2). The value of the slope is 4 units to the right and 5 units upward. The value of the slope is . The equation of the line in slope-intercept form is

**For each of the following graphs...**

- The intercept is not an exact point. Two points on the line are (–2, –1) and (6, 1). The value of the slope is 8 units to the right and two units upward. The value of the slope is . The intercept is:

The equation of the line in slope-intercept form is

- The intercept is not an exact point. Two points on the line are (–1, 1) and (2, –1). The value of the slope is 3 units to the right and two units downward. The value of the slope is . The intercept is:

The equation of the line in slope-intercept form is

**For each of the following graphs...**

- The intercept is (0, –4). One point on the line is (2, 6). The slope is 2 units to the right and 10 units upward. The value of the slope is .

The equation of the line in standard form is

- Two points on the line are (–3, –4) and (8, 6). The slope is 11 units to the right and 10 units upward. The slope is .

The equation of the line in standard form is