Alternating current
Section titled โAlternating currentโIn direct current, the current direction does not reverse; โDCโ often also means that its magnitude is constant. An alternating current reverses direction. A purely sinusoidal AC signal has zero average, although a general periodic signal can contain both a constant DC component and an alternating part.
The circuit model here is quasistatic: the circuit is small compared with the electromagnetic wavelength, so propagation delays and radiation can be neglected. We still include induction and time-dependent charge storage through inductors and capacitors. Quasistatic does not mean that their voltageโcurrent relations can be replaced by DC resistances.
Amplitude, frequency, and phase
Section titled โAmplitude, frequency, and phaseโWe will use the cosine convention:
The amplitudes and are peak values; peak-to-peak values are twice as large. The angular frequency, frequency, and period satisfy
The phase difference tells us whether current reaches each stage of its oscillation before or after voltage. Define
Positive means voltage leads current, or equivalently current lags voltage. Negative means current leads. Using sine instead of cosine changes the phase origin, not the physics, because . Do not mix the two conventions without converting phases.
RMS values
Section titled โRMS valuesโThe ordinary average of a sinusoidal current is zero, but its heating effect is not, since heating depends on . The root-mean-square value captures this effect:
For a sinusoid, the mean of over a cycle is , so
This is the DC current that would produce the same average heating in the same resistor. The division by applies to a sinusoid, not every waveform; use the integral definition otherwise.
Resistors, capacitors, and inductors
Section titled โResistors, capacitors, and inductorsโThroughout this page, current enters the terminal labeled positive for each passive componentโs voltage drop. This keeps , , and consistent.
Resistor: current and voltage are in phase
Section titled โResistor: current and voltage are in phaseโFor an ideal resistor, Ohmโs law holds instant by instant:
Current and voltage have the same phase, and or . The resistor dissipates energy throughout the cycle, regardless of current direction.
Capacitor: current leads voltage
Section titled โCapacitor: current leads voltageโA capacitorโs charge is , so current is determined by how quickly its voltage changes:
Current leads voltage by . At a voltage maximum, charge is momentarily not changing and current is zero; when voltage crosses zero, charge is changing most rapidly and current has maximum magnitude.
Define the positive capacitive reactance magnitude
Higher frequency or larger capacitance gives more current for the same voltage amplitude. In the DC limit an ideal capacitor becomes an open circuit after charging. Saying that AC โpasses throughโ means the plates repeatedly charge and discharge through the external wires, not that conduction electrons cross the ideal dielectric. The charging time constant from circuits governs the accompanying transient.
Inductor: current lags voltage
Section titled โInductor: current lags voltageโAn ideal inductor requires voltage to change its current:
The purely sinusoidal response is
Current lags voltage by . Voltage is largest when current changes fastest, not when current itself is largest. An isolated ideal inductor can also retain a constant current set by its initial condition; the expression above describes its AC component.
Its inductive reactance magnitude is
Higher frequency or larger inductance produces less sinusoidal current for a fixed voltage amplitude. An inductor opposes changes in current, not changes in the source voltage. In a DC steady state its ideal inductive voltage drop vanishes, although a real winding still has resistance.
Phasors and complex impedance
Section titled โPhasors and complex impedanceโKirchhoffโs rules still apply, but peaks of different voltages do not necessarily occur at the same time. Adding their amplitudes as ordinary numbers therefore gives the wrong total. A phasor represents amplitude and phase together as an arrow in the complex plane.
Use so that the imaginary unit is not confused with current . With peak-amplitude phasors,
The physical voltage is the real part; the complex notation keeps track of phase while we calculate. Since differentiation of multiplies it by , differential component laws become algebra:
Multiplication by rotates a phasor through ; multiplication by rotates it through . This reproduces the phase shifts derived above. Impedance is complex, whereas its magnitude is the positive amplitude ratio .
Components in series have the same current, so their impedances add. Parallel branches share a voltage, so their admittances add:
Use complex voltages and currents in Kirchhoffโs junction and loop rules, solve algebraically, and take the real part only when returning to time-dependent quantities. Phasor diagrams and complex algebra are the geometric and algebraic versions of the same calculation.
Series RC example
Section titled โSeries RC exampleโExample. A series circuit has and , driven by . Find its steady-state current.
At , . Thus
Dividing the voltage phasor by divides its amplitude by and subtracts the impedance phase:
The peak current is and leads the supply by . Its RMS value is , not .
Series RLC circuits
Section titled โSeries RLC circuitsโThe same current flows through all three components, making current a convenient phase reference. The resistorโs voltage is in phase with it, the inductorโs is ahead, and the capacitorโs is behind. The latter two voltage phasors point in opposite directions, so
For , the phase of voltage relative to current is
If the source is , then
When the circuit is net inductive and current lags. When it is net capacitive and current leads. The total voltage amplitude obeys
not . Individual inductor or capacitor voltages can exceed the source amplitude because they largely cancel in the sum.
Resonance
Section titled โResonanceโAt ,
For a fixed source amplitude, the series current reaches its maximum and is in phase with the source. Energy still exchanges between the capacitor and inductor; their voltage drops cancel rather than each vanishing. Resistance limits the current and dissipates the energy that the source must replace.
Example. At a certain frequency a series circuit has , , and . The supply is . Find the current, phase, and component voltages.
Current lags by . The component RMS voltages are
Their vector sum is , agreeing with the supply.
Parallel RLC circuits
Section titled โParallel RLC circuitsโIn a parallel circuit, all branches share the same voltage, so use it as the phase reference. The resistor current is in phase with the voltage, the capacitor current leads by , and the inductor current lags by :
Thus the total admittance and impedance are
The source-current amplitude is
For ideal parallel branches, at the capacitor and inductor currents cancel at the source. Their individual currents can be large, but the supply only provides the resistor current. Unlike series resonance, the source current is minimized and the input impedance maximized for this particular parallel topology. A real coilโs series resistance changes the exact result.
Switching transients versus steady state
Section titled โSwitching transients versus steady stateโA sinusoidal particular solution does not generally satisfy an initially uncharged capacitor or an assigned initial inductor current. The complete response is
For a series RC circuit,
If is a sinusoidal particular solution, then
also solves the equation, because the added exponential solves the homogeneous equation. The initial charge determines , and differentiating gives the current. Adding a current transient without checking the capacitorโs charge can miss this constraint.
Example. An initially uncharged series RC circuit is connected at to . Find the current including the transient.
Let . A particular charge solution is
It has , so it cannot be the complete response. Enforcing gives
Differentiating,
Now , consistent with the initially zero source and capacitor voltages. After several time constants, the exponential disappears and the phasor result remains.
Power and energy in AC circuits
Section titled โPower and energy in AC circuitsโInstantaneous power is always under the passive sign convention. Positive power means the component absorbs energy; negative power means it returns energy.
Taking current as the phase reference,
Using the product-to-sum identity,
The second term averages to zero over a cycle, leaving
The power factor is . Large RMS current does not necessarily mean large average power if much of the energy is returned each cycle.
- A resistor has and dissipates .
- An ideal capacitor has and zero average power. It stores energy while charging and returns it while discharging.
- An ideal inductor has and zero average power. It stores energy as current magnitude grows and returns it as that magnitude falls.
For the series RLC example above, , so , also equal to . The apparent power is ; it is not the dissipated power.
With RMS phasors, complex power is
where the star means complex conjugate and is reactive power. With peak phasors, use instead. For a load impedance , . Taking the real parts of voltage and current separately before multiplying is not the same as multiplying the phasors.
Transformers
Section titled โTransformersโA transformer uses a changing common flux in a core to couple two coils. The input coil has turns and the output coil has turns. In the ideal model, winding resistance, leakage flux, and core losses are negligible, and the magnetizing current is neglected.
Each turn links the same flux , so Faradayโs law gives emf magnitudes proportional to the number of turns. With compatible voltage-reference polarities,
More output turns give a step-up transformer; fewer give a step-down transformer. The instantaneous sign depends on winding orientation and chosen terminal polarities. These amplitude ratios work with either peak or RMS values if used consistently.
Conservation of power in the ideal transformer gives the current-magnitude ratio
For a resistive load, voltage and current are in phase on each side, and is the transferred power. A reactive load retains its phase relationship through an ideal transformer; it does not become in phase just because a transformer is present.
An unloaded real transformer still draws a small magnetizing current, approximately inductive, plus a loss component. The idealized zero-current limit is an approximation. Soft magnetic cores reduce hysteresis loss but do not make it literally zero.
Why raise transmission voltage?
Section titled โWhy raise transmission voltage?โFor a fixed real power and power factor, increasing voltage reduces current. In a simplified unity-power-factor model,
Doubling the transmission voltage reduces resistive loss to one quarter if the transmitted power and line resistance stay fixed. This is why generation is followed by step-up transformation for transmission and step-down transformation near the load. The class-note chain of a few to a few tens of kilovolts at generation, hundreds of kilovolts in transmission, and about at a household outlet illustrates the scale changes; it is not a universal set of voltages or a fixed loss percentage.
AC is convenient to produce with rotating generators and to transform using a changing flux. A transformer cannot continuously transform a constant DC input by this mechanism.
Reflected impedance and matching
Section titled โReflected impedance and matchingโA secondary load appears at the primary as
One factor of the turns ratio comes from voltage and another from the inverse current ratio. A transformer therefore changes the impedance seen by a source without dissipating power in an extra resistor.
For a source with purely resistive internal resistance and a resistive load , maximum power transfer occurs when the reflected resistance equals :
Example. A source has internal resistance and drives an load through an ideal transformer. Find the turns ratio for maximum load power.
The load looks like at the primary. If the sourceโs open-circuit RMS voltage is , the maximum load power is . Equal power is lost in the source resistance at this matching point, so maximum power transfer is not maximum efficiency. The low-resistance-speaker model is an illustration of matching, not a claim that every modern audio amplifier should be matched this way.
For complex source impedance, maximum average power instead requires conjugate matching, . A real turns ratio alone cannot generally cancel arbitrary source reactance.
Rectifiers and smoothing
Section titled โRectifiers and smoothingโA diode conducts mainly in one direction. A half-wave rectifier conducts during one half-cycle; a full-wave bridge routes both half-cycles through the load in the same direction. With ideal diodes, a sinusoidal input produces a full-wave output proportional to . This is unidirectional, but it is not constant DC.
Place a capacitor across the load to reduce the ripple. Near each voltage peak, the conducting diodes recharge it. As the source falls below the capacitor voltage, the diodes stop conducting and the capacitor supplies the load, approximately discharging with time constant . A larger capacitor or lighter load produces less voltage drop between peaks.
For small ripple and approximately constant load current,
For full-wave rectification ; for half-wave it is . This follows from and . Real diode drops and brief charging pulses also matter. The capacitor smooths the output, but it does not regulate it against every change in load.
Frequency response and filters
Section titled โFrequency response and filtersโA circuitโs transfer function compares output and input phasors at the same frequency:
Its magnitude gives the amplitude ratio and its argument gives the phase shift. Here denotes a transfer function, not the magnetic field strength .
RC low-pass filter
Section titled โRC low-pass filterโConnect a resistor in series with a capacitor and measure output across the capacitor. Assuming negligible loading, the impedance voltage divider gives
At low frequency, the capacitor impedance is large and most of the input appears across it. At high frequency it is small, so the output is suppressed:
The cutoff is , where the amplitude has fallen to of its low-frequency value. Calling the capacitor a bypass for AC refers to the high-frequency part being diverted away from the output, not to all frequencies behaving identically.
CR high-pass filter
Section titled โCR high-pass filterโMeasure output across the resistor instead, with the capacitor in series at the input:
At low frequency the capacitor blocks most current and the resistor voltage is small. At high frequency its impedance is small and the resistor receives nearly the full input. The cutoff is again . For positive frequency, its phase is .
RLC band-pass response
Section titled โRLC band-pass responseโFor a series RLC circuit with output across the resistor,
Low frequencies are suppressed by the capacitor and high frequencies by the inductor. Near , the reactive terms cancel and the output is largest. These filters have gradual roll-offs, not a sharp boundary at which a frequency suddenly disappears. Connecting a finite load changes the effective impedances and can alter the response.
Fourier series and nonsinusoidal sources
Section titled โFourier series and nonsinusoidal sourcesโA periodic waveform can be decomposed into a DC component and harmonics of its fundamental frequency. For ordinary piecewise-smooth circuit waveforms of period , write
With this convention,
The coefficients are Fourier-series integrals; no separate numerical Fourier transform is necessary. At a jump discontinuity, the series converges to the midpoint of the two limiting values rather than an arbitrarily assigned value at the jump.
For a linear circuit, solve the DC response and each sinusoidal response separately, using or for each harmonic, then add the time-domain results. The impedances change with frequency, so different harmonics acquire different amplitude changes and phase shifts.
For example, a low-pass filter can preserve the constant part of a rectified waveform while attenuating its ripple harmonics. Superposition applies to the linear filter, not to the diode rectifier itself: diodes are nonlinear, so treating every harmonic independently through the rectifier generally fails.
Hysteresis loss in an iron core
Section titled โHysteresis loss in an iron coreโA ferromagnetic core has a history-dependent โ relation. Even if a coil returns to the same field state after a full cycle, some supplied energy has become heat through irreversible changes in its domains.
For a long core of length and cross-sectional area carrying an -turn coil, neglect winding resistance and leakage. Ampรจreโs law gives , while the terminal voltage is . The source supplies
Writing the core volume as , the dissipated energy per cycle is
Its magnitude per unit volume is the enclosed area of the โ hysteresis loop. With horizontal and vertical, a dissipative cycle traverses this loop counterclockwise and . Reversing the axis order reverses that graphical orientation, so the physical point is positive dissipation, not an axis-independent โalways counterclockwiseโ rule.
At frequency , for a fixed loop shape, . This is separate from winding Joule heating and eddy-current loss. Soft magnetic cores with narrow loops reduce hysteresis loss; laminations mainly reduce eddy currents. The magnetism page explains remanence and coercivity; the University of Illinois notes on hysteresis loss give the same work-per-cycle interpretation.