Question
Question: What is the slope of the line \(x=-2?\)...
What is the slope of the line x=−2?
Solution
We know that the slope of a line determines the steepness of the line. If (x1,y1) and (x2,y2) are two points through which the line of discussion passes then the slope of the line can be found by x2−x1y2−y1.
Complete step by step answer:
Let us consider the given line x=−2.
We are asked to find the slope of the given line.
We can clearly say that the given line is a vertical line that makes an angle of 90∘ with the x−axis.
We can say that this line makes the x− coordinates of the points fixed for the line is vertical and the value is x=−2.
We learn that whatever be the value of y− coordinate, the value of x−coordinate remains the same.
Let us suppose that (x1,y1) and (x2,y2) are two points through which the given line passes.
Then, we can write the points as (−2,y1) and (−2,y2).
We know that the slope of a line can be found by using the formula given by x2−x1y2−y1.
Let us substitute the values and find what we obtain.
So, we will get −2+2y2−y1.
From this, we will get 0y2−y1.
So, we have obtained a fraction with the denominator equal to zero.
We know that when the denominator is zero, the fraction or quotient is said to be undefined.
Hence, we can conclude that the slope of the given vertical line is undefined.
Note: From what we have obtained, we can generalize the fact that the slope of the given vertical line is undefined. So, the generalization will lead us to the fact that the slope of any vertical line is undefined. On the other hand, we can find that the slopes of all horizontal lines are equal to zero for the points that have the same y−coordinates.