Question: when are two vectors perpendicular?
Answer: Two vectors A and B are perpendicular if and only if their scalar product is equal to zero.