Electronics

Passive Components — resistors, capacitors, and inductors

"Passive" just means a component that can't amplify a signal or add energy of its own — it only resists, stores, or releases the energy already flowing through it. Almost every board you'll ever look at is mostly these three parts, plus the active semiconductors covered next.

Quick reference
What it is
Resistor opposes current; capacitor stores energy in an electric field and opposes voltage change; inductor stores energy in a magnetic field and opposes current change.
Mental model
R = friction, C = a small water tank that fills/drains, L = a heavy flywheel that resists changing speed.
Key numbers
Ohms (Ω), Farads (F, usually µF/nF/pF), Henries (H, usually mH/µH); RC time constant τ = R × C.
Reach for it when
Reading any schematic — these three symbols outnumber every other component on a typical board.

Resistor

A resistor opposes current flow, converting electrical energy into heat in the process — see Fundamentals for Ohm's Law itself. Two ratings matter beyond its resistance value:

Power rating
How much heat it can dissipate continuously (commonly ⅛ W, ¼ W, ½ W for small through-hole parts) — exceed it and the resistor overheats, drifts in value, or fails outright.
Tolerance
How far the actual resistance can vary from the labeled value (±5%, ±1%, tighter for precision parts).

A potentiometer is a resistor with a movable wiper, giving a variable, user-adjustable resistance — the working part inside a volume knob or a trimmer used to calibrate a circuit.

The resistor color code

Small resistors are too tiny to print numbers on legibly, so value and tolerance are encoded as colored bands instead.

A 4-band resistor reading red, red, brown, gold — 22 times 10 ohms, plus or minus 5 percent, which is 220 ohms 2 2 ×10 ±5% Red · Red · Brown · Gold = 22 × 10 Ω = 220 Ω ±5%
Read the bands starting from the end furthest from the tolerance band (usually gold or silver, and set slightly apart from the rest).
ColorDigitMultiplierTolerance
Black0×1—
Brown1×10±1%
Red2×100±2%
Orange3×1,000—
Yellow4×10,000—
Green5×100,000±0.5%
Blue6×1,000,000±0.25%
Violet7—±0.1%
Grey8——
White9——
Gold—×0.1±5%
Silver—×0.01±10%

A 5-band resistor works the same way with one extra digit band, for tighter tolerances. When in doubt (or the bands are hard to see), a multimeter is faster and more reliable than reading tiny paint bands.

Capacitor

A capacitor is two conductive plates separated by an insulator (the dielectric). Applying a voltage across it pushes charge onto the plates, building up an electric field — that field is where the energy is actually stored.

Symbol
C
Unit
Farad (F) — practically always µF, nF, or pF; a full Farad is enormous
Key behavior
Blocks DC once fully charged (looks like an open circuit at steady state); passes AC (more easily at higher frequency)

Charging: the RC time constant

A capacitor doesn't charge instantly — through a resistor, it follows a predictable exponential curve, characterized by the time constant τ = R × C (in seconds, with R in ohms and C in farads).

A battery charging a capacitor through a resistor, and the resulting exponential voltage-versus-time curve reaching about 63 percent after one time constant Battery R C time V 1τ 63% charged at 1τ ~99% charged by 5τ
Current (dashed, animated) flows in fast at first, then tapers off as the capacitor's own voltage starts opposing the source — the same shape every RC charging curve has.

This exact curve is why capacitors are used for timing delays, why a "power good" signal after startup takes a moment to settle, and why a debounce circuit's RC values are chosen deliberately — too small a τ and switch bounce sneaks through, too large and a real button press feels sluggish.

Capacitor types — and the polarity trap

TypeTypical rangePolarized?Common use
CeramicpF – µFNoDecoupling/bypass right next to IC power pins
ElectrolyticµF – mFYesBulk power-rail filtering, energy storage
TantalumµF rangeYesCompact, stable bulk capacitance where board space is tight
FilmnF – µFNoPrecision timing, audio, higher-voltage filtering
Field notes

Electrolytic and tantalum capacitors have a marked + and − lead and must be wired the right way around — reversed, they can leak, vent, or in the worst case fail explosively. Ceramic and film capacitors don't care about polarity at all. Also worth remembering: a large charged capacitor can still hold a dangerous voltage well after power is removed from the board.

Why 0.1 µF specifically for a decoupling capacitor, rather than some other round number? A real capacitor isn't a pure capacitance — its leads and construction add a small parasitic inductance, which means every capacitor has a self-resonant frequency above which it starts behaving inductively instead of capacitively and stops helping at all. A small ceramic capacitor's low parasitic inductance pushes that resonant point high enough to still be effective against the fast switching noise ICs actually generate — a much larger capacitor physically can't do the same job at those frequencies, which is exactly why boards use both a small ceramic right at the pin and a larger bulk capacitor nearby, rather than one capacitor doing everything.

Inductor

An inductor is a coil of wire. Current flowing through it builds a magnetic field, and that field is where the energy is stored — the mirror image of a capacitor storing energy electrically.

Symbol
L
Unit
Henry (H) — practically mH or µH
Key behavior
Passes DC at steady state (just the coil's wire resistance); opposes fast changes in current

Inductor types

TypeCoreWhy you'd choose it
Air-coreNone — just wound wireNo core to saturate at high current, and no core material losses — used in RF circuits and where linearity at high frequency matters most.
Ferrite-coreFerrite ceramicMuch higher inductance for the same physical size than air-core — the default choice in switching power supplies, where board space and efficiency both matter.
Iron-powder-coreCompressed iron powderHandles higher current before the core saturates than ferrite, at somewhat lower efficiency — common in higher-current power inductors.
ToroidalRing-shaped core (ferrite or iron)The closed-loop shape confines the magnetic field almost entirely inside the core, radiating far less interference into nearby circuits than an open rod core.

Reactance: why frequency changes everything

"Blocks DC, passes AC" for a capacitor and "passes DC, blocks AC" for an inductor aren't just rules to memorize — they fall directly out of one idea: both components' opposition to current (their reactance, X) depends on frequency, in opposite directions.

Capacitive reactance
XC = 1 / (2πfC) — as frequency f rises, XC falls toward zero, so a capacitor looks like less and less of an obstacle to higher-frequency signals (and like an open circuit, infinite reactance, at DC where f = 0).
Inductive reactance
XL = 2πfL — the opposite shape: as frequency rises, XL grows, so an inductor looks like more and more of an obstacle to higher-frequency signals (and like a plain wire, zero reactance, at DC).

This is exactly why an LC filter works at all: put a capacitor to ground and an inductor in series on the same line, and low frequencies sail through the inductor and ignore the capacitor, while high frequencies do the opposite — sailing through the capacitor to ground and getting blocked by the inductor. Choosing L and C values is choosing exactly where that crossover happens.

Back-EMF and flyback

Because an inductor actively resists any change in its current, an inductor carrying current that gets suddenly interrupted (a transistor switching off a relay coil or motor) tries to keep that current flowing — and does so by generating a large voltage spike across itself as the magnetic field collapses. That spike, if left unmanaged, is easily large enough to destroy the switching transistor. The standard fix is a flyback diode wired backward across the inductive load, giving the collapsing current a safe path to circulate through instead of arcing through the switch.

R vs. C vs. L at a glance

ResistorCapacitorInductor
Stores energy?No — dissipates as heatYes — electric fieldYes — magnetic field
DC steady stateOpposes current (always)Open circuit (blocks)Short circuit (just wire resistance)
Opposes change in...—VoltageCurrent
Fast transientsNo effectPasses AC / high frequencyBlocks AC / high frequency

Real-world applications

Gotchas

Field notes