If a and b are complex and one of the roots of the equation x2 + ax + b = 0 is purely real whereas the other is purely imaginary, then
a2−(a¯)2=4b
a2−(a¯)2=2b
b2−(b¯)2=4a
b2−(b¯)2=2a
Let α be the real root and iβ be the imaginary root of the given equation. Then
α+iβ=−a
⇒ α−iβ=−a¯
So, 2α=−(a+a¯) and 2iβ=−(a−a¯)
Multiplying these, we get
4iαβ=a2−(a¯)2∴ 4b=a2−(a¯)2