I have two quaternions $p$ and $q$ that represent orientations of an object about its center of mass. I want to find a rotation (also in quaternion form) $r$ that rotates the object from orientation $p$ to orientation $q$. I don't care about the "path" that the rotation takes to get from $p$ to $q$ (e.g. the short way around vs. the long way around).
What is the difference between the following?:
$r_1 = q p^{-1}$
and
$r_2 = p^{-1} q$
I think that rotations are supposed to be premultiplied in the order they are applied, therefore I assume that only $r_1$ is correct, since $r_1 p = q p^{-1} p = q$, whereas $r_2 p = p^{-1} q p$, which is a case of conjugating $q$ by $p^{-1}$ (although I don't know what that even represents -- can anyone explain this?).
I have also heard that there are different ways to represent rotations, and (even though I have seen claims that there are no such thing as "right-handed quaternions" vs. "left-handed quaternions") different representations may result in a sequence of rotations being applied using either preorder multiplication or postorder multiplication. I assume this is referring to rotations being "applicative" or "corrective" (i.e. forwards vs. reverse)?
I have asked related questions before but couldn't seem to get an answer that made sense to me. Can somebody please explain the different ways quaternions can be used to represent rotations, and then the way to calculate the difference in rotations using either $r_1$ or $r_2$ above?