This paper aims to solve two-sided linear quaternionic equations by introducing a new concept: discriminant space. We provide the sufficient and necessary criteria for the existence of the solutions and a method to obtain all solutions efficiently. Furthermore, the similar theories are established for systems of general two-sided linear quaternionic equations, and two-sided linear quaternionic equations with conjugate.
Chen et al. (2026) studied this question.