Two complex numbers are equal if and only if a) their real parts are equal, AND b) their imaginary parts are equal (by the definition). In your case it gives TWO equalities a + 3 = 3, (1) and 8b = -3. (2) Then a = 0 and b = .