Alternating Currents


Phasors are used to analyze electrical systems in sinusoidal steady state and with a uniform angular frequency.

Learning Objectives

Discuss applications of a phase vector

Key Takeaways

Key Points

  • A phasor is a representation of a sinusoidal function whose amplitude (A), frequency (ω), and phase (θ) are time-invariant. If ω is shared by all components of the system, it can be factored out, leaving just A and ω. The term phasor usually refers to the last two factors.
  • Phasors greatly reduce the complexity of expressing sinusoidally varying signals.
  • Phasors may be used to analyze the behavior of electrical systems, such as RLC circuits, that have reached a kind of equilibrium called sinusoidal steady state. In the sinusoidal steady state, every voltage and current in a system is sinusoidal with angular frequency ω.
  • Phasors allow us to apply techniques used to solve DC circuits to solve RC circuits.

Key Terms

  • sinusoidal steady state: Indicates every voltage and current in a system is sinusoidal with the same angular frequency ω.
  • complex numbers: Numbers that have an imaginary part. Usually represented as i.
  • phasor: A representation of a complex number in terms of a complex exponential.


Complex numbers play an important role in physics. Usually, complex numbers are written in terms of their real part plus the imaginary part. For example,
a+bi\text{a} + \text{bi}
where a and b are real numbers, and
signals the imaginary part. However, it is often practical to write complex numbers in the form of an exponential called a phasor.

In physics, a phase vector, or phasor, is a representation of a sinusoidal function whose amplitude (A), frequency (ω), and phase (θ) are time-invariant, as diagramed in. Phasors separate the dependencies on A, ω, and θ into three independent factors. This can be particularly useful because the frequency factor (which includes the time-dependence of the sinusoid) is often common to all the components of a linear combination of sinusoids. In those situations, phasors allow this common feature to be factored out, leaving just the A and θ features. The result is that trigonometry reduces to algebra, and linear differential equations become algebraic ones. The term phasor therefore often refers to just those two factors.


Phasor Diagram: An example of series RLC circuit and respective phasor diagram for a specific ω. Electrical engineers, electronics engineers, electronic engineering technicians and aircraft engineers all use phasor diagrams to visualize complex constants and variables (phasors). Like vectors, arrows drawn on graph paper or computer displays represent phasors.

Phasors are often used in electrical systems when considering voltages and currents that vary sinusoidally in time, such as in RLC circuits.


Sinusoids can be represented mathematically as the sum of two complex-valued functions:

Acos(ωt+θ)=Aei(ωt+θ)+ei(ωt+θ)2\text{A}\cdot \text{cos}(\omega \text{t}+\theta )=\text{A}\cdot \frac{\text{e}^{\text{i}(\omega \text{t}+\theta )}+\text{e}^{-\text{i}(\omega \text{t}+\theta )}}{2}

or as the real part of one of the functions:

Acos(ωt+θ)=Re{Aei(ωt+θ)}=Re{Aeiθeiωt}\text{A}\cdot \text{cos}(\omega \text{t}+\theta )=\text{Re}\left \{ \text{A}\cdot \text{e}^{\text{i}(\omega \text{t} + \theta )} \right \} = \text{Re}\left \{ \text{A} \text{e}^{\text{i}\theta }\cdot \text{e}^{\text{i}\omega \text{t}} \right \}

As indicated above, phasor can refer to either
Aeiθeiωt\text{A} \text{e}^{\text{i}\theta } \cdot \text{e}^{\text{i}\omega \text{t}}
or just the complex constant,
Aeiθ\text{A} \text{e}^{\text{i}\theta }
. In the latter case, it is understood to be a shorthand notation, encoding the amplitude and phase of an underlying sinusoid.

Phasor Representation of Signals

There are two key ideas behind the phasor representation of a signal:

  1. a real, time-varying signal may be represented by a complex, time-varying signal; and
  2. a complex, time-varying signal may be represented as the product of a complex number that is independent of time and a complex signal that is dependent on time.

The signal:

x(t)=Acos(ωt+θ)\text{x}(\text{t})=\text{Acos}(\omega \text{t}+\theta )

illustrated in the figure below is a cosinusoidal signal with amplitude A, frequency, and phase θ. The amplitude A characterizes the peak-to-peak swing of 2A, the angular frequency ω characterizes the period T=2π/ω between negative- to-positive zero crossings (or positive peaks or negative peaks), and the phase θ characterizes the time τ=−θ/ω when the signal reaches its first peak. With so defined, the signal x(t) may also be written as

