1.2 Equality of Two Complex Numbers
The two complex numbers z1=a+bi and z2=c+di are said to be equal if and only if their real and imaginary parts are equal:
a+bi=c+di⇔a=c∧b=d
Example 4
If (3+2i)(x+iy)=5+12i, where x,y∈R, then find the values of x and y.
Solution
(3+2i)(x+iy)3x+3iy+2ix+2i2y(3x−2y)+(2x+3y)i=5+12i=5+12i=5+12i
Comparing real and imaginary parts:
3x−2y2x+3y=5=12(i)(ii)
Multiply (i) by 3 and (ii) by 2:
9x−6y4x+6y=15=24
Adding:
13x=39⟹x=3
Substitute x=3 in (i):
3(3)−2y=5⟹9−2y=5⟹y=2
Thus x=3, y=2.