>
section 1 of 915 min read

1. What Is Electricity? Charge as the Foundation

Before voltage, current, or resistance — before any of the fancy stuff — there is charge. Everything else in this whole curriculum is choreography that pushes charge around.

1.1 Charge: the property that makes everything else happen

Some things in the universe simply have a property called charge. We do not have a deeper "why" for it; we only know that some particles carry it and some do not. The electron carries one unit of negative charge. The proton (sitting in the nucleus of every atom) carries one unit of positive charge. The neutron, true to its name, carries none.

That tiny unit of charge has a value: 1.602×10191.602 \times 10^{-19} coulombs. The coulomb (C) is the unit we use day-to-day in electronics, and it is enormous compared to a single electron — one coulomb is the charge of about 6.24 quintillion electrons (6.24 × 10¹⁸ of them). When you read "this wire carries 1 ampere," what you are really reading is "6.24 × 10¹⁸ electrons cross any cross-section of this wire every second." That is an unfathomable number, and it is happening in the cable that charges your phone.

There are exactly two flavors of charge — positive and negative — and they obey one rule that you will use forever: like repels like, opposite attracts. Two electrons in empty space push each other apart. An electron and a proton pull each other together. Two equal positive blobs of charge will spring away from each other. This single rule is the seed of all electricity and magnetism.

Mental picture. Imagine charge as a kind of social preference baked into a particle. Some particles are introverts who hate other introverts (electrons hate other electrons). Some are extroverts who love every introvert they meet (positive charges love electrons). They cannot help it — it is just who they are, written into the laws of the universe.

1.2 Why this matters in your laptop

Every transistor in your CPU stores a bit by holding (or not holding) a clump of electrons in a tiny pocket of silicon. Every signal that flies down a wire is a wave of electrons being sloshed back and forth. Every spark of static electricity that zaps you when you touch a doorknob in winter is a few trillion extra electrons leaping from your finger to the metal because they could not stand being on you any longer. Electronics is the engineering discipline of moving charge on purpose.

A practical consequence: charge cannot just appear or disappear. It is conserved. If 6.24 × 10¹⁸ electrons leave one terminal of a battery per second, the same number must come back into the other terminal in the same second. This is why every electrical circuit must be a closed loop — there has to be a way home for the charges. Cut a wire and current stops, not because the wire forgot how to carry charge but because there is nowhere for the next electron to go.

1.3 The force between charges: Coulomb's law

So like repels like and opposites attract. How hard? The French physicist Charles-Augustin de Coulomb measured it in 1785, and the answer is gorgeously simple:

F=14πε0q1q2r2F = \frac{1}{4\pi\varepsilon_0} \cdot \frac{q_1 q_2}{r^2}

In words: the force between two charges is proportional to the product of the charges and falls off with the square of the distance between them. Double the distance, the force quarters. Triple the distance, it falls to one-ninth.

The strange-looking factor 1/(4πε0)1/(4\pi\varepsilon_0) is just a unit-conversion constant called the Coulomb constant, with a value around 9×1099 \times 10^9 in SI units. The ε0\varepsilon_0 inside it is the permittivity of free space — a property of empty vacuum that says, roughly, "this is how reluctant nothingness is to allow an electric force to act." A bigger ε0\varepsilon_0 means a weaker force. We will meet ε0\varepsilon_0 again when we talk about capacitors, because capacitor capacity depends on this exact same number — the universe's reluctance to let electric fields exist.

