Given the rules of quaternions:
$$ i^2=j^2=k^2=ijk=-1$$
could it not be used to show that $-1=1$? As follows:
$$ijk=-1$$ $$ijk\cdot ijk=i^2\cdot j^2\cdot k^2=(-1)(-1)=1$$ $$i^2=-1$$ $$j^2=-1$$ $$k^2=-1$$ $$i^2\cdot j^2\cdot k^2 = (-1)(-1)(-1)=-1$$ thus $i^2\cdot j^2\cdot k^2$ both equals $1$ and $-1$.
What is wrong with this reasoning, and what does $i^2\cdot j^2\cdot k^2$ actually equal?
You have an error in your proof.
When you say $ijk \cdot ijk = i^2j^2k^2$, you assume that quaternion multiplication is commutative, which is false.