Question: are vectors a1 and a2 perpendicular?
Answer: This is because a1 and a2 are perpendicular. Precisely, if you project a vector b to a1, then it results a vector p on the same line as a1, whose projection to a2 is zero.