Linear Algebra
Basics:
two lines are perpendicular if the gradient of one line is the negative reciprocal of the other