All chapters
Sine wavesRMS voltageEdison vs TeslaPower transmission

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.1Two 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.

DC — Direct CurrentAC — Alternating Current-20-10010200204060Constant polarity,constant magnitude(e.g. a BESS stringor EV battery pack)-20-10010200204060Polarity reversesperiodically(e.g. grid distribution feeder)Time (ms)Time (ms)Voltage (V)
Figure 4.1DC delivers a constant voltage in one direction. AC oscillates smoothly between positive and negative, passing through zero twice every cycle — at 50Hz, one complete cycle takes 20 milliseconds.

Table 4.1 — DC and AC, side by side

DCAC
DirectionConstant, one wayReverses periodically
Typical sourcesBatteries, solar cells, fuel cellsPower grid, generators, alternators
Typical usesElectronics, LEDs, motors driven by controllers, battery chargingHousehold power distribution, large industrial motors, long-distance transmission
Easy to step up or down?Historically hard — needs modern power electronicsEasy — simple transformers, no moving parts, over a century of mature technology

4.2Describing 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

TermMeaning
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.1RMS 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.

-400-300-200-1000100200300400Peak voltage ≈ 325VRMS voltage = 230V — what your meter reads as “230V mains”Time (ms)010203040Voltage (V)
Figure 4.2A “230V” AC supply — whether at a data centre’s power distribution unit or a residential wall socket — actually peaks at roughly 325V twice every cycle. The 230V figure is the RMS value: the number that correctly predicts how much heat this supply produces in a resistive load, exactly as a steady 230V DC supply would.

Worked example 4.1Finding 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.2Frequency 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

FrequencyRegions
50 HzIndia, most of Europe, Africa, Asia, Australia — the global majority
60 HzUnited 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.3A 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.

1879Edison’s practicalincandescent bulb(runs on DC)1882Edison’s Pearl StreetStation — first DCpower grid, New York1886Westinghouse licensesTesla’s AC patents1888Tesla patents the ACinduction motor1893AC wins the contractto light the World’sColumbian Exposition1895AC hydroelectric powerfrom Niagara Fallstransmitted 42km
Figure 4.3Key milestones in the AC/DC standards battle that defined how electricity would be delivered for the next century.

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.4Why 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.2Transmission 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.

0.0001%0.001%0.01%0.1%1%10%100%1000%1 kV100%10 kV1%33 kV0.092%100 kV0.01%220 kV0.0021%400 kV0.00063%Power lost in the line, as a percentage of power delivered (log scale)
Figure 4.4Transmission loss as a percentage of delivered power, across a realistic range of grid voltages, for a fixed 1MW delivered over a 1Ω line. This is the entire physical reason AC won the grid: transformers made high-voltage AC transmission cheap and simple, decades before comparable DC voltage conversion technology existed.

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.5Where 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.1Converting 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

ConversionDeviceEveryday example
AC → DCRectifierA 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 → ACInverterA 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.6Quick reference

AC/DC cheat sheet

QuantityFormulaNotes
Instantaneous AC voltageV(t) = V_peak · sin(2πft)t in seconds, f in Hz
RMS voltage (sine wave)V_RMS = V_peak / √2≈ 0.707 × peak
PeriodT = 1/fTime for one full cycle
Transmission lossP_loss = I²RHigher voltage ⇒ lower current ⇒ far lower loss

Chapter summary

Test your understanding

  1. 1A country’s mains supply is rated 120V RMS. What is the approximate peak voltage?
  2. 2Why can’t you simply say “AC voltage” without specifying whether you mean peak, RMS, or something else?
  3. 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.
  4. 4Why does a data centre server power supply need a rectifier, but a BESS’s internal 48V DC auxiliary system does not?
  5. 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”?
  6. 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

SG

Sahil Goyal

Co-founder, Wingzman

LinkedIn
SG

Sourabh Goyal

Co-founder, Wingzman

LinkedIn

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.