x(t)=Acos(tτ)\text{x}(\text{t})=\text{Acos}(\text{t}-\tau )


Cosinusoidal Signal: A Cosinusoidal Signal.

When τ is positive, then τ is a "time delay" that describes the time (greater than zero) when the first peak is achieved. When τ is negative, then τ is a "time advance" that describes the time (less than zero) when the last peak was achieved. With the substitution =2π/T we obtain a third way of writing x(t):

x(t)=Acos2πT(tτ)\text{x}(\text{t})=\text{Acos}\frac{2\pi }{\text{T}}(\text{t}-\tau )

In this form the signal is easy to plot. Simply draw a cosinusoidal wave with amplitude A and period T; then strike the origin (t=0) so that the signal reaches its peak at τ. In summary, the parameters that determine a cosinusoidal signal have the following units:

  • A, arbitrary (e.g., volts or meters/sec, depending upon the application )
  • ω, in radians /sec (rad/sec)
  • T, in seconds (sec)
  • θ, in radians (rad)
  • τ, in seconds (sec)

Sinusoidal Steady State and the Series RLC CircuitPhasors may be used to analyze the behavior of electrical and mechanical systems that have reached a kind of equilibrium called sinusoidal steady state.

In the sinusoidal steady state, every voltage and current (or force and velocity) in a system is sinusoidal with angular frequency ω. However, the amplitudes and phases of these sinusoidal voltages and currents are all different.

For example, the voltage across a resistor might lead the voltage across a capacitor by 90 and lag the voltage across an inductor by 90. In order to make our application of phasors to electrical systems concrete, we consider the series RLC circuit illustrated in. The arrow labeled i(t) denotes a current that flows in response to the voltage applied.


Series RLC Circuit: Series RLC Circuit.

We will assume that the voltage source is an audio oscillator that produces the voltage:

V(t)=Acos(ωt+θ).\text{V}(\text{t})=\text{Acos}(\omega \text{t} +\theta ).

We represent this voltage as the complex signal:

V(t)Aeiθeiωt\text{V}(\text{t})\leftrightarrow \text{Ae}^{\text{i}\theta }\cdot \text{e}^{\text{i}\omega \text{t}}

and give it the phasor representation,

V(t)V;V=Aeiθ\text{V}(\text{t})\leftrightarrow \text{V};\text{V}=\text{Ae}^{\text{i}\theta }

We then describe the voltage source by the phasor V and remember that we can always compute the actual voltage by multiplying by eiωt and taking the real part.

Root Mean Square Values

The root mean square (RMS) voltage or current is the time-averaged voltage or current in an AC system.

Learning Objectives

Relate the root mean square voltage and current in an alternating circut with the peak voltage and current and the average power

Key Takeaways

Key Points

  • Recall that unlike DC current and voltage, which are constant, AC current and voltage vary over time. This is called alternating current because the direction alternates.
  • The root mean square (abbreviated RMS or rms ) is a statistical measure of the magnitude of a varying quantity. We use the root mean square to express the average current or voltage in an AC system.
  • The RMS current and voltage (for sinusoidal systems) are the peak current and voltage over the square root of two.
  • The average power in an AC circuit is the product of the RMS current and RMS voltage.

Key Terms

  • root mean square: The square root of the arithmetic mean of the squares.
  • rms current: the root mean square of the current, Irms=I0/√2, where I0 is the peak current, in an AC system
  • rms voltage: the root mean square of the voltage, Vrms=V0/√2, where V0 is the peak voltage, in an AC system

Root Mean Square Values and Alternating Current

Recall that in the case of alternating current (AC) the flow of electric charge periodically reverses direction. Unlike direct current (DC), where the currents and voltages are constant, AC currents and voltages vary over time. Recall that most residential and commercial power sources use AC. It is often the case that we wish to know the time averaged current, or voltage. Given the current or voltage as a function of time, we can take the root mean square over time to report the average quantities.


The root mean square (abbreviated RMS or rms), also known as the quadratic mean, is a statistical measure of the magnitude of a varying quantity. It is especially useful when the function alternates between positive and negative values, e.g., sinusoids.The RMS value of a set of values (or a continuous-time function such as a sinusoid) is the square root of the arithmetic mean of the squares of the original values (or the square of the function). In the case of a set of n values {x1,x2,....,xn}, the RMS value is given by this formula:

