We can begin our analysis of this circuit by applying Kirchoff's loop rule to the find potential at any given time.

$V=V_{R}+V_{L}+V_{C}$

However an important consequence of the voltages not being at the same phase in the different components is that the peak voltage is not experienced at the same time in each component, and so the peak source voltage $V_{0}$

$V_{0}\neq V_{R0}+V_{L0}+V_{C0}$

The condition of continuity of current demands that the current throughout the circuit should always be in phase, so at any point in this circuit the current will

$I=I_{0}\cos\omega t$

To understand the Phasor approach to AC circuits we can follow a very nice set of animations from Physclips.

A phasor is a way of representing the voltage across a component taking into account the phase difference between the voltage and the current.

As we saw in our last lecture a resistor has a voltage in phase with the current flowing through it. So if we now represent the current as vector moving in a plane we can also represent the voltage across the resistor as a vector of magnitude $V_{R}=I{R}$ which points in the same direction as the current flowing through it.

We saw in our last lecture that in a capacitor the current leads the voltage by 90^{o}.

Also we saw that the reactance $X_{C}=\frac{1}{\omega C}=\frac{1}{2\pi f C}$ depends on frequency and so the size of the voltage phasor $V_{0}=I_{0}X_{C}$ also should.

We saw in our last lecture that in an inductor the current lags the voltage by 90^{o}.

Also we saw that the reactance $X_{L}=\omega L=2\pi f L$ depends on frequency and so the size of the voltage phasor $V_{0}=I_{0}X_{L}$ also should.

To find the total voltage in the circuit at time $t$ we add the phasors for the different components together as we would vectors. We can see that for a current $I=I_{0}\cos\omega t$ flowing through through the circuit the voltage will be offset by a phase $\phi$

$V=V_{0}\cos(\omega t + \phi)$

The peak voltage $V_{0}$ is linked to the peak current $I_{0}$ through the impedance $Z$

$V_{0}=I_{0}Z$ and we can also say $V_{rms}=I_{rms}Z$

The value of $Z$ is found by considering the vector sum of the voltages

$V_{0}=\sqrt{V_{R0}^{2}+(VL_{0}-V_{C0})^{2}}=I_{0}\sqrt{R^{2}+(X_{L}-X_{C})^2}$

so

$Z=\sqrt{R^{2}+(X_{L}-X_{C})^{2}}=\sqrt{R^{2}+(\omega L-\frac{1}{\omega C})^{2}}$

The phase difference between the current and voltage $\phi$ is obtained from

$\tan \phi=\frac{V_{L0}-V_{C0}}{V_{R0}}=\frac{I_{0}(X_{L}-X_{C})}{I_{0}R}=\frac{X_{L}-X_{C}}{R}$

Power in an LRC circuit is only dissipated in the resistor, and so the average power dissipated is given by

$\bar{P}=I_{RMS}^{2}R$

but we may want to express this in terms of the impedance of the circuit or the $V_{RMS}$ which is applied.

To do this we write

$\cos \phi =\frac{V_{R0}}{V_{0}}=\frac{I_{0}R}{I_{0}Z}=\frac{R}{Z}$

which means that $R=Z\cos\phi$ and

$\bar{P}=I_{RMS}^{2}Z\cos\phi$

or, as $V_{RMS}=I_{RMS}Z$

$\bar{P}=I_{RMS}V_{RMS}\cos\phi$

The RMS current in the circuit we are considering is given by

$I_{RMS}=\frac{V_{RMS}}{Z}=\frac{V_{RMS}}{\sqrt{R^{2}+(\omega L-\frac{1}{\omega C})^{2}}}$

We can see that the current should be frequency dependent and have a maximum when

$(\omega L - \frac{1}{\omega C})=0$

which gives the resonant frequency

$\omega_{0}=\sqrt{\frac{1}{LC}}$

While the phasor approach gave us a nice visual picture of how a simple combination of circuit elements should respond to an AC field, a graphical addition approach would rapidly become unmanageable when more elements both in series and in parallel are added.We deal with this by representing our current, voltage and the the impedance of circuit elements in terms of complex numbers. Note, that we will use the math and physics symbol for $i=\sqrt{-1}$ electrical engineers frequently use $j$ instead, for example on this page from hyperphysics.

The starting point is Euler's formula.

$e^{i\omega t}=\cos\omega t+i\sin\omega t$

Now suppose we want to represent a voltage

$V=V_{0}\cos\omega t$

and a current which is offset by a phase $\phi$

$I=I_{0}\cos(\omega t - \phi)$

This can be done by instead writing

$V=V_{0}e^{i\omega t}$ and $I=I_{0}e^{i(\omega t - \phi)}$

The advantage of doing this is that we can now express the impedance of a circuit element as $Z=\frac{V_0}{I_{0}}e^{i\phi}=|Z|e^{i\phi}$ and we can see that

$V=IZ$

In this scheme the impedance of a resistor, capacitor and and inductor become

$Z_{R}=R$,$Z_{C}=-\frac{i}{\omega C}$ and $Z_{L}=i\omega L$

When connected in series complex impedances simply add together, the complex math is taking care of the vector addition we had do to previously

$Z_{S}=Z_{1}+Z_{2}+Z_{3}+..$

When connected in parallel, impedances, like resistors, add as reciprocals

$\frac{1}{Z_{P}}=\frac{1}{Z_{1}} +\frac{1}{Z_{2}}+\frac{1}{Z_{3}}+..$