Complex Numbers for Electrical Engineering
How engineers use complex numbers for AC circuits: phasors, impedance of R, L and C, the j notation and a worked series RLC example with polar answers.
Complex Numbers in Electrical Engineering
Complex numbers in electrical engineering exist to replace calculus with algebra. A complex number has two properties that match exactly: a magnitude and an angle. The pairing is not a coincidence; it is the entire point. In steady state, every voltage and current in a linear AC circuit shares the same frequency, so the frequency stops being a variable and becomes a fixed backdrop. That single trick collapses a differential equation into an algebraic one. The j operator is not a different number from i in mathematics; it is the same number renamed so the letter i stays available for instantaneous current. Engineers who work with AC circuits do not draw sine waves for every calculation. They draw phasors, which are complex numbers that rotate at the frequency ω, and they add, subtract, multiply and divide those phasors instead of solving integrals. This is why AC circuit analysis with complex numbers is the default method in every undergraduate circuits course and every design office that works from a textbook.
Phasors and the J Notation
A phasor is a complex number with the time dependence suppressed. That convention, RMS magnitude and phase angle, is the one used by Alexander and Sadiku in their circuits text, and it is the one you should adopt for any homework or exam problem unless told otherwise. You cannot add polar forms directly. Convert each phasor to a + jb, add the real parts and the imaginary parts separately, then convert back if the problem asks for magnitude and angle. This is the single most common place a solution goes wrong. Multiplication and division are easier in polar form: multiply magnitudes and add angles, divide magnitudes and subtract angles. A Casio and a TI differ in the range of the principal argument they return, Casio gives 0 to 2π, TI gives −π to π, so check which one your calculator is set to before you trust an angle output.
Impedance of Resistors, Inductors and Capacitors
Impedance, written Z, is the complex generalization of resistance. An inductor's impedance is purely imaginary and positive, Z_L = jωL = jX_L, where X_L = ωL is the inductive reactance. A capacitor's impedance is purely imaginary and negative, Z_C = −j/(ωC) = −jX_C, where X_C = 1/(ωC) is the capacitive reactance. The phase angle of the impedance, θ_z = θ_v − θ_i, tells you whether the circuit is inductive, positive angle, or capacitive, negative angle.
For series combinations, add impedances directly: Z_series = Z_1 + Z_2 + … + Z_n. That expression looks messy, but it simplifies to a single complex number when you multiply numerator and denominator by the complex conjugate of the denominator. The admittance, Y = 1/Z, is useful for parallel circuits because admittances add directly. For a pure capacitor, Y = jωC, which is why parallel capacitor branches are easier to combine in admittance form.
The table below summarizes the impedance and reactance for the three passive elements, with the j operator convention.
| Resistor R | R | R | 0° |
| Inductor L | X_L = ωL | jωL | +90° |
| Capacitor C | X_C = 1/(ωC) | −j/(ωC) | −90° |
AC Circuit Analysis with Complex Numbers
Worked Example and Common Pitfalls
Once every element in a circuit is represented as a complex impedance, the analysis follows the same rules as DC circuits. Superposition holds, because the circuit is linear, but you must apply it one source at a time and combine the resulting phasors per source. The only difference from a DC circuit is that every calculation is a complex arithmetic operation, so you cannot avoid learning to divide complex numbers or convert between rectangular and polar forms fluently.
Worked example: a resistor of 100 Ω in series with a capacitor of 10 µF at a frequency of 60 Hz. The capacitive reactance is X_C = 1/(2π × 60 × 10 × 10⁻⁶) ≈ 265.3 Ω. The impedance is Z = 100 − j265.3 Ω.3/100) ≈ −69.4°. The phase angle of the impedance, θ_z = θ_v − θ_i = 0 − 69.4° = −69.4°, confirms it is capacitive.
This is the procedure that makes complex numbers in electrical engineering worth learning: you never solve a differential equation, you never integrate a sine wave, you just track a complex number around the circuit. If you have a scientific calculator without complex mode, you can still do the conversions manually. If not, a TI-84 in complex mode or a Casio in complex mode will do the rectangular and polar conversions for you, but you still need to know which form the problem demands.
Phasor Conventions You Must Know
Signs and Conventions
Every phasor convention exists to prevent ambiguity, and ignoring one of them produces a wrong answer that looks right. The average value of a pure sinusoid over a full period is zero, which surprises no one who has looked at a sine wave, but the average value of a full-wave rectified sinusoid is 2V_m/π, not zero, and that distinction matters in power calculations. The RMS value of a sinusoid is V_m/√2, and that is the magnitude you should use in a phasor unless the problem explicitly says peak. Alexander and Sadiku's convention is RMS magnitude, phase in degrees, and that is the default for most textbook problems.
The j operator in electrical engineering, i in mathematics, is a notational choice, not a different algebra. The rules for adding, multiplying and finding roots are identical. What differs is the range of the principal argument, which your calculator returns, and that range is a convention, not a mathematical fact. Casio returns angles between 0 and 2π, TI returns angles between −π and π, and a problem that asks for the argument of a complex number in the third quadrant will give you two different-looking answers depending on the brand. Both are correct, but you must convert to the range the problem expects. The quadrant of the complex plane is determined by the signs of the real and imaginary parts, and that is the fastest check for a wrong angle.
Frequent Failures and How to Avoid Them
The most common failure in AC circuit analysis with complex numbers is not the algebra, it is the sign of the capacitor. A capacitor's impedance is negative imaginary, Z_C = −j/(ωC), and students routinely drop the minus sign, which turns a capacitive circuit into an inductive one and reverses the phase angle. The second most common failure is adding phasors in polar form. You cannot add 10∠30° and 5∠−20° without converting to rectangular first, and every textbook example that skips the conversion is teaching a shortcut that only works in special cases. The third failure is forgetting that the phase angle of the impedance is the voltage angle minus the current angle, θ_z = θ_v − θ_i, not the other way around. A negative θ_z means the current leads the voltage, which happens in a capacitive circuit.
When a problem gives you a frequency and a set of component values, do not compute the reactances symbolically and leave them as ωL and 1/(ωC). Plug in the numbers and simplify. The extra step of converting to polar form for multiplication and division, then back to rectangular for addition, is where a decimal point gets dropped. Use your calculator's complex mode if it has one, but verify the angle output range first. If the problem asks for the answer in polar form and you give it in rectangular form, it is wrong, regardless of whether the value is equivalent. The exam or the design review wants a specific format, and that format is part of the answer.
Tools and Alternatives
For a single calculation, a scientific calculator with complex mode is the fastest tool. The complex numbers TI 84 functions are under the math menu, and the angle output range is settable in the mode menu. For a network with several nodes, a spreadsheet that supports complex functions, like Excel's IMSUM and IMPRODUCT, is faster and less error-prone than hand arithmetic. For a serious design, a circuit simulator like SPICE will solve the phasor equations internally, but it will not tell you whether the result is physically sensible. That judgment is yours.
If you are working from an introductory circuits text, such as Alexander and Sadiku's Fundamentals of Electric Circuits, the phasor convention is stated in the first chapter on AC analysis, and every example follows it. The book's impedance table is the one to memorize. For the underlying complex algebra, any precalculus text, including OpenStax Precalculus, defines the rectangular and polar forms and the quadrant condition for the argument. The distinction between a phasor and a complex number is the suppression of time. A phasor is a complex number with a fixed frequency assumed, and the algebra works because every signal in the circuit shares that frequency. The moment you have two sources at different frequencies, you cannot use a single phasor for both, you must apply superposition and combine the results in the time domain.
When the Normal Route Fails
Hand Computation When the Calculator Dies
If you are mid-exam and the calculator dies, or you are at a desk at 1am without a calculator at all, you still have options. The arithmetic for a two-element series circuit is simple enough to do by hand: compute the reactances, write the impedance as R + jX, convert to polar using √(R² + X²) and arctan(X/R), and divide magnitudes while subtracting angles. The only hard part is the arctangent, and for common ratios like 1:1, 1:√3, or 1:2, the angles are 45°, 30°, or 26.6°, which you should know from memory. For a parallel circuit, convert each branch to admittance, add the admittances, and convert back. That is more work, but it is the same method, and it does not require a calculator if the component values are chosen to give round numbers.
Checking Your Work
If the textbook's answer key disagrees with your result, the first thing to check is the sign of the imaginary part. A mismatch of √2 is always an RMS-versus-peak error. A sign error in the imaginary part flips the angle's sign. None of these require re-solving the whole problem. Fix the one number and recompute. The failure case is not the algebra, it is the unchecked assumption that the calculator's output is the answer, when it is only the answer in the convention you set.
A Realistic Caveat
Complex numbers in electrical engineering are a tool, not a religion. Do not expect every circuit problem to yield to complex algebra, and do not force a phasor onto a circuit that is not in sinusoidal steady state. The method is fast, it is standard, and it is what working engineers use, but it is not universal. Know where it applies, and know where it does not, and you will be ahead of the person who treats every AC problem as a nail for the same hammer.
Common Questions
What is the difference between a phasor and a complex number?
A phasor is a complex number with the time dependence suppressed. The complex number is the algebraic object; the phasor is that object with a fixed frequency assumed. Both are correct, but the problem's expected range is the one to use.
How do I know which quadrant a complex number is in without drawing a graph?
Look at the signs of the real part a and imaginary part b. That determines the angle's correction from arctan(b/a).
When I take the square root of a complex number, why do I get two answers, but my calculator gives one?
The calculator returns the principal root, the one with the smaller angle. The other root is the negative of that value. The fundamental theorem of algebra guarantees two square roots for any non-zero complex number, so you must add 180° to find the second.