xrms=1n(x12+x22++xn2)\text{x}_{\text{rms}}=\sqrt{\frac{1}{\text{n}}(\text{x}_{1}^{2}+\text{x}_{2}^{2}+\cdots +\text{x}_{\text{n}}^{2})}

The corresponding formula for a continuous function f(t) defined over the interval T1t ≤ T2 is as follows:


The RMS for a function over all time is below.

frms=limT1T0T[f(t)]2dt\text{f}_{\text{rms}}=\lim_{\text{T} \to \infty }\sqrt{\frac{1}{\text{T}}\int_{0}^{\text{T}}[\text{f}(\text{t})]^{2}\text{dt}}

The RMS over all time of a periodic function is equal to the RMS of one period of the function. The RMS value of a continuous function or signal can be approximated by taking the RMS of a series of equally spaced samples.

Application to Voltage and Current

Consider the case of sinusoidally varying voltage:


Sinusoidal Voltage and Current: (a) DC voltage and current are constant in time, once the current is established. (b) A graph of voltage and current versus time for 60-Hz AC power. The voltage and current are sinusoidal and are in phase for a simple resistance circuit. The frequencies and peak voltages of AC sources differ greatly.

V=V0sin(2π ft)\text{V}=\text{V}_{0}\text{sin}(2\pi \text{ ft})

V is the voltage at time t, V0 is the peak voltage, and f is the frequency in hertz. For this simple resistance circuit, I=V/R, and so the AC current is as follows:

I=I0sin(2π ft)\text{I}=\text{I}_{0}\text{sin}(2\pi \text{ ft})

Here, I is the current at time t, and I0=V0/R is the peak current. Now using the definition above, let's calculate the rms voltage and rms current. First, we have

Vrms=1T2T1T1T2[V0sin(ωt)]2dt\text{V}_{\text{rms}}=\sqrt{\frac{1}{\text{T}_{2}-\text{T}_{1}}\int_{\text{T}_{1}}^{\text{T}_{2}}[\text{V}_{0}\text{sin}(\omega \text{t})]^{2}\text{dt}}

Here, we have replaced 2πf with ω. Since V0 is a constant, we can factor it out of the square root, and use a trig identity to replace the squared sine function.

Vrms=V01T2T1T1T21cos(2ωt)2dt\text{V}_{\text{rms}}=\text{V}_{0}\sqrt{\frac{1}{\text{T}_{2}-\text{T}_{1}}\int_{\text{T}_{1}}^{\text{T}_{2}}\frac{1-\text{cos}(2\omega \text{t})}{2}\text{dt}}

Integrating the above, we have:

Vrms=V01T2T1[t2sin(2ωt)4ω]T1T2\text{V}_{\text{rms}}=\text{V}_{0}\sqrt{\frac{1}{\text{T}_{2}-\text{T}_{1}}[\frac{\text{t}}{2}-\frac{\text{sin}(2\omega \text{t})}{4\omega }]_{\text{T}_{1}}^{\text{T}_{2}}}

Since the interval is a whole number of complete cycles (per definition of RMS), the terms will cancel out, leaving:



Similarly, you can find that the RMS current can be expressed fairly simply:


Updated Circuit Equations for AC

Many of the equations we derived for DC current apply equally to AC. If we are concerned with the time averaged result and the relevant variables are expressed as their rms values. For example, Ohm 's Law for AC is written as follows:


The various expressions for AC power are below:




We can see from the above equations that we can express the average power as a function of the peak voltage and current (in the case of sinusoidally varying current and voltage):


Average Power: AC power as a function of time. Since the voltage and current are in phase here, their product is non-negative and fluctuates between zero and I0V0. Average power is (1/2)I0V0.


The RMS values are also useful if the voltage varies by some waveform other than sinusoids, such as with a square, triangular or sawtooth waves.


Waveforms: Sine, square, triangle, and sawtooth waveforms

Safety Precautions in the Household

Electrical safety systems and devices are designed and widely used to reduce the risks of thermal and shock hazards.

Learning Objectives

Identify major risks associated with the electrical circuits and strategies to mitigate those risks

Key Takeaways

Key Points

  • Electrical circuits carry the risks of overheating and potential electrical shocks.
  • Fuses and circuit breakers are used to stop currents that exceed a set safety limit, thus preventing overheating.
  • The three-wire system protects against thermal and shock hazards by using live, neutral, and ground wires, and grounding the neutral wire and the conducting cases of appliances.
  • Before altering any circuitry, it is important to establish the correct color-coding scheme for your region (the color of live/hot, neutral, and ground wires).
  • Alternating current has the potential to induce an EMF on the case of an appliance, which poses a shock hazard, so it is important to ground the case.

