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

### Equations of Lines from Graphs

You can determine the equation of a line from a graph by counting and performing small calculations. One strategy is to find the y-intercept () first and then a second point on the line. Then, you can use the y-intercept and second point to determine the slope () and finally write the equation in **slope-intercept form**: .

For example, the -intercept of the graph above is (0, –5). The slope of the line is . The equation of the line in slope-intercept form is

If you cannot determine the y-intercept because it does not lie on a precise point, you can algebraically determine the equation of the line by using the coordinates of two point on the graph. You can use these two points to calculate the slope of the line either by counting or algebraically. Then, you can plug one of the points into the slope-intercept equation and solve for the y-intercept algebraically.

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 or algebraically. The value of the slope and the coordinates of one other point on the line are used in the function This equation is then set equal to 0 to write the equation in standard form.

#### Let's find the equation of the line for each of the following graphs:

The -intercept is (0, 4) so . 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 so

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

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

### Examples

#### Example 1

Earlier, you were asked to write the equation, in standard form, of the following graph:

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

- 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

#### Example 2

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

The first step is to determine the coordinates of the -intercept. The -intercept is (0, –3) so . The second step is to count to determine the value of the slope. Another point on the line is so the slope is . The equation of the line in slope-intercept form is

#### Example 3

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

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

#### Example 4

Rewrite the equation of the line from Example 3 in standard form.

To rewrite the equation in standard form, first multiply the equation by 5 to get rid of the fractions. Then, set the equation equal to 0.

### Review

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:

- .

- .

- .

- .

- Can you always find the equation of a line from its graph?
- How do you find the equation of a vertical line? What about a horizontal line?
- Rewrite the equation in standard form.
- Rewrite the equation in standard form.
- Rewrite the equation in standard form.

### Review (Answers)

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