Slope of a Line
Find the slope of the line with equation
Take any two distinct points on the line. Then compute its slope using these points. Recall that any point on the line with equation has coordinates of the form For instance, you may take the points and Using these two points, the slope of the line can be computed as follows:
Note that the graph of the equation in the preceding example is a horizontal line and that its slope is equal to 0. In general, all lines with a slope of 0 are horizontal.
Notice also that in the definition of the slope of the line that passes through the points and the formula for the slope given by
If then points P and Q will have the same x-coordinate, and the slope of the line will be undefined. It also follows that the line containing points P and Q is vertical. In general, the slope of any vertical line is undefined.
