Alternating current is everywhere. It powers homes, factories, hospitals, offices, transport systems and, increasingly, the enormous digital infrastructure behind cloud computing and artificial intelligence. Yet AC systems can appear more complicated than direct current because voltage and current are constantly changing with time.
To understand modern electrical infrastructure, it is therefore not enough to know Ohm’s law. We also need to understand sinusoidal waveforms, RMS values, phase relationships, impedance, reactance and power factor.
These concepts form the mathematical language of AC power systems. Once they are understood, many seemingly complex electrical calculations become surprisingly logical.
Why alternating current matters
In a direct-current circuit, voltage and current normally flow in one direction. In an alternating-current system, both voltage and current change continuously.
In most electrical grids, this change follows a sinusoidal waveform.
A sinusoidal voltage can be described mathematically as:
v(t) = Vmax × sin(ωt)
where:
-
Vmax is the maximum or peak voltage,
-
ω is the angular frequency,
-
t is time.
The waveform repeatedly moves from zero to a positive maximum, back through zero, to a negative maximum and then back to zero again.
One complete cycle is called a period.
The number of cycles completed each second is the frequency, measured in hertz.
In much of Europe, including Sweden, the electrical grid operates at 50 Hz. This means the waveform completes 50 cycles every second.
The relationship between frequency and period is:
T = 1 / f
At 50 Hz:
T = 1 / 50 = 0.02 seconds
So one complete electrical cycle lasts just 20 milliseconds.
RMS: turning a changing voltage into a useful value
One immediate problem appears when working with alternating current: if voltage is constantly changing, which voltage should we use in calculations?
This is where the RMS value becomes essential.
RMS stands for Root Mean Square. It represents the equivalent DC value that would produce the same heating effect in a resistor.
For a sinusoidal waveform:
Vrms = Vmax / √2
This means that a 230 V AC supply does not have a peak voltage of 230 V.
Its peak voltage is approximately:
Vmax = 230 × √2 ≈ 325 V
So a European 230 V electrical supply continuously varies between approximately +325 V and −325 V.
Yet we describe it as 230 V because 230 V is the RMS value.
The same principle applies to current.
RMS values are extremely important because they allow engineers to calculate power, cable loading, equipment capacity and thermal effects using practical values rather than constantly dealing with instantaneous waveforms.
Phase: when voltage and current do not move together
In a purely resistive load, voltage and current rise and fall together.
But many real electrical loads are not purely resistive.
Motors, transformers, inductors, capacitors, power supplies and electronic equipment can cause current to shift relative to voltage.
This shift is described by a phase angle.
Imagine two sinusoidal waves. Both have the same frequency, but one reaches its maximum slightly later than the other.
The difference between them can be expressed in degrees.
One complete cycle corresponds to:
360°
If current reaches its maximum one-quarter of a cycle after voltage, the phase difference is:
90°
Understanding this phase relationship is crucial because it affects how much electrical power actually performs useful work.
Phasors: simplifying AC calculations
Working directly with sinusoidal equations can quickly become complicated. Engineers therefore use phasors.
A phasor represents a sinusoidal quantity as a rotating vector.
Instead of continuously calculating how voltage and current change with time, we represent their magnitude and phase angle.
For example:
230 V ∠ 0°
could represent a 230 V reference voltage.
A current that lags behind by 30° might be written:
10 A ∠ −30°
Phasors transform AC analysis into a much more manageable mathematical problem.
This is also where complex numbers become useful.
Complex numbers contain a real part and an imaginary part:
a + jb
where engineers normally use j instead of i, because the letter i is already commonly used for electrical current.
Complex numbers allow resistance and phase-shifting effects to be combined into a single mathematical quantity.
That quantity is called impedance.
Resistance is only part of the story
In DC circuits, resistance describes how strongly a component opposes current.
In AC circuits, the situation is more interesting.
Capacitors and inductors also oppose changes in current, but their effect depends on frequency.
This frequency-dependent opposition is called reactance.
For an inductor:
XL = 2πfL
where:
Higher frequency produces higher inductive reactance.
For a capacitor:
XC = 1 / (2πfC)
where:
Here the relationship is reversed: increasing frequency reduces capacitive reactance.
This behaviour explains why inductors and capacitors are so important in filters, power electronics, motors, transformers and power-factor correction systems.
Impedance: AC resistance with phase
In an AC system, resistance and reactance are combined into impedance.
A simplified expression is:
Z = R + jX
where:
-
Z is impedance,
-
R is resistance,
-
X is reactance.
Impedance is measured in ohms, just like resistance.
But unlike ordinary resistance, impedance contains information about both the magnitude of opposition to current and the phase relationship between voltage and current.
Ohm’s law can therefore be extended to AC systems:
V = I × Z
This apparently simple equation is extremely powerful. It forms the basis of AC circuit analysis across everything from small electronic systems to major industrial electrical installations.
Three types of AC power
One of the most important consequences of phase difference is that AC systems contain three different types of power.
Active power
Active power, measured in watts, is the power that performs useful work.
It produces light, heat, mechanical motion, computing or another useful output.
It is normally represented by P.
P = V × I × cos φ
Reactive power
Reactive power is associated with energy that moves back and forth between the electrical source and reactive components such as inductors and capacitors.
It is measured in volt-amperes reactive, or var.
It is represented by Q.
Reactive power does not directly perform useful work, but it is necessary for many devices, particularly motors and transformers.
Apparent power
Apparent power represents the total electrical capacity required from the system.
It is calculated as:
S = V × I
and measured in volt-amperes, or VA.
These quantities form what engineers often call the power triangle.
The relationship is:
S² = P² + Q²
Power factor: a small number with major consequences
Power factor describes how effectively apparent power is converted into active power.
It is defined as:
Power Factor = P / S
For sinusoidal systems:
PF = cos φ
A power factor of 1.0 is ideal.
It means voltage and current are perfectly aligned and all apparent power is being converted into active power.
Consider two loads that both require 100 kW of active power.
If one operates at a power factor of 1.0:
S = 100 kVA
But if another operates at a power factor of 0.8:
S = 100 / 0.8 = 125 kVA
The second system requires substantially more current and infrastructure capacity to deliver exactly the same useful power.
This has real consequences.
Higher current means:
-
greater cable losses,
-
additional heating,
-
potentially larger cables,
-
larger transformers,
-
higher generator capacity,
-
increased UPS requirements,
-
reduced usable electrical capacity.
That is why power factor is not merely a theoretical electrical-engineering concept. It directly affects infrastructure cost, efficiency and reliability.
Why power factor matters in data centers
Data centers are excellent examples of why AC power quality matters.
Modern data centers contain thousands of electronic loads: servers, storage systems, networking equipment, cooling systems, pumps, fans, UPS systems and power-distribution equipment.
Even a relatively small reduction in electrical efficiency can become significant when multiplied across megawatts of continuous power consumption.
A poor power factor may force transformers, switchgear, generators and UPS systems to handle more current than would otherwise be necessary.
For example, assume a technical facility requires 800 kW of active power.
At a power factor of 0.80:
S = 800 / 0.80 = 1,000 kVA
At a power factor of 0.95:
S = 800 / 0.95 ≈ 842 kVA
The useful power is exactly the same.
But the infrastructure requirement is dramatically different.
Improving power factor therefore allows more effective use of existing electrical capacity and can reduce losses in cables and transformers.
In modern facilities, power-factor correction may involve capacitor banks, active power-factor correction, advanced UPS systems or power-electronic controls.
From mathematics to reliable infrastructure
RMS, phasors, impedance and power factor may initially seem abstract. In reality, they describe very practical questions:
How much current will flow?
How large must the cable be?
How much capacity does a transformer need?
Will a generator handle the load?
How efficiently is electrical infrastructure being used?
How much energy is being lost?
And how much spare capacity remains for future expansion?
That is why understanding AC power is so important.
Alternating current is not simply electricity changing direction. It is a dynamic interaction between voltage, current, frequency, resistance, inductance, capacitance and phase.
Once these relationships are understood, the electrical systems behind factories, buildings and data centers become far easier to analyse.
And in a world where digital infrastructure is consuming increasing amounts of electrical energy, understanding how to use that energy efficiently is becoming just as important as knowing how to generate it.