Question: if line ab is perpendicular?
Answer: When two lines are perpendicular, the slope of one is the negative reciprocal of the other. ... So for example in the figure above, the line AB has a slope of 0.5, meaning it goes up by a half for every one across. The line CD if it is perpendicular to AB has a slope of -1/0.5 or -2.