Key Terms

  • thermal hazard: an electrical hazard caused by overheating (e.g., in a resistive element)
  • shock hazard: an electrical hazard that poses the risk of passing current through the body
  • three-wire system: a modern wiring system with safety precautions; contains live, neutral, and ground wires

Electrical Safety and Household Appliances

Electricity has two hazards. A thermal hazard occurs in cases of electrical overheating. A shock hazard occurs when an electric current passes through a person. There are many systems and devices that prevent electrical hazards.


AC Circuit Lacking Safety Features: A schematic of a simple AC circuit with a voltage source and a single appliance represented by the resistance R. It lacks safety features.

In practice, a simple AC circuit with no safety features is not how power is distributed. Modern household and industrial wiring requires the three-wire system, which has several safety features. The first safety feature is the familiar circuit breaker (or fuse) that prevents thermal overload. Secondly, there is a protective case around the appliance, as with a toaster or refrigerator. The case prevents people from touching exposed wires and coming into electrical contact with the circuit, helping prevent shocks.


Three-Wire System: The three-wire system connects the neutral wire to the earth at the voltage source and the user location. It exists at zero volts and supplies an alternative return path for the current through the earth. The case of the appliance is also grounded to zero volts. A circuit breaker or fuse prevents thermal overload and exists in series on the active (live/hot) wire. Wire insulation colors vary by region. It is essential to check locally to determine which color codes are in use, even if they were followed in one particular installation.

There are three connections to the earth or ground (earth/ground, ). An earth/ground connection is a low-resistance path directly to the earth. The two earth/ground connections on the neutral wire force it to exist at zero volts relative to the earth, giving the wire its name. This wire is therefore safe to touch even if its insulation is missing. The neutral wire is the return path for the current to follow in order to complete the circuit.

The two earth/ground connections supply an alternative path through the earth to complete the circuit, since the earth is a good conductor. The earth/ground connection closest to the power source could be at the generating plant, while the other is situated at the user's location. The third earth/ground connection involves the case of the appliance, through the green earth/ground wire, forcing the case to be at zero volts. The live or hot wire (live/hot) supplies the voltage and current to operate the appliance. The three-wire system is connected to an appliance through a three-prong plug.


Three-Prong Plug: The standard three-prong plug can only be inserted one way to ensure the proper function of the three-wire system.

The Three-Prong Plug

The three-wire system replaced the older two-wire system, which lacks an earth/ground wire. Under ordinary circumstances, insulation on the live/hot and neutral wires prevents the case from being situated directly within the circuit, so that the earth/ground wire may seem like double protection. Grounding the case solves more than one problem, however. The simplest problem is worn insulation on the live/hot wire that allows it to contact the case. When lacking an earth/ground connection (some people cut the third prong off the plug because they only have outdated two-hole receptacles), a severe shock is possible. This is particularly dangerous in the kitchen, where a good earth/ground connection is available through water on the floor or a water faucet.

With the earth/ground connection intact, the circuit breaker will trip, thus requiring appliance repair. Some appliances are still sold with two-prong plugs. These appliances, including power tools with impact resistant plastic cases, have nonconducting cases and are called 'doubly insulated. ' Modern two-prong plugs can be inserted into the asymmetric standard outlet in only one way, ensuring the proper connection of live/hot and neutral wires.


Insulating plastic is color-coded to identify live/hot, neutral, and ground wires, but these codes vary throughout the world. Live/hot wires may be brown, red, black, blue, or grey. Neutral wires may be blue, black, or white. Since the same color may be used for live/hot or neutral wires in different parts of the world, it is essential to confirm the color code for any given local region. The only exception is the earth/ground wire, which is often green but may be yellow or 'bare wire. ' Striped coatings are sometimes used for the benefit of those who are colorblind.

Induction and Leakage Current

Electromagnetic induction causes a subtler problem solved by grounding the case. The alternating current in appliances can induce an EMF on the case. If grounded, the case voltage is kept near zero, but if the case is not grounded, a shock can occur. Current that is driven by the induced case EMF is called a leakage current, although current does not necessarily pass from the resistor to the case.

Licenses and Attributions

More Study Resources for You

Show More