Two vectors are orthogonal in Euclidean space if and only if their dot product is zero, i.e. they form a 90° (/2 radian) angle, or one of the vectors is zero.
In this problem show that for
where
Its given that
This gives
where it has been used and .
Now use the relation
which gives
The numerator in the second term is equal to
which gives
The states are orthogonal.