Question
Question: How do you find the slope and intercept of \[x = 4\] ?...
How do you find the slope and intercept of x=4 ?
Solution
We are given a line and asked to find the slope and intercept of the line. To find the slope of the line, recall the formula to find the slope of the line and use this formula to find the slope. To find the intercept, check where the given line intersects the y-axis and x-axis.
Complete step by step solution:
Given, the equation x=4. We are asked to find the slope and intercept of line x=4. The slope of a line passing to two points (x1,y1) and (x2,y2) is given by,
m=x2−x1y2−y1 …………………(i)
where y2−y1 is changed in the y-axis and x2−x1 is changed in the x-axis.
We are given x=4 which means for any value of y , x will be always 4.
Let us take two points (4,y1) and (4,y2).
Here x1=x2=4.
Putting the values of x1, x2, y1 and y2 in equation (i) we get,
m=4−4y2−y1
⇒m=0y2−y1
⇒m=∞
Therefore, the slope of the given line is infinite. For any value of y, x will always be 4 which means the line x=4 is parallel to the y-axis.
The intercept is the point where the line intersects y-axis or x-axis. Here the line is parallel to y-axis so it will never intersect y-axis which means there is no y-intercept. The x-intercept will be the point on x-axis where y=0. Here for any value of y, x is 4 , so the intercept of the line is (4,0).
Hence, the slope of the given line is infinite and the intercept of the given line is (4,0).
Note: Here, the given line was parallel to y-axis but if we were given a line y=a where a is a number, then the line would be parallel to x-axis as for any value of x the value of y would remain the same and in this case there would be no x-intercept. Also remember the slope of line determines the change in y-axis with respect to the change in x-axis.