Lines that intersect at right angles are called perpendicular lines. All vertical lines are perpendicular to all horizontal lines. Lines are perpendicular if and only if the product of their slopes, m1 and m2, is -1.
m1⋅m2=-1
This graph shows one pair of perpendicular lines.
For the product of two slopes to equal -1, the slopes must be opposite reciprocals. For example, m1=-32 and m2=23 are opposite reciprocal slopes.