A Feynman diagram is a bookkeeping device for quantum field theory. Each diagram represents one contribution to the probability amplitude for a process, such as two electrons scattering off each other. External lines are the particles that come in and go out, internal lines are virtual particles exchanged along the way, and the points where lines meet are vertices.

Strict rules turn every line and vertex into a mathematical factor, so drawing a diagram is the same as writing down an integral. Because each vertex brings in a power of a small coupling, diagrams can be sorted by how many vertices they contain, and the simplest usually dominate. Richard Feynman introduced the pictures in the late 1940s, and Freeman Dyson showed they were equivalent to the formal methods of Julian Schwinger and Sin-Itiro Tomonaga. The pictures scale remarkably: the fifth-order calculation of the electron's magnetic moment alone involves more than 12,000 diagrams.