<< Chapter < Page Chapter >> Page >

Given m = 4 , find the equation of the line in slope-intercept form passing through the point ( 2 , 5 ) .

y = 4 x −3

Finding the equation of a line passing through two given points

Find the equation of the line passing through the points ( 3 , 4 ) and ( 0 , −3 ) . Write the final equation in slope-intercept form.

First, we calculate the slope using the slope formula and two points.

m = −3 4 0 3 = 7 3 = 7 3

Next, we use the point-slope formula with the slope of 7 3 , and either point. Let’s pick the point ( 3 , 4 ) for ( x 1 , y 1 ) .

y 4 = 7 3 ( x 3 ) y 4 = 7 3 x 7 Distribute the  7 3 . y = 7 3 x 3

In slope-intercept form, the equation is written as y = 7 3 x 3.

Standard form of a line

Another way that we can represent the equation of a line is in standard form . Standard form is given as

A x + B y = C

where A , B , and C are integers. The x- and y- terms are on one side of the equal sign and the constant term is on the other side.

Finding the equation of a line and writing it in standard form

Find the equation of the line with m = −6 and passing through the point ( 1 4 , −2 ) . Write the equation in standard form.

We begin using the point-slope formula.

y ( −2 ) = −6 ( x 1 4 ) y + 2 = −6 x + 3 2

From here, we multiply through by 2, as no fractions are permitted in standard form, and then move both variables to the left aside of the equal sign and move the constants to the right.

2 ( y + 2 ) = ( −6 x + 3 2 ) 2 2 y + 4 = −12 x + 3 12 x + 2 y = −1

This equation is now written in standard form.

Find the equation of the line in standard form with slope m = 1 3 and passing through the point ( 1 , 1 3 ) .

x + 3 y = 2

Vertical and horizontal lines

The equations of vertical and horizontal lines do not require any of the preceding formulas, although we can use the formulas to prove that the equations are correct. The equation of a vertical line    is given as

x = c

where c is a constant. The slope of a vertical line is undefined, and regardless of the y- value of any point on the line, the x- coordinate of the point will be c .

Suppose that we want to find the equation of a line containing the following points: ( −3 , −5 ) , ( −3 , 1 ) , ( −3 , 3 ) , and ( −3 , 5 ) . First, we will find the slope.

m = 5 3 3 ( −3 ) = 2 0

Zero in the denominator means that the slope is undefined and, therefore, we cannot use the point-slope formula. However, we can plot the points. Notice that all of the x- coordinates are the same and we find a vertical line through x = −3. See [link] .

The equation of a horizontal line    is given as

y = c

where c is a constant. The slope of a horizontal line is zero, and for any x- value of a point on the line, the y- coordinate will be c .

Suppose we want to find the equation of a line that contains the following set of points: ( −2 , −2 ) , ( 0 , −2 ) , ( 3 , −2 ) , and ( 5 , −2 ) . We can use the point-slope formula. First, we find the slope using any two points on the line.

m = −2 ( −2 ) 0 ( −2 ) = 0 2 = 0

Use any point for ( x 1 , y 1 ) in the formula, or use the y -intercept.

y ( −2 ) = 0 ( x 3 ) y + 2 = 0 y = −2

The graph is a horizontal line through y = −2. Notice that all of the y- coordinates are the same. See [link] .

Coordinate plane with the x-axis ranging from negative 7 to 4 and the y-axis ranging from negative 4 to 4.  The function y = negative 2 and the line x = negative 3 are plotted.
The line x = −3 is a vertical line. The line y = −2 is a horizontal line.

Finding the equation of a line passing through the given points

Find the equation of the line passing through the given points: ( 1 , −3 ) and ( 1 , 4 ) .

The x- coordinate of both points is 1. Therefore, we have a vertical line, x = 1.

Practice Key Terms 7

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Selected topics in algebra. OpenStax CNX. Sep 02, 2015 Download for free at http://legacy.cnx.org/content/col11877/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Selected topics in algebra' conversation and receive update notifications?

Ask