The principles and application of imaginary quantities