You should know that , where is the angle between and .

When (i.e. when and are perpendicular), we have , which means that the dot product of the two vectors will also be 0.

Therefore, to show that two vectors are perpendicular, take the dot product and see if the dot product is 0.