Straight lines will be parallel if they have the same slope. There is no limit then to the number of lines with slope 2:

But there will be only one line with slope 2 that passes through a given point, such as (1, −3). In other words, a line will be determined by its slope and the coördinates of one point on it. How can we find the equation of that line?

Problem 1.To write the equation of a line given the slope and the coördinates of one point on it.

For example: Write the equation of the line with slope 2 that passes through the point (1, −3).

This is called the point-slope formula for the equation of a straight line. We can use the formula when we know the slope m of the line and one point (x1, y1) on it. However, many find the direct method to be simpler.

So, returning to our example, we are given that m = 2 and that

(x1, y1)

=

(1, −3).

Therefore, according to the point-slope formula:

y − (−3)x − 1

=

2.

We must solve this for y:

y + 3

=

2(x − 1)

=

2x − 2.

This implies

y

=

2x − 5.

This is the equation of the line.

Problem 2.To find the equation of a line given the coördinates of two points on it.

For example: Write the equation of the line that passes through the points (1, 5) and (4, 17).

Solution 1. The direct method. The only difference between this problem and the previous one is that, here, we must calculate the slope. We did that for those two points in Problem 3a. We found the slope to be 4. The equation, then, will look like this:

y = 4x + b

Again, we must find b by letting one of the given points solve the equation. Let (1, 5) satisfy it:

Let (x1, y1) and (x2, y2) be two given points, and let (x, y) be any point on the line. Then the slope joining one of the given points and any point, is equal to the slope joining the two given points, because a line has one and only one slope.

This is called the two-point formula for the equation of a straight line. We can use it to determine the equation when we know two points. We may choose (x1, y1) to be either one of them.

Thus, in our example, we are given the two points (1, 5) and (4, 17). Let (x1, y1>) be (1, 5). Then according to the two-point formula:

y − 5x − 1

=

17 − 5 4 − 1

That is,

y − 5x − 1

=

12 3

=

4

y − 5

=

4(x − 1)

=

4x − 4

This implies

y

=

4x + 1.

This is the equation of the line.

Problem 12.

a)

Write the slope-intercept form of the equation of the line with slope 3, and which passes through the point (1, −4). Use the direct method.

To see the answer, pass your mouse over the colored area. To cover the answer again, click "Refresh" ("Reload").Do the problem yourself first!

The equation will have the form

y = ax + b,

where a is the slope of the line.

We are given that a = 3. Therefore, the equation is

y = 3x + b.

Now we must determine b.

We are given that (1, −4) is a point on the line. Those
coördinates, then, solve the equation:

−4 = 3· 1 + b

This implies

b = −7.

The equation of the line is

y = 3x − 7.

b)

Write the slope-intercept form of the equation of the line with slope
−1, and which passes through the point (−8, −2). Use the point-slope formula.

We are given that m = −1 and that

(x1, y1)

=

(−8, −2).

Therefore, according to the point-slope formula:

y − (−2)x − (−8)

=

−1

We must solve this for y:

y + 2

=

−1(x + 8)

=

−x − 8

This implies:

y

=

−x − 10.

This is the equation of the line.

Problem 13. Write the equation of the line that passes through (1, −6) and (−1, 2). Use the two-point formula. Let (x1, y1) = (1, −6).