– A complex number has the form z = a + bi with a, b real and i^2 = -1. To solve a single-variable equation in C, use standard algebra (and optionally substitute z = x + yi and equate real/imaginary parts).
For linear equations αz + γ = δ (α ≠ 0), the solution is z = (δ − γ)/α.
Example:
– Solve 3z − (2 − 5i) = 7 + i.
Steps:
1) 3z = (7 + i) + (2 − 5i) = 9 − 4i
2) z = (9 − 4i)/3 = 3 − (4/3)i
Check: 3(3 − 4i/3) − (2 − 5i) = 9 − 4i − 2 + 5i = 7 + i.