If
\[ P = (a \times \mathbf{i})^2 + (a \times \mathbf{j})^2 + (a \times \mathbf{k})^2 \]
and
\[ Q = (a \cdot \mathbf{i})^2 + (a \cdot \mathbf{j})^2 + (a \cdot \mathbf{k})^2, \]
Then find the relation between \(P\) and \(Q\).