I will elaborate on the issue of using complex algebra in circuit analysis. I'll focus in particular on an RLC circuit (that is, a circuit with a resistor, an inductor, and a capacitor in series).
We can represent the source voltage, the voltage across each element, and the current as sinusoids. We can write a loop law around the circuit to find the current, and it will look as follows:
[itex]V_m \cos(\omega t + \theta) = \frac{1}{C} \int _0 ^t i dt + iR + L \frac{d i}{dt}[/itex]
This has three parts to the solution: two exponential parts and a sinusoidal part. Fortunately, as t grows, the exponential parts become negligible, and we are left with a sinusoid. Thus, we can represent the current as a sinusoid provided we are considering times a sufficient distance from t = 0. Now, sometimes we don't care about the current immediately after the switch closes. We only care about the current after this. We call this the steady state solution.
Now, calculating this sinusoid can be difficult and time consuming, so is there an easier way?
That's where complex numbers come in. Instead of imagining a sinusoid so wave as the voltages and currents, let's just imagine a vector. This will rely on two things: 1. We can consider this to be the same as a sinusoid in that it has a magnitude and a phase (angle). It will rotate around, forming a circle. 2. The frequencies of everything will be the same.
If we have these two conditions, then there's no problem with treating this all as a vector that rotates (called a phasor). That is, when all we care about is the steady state solution, it's much easier to represent everything as mo in vectors. It's not even necessary to take time into account! Since we assume everything has the same frequency, all we need to worry about is the magnitude and the phase. So do we NEED to use complex numbers in circuits? Not in this case. We could simply add the phasors (using a set of rules for how to determine each phasor) just like we add vectors. But complex algebra allows us to do algebra on the x and y axes. It's the same thing as breaking a regular vector up into its x and y components. We use complex numbers because it makes it easier to do algebra on them. It's much easier to add two complex numbers together and find their magnitude and angle than it is to combine two sinusoids into one.
This is particularly useful because capacitors and inductors like to shift the phase angle of the current.
In other words, we don't have to use them. But it makes it easier to work in two dimensions. Given their relationship to sinusoidal functions, they're just another mathematical tool to be able to represent phenomena more easily.