This corresponds to the intersection of two half spaces, the dihedral angle between which is θ.
we Hence from equation 3 we have, This equation gives us an alternate method for finding cosine similarity.