<meta http-equiv="refresh" content="1; url=/nojavascript/">
You are reading an older version of this FlexBook® textbook: CK-12 Algebra I Concepts - Honors Go to the latest version.

4.3: Equations of Lines from Two Points

Difficulty Level: At Grade Created by: CK-12

Write the equation of the line that has the same slope as 3x+2y8=0\begin{align*}3x+2y-8=0\end{align*} and passes through the point (-6, 7).

Guidance

Equations of Lines in Slope-Intercept Form

In order to find the equation of a line, you must know its slope (m\begin{align*}m\end{align*}) and y\begin{align*}y\end{align*}-intercept (b\begin{align*}b\end{align*}). You can then write the equation of the line in slope-intercept form:

y=mx+b

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 y\begin{align*}y\end{align*}-axis at the point (0, 2). This is the y\begin{align*}y\end{align*}-intercept of the line, so b=2\begin{align*}b=2\end{align*}. The slope is m=riserun=31=3\begin{align*}m = \frac{\text{rise}}{\text{run}}=\frac{3}{1}=3\end{align*}. Now that you know the values for m\begin{align*}m\end{align*} and b\begin{align*}b\end{align*}, you can write the equation of the line:

y=3x+2.

Equations of Horizontal and Vertical Lines

A line that is parallel to the x\begin{align*}x\end{align*}-axis (a horizontal line) will always have the equation y=a\begin{align*}y=a\end{align*}, where a\begin{align*}a\end{align*} is the y\begin{align*}y-\end{align*}coordinate of the point through which the line passes.

A line that is parallel to the y\begin{align*}y\end{align*}-axis w (a vertical line) will always have the equation x=c\begin{align*}x=c\end{align*}, where c\begin{align*}c\end{align*} is the x\begin{align*}x-\end{align*}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 Ax+By+C=0\begin{align*}Ax + By + C = 0\end{align*}. You can rewrite the equation of a line given in standard form to an equation in slope-intercept form by solving for y\begin{align*}y\end{align*}. This will allow you to determine the slope and y-intercept of the line. For example, can you rewrite the equation 3x+2y8=0\begin{align*}3x+2y-8=0\end{align*} in slope-intercept form?

3x+2y83x3x+2y82y82y8+82y2y2=0=03x=3x=3x+8=3x+8=3x2+82y=32x+4

The equation has been solved for y\begin{align*}y\end{align*} and is now in the form y=mx+b\begin{align*}y=mx+b\end{align*}. You can now see that the slope of the line is m=32\begin{align*}m = -\frac{3}{2}\end{align*}. At this point you could also sketch the graph of the line:

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 A(3,4)\begin{align*}A (3, 4)\end{align*} and B(8,2)\begin{align*}B (8, 2)\end{align*}.

Solution:

Remember that to find the equation you need to figure out the slope (m\begin{align*}m\end{align*}) and the y-intercept (b\begin{align*}b\end{align*}). First, determine the slope of the line:

Next, determine the \begin{align*}y\end{align*}-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 \begin{align*}x\end{align*} and \begin{align*}y\end{align*} (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 \begin{align*}x\end{align*}-axis.

(b) Write the equation of the line passing through the point (3, -2) and parallel to the \begin{align*}y\end{align*}-axis.

Solution:

(a) A line that is parallel to the \begin{align*}x\end{align*}-axis will always have the equation \begin{align*}y=a\end{align*}, where \begin{align*}a\end{align*} is the \begin{align*}y-\end{align*}coordinate of the point through which the line passes. Therefore, the equation of this line is

.

(b) A line that is parallel to the \begin{align*}y\end{align*}-axis will always have the equation \begin{align*}x=c\end{align*}, where \begin{align*}c\end{align*} is the \begin{align*}x-\end{align*}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 \begin{align*}y\end{align*}-intercept as: \begin{align*}-3x +6y +18 = 0\end{align*}.

Solution:

In order to find the equation of any line, we need to figure out the slope and the intercept. First, find the y-intercept.

You can see now that \begin{align*}b=-3\end{align*}. 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

Write the equation of the line that has the same slope as \begin{align*}3x+2y-8=0\end{align*} and passes through the point (-6, 7).

To determine the slope of \begin{align*}3x+2y-8=0\end{align*}, solve the equation for ‘\begin{align*}y\end{align*}’.

The equation is now in the form \begin{align*}y=mx+b\end{align*}. The slope of the line is \begin{align*}m = -\frac{3}{2}\end{align*}. 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 \begin{align*}y\end{align*}-axis at the point (0, -2). This is the \begin{align*}y\end{align*}-intercept of the graph. The equation for the line has a slope of \begin{align*}-\frac{3}{2}\end{align*} and a \begin{align*}y\end{align*}-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 \begin{align*}y = mx + b\end{align*} where \begin{align*}m\end{align*} refers to the slope and \begin{align*}b\end{align*} identifies the \begin{align*}y\end{align*}-intercept.
Standard Form
The standard form is another method for writing the equation of a line. The standard form is \begin{align*}Ax + By + C = 0\end{align*} where \begin{align*}A\end{align*} is the coefficient of \begin{align*}x\end{align*}, \begin{align*}B\end{align*} is the coefficient of \begin{align*}y\end{align*} and \begin{align*}C\end{align*} 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 \begin{align*}y\end{align*}-axis.

Answers:

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 \begin{align*}y\end{align*}-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 \begin{align*}m = \frac{\text{rise}}{\text{run}}\end{align*}.

Now, use the slope and one of the points to calculate the \begin{align*}y\end{align*}-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 \begin{align*}y\end{align*}-axis is parallel to the \begin{align*}x\end{align*}-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.

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)

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 mid size 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.
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.
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.
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.

At Grade

Dec 19, 2012

Last Modified:

Apr 29, 2014
You can only attach files to Modality which belong to you
If you would like to associate files with this Modality, please make a copy first.

Reviews

Please wait...
Please wait...
Image Detail
Sizes: Medium | Original