Skip to content

Electricity and Magnetism

Charge and the electric field

The invisible field behind shocks and touchscreens

You shuffle across a carpet, reach for a doorknob, and a spark bites your finger. A balloon rubbed on your hair makes it stand up. Lightning is the same thing, scaled to the sky. What is the invisible stuff behind all of it, and why does it reach across empty space to grab you?

Start with what you can feel. Rubbing does something to objects that lets them pull or push on each other without touching. Two balloons rubbed the same way drift apart; the balloon and your hair pull together. There are clearly two flavours of this something, and same repels while opposite attracts. We call the something , and its two flavours positive and negative. That is the whole starting point: two kinds of charge, like pushes like away, opposites pull together.

Predict first: where does the charge come from?

You rub a balloon on your hair and the balloon becomes negative. Did the rubbing create that charge out of nothing? Most people say yes. Hold that thought - if rubbing made charge from nowhere, where did the equal and opposite charge on your hair come from?

Rubbing does not create charge. It moves charge. Some electrons, the light negative particles, get scraped off your hair and onto the balloon. The balloon ends up with extra electrons (negative); your hair, now short exactly that many, is left positive. Nothing was made. The books balance to the last electron. This is , and it is one of the most exact rules in all of physics: the total charge before equals the total after, always.[1]

The field: play before the equation

Here is the part that feels like magic. Two charges push and pull across a gap with nothing in between. How does one charge know the other is there? The trick physics uses is to stop thinking of it as one charge reaching out to another. Instead, a charge fills the space around itself with an invisible influence, and that is what the second charge feels, right where it sits. Drag the charges below and watch the influence, drawn as little arrows, rearrange itself through the empty space instantly.

Two charges start on the canvas. The arrows are the electric field - the push a positive test charge would feel at each spot. Drag the charges and watch it rearrange instantly, even in the empty space between them.
+-

Drag any charge to reshape the field. Double-click a charge to delete it. The green dot is a positive test charge released from the left - it rides the field, tracing one field line as it goes.

Each arrow shows the push a tiny positive test charge would feel if you placed it there. That map of pushes is the . The field is not just where you can feel it - it exists at every point in the space, filled in whether or not a test charge is there to be pushed. When you release the green test charge, it does not compute distances to every source. It simply feels the arrow at its own location and follows it. The field is the local messenger.

How strong, and how it falls off

Experiment pins down the force between two charges precisely. It grows with each charge, and it weakens with the square of the distance between them. Written out, this is (a stated experimental result[2]):

k is a constant; q1 and q2 are the charges; r is the distance between them.

You have met that shape before. If you have done the gravity lesson, this is the identical inverse-square form as Newton's , with charge in place of mass. That is not a coincidence you have to accept blindly. Picture the influence spreading out from a point charge like paint sprayed evenly in all directions. By the distance it is smeared over the surface of a sphere, and a sphere's area is . The same total influence spread over an area that grows as must thin out as . Any influence that streams outward from a point and is conserved falls off this way, which is why gravity and electricity share it.

To strip out the test charge and describe only what the source does to space, we divide the force by the size of the test charge . That defines the field:

Field = force per unit charge. Units: newtons per coulomb.

And fields simply add. Two charges? At every point, add their two arrows tip to tail and you get the real field there. That vector sum is exactly what the widget computes, and it is exactly what your code would do.

import numpy as np

K = 8.99e9  # Coulomb constant, N m^2 / C^2

def field_at(point, charges):
    # charges: list of (q, position). Returns the net E vector at point.
    E = np.zeros(2)
    for q, pos in charges:
        d = point - pos
        r = np.linalg.norm(d)
        E += K * q * d / r**3   # (d / r^3) is the unit vector / r^2
    return E                    # a positive charge here feels force q * E
The whole field engine: at any point, sum k q / r^2 (as a vector) over every charge.

Why some things zap and others hold: conductors and insulators

Why does the shock jump from a metal doorknob but not a wooden one? In a such as metal, some electrons roam freely, so charge flows and rearranges the instant a field appears. In an such as rubber or wood, charges are pinned in place. The carpet charges you up; touch metal and all that excess charge dumps through the low-resistance path at once, a spark. That flowing charge is the subject of the next lesson.

Your touchscreen is a field detector

A capacitive touchscreen holds a fine grid of transparent conductors, each storing a little charge (its ). Your finger is a conductor too, connected to the large reservoir of your body. Bring it close and it distorts the field at the nearest grid cells, changing how much charge they hold. The screen reads which cells dipped and averages them to find exactly where you touched. Switch the widget to the Touchscreen tab and drag a finger across the grid to watch the cells light up.

Lock it in

  • Charge comes in two kinds; like repels, opposite attracts. Rubbing moves it, never creates it - total charge is conserved.
  • A charge fills the space around it with an electric field: at each point, the force per unit charge a test charge would feel.
  • Coulomb's law is inverse-square, F = k q1 q2 / r^2, the same shape as gravity, because influence spreads over a sphere of area 4 pi r squared.
  • Fields from many charges add as vectors - that sum is the whole simulation.
  • Conductors let charge move (metal zaps); insulators pin it. A touchscreen senses your finger by the field and capacitance it changes.

Check yourself

You rub a balloon on your hair and it picks up negative charge. Where did that charge come from?

Think about the books balancing. Try to state it, then check.

Coulomb's law for charges and Newton's law of gravity share which feature?

A capacitive touchscreen registers your finger because your body...

Match each pair or material to its behaviour.

drop here

Repel each other

drop here

Attract each other

drop here

Charges move through it freely

drop here

Charges stay locked in place

Primary source

The Feynman Lectures on Physics, Volume II, Chapters 4 to 6 (electrostatics and the field)

Feynman builds the electric field from Coulomb's law and shows why the field picture, not action at a distance, is the honest way to think about it.

Sources

  1. 1.Feynman Lectures on Physics, Vol II, Ch 4-6 - Electrostatics and the electric field
  2. 2.OpenStax University Physics Vol 2, Ch 5-7 - Charge, Coulomb's law, electric field, capacitance