# Solve an equation

1. Mar 14, 2008

### Ry122

Given z = x + iy
find x and y if
1 + z = 3 - 2i
I tried subbing x+iy into z and solving but all i got was x = y.
The answer in the back is x=2 y=-2

2. Mar 14, 2008

### Dick

Separate 1+(x+iy)=3-2i into real and imaginary parts. They have to be equal separately.

3. Mar 14, 2008

### Ry122

so is it just x+iy=2-2i ?

4. Mar 14, 2008

### sutupidmath

yeah and from here x=2, y=-2, because like Dick said the real part and the imaginary part on both sides has to be equal. Like
$$a+bi=c+di<=>a=c, \ \ and \ \ b=d$$