Question
Question: What is the slope of the line \[y=2\]?...
What is the slope of the line y=2?
Solution
The given line is y=2, there can be many ways to find the slope of a given line. The three main and basic ways to do it are - the basic definition of slope i.e., it is the tangent of the angle it makes with the positive x-axis, it is the change in values of y and x given by derivative dxdy and from the standard form of a line y=mx+c. So we will use the first method and verify using the second one.
Complete step by step solution:
So, we have to find the slope of line y=2.
Using definition, slope is tangent of the angle it makes with the positive x-axis, we can express it as
m=tanθ=ΔxΔy
So, the slope is the ratio of the rise (vertical change) to run (horizontal change). So, we can say
m=x2−x1y2−y1
Let us first plot the graph for y=2. It will be a horizontal line passing through points with y-coordinate as 2.
It can be easily seen that (0,2) and (1,2) lies on the line. Thus, the slope is