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

##### Equations of Horizontal and Vertical Lines

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

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

$3x + 2y - 8 & = 0\\3x {\color{red}-3x} + 2y - 8 & = 0 {\color{red}-3x}\\2y - 8 & = -3x\\2y - 8 {\color{red}+8} & = -3x {\color{red}+8}\\2y & = -3x + 8\\\frac{2y}{{\color{red}2}} & = \frac{-3x}{{\color{red}2}} + \frac{8}{{\color{red}2}}\\& \boxed{y = \frac{-3}{2}x + 4}$

The equation has been solved for $y$ and is now in the form $y=mx+b$ . You can now see that the slope of the line is $m = -\frac{3}{2}$ . 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)$ and $B (8, 2)$ .

Solution:

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

$\begin{pmatrix} x_1, & y_1 \\ 3, & 4 \end{pmatrix} \qquad \begin{pmatrix} x_2, & y_2 \\ 8, & 2 \end{pmatrix}$

$m & = \frac{y_2 - y_1}{x_2 - x_1}\\m & = \frac{2 - 4}{8 - 3}\\m & = -\frac{2}{5}$

Next, determine the $y$ -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 $x$ and $y$ (it doesn't matter which point you use).

$y & = mx + b \\({\color{red}4}) & = \left ( {\color{red}-\frac{2}{5}} \right )({\color{red}3}) + b && \text{Use one of the given points for } (x, y) \text{ and } \left( -\frac{2}{5} \right ) \text{ for } m'.\\4 & = -\frac{6}{5} + b && \text{Solve for } b'.\\4 + \frac{6}{5} & = - \frac{6}{5} + \frac{6}{5} + b\\4 + \frac{6}{5} & = b && \text{To add these numbers, a common denominator is necessary.}\\\left ( \frac{4}{1} \right ) \left ( \frac{5}{5} \right ) + \frac{6}{5} & = b\\\frac{20}{5} + \frac{6}{5} & = b\\\frac{26}{5} & = b && \text{The } y \text{-intercept is } \left ( 0, \frac{26}{5} \right )$

The equation for the line is $\boxed{y = - \frac{2}{5} x + \frac{26}{5}}$

#### Example B

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

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

Solution:

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

(b) A line that is parallel to the $y$ -axis will always have the equation $x=c$ , where $c$ is the $x-$ coordinate of the point through which the line passes. Therefore, the equation of this line is $\boxed{x = 3}$ .

#### Example C

Write the equation of the line that passes through the point (-2, 5) and has the same $y$ -intercept as: $-3x +6y +18 = 0$ .

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.

$-3x + 6y + 18 & = 0 && \text{is written in standard form. To determine}\\& && \text{the } y \text{-intercept, solve for }y'\\-3x + 3x + 6y + 18 - 18 & = 3x-18\\6y & = 3x-18\\\frac{6y}{6} & = \frac{3}{6}x-\frac{18}{6}\\y & = \frac{1}{2}x-3\\$

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

$y & = mx + b && \text{Fill in } -3 \text{ for }b' \text{ and } (x, y) = (-2, 5)\\({\color{red}5}) & = m({\color{red}-2}) + ({\color{red}-3})\\5 & = -2{\color{red}m} - 3 && \text{Solve for } m'.\\5 + 3 & = -2m - 3 + 3\\8 & = - 2m\\\frac{8}{-2} & = \frac{-2m}{-2}\\-4 & = m$

$\boxed{y = -4x-3}$ is the equation of the line.

#### Concept Problem Revisited

Write the equation of the line that has the same slope as $3x+2y-8=0$ and passes through the point (-6, 7).

To determine the slope of $3x+2y-8=0$ , solve the equation for ‘ $y$ ’.

$3x + 2y - 8 & = 0\\3x {\color{red}-3x} + 2y - 8 & = 0 {\color{red}-3x}\\2y - 8 & = -3x\\2y - 8 {\color{red}+8} & = -3x {\color{red}+8}\\2y & = -3x + 8\\\frac{2y}{{\color{red}2}} & = \frac{-3x}{{\color{red}2}} + \frac{8}{{\color{red}2}}\\& \boxed{y = \frac{-3}{2}x + 4}$

The equation is now in the form $y=mx+b$ . The slope of the line is $m = -\frac{3}{2}$ . 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 $y$ -axis at the point (0, -2). This is the $y$ -intercept of the graph. The equation for the line has a slope of $-\frac{3}{2}$ and a $y$ -intercept of -2.

The equation of the line is $\boxed{y = -\frac{3}{2}x-2}$

### Vocabulary

Slope – Intercept Form
The slope-intercept form is one method for writing the equation of a line. The slope-intercept form is $y = mx + b$ where $m$ refers to the slope and $b$ identifies the $y$ -intercept.
Standard Form
The standard form is another method for writing the equation of a line. The standard form is $Ax + By + C = 0$ where $A$ is the coefficient of $x$ , $B$ is the coefficient of $y$ and $C$ 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 $y$ -axis.

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

$m & = \frac{y_2 - y_1}{x_2 - x_1}\\m & = \frac{0-6}{8 -- 2}\\m & = \frac{0-6}{8+2}\\m & = -\frac{6}{10}\\m&=-\frac{3}{5}$
Use the slope and one of the points to determine the $y$ -intercept.

$y & = mx + b\\({\color{red}0}) & = \left ( {\color{red}-\frac{3}{5}} \right ) ({\color{red}8}) + b && \text{Use one of the given points for } (x, y) \text{ and } \left ( -\frac{3}{5} \right ) \text{ for } m'.\\0 & = -\frac{24}{5} + b && \text{Solve for }b'.\\0 + \frac{24}{5} & = -\frac{24}{5} + \frac{24}{5} + b\\\frac{24}{5} & = b$

The equation for the line in slope-intercept form is $\boxed{y =-\frac{3}{5}x + \frac{24}{5}}$ . To express the equation in standard form, multiply each term by 5 and set the equation equal to zero.
$y & = -\frac{3}{5}x + \frac{24}{5}\\{\color{red}5}(y) & = {\color{red}5} \left ( -\frac{3}{5}x \right ) + {\color{red}5} \left ( \frac{24}{5} \right ) \\{\color{red}5}(y) & = {\color{red}\cancel{5}} \left ( -\frac{3}{\cancel{5}}x \right ) + {\color{red}\cancel{5}} \left ( \frac{24}{\cancel{5}} \right ) \\5y & = -3x + 24 && \text{Apply the zero principle to move } -3x \text{ to the left side of the equation.}\\5y {\color{red}+3x} & = - 3x {\color{red}+3x} + 24\\5y {\color{red}+3x} & = 24\\5y + 3x {\color{red}-24} & = 24 {\color{red}-24}\\5y + 3x - 24 & = {\color{red}0}$
$\boxed{3x+5y-24=0}$

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 $m = \frac{\text{rise}}{\text{run}}$ .

$m & = \frac{\text{rise}}{\text{run}}\\m & = \frac{10}{30}\\m & = \frac{1}{3}$
Now, use the slope and one of the points to calculate the $y$ -intercept of the line.
$y&=mx+b && m=\frac{1}{3} \ and \begin{pmatrix} x, & y\\ 20, & 2 \end{pmatrix}\\{\color{red}2} & = {\color{red}\frac{1}{3}(20)} + b\\2 & = \frac{20}{3} + b && \text{Solve for } b'.\\2 - \frac{20}{3} & = \frac{20}{3} - \frac{20}{3} + b\\2 - \frac{20}{3} & = b && \text{A common denominator is needed.}\\{\color{red}\left(\frac{3}{3}\right)} \frac{2}{1} - \frac{20}{3} & = b\\\frac{6}{3} - \frac{20}{3} & = b\\-\frac{14}{3} & = b$
The equation of the line in slope-intercept form is $\boxed{y = \frac{1}{3}x - \frac{14}{3}}$ . 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 $\boxed{x-3y-14=0}$ .

3. Begin by sketching the graph of the line.

A line that is perpendicular to the $y$ -axis is parallel to the $x$ -axis. The slope of such a line is zero. The equation of this line is $\boxed{y = 7}$

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

## Date Created:

Dec 19, 2012

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.