linear algebra

basics

two lines are perpendicular if the gradient of one line is the negative reciprocal of the other