AC vs. DC Current
Why your wall socket and your battery fundamentally disagree — and the bitter 1880s corporate war that decided how the modern world gets wired.
Musk's Rocket Science · Part 1 — Electricity Basics · Chapter 4 · 16 min read
Every equation in Chapters 1 through 3 quietly assumed something: that current flows steadily in one direction, like water down a pipe. That assumption is true for a battery. It is not true for the electricity coming out of your wall socket — which reverses direction 50 or 60 times every single second, and has done so, everywhere in the world, for well over a century.
This chapter explains the physical difference between direct current (DC) and alternating current (AC), the genuinely strange mathematics of describing a current that keeps flipping direction, and the story of how a 19th-century corporate rivalry — Thomas Edison against George Westinghouse and Nikola Tesla — decided, permanently, which one would power the modern world.
4.1 — Two ways to deliver electrical energy
Direct current (DC) flows in one constant direction, at a steady magnitude. A battery is the classic example: current always flows from the positive terminal, through the circuit, back to the negative terminal, for as long as the battery has charge.
Alternating current (AC) periodically reverses direction, tracing out a smooth wave over time — almost always a sine wave in modern power systems. Your home’s wall socket is AC: the current is not just varying in strength, it is genuinely switching which way it flows, dozens of times per second.
Table 4.1 — DC and AC, side by side
| DC | AC | |
|---|---|---|
| Direction | Constant, one way | Reverses periodically |
| Typical sources | Batteries, solar cells, fuel cells | Power grid, generators, alternators |
| Typical uses | Electronics, LEDs, motors driven by controllers, battery charging | Household power distribution, large industrial motors, long-distance transmission |
| Easy to step up or down? | Historically hard — needs modern power electronics | Easy — simple transformers, no moving parts, over a century of mature technology |
4.2 — Describing a wave: the sine function
Because AC voltage continuously changes, we need an equation that describes its value at any instant in time, not just a single fixed number. The voltage of a standard AC supply follows:
V(t) = V_peak · sin(2πft)
V(t) is the instantaneous voltage at time t, V_peak is the maximum voltage reached, and f is the frequency — how many complete cycles happen every second, measured in Hertz (Hz).
Table 4.2 — Key sine wave vocabulary
| Term | Meaning |
|---|---|
| Peak voltage (V_peak) | The maximum voltage reached at the top of the wave |
| Period (T) | Time for one complete cycle, T = 1/f |
| Frequency (f) | Cycles per second, measured in Hertz |
| Angular frequency (ω) | ω = 2πf, radians per second — the rate the wave’s phase advances |
4.2.1 — RMS voltage: why “230V” is not the peak
Here is a question that trips up nearly everyone: if AC voltage is constantly swinging between a positive peak and a negative peak, what does it even mean to say your wall socket is “230V”? It cannot be the peak. And it cannot be a simple average either — averaging a sine wave over a full cycle gives exactly zero, because the positive and negative halves cancel out.
The answer is RMS — Root Mean Square voltage: the equivalent steady DC voltage that would deliver the same average power to a resistive load. For a pure sine wave, RMS and peak are related by a simple, fixed factor:
V_RMS = V_peak / √2 ≈ 0.707 × V_peak
The same relationship applies to AC current: I_RMS = I_peak / √2.
Worked example 4.1 — Finding the peak voltage feeding a data centre PDU
A data centre’s power distribution unit (PDU) receives single-phase AC rated 230V RMS from the site’s step-down transformer. What is the actual peak voltage the PDU’s internal components briefly experience, twice every cycle?
V_peak = V_RMS × √2 = 230 × 1.414 ≈ 325V
This is why AC-rated components — PDU insulation, capacitors, the rectifier diodes in the server power supplies downstream — must be rated well above the nominal 230V figure. The wiring and components are briefly exposed to 325V, not 230V, twice every single cycle: 100 times a second at 50Hz.
Technical framing
The √2 factor comes directly from the definition of RMS: square the voltage at every instant (making everything positive), average that over one full cycle, then take the square root. For sin²(θ), the average value over a full cycle is exactly ½ — so V_RMS = √(V_peak² × ½) = V_peak/√2.
4.2.2 — Frequency around the world
Mains frequency is not universal. It is a historical accident, frozen in place once national grids were built around it.
Table 4.3 — Mains frequency by region
| Frequency | Regions |
|---|---|
| 50 Hz | India, most of Europe, Africa, Asia, Australia — the global majority |
| 60 Hz | United States, Canada, most of South America, parts of Japan |
In plain English
There is no fundamental physics reason 50Hz is better or worse than 60Hz — both work fine. Early equipment manufacturers and national grid operators each settled on a standard in the late 1800s and early 1900s, and once millions of devices and generators had been built around one frequency, switching became prohibitively expensive. It is the same kind of historical lock-in as Franklin’s current convention from Chapter 2.
4.3 — A history interlude: the War of Currents
By the mid-1880s, Thomas Edison had already built the first commercial power station — Pearl Street Station in New York, delivering direct current to a few hundred nearby customers. Edison had enormous financial and reputational stakes in DC succeeding as the standard for the entire country.
There was just one serious problem: DC, at the voltages of the day, could not travel far. Resistive losses in the wires meant DC power stations had to be built within roughly a mile of the customers they served — utterly impractical for lighting entire cities, let alone rural areas.
George Westinghouse, backed by Nikola Tesla’s patented AC induction motor and transformer designs, offered a solution: AC voltage could be easily stepped up for efficient long-distance transmission, then stepped back down to safe levels near the customer, using nothing more than a transformer — a device with no moving parts, built from little more than wire wound around an iron core.
A darker footnote
Edison’s campaign against AC included a genuinely ugly public relations effort designed to paint AC as lethally dangerous — including involvement in developing the first electric chair, deliberately built to use AC, specifically to associate Westinghouse’s technology with death in the public imagination. It was a smear campaign as much as an engineering argument, and it did not work: AC won on the merits of physics and economics regardless.
The turning point came in 1893, when Westinghouse underbid Edison’s General Electric to light the World’s Columbian Exposition in Chicago using AC — a highly visible public demonstration. Two years later, in 1895, AC hydroelectric power from Niagara Falls was successfully transmitted 42 kilometres to Buffalo, New York, definitively proving AC’s advantage for real-world, large-scale power delivery. DC, for grid-scale power distribution, had lost.
4.4 — Why AC won: the physics of transmission loss
Power lost to resistance in a wire is P = I²R — it grows with the square of the current. This single fact explains the entire War of Currents. For any fixed amount of power you need to deliver, P = V × I means there is a direct trade-off: raise the transmission voltage, and the current needed to deliver the same power drops proportionally — which shrinks I²R losses far more dramatically, since that term is squared.
Worked example 4.2 — Transmission loss at different voltages
Suppose you need to deliver P = 1,000,000W (1MW) over a transmission line with total resistance R = 1Ω.
At 1,000V: I = P/V = 1,000A → loss = I²R = 1,000² × 1 = 1,000,000W
The entire power delivered is lost as heat. Completely impractical.
At 100,000V: I = P/V = 10A → loss = I²R = 10² × 1 = 100W
Just 0.01% of delivered power. Raising voltage 100×, from 1kV to 100kV, cut transmission losses by a factor of 10,000 — because losses scale with the square of the current reduction.
Why this matters later
Modern power electronics have actually closed much of this gap. High-Voltage DC (HVDC) transmission now exists and is used for some very long undersea or cross-country links, because solid-state converters can step DC voltage up and down almost as easily as an AC transformer once could. But AC retains the advantage for the vast majority of everyday grid distribution, which is why your wall socket is still AC, everywhere in the world, well over a century after the War of Currents ended.
4.5 — Where DC actually won
Despite losing the grid-scale transmission battle, DC never went away — and today it is more important than ever, for reasons Edison could not have anticipated.
- •Batteries are inherently DC. Every battery — a gigafactory-produced EV cell, a grid-scale BESS string, a green-hydrogen electrolyser’s internal cell stack — stores and delivers direct current. There is no such thing as an “AC battery” using standard electrochemistry.
- •Modern electronics run on DC. Every chip inside a data centre server, a BMS or a smart meter needs a stable DC voltage — which is why every AC-fed data centre and telecom site contains AC-to-DC conversion stages, often stepping down to the 48V DC standard from Chapter 1.
- •Solar panels generate DC directly from the photovoltaic effect, which is why every solar PV plant needs an inverter stage before its power can join an AC grid.
- •HVDC transmission now handles specific long-distance and undersea links — including bringing power ashore from offshore wind farms — more efficiently than AC, using modern power electronics Edison never had access to.
4.5.1 — Converting between the two
Because both AC and DC are essential in different parts of the same system, converting between them is one of the most common tasks in all of electrical engineering.
Table 4.4 — Converting between AC and DC across the energy stack
| Conversion | Device | Everyday example |
|---|---|---|
| AC → DC | Rectifier | A green-hydrogen electrolyser’s grid-tied rectifier, converting incoming grid AC to the DC an electrolyser stack requires; a data centre server power supply converting site AC to internal DC rails |
| DC → AC | Inverter | A solar PV plant’s string or central inverter (panel DC → grid AC); a BESS’s Power Conversion System exporting stored DC energy to the AC grid; an EV traction inverter driving an AC induction motor from a DC battery pack |
In plain English
An electric vehicle is a perfect example of both directions at once. The battery pack stores and delivers pure DC. If the vehicle uses an AC induction motor — the same fundamental technology Tesla patented in 1888 — the motor controller has to act as an inverter, rapidly switching the DC pack output to synthesise an AC-like waveform the motor can use, and adjusting that synthesised frequency to control motor speed. Charging the pack from an AC wall socket runs the whole process in reverse, through a rectifier and charging circuit.
4.6 — Quick reference
AC/DC cheat sheet
| Quantity | Formula | Notes |
|---|---|---|
| Instantaneous AC voltage | V(t) = V_peak · sin(2πft) | t in seconds, f in Hz |
| RMS voltage (sine wave) | V_RMS = V_peak / √2 | ≈ 0.707 × peak |
| Period | T = 1/f | Time for one full cycle |
| Transmission loss | P_loss = I²R | Higher voltage ⇒ lower current ⇒ far lower loss |
Chapter summary
- ✓DC flows in one constant direction (batteries, solar panels, electronics). AC periodically reverses direction, typically as a smooth sine wave (power grids, generators).
- ✓A sine wave is described by V(t) = V_peak · sin(2πft), with frequency f measured in Hertz.
- ✓RMS voltage (V_peak/√2 for a sine wave) is the equivalent DC value for power purposes — “230V mains” is an RMS figure; the actual peak is closer to 325V.
- ✓Mains frequency (50Hz or 60Hz depending on region) is a historical standard, not a law of physics — a lock-in effect similar to Franklin’s current convention.
- ✓The War of Currents (1880s–1890s) between Edison (DC) and Westinghouse and Tesla (AC) was decided by physics: AC’s easy transformability let it transmit power at high voltage, slashing I²R losses over long distances. DC of that era could not compete.
- ✓DC never disappeared: batteries, solar panels and modern electronics are fundamentally DC, which is why rectifiers (AC→DC) and inverters (DC→AC) are everywhere in modern power systems, including EV drivetrains.
Test your understanding
- 1A country’s mains supply is rated 120V RMS. What is the approximate peak voltage?
- 2Why can’t you simply say “AC voltage” without specifying whether you mean peak, RMS, or something else?
- 3Using P = I²R, explain in your own words why doubling transmission voltage — while keeping delivered power constant — reduces line losses by a factor of four, not two.
- 4Why does a data centre server power supply need a rectifier, but a BESS’s internal 48V DC auxiliary system does not?
- 5If an EV uses a DC battery pack but an AC induction motor, what two conversions — and which devices — are needed to get from “charging cable” to “wheels turning”?
- 6Challenge: a regional grid runs at 50Hz. What is the period, T, of one complete AC cycle, in milliseconds? How many times does the voltage cross zero every second?
Frequently asked questions
What is the difference between AC and DC current?+
DC (direct current) flows in one constant direction at a steady magnitude — batteries, solar cells and electronics all use it. AC (alternating current) periodically reverses direction, tracing a sine wave, and is what the power grid and your wall socket deliver. The key practical difference is that AC voltage can be stepped up and down with a simple transformer, which is why grids transmit AC.
Why is 230V mains not the peak voltage?+
230V is the RMS (Root Mean Square) value — the equivalent steady DC voltage that would deliver the same average power to a resistive load. The actual peak is V_RMS × √2 = 230 × 1.414 ≈ 325V, reached twice every cycle. A simple average would be useless because the positive and negative halves of a sine wave cancel to exactly zero.
Why do power grids transmit electricity at very high voltage?+
Because power lost in the line is I²R — proportional to the square of the current. For a fixed power delivery, P = V × I means raising voltage cuts current proportionally, so losses fall with the square of that reduction. Delivering 1MW over a 1Ω line loses 100% of the power at 1kV but only 0.01% at 100kV. Transformers made this cheap for AC decades before DC conversion technology existed.
Who won the War of Currents, Edison or Tesla?+
AC won, backed by George Westinghouse and Nikola Tesla’s patents, against Edison’s DC. The decisive moments were Westinghouse lighting the 1893 World’s Columbian Exposition in Chicago with AC, and the 1895 transmission of AC hydroelectric power 42km from Niagara Falls to Buffalo. Edison’s counter-campaign included associating AC with the first electric chair — a smear effort that failed against the physics and economics.
Why is mains 50Hz in India and 60Hz in the United States?+
Historical accident, not physics. Neither frequency is inherently better. Equipment manufacturers and national grid operators each settled on a standard in the late 1800s and early 1900s, and once millions of devices and generators had been built around one frequency, changing it became prohibitively expensive.
What is the difference between a rectifier and an inverter?+
A rectifier converts AC to DC — a green-hydrogen electrolyser’s grid-tied rectifier feeding its cell stack, or a data centre server power supply converting site AC to internal DC rails. An inverter converts DC to AC — a solar PV plant’s string or central inverter, a BESS Power Conversion System exporting stored energy to the grid, or an EV traction inverter driving an AC induction motor from a DC battery pack.
Reviewed by
Musk's Rocket Science is an original educational series explaining the physics and chemistry behind everyday electricity and battery technology. Figures and worked examples use standard physical constants and representative real-world values for illustration.