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