Recalling that the instantaneous power consumed by a circuit element or an equivalent circuit that represents a collection of elements equals the voltage times the current entering the positive-voltage terminal,
pt=vtit
pt
vt
it
, what is the equivalent expression using impedances?
The resulting calculation reveals more about power consumption in circuits and the introduction of the concept of average power.

When all sources produce sinusoids of frequency
f
f, the voltage and current for any circuit element or collection of elements are sinusoids of the same frequency.
vt=|V|cos2πft+φ
it=|I|cos2πft+θ
vt
V
2
f
t
φ
it
I
2
f
t
θ
Here, the complex amplitude of the voltage
V
V equals
|V|
eiφ
V
φ
and that of the current is
|I|
eiθ
I
θ
.
We can also write the voltage and current in terms of their complex amplitudes using
Euler's formula.
vt=12(Vei2πft+V¯e−(i2πft))
it=12(Iei2πft+I¯e−(i2πft))
vt
1
2
V
2
f
t
V
2
f
t
it
1
2
I
2
f
t
I
2
f
t
Multiplying these two expressions and simplifying gives
pt
=
14(VI¯+V¯I+VIei4πft+V¯I¯e−(i4πft))
=
12ℜVI¯+12ℜVIei4πft
=
12ℜVI¯+12|V||I|cos4πft+φ+θ
pt
=
1
4
V
I
V
I
V
I
4
f
t
V
I
4
f
t
=
1
2
V
I
1
2
V
I
4
f
t
=
1
2
V
I
1
2
V
I
4
f
t
φ
θ
We define
12VI¯
1
2
V
I
to be complex power.
The real-part of complex power is the first term and since it does not change with time, it represents the power consistently consumed/produced by the circuit.
The second term varies with time at a frequency twice that of the source.
Conceptually, this term details how power "sloshes" back and forth in the circuit because of the sinusoidal source.

From another viewpoint, the real-part of complex power represents long-term energy consumption/production.
Energy is the integral of power and, as the integration interval increases, the first term appreciates while the time-varying term "sloshes."
Consequently, the most convenient definition of the average power consumed/produced by any circuit is in terms of complex amplitudes.

Pave=12ℜVI¯
Pave
1
2
V
I

(1)
Suppose the complex amplitudes of the voltage and current have fixed magnitudes.
What phase relationship between voltage and current maximizes the average power?
In other words, how are
φφ and θθ related for maximum power dissipation?

For maximum power dissipation, the imaginary part of complex power should be zero.
As the complex power is given by
VI¯=|V||I|ei(φ−θ)
V
I
V
I
φ
θ
,
zero imaginary part occurs when the phases of the voltage and currents agree.

Because the complex amplitudes of the voltage and current are related by the equivalent impedance, average power can also be written as
Pave=12ℜZ|I|2=12ℜ1Z|V|2
Pave
1
2
Z
I
2
1
2
1
Z
V
2
These expressions generalize the results we obtained for resistor circuits.
We have derived a fundamental result:
*Only the real part of impedance contributes to long-term power dissipation*.
Of the circuit elements, *only* the resistor dissipates power.
Capacitors and inductors dissipate no power in the long term.
It is important to realize that these statements apply only for sinusoidal sources.
If you turn on a constant voltage source in an RC-circuit, charging the capacitor does consume power.

In an earlier problem, we found that the rms value of a sinusoid was its amplitude divided by
2
2.
What is average power expressed in terms of the rms values of the voltage and current
(
Vrms
Vrms and
Irms
Irms respectively)?

Pave=VrmsIrmscosφ−θ
Pave
Vrms
Irms
φ
θ
. The cosine term is known as the power factor.

Comments:"Electrical Engineering Digital Processing Systems in Braille."