While it’s better if you know how to find the slope of a line, it’s okay if you don’t. I’ll try to include the steps when we get to the examples.
In this tutorial, we’ll look at an important concept – parallel and perpendicular lines, in the context of analytic geometry (or coordinate geometry).
So let’s get started.
Two lines are said to be parallel if they are in the same plane and never intersect. They always remain at the same distance from one another.
Two lines are said to be perpendicular if they intersect at right angles (90o).
In analytic geometry, we often track the angles using the slopes of the involved lines. So it’s only natural that we use slopes (generally denoted by the letter m) when working with parallel and perpendicular lines too.
While it’s better if you know how to find the slope of a line, it’s okay if you don’t. I’ll try to include the steps when we get to the examples.
Lines parallel to one another have the same slope.
If two lines are perpendicular to one another, the product of their slopes equals -1.
Alright, let’s use what we have learned so far to solve some example problems involving parallel and perpendicular lines.
Are the lines AB and PQ parallel or perpendicular to each other?
Solution (i)
The question gives us two points on each line. So we will need to use the following formula for slope.
Here and are two points on a line.
So the slope of the line AB would be
And the slope of PQ would be
It looks a little hairy but simplifying it, we have
Clearly, the two slopes are equal. So the lines must be parallel.
Solution (ii)
Again, using the same formula to find the slope of AB –
Next, for PQ, we have
In this case, the two slopes are not equal. So let’s multiply them and see what we get.
The product of the slopes is -1. So the lines AB and PQ are perpendicular to each other.
Are the following pairs of lines parallel or perpendicular?
Are the following pairs of lines parallel or perpendicular?
Solution (i)
Again, first, we need to find the slopes of the two lines. But this time, the question gives us the lines’ equations instead of points on them.
So we need a different approach. We need to make sure it’s in the slope-intercept form (shown below) and take the x-coefficient.
Slope-intercept form
In this example, both the equations are already in the slope-intercept form. So, we don’t need to do anything to transform them.
Okay, so if is the slope of the first line,
Similarly, for the second line
We can see that
And so the two lines are parallel.
Solution (ii)
Again, we follow the same steps. Here’s the slope for the first line.
And now for the second line.
This time, clearly,
Also,
So, the lines are neither parallel nor perpendicular.
Solution (iii)
Unlike the previous examples, for this one, the equations given to us are not in their slope-intercept forms. So first, we need to do some rearranging so we have them in the required form.
Here’s the first equation.
Let’s add to both sides, so we have alone on the left side.
And now we have the equation in the slope-intercept form. The coefficient of x is 1. So,
Similarly, for the second equation –
Okay, we have isolated y on the left side but it’s coefficient isn’t 1. So let’s divide the whole equation by 3.
Here, the coefficient of x is -1. So
We can see that the product of the two slopes is -1.
Hence, the given lines are perpendicular to each other.
Sometimes, instead of checking whether two lines are parallel or perpendicular, we need to find a line that is parallel/perpendicular to a certain line (in addition to satisfying some other condition).
Let’s do a couple of examples involving such cases.
Find the equation of the line that passes through the point and is parallel to the line .
Solution
We know that if the two lines are to be parallel, their slopes must be equal.
But what is the slope of the given line? Well, the given equation is in the slope-intercept form. So the x-coefficient gives us the slope.
That means the slope of the required line must also be 3.
Next, the question tells us that the line passes through the point (-3, -1). Now, the equation of a line with slope m and passing through the point (x1, y1) is –
Substituting the values for the required line in the above equation, we have
And that’s the answer.
Find the equation of the line that is perpendicular to the line 2x – 5y = 7, and passes through the origin.
Solution
Here again, the first step is the find the slope of the given line (let’s call it m’). And for that, we will start by transforming the given equation into the slope-intercept form.
So, the slope would be
Now we are in a position to find the slope of the required line. Let’s call it m. And remember because the two lines (given and required) are perpendicular, the product of their slopes must be -1.
Great! Now we know the slope of our line. And we know it passes through the origin, meaning (0,0).
So, again, using the equation of a line in point-slope form, we have
Things get a little tricky when we are dealing with horizontal or vertical lines.
The slope of a horizontal line is 0 and so you can’t divide by it. And the slope of a vertical line is undefined, and hence has its own issues.
So here are a few ideas that can help. But before anything else, the basics.
The equation of a horizontal line – a line parallel to the – is always of the form , where is some constant (it’s the distance of the line from the ).
The equation of a vertical line – a line parallel to the – is always of the form , where is some constant (it’s the distance of the line from the ).
Now, a few points to keep in mind.
Find the equation of the line that passes through the point and is perpendicular to the line .
Solution
Here, the line given to us is . So, a vertical line – is constant.
Now, since the required line is to be perpendicular to the given line, it must be a horizontal line. So, our line will be of the form .
All we need to do now is figure out what “ ” is. It’s the -coordinate of every point of our new line. So if we can get the -coordinate of one point on the line, we would know what “ ” is. Following so far?
Now, the question tells us that the line passes through the point . So we know the y-coordinate of one point on the line, . That means .
Hence, the required line is .
Having the same slope does not necessarily mean there are two different and parallel lines. It could also be that those are equations of the same line, even though they look different.
For example, look at these two equations (standard form equations of a line).
They look different and each of them gives the same slope. So you might conclude that they are equations of parallel lines.
However, in reality, they represent the same line (or coincident lines) and not two parallel lines.
So how can we tell if two lines are coincident?
If corresponding coefficients (x-coefficients, y-coefficients, and the constants) in the two equations are in proportion, the lines are coincident. Otherwise, they aren’t.
If we test the two equations in our example above. First, let me rewrite the equations with corresponding coefficients in the same color.
Next, we can divide the coefficients in one equation by the coefficients in the other to see if the ratios are equal (and hence the coefficients are in proportion).
Clearly, they are in proportion. That means the equations represent coincident lines.
And with that, we come to the end of this tutorial on parallel and perpendicular lines. Until next time.
We use cookies to provide and improve our services. By using the site you agree to our use of cookies. Learn more