<img src="https://d5nxst8fruw4z.cloudfront.net/atrk.gif?account=iA1Pi1a8Dy00ym" style="display:none" height="1" width="1" alt="" />
You are viewing an older version of this Concept. Go to the latest version.

# Write an Equation Given Two Points

## Compose linear functions given two points

%
Progress
Progress
%
Equations of Lines from Two Points

Write the equation of the line that has the same slope as and passes through the point (–6, 7).

### Guidance

##### Equations of Lines in Slope-Intercept Form

You can always find the equation of a line if you know its slope () and -intercept (). You can then write the equation of the line in slope-intercept form:

Always remember that as long as you know the slope and the y-intercept, you can write the equation of the line. Sometimes you will have to do some work to determine either the slope or the y-intercept, as will be shown in the examples.

In the above graph, the line crosses the -axis at the point (0, 2). This is the -intercept of the line, so . The slope is . Now that you know the values for and , you can write the equation of the line:

##### Equations of Horizontal and Vertical Lines

A line that is parallel to the -axis (a horizontal line) will always have the equation , where is the coordinate of the point through which the line passes.

A line that is parallel to the -axis (a vertical line) will always have the equation , where is the coordinate of the point through which the line passes.

##### Equations of Lines in Standard Form

The equation of a line can also be written in another form that is known as standard form. Standard form is . You can rewrite the equation of a line given in standard form as an equation in slope-intercept form by solving for . This will allow you to determine the slope and y-intercept of the line. For example, can you rewrite the equation in slope-intercept form?

The equation has been solved for and is now in the form . You can now see that the slope of the line is .

Occasionally you will be given the equation of a line given in slope-intercept form and want to rewrite this equation in standard form. To do this, multiply all terms by the denominators of any fractions to get rid of the fractions and then move all variables and constants to one side of the equation in order to set it equal to 0.

#### Example A

Write the equation for the line that passes through the points and .

Solution: Remember that to find the equation you need to figure out the slope () and the y-intercept (). First, determine the slope of the line:

Next, determine the -intercept of the line. This can be done using the slope-intercept form for the equation of the line by substituting one of the given points for and (it doesn't matter which point you use).

The equation for the line is

#### Example B

(a) Write the equation of the line passing through the point (6, –4) and parallel to the -axis.

(b) Write the equation of the line passing through the point (3, –2) and parallel to the -axis.

Solution:

(a) A line that is parallel to the -axis will always have the equation , where is the coordinate of the point through which the line passes. Therefore, the equation of this line is .

(b) A line that is parallel to the -axis will always have the equation , where is the coordinate of the point through which the line passes. Therefore, the equation of this line is .

#### Example C

Write the equation of the line that passes through the point (–2, 5) and has the same -intercept as: .

Solution: In order to find the equation of any line, you can figure out the slope and the intercept. First, find the y-intercept.

You can see now that . The line also passes through the point (–2, 5). You can use this point along with the y-intercept to help find the slope.

is the equation of the line.

#### Concept Problem Revisited

To determine the slope of , solve the equation for ‘’.

The equation is now in the form . The slope of the line is . The line can now be sketched on the Cartesian grid.

The point (–6, 7) was plotted first and then the slope was applied – run two units to the right and then move downwards three units. The line crosses the -axis at the point (0, –2). This is the -intercept of the graph. The equation for the line has a slope of and a -intercept of –2.

The equation of the line is .

### Vocabulary

Slope – Intercept Form
The slope-intercept form is one method for writing the equation of a line. The slope-intercept form is where refers to the slope and identifies the -intercept.
Standard Form
The standard form is another method for writing the equation of a line. The standard form is where is the coefficient of , is the coefficient of and is a constant.

### Guided Practice

Write the equation for each of the lines graphed below in slope-intercept form and in standard form.

1.

2.

3. Write the equation for the line that passes through the point (–4, 7) and is perpendicular of the -axis.

1. Two points on the graph are (–2, 6) and (8, 0). First use the formula to determine the slope of this line.

Use the slope and one of the points to determine the -intercept.

The equation for the line in slope-intercept form is . To express the equation in standard form, multiply each term by 5 and set the equation equal to zero.

2. Two exact points on the graph are (–10, –8) and (20, 2). The slope of the line can be calculated by counting to determine the value of .

Now, use the slope and one of the points to calculate the -intercept of the line.
The equation of the line in slope-intercept form is . Multiply the equation by 3 and set the equation equal to zero to write the equation in standard form. The equation of the line in standard form is .

3. Begin by sketching the graph of the line.

A line that is perpendicular to the -axis is parallel to the -axis. The slope of such a line is zero. The equation of this line is

### Practice

For each of the following graphs, write the equation of the line in slope-intercept form.

1. .

1. .

1. .

1. .

1. .

Determine the equation of the line that passes through the following pairs of points:

1. (–3, 1) and (–3, –7)
2. (–5, –5) and (10, –5)
3. (–8, 4) and (2, –6)
4. (14, 8) and (4, 4)
5. (0, 5) and (4, –3)
6. (4, 7) and (2, –5)

For each of the following real world problems, write the linear equation in standard form that would best model the problem.

1. The cost of operating a car for one month depends upon the number of miles you drive. According to a recent survey completed by drivers of midsize cars, it costs $124/month if you drive 320 miles/month and$164/month if you drive 600 miles/month.
1. Designate two data values for this problem. State the dependent and independent variables.
2. Write an equation to model the situation. What do the numbers in the equation represent?
2. A Glace Bay developer has produced a new handheld computer called the Blueberry. He sold 10 computers in one location for $1950 and 15 in another for$2850. The number of computers and the cost forms a linear relationship.
1. Designate two data values for this problem. State the dependent and independent variables.
2. Write an equation to model the situation. What do the numbers in the equation represent?
3. Shop Rite sells a one-quart carton of milk for $1.65 and a two-quart carton for$2.95. Assume there is a linear relationship between the volume of milk and the price.
1. Designate two data values for this problem. State the dependent and independent variables.
2. Write an equation to model the situation. What do the numbers in the equation represent?
4. Some college students who plan on becoming math teachers decide to set up a tutoring service for high school math students. One student was charged $25 for 3 hours of tutoring. Another student was charged$55 for 7 hours of tutoring. The relationship between the cost and time is linear.
1. Designate two data values for this problem. State the dependent and independent variables.
2. Write an equation to model the situation. What do the numbers in the equation represent?