The squared-distance falloff is worth dwelling on. It is the same shape as gravity (Newton's law of gravitation has the same 1/r21/r^2 behavior). It comes from a deep geometric fact: imagine a charge sitting at a point, sending out invisible "force lines" in every direction. A sphere drawn around it at radius rr has surface area 4πr24\pi r^2. The same total number of force lines pass through the bigger sphere as the smaller one, but spread over more area — so the density of force lines (which is what determines the force on any test charge sitting on the sphere) drops as 1/r21/r^2. We will formalize this with Gauss's law in a moment, but the geometric intuition is enough to remember.

Number sense. Two charges of one coulomb each, sitting one meter apart, would push each other apart with about 9 billion newtons of force — roughly the weight of a million elephants. This is why you never see one-coulomb static charges in real life: nature distributes charge so it cannot accumulate that much. A typical static-electricity zap from carpet to doorknob involves only a microcoulomb or so.

1.4 Real hardware where Coulomb's law shows up

  • Electrostatic discharge (ESD). Walk across a wool carpet on a dry winter day, friction strips a few microcoulombs of electrons from the carpet onto you. You touch a USB port. The charges in your finger see a much closer ground than they had been able to reach, the Coulomb force ramps up enormously, and a few thousand volts arc through the IC pins of your laptop. Many a chip has been killed this way. Every modern integrated circuit has small ESD-protection diodes on every pin specifically to absorb these transients.
  • Tribo-electric attacks on smartcards. Rubbing a smartcard on a plastic sleeve can build up a static charge on the surface. If that charge couples into the chip mid-cryptographic-operation, it can cause faults that leak the key. This is one of the simplest "fault injection" attacks, and it is pure Coulomb's law.
  • Capacitive touch screens. The screen is a grid of tiny conductors holding a small charge. Bring your finger near a grid intersection — your finger is also slightly charged (mostly water, full of ions) — and the local Coulomb interaction changes how the screen's electronics measure that intersection's capacitance. The phone reads out which pixel you touched.

1.5 The electric field: making the force into a thing

Coulomb's law is fine when there are two charges. But in real circuits we have trillions. Every charge talks to every other charge. Tracking pair-wise forces would be insane.

The trick — and it is one of the deepest moves in physics — is to stop talking about charges pulling on each other and start talking about each charge creating a field in space. The field is invisible, fills all space around the charge, and another charge then feels a force based on the field where it sits.

We define the electric field E\vec{E} at a point as the force per unit charge a tiny positive test charge would feel there:

E=Fqtest\vec{E} = \frac{\vec{F}}{q_{test}}

The units are newtons per coulomb (N/C), or — equivalently and more usefully — volts per meter (V/m). For a single point charge QQ at the origin, the field at distance rr is

E=Q4πε0r2r^\vec{E} = \frac{Q}{4\pi\varepsilon_0 r^2}\hat{r}

The hat on rr just says "in the radial direction, pointing away from the charge if QQ is positive."

The trampoline analogy. Imagine an enormous trampoline stretched flat. Place a heavy bowling ball on it. The fabric near the ball dips, and the dip extends outward, getting shallower with distance. Now roll a marble across the trampoline. The marble curves toward the dip — even though the bowling ball never touched it. The bowling ball changed the shape of the trampoline (the field), and the marble responded to that shape (the force).

A positive charge "dips the field" outward. Another charge nearby rolls into the dip — that is, gets pulled. Negative charges create the opposite kind of dip. Two opposite charges create a saddle-shape between them; their dips combine, and any test charge dropped near them rolls toward whichever charge is closer in field strength.

This switch from "charges acting on each other" to "fields filling space" is not just notation. It is physically meaningful: when one charge moves, the change in the field does not propagate instantly to other charges. It propagates at the speed of light. The field is real. In fact, the field is what light is — but we will get there.

1.6 Field lines: drawing what is invisible

Engineers and physicists doodle electric fields with field lines: imaginary arrows that point in the direction the field is locally pointing, with density proportional to field strength. Three rules:

  1. Field lines start on positive charges and end on negative charges (or run off to infinity).
  2. They never cross. Two crossing lines would mean two field directions at one point — impossible.
  3. Their density tells you the strength.

Around an isolated positive charge, the lines fan out radially in every direction. Around a negative charge, they all point inward. Two opposite charges next to each other? Lines bow out from the positive, curve through space, and dive into the negative — the famous "dipole" pattern you might remember from high school. Two positive charges next to each other? Lines push each other away, leaving a kind of empty corridor between them.

Field lines are not physical, but they are an extraordinary visualization aid. Most modern circuit-simulation tools (HFSS, COMSOL, even free ones like FEMM) plot fields this way internally, then color-code intensity — these tools are doing nothing more than rigorously computing what your high-school physics teacher's chalk drawings approximated.

1.7 Voltage: what it really is

Now we are ready to talk about the most-used word in electronics: voltage.

Picture pushing a positive charge against the field — uphill, against the force. To do that, you have to do work on the charge. That work does not vanish; it gets stored as electrical potential energy. Now release the charge. The field pushes it back the way it came, and the stored energy turns back into kinetic energy as the charge accelerates. Same idea as lifting a rock against gravity, then dropping it — work in, energy stored, energy out.

Voltage is electrical potential energy per unit charge. Numerically:

V=WqV = \frac{W}{q}

— work done on the charge, divided by the size of the charge. Units: joules per coulomb, which we call volts (V) and shorten so much that we forget the unit ever stood for anything.

The water analogy you will use forever. A wire carrying current is like a pipe carrying water.

  • Voltage = water pressure (or, more precisely, the height difference between two reservoirs). High pressure means the water is "eager" to flow somewhere. Zero pressure difference means no flow, even with the pipes full.
  • Current = flow rate (gallons per minute, or in our case coulombs per second).
  • Resistance = pipe narrowness (or kinks, or a clogged filter). Narrower pipe → less flow at the same pressure.

A 9-volt battery is like a tank of water raised 9 feet above your sink. A 230-volt mains outlet is like a tank of water raised 230 feet — the same flow of water through the same hose will hit your hand much harder. That is why high voltage is more dangerous: each electron arrives carrying more energy.

The most important practical fact about voltage — the one beginners get wrong all the time — is that voltage is always a difference. There is no such thing as "voltage at point A" by itself. There is only "voltage between A and B." When someone says "the wire is at 5 volts," they mean 5 volts relative to the agreed reference point we call ground. Just as saying "the second floor of a building is 4 meters up" only makes sense if you have agreed that the ground floor is at zero meters.

This is also why the symbol GND appears on every schematic — it is the agreed "sea level" of voltage in your circuit. Every voltage measurement you ever make is, implicitly, "with respect to GND."

1.8 Worked example: a simple voltage and the work it does

Suppose you have a 1.5 V AA battery and you push a charge of 1 coulomb from the negative terminal to the positive terminal through the battery. (Inside the battery, chemistry does the pushing for you.) The work done on that charge is

W=qV=1 C×1.5 V=1.5 J.W = qV = 1 \text{ C} \times 1.5 \text{ V} = 1.5 \text{ J}.

That charge now has 1.5 joules of stored potential energy. Connect an LED across the battery (with the proper resistor) and the charge flows back from + to − through the LED, releasing those 1.5 joules as a tiny bit of heat and light along the way. A typical AA battery holds about 9000 joules of energy (some 6000 coulombs at 1.5 V) — enough to run a 0.1 W LED for a full day, or a 1 W flashlight for two and a half hours. The battery's job is just to keep providing the 1.5 V "pressure" while charges drain away through your circuit.

Real-world consequence. Every spec sheet for a chip says "operate from 1.8 V to 5.5 V" or similar. That is the pressure the chip is rated for. Apply 12 V and the chip's internal field exceeds breakdown — gate oxides puncture, transistors fail, magic blue smoke. Apply 0.5 V and the chip's transistors do not get enough push to switch reliably; logic levels become noise-vulnerable garbage.

1.9 Gauss's law: counting field lines

Let us tighten the field-line picture into actual math. Imagine drawing an arbitrary closed surface — a balloon, a box, anything that wraps a region of space — and asking: how many field lines are puncturing this surface? Gauss's law says:

SEdA=Qenclosedε0\oint_S \vec{E} \cdot d\vec{A} = \frac{Q_{enclosed}}{\varepsilon_0}

In words: add up the (perpendicular component of the) electric field over the entire closed surface, and you get the total charge inside divided by ε0\varepsilon_0. Field lines pointing outward count positive; those pointing inward count negative.

Why is this useful? Because it gives us field calculations practically for free in symmetric situations.

  • Spherical symmetry (a point charge, or a uniformly charged ball). Draw a Gaussian sphere of radius rr around it. By symmetry, the field has the same magnitude everywhere on the sphere and points radially. So the integral becomes just E×4πr2E \times 4\pi r^2, and Gauss gives you E=Q/(4πε0r2)E = Q/(4\pi\varepsilon_0 r^2) — Coulomb's law, again, but much faster.
  • Cylindrical symmetry (an infinite charged wire). Draw a cylindrical Gaussian surface around it. The field comes out radially. You get EE proportional to 1/r1/r, not 1/r21/r^2 — a slower falloff for line charges.
  • Planar symmetry (an infinite charged plane). Draw a pillbox straddling the plane. The field comes out at E=σ/(2ε0)E = \sigma/(2\varepsilon_0), independent of distance. The field of an infinite plane does not fall off at all. (This is approximate for the plates of a real capacitor — a remarkably good approximation as long as you stay close to the plates and away from their edges.)

Coaxial cable as Gauss's law in action. Consider why your home's TV cable can ferry signals across thousands of cables in a building without crosstalk between them. A coax cable has an inner conductor wrapped by an outer conductor (the "shield"). Draw a Gaussian cylinder outside the shield. Total enclosed charge: zero (the inner conductor's charge is canceled by the equal and opposite charge induced on the inner surface of the shield). Therefore the electric field outside the cable is zero. The inner conductor's signal cannot escape, and external interference cannot get in. This is the entire reason coax exists, and it is one law: Gauss's. The same trick — wrapping a sensitive thing in a metal cage to kill external fields — is called a Faraday cage and shows up in TEMPEST-shielded rooms, MRI machines, and anti-eavesdropping smartcard packages.

1.10 Conductors, insulators, and a curious fact

In a conductor, electrons can move freely. Place a conductor in an external electric field and the electrons rearrange themselves until the field inside the conductor is zero. (Why? Because if any field remained, the free electrons would respond to it; and they keep rearranging until they cannot respond anymore — which means until the field is zero.) Any net charge on a conductor lives on its outer surface, never the bulk. This is why a charged metal ball "feels" empty inside; it is, in fact, electrically empty inside.

In an insulator (also called a dielectric), electrons are bound to atoms and cannot wander freely. An external field can stretch the electron clouds slightly (creating a tiny induced dipole), and that polarization partially cancels the external field — but not completely. So fields exist inside insulators. We use this all the time: capacitors stuff a slab of insulator (the dielectric) between two conductive plates specifically because the slight polarization lets the cap store more charge per volt.

We will return to all of this when we discuss capacitors and band theory. For now, just remember: fields die inside metal, but live inside insulators.