Question: what is the slope of the line that is perpendicular to the x axis?
Answer: The slope of a line perpendicular to the x-axis is undefined. Perpendicular lines have opposite reciprocal slopes. For example, 12 and −21=−2 are opposite reciprocals and lines with these slopes will be perpendicular to one another.