A complex number is a number that can be written in the form a + b i a + bi a+bi, where a and b are real numbers and i is the imaginary unit defined by i 2 = − 1 i^2 = -1 i2=−1. The set of complex numbers, denoted by C, includes the set of real numbers (R) and the set of pure imaginary numbers.