Sub topic 1
Voltage and Energy per Unit Charge
This chapter defines voltage as energy per unit charge. It also shows why voltage always refers to two points, and why its sign needs a reference. Later chapters build on these facts to define power and the passive sign convention.
Prerequisites
This chapter assumes you already know the following:
- Charge is measured in coulombs (C), and the elementary charge is about 1.602 × 10⁻¹⁹ C.
- Energy is measured in joules (J), and work is a transfer of energy.
- Ohm's law, v = iR, and the basic elements: resistors, ideal voltage sources and ideal current sources.
- Kirchhoff's voltage law (KVL) as a rule for summing voltages around a loop.
- Derivatives and integrals of simple functions, which appear in the differential definition below.
Voltage as energy per unit charge
Charges in a circuit have energy that depends on where they are. Moving a charge from one point to another either costs energy or releases it. Voltage measures that energy per unit of charge.
Voltage between two points a and b is defined as
v_ab = dw / dq
Here dw is the energy exchanged when a small charge dq moves between the points. The unit is the volt (V):
1 V = 1 J / 1 C
If 1 coulomb moves through a potential difference of 1 volt, it exchanges 1 joule. If 2 C moves through 12 V, it exchanges 2 × 12 = 24 J. For a fixed voltage, the energy is simply w = q·v.
Voltage is a property of a pair of points, not of one point. Saying "the voltage is 5 V" means nothing until you say between which two points. Saying "the voltage at node a is 5 V" is shorthand. It means the voltage between node a and a reference node, usually called ground.
Which way does the energy go?
The definition above needs a direction. Use this one throughout the tutorial.
Let vab be the voltage of point a relative to point b, so vab = va − vb. A positive charge q that moves from a to b gives up the energy q·v_ab:
- If v_ab is positive, point a is at a higher potential than b. A positive charge moving from a to b loses energy, and the circuit element it passes through gains that energy.
- If v_ab is negative, a positive charge moving from a to b gains energy. Something else must be supplying that energy.
Reversing the labels reverses the sign: vba = −vab. A negative charge, such as an electron, behaves in the opposite way. An electron moving from a to b with vab = +5 V gains 5 eV. This is because its charge is −e, so q·vab is negative, which means it gives up negative energy.
Voltage as a potential difference
Voltage is also called a potential difference. Each point in a circuit has an electric potential: the potential energy per unit charge a test charge would have there. The voltage between a and b is the difference of the two potentials. This view makes three facts easy to remember.
- Voltage adds along a path. Going from a to c through b gives vac = vab + vbc. The intermediate potential vb cancels.
- Voltage does not depend on the path. Any route from a to b gives the same v_ab. In the lumped circuit model this is why KVL holds: around a closed loop the net potential change is zero.
- Voltage does not depend on the choice of ground. Moving ground only changes the labels of node voltages.
The path independence has a limit. It holds when no changing magnetic flux passes through the loop. In ordinary circuit analysis you assume this, which is the lumped-element approximation. If a loop encloses a rapidly changing magnetic field, KVL fails for that loop. This course stays inside the lumped model.
Voltage is not current
Beginners often blur voltage and current, so keep the roles apart.
| Quantity | Symbol | What it measures | Defined between | Unit |
|---|---|---|---|---|
| Voltage | v | Energy per unit charge | Two points | volt (V) = J/C |
| Current | i | Charge flowing per unit time | Through one cross-section | ampere (A) = C/s |
Voltage is measured across an element, and current is measured through it. A battery can have a voltage across its terminals with no current at all, for example when nothing is connected. Current needs a closed path. Voltage can exist without one.
A short numerical check
The code below applies w = q·v and shows that the answer does not change when you move the ground node. It also converts an electron's energy gain to electron-volts.
E_CHARGE = 1.602176634e-19 # elementary charge in coulombs
def energy_given_up(charge_c, v_ab):
"""Energy (J) given up by a charge moving from a to b, where v_ab = v_a - v_b."""
return charge_c * v_ab
# 2 C of positive charge crossing 12 V gives up 24 J.
print(energy_given_up(2.0, 12.0))
# An electron (charge -e) moving from a to b with v_ab = +5 V.
w = energy_given_up(-E_CHARGE, 5.0)
print(f"{w:.3e} J") # negative: the electron gains energy
print(f"{-w / E_CHARGE:.1f} eV gained")
# Node voltages relative to two different grounds.
v_a, v_b = 9.0, 4.0 # ground at some third node
print(v_a - v_b) # v_ab = 5.0
v_a, v_b = v_a - v_b, v_b - v_b # move ground to node b
print(v_a - v_b) # v_ab is still 5.0Running it prints:
24.0
-8.011e-19 J
5.0 eV gained
5.0
5.0The electron's result is negative because "energy given up" is negative when energy is gained.
Sources and loads, in terms of energy
Two kinds of device change the energy of passing charge.
- A source, such as a battery, raises the energy of charge. Positive charge is pushed from the low-potential terminal to the high-potential terminal. The source does work on the charge, and the energy comes from chemical, mechanical or other sources inside the device.
- A load, such as a resistor, takes energy from the charge. Positive charge passes from the high-potential terminal to the low-potential terminal. The energy leaves as heat, light, motion or stored fields.
In a simple loop with one 12 V battery and one resistor, each coulomb gains 12 J in the battery and loses 12 J in the resistor. This is the energy-per-charge version of KVL. The next chapters turn it into a statement about power.
Reference polarity, a preview
A voltage value is a number plus a direction. If you write "v = 5 V" on a circuit diagram, you must also mark which terminal is taken as positive. The marking is called a reference polarity, shown with + and − signs.
The reference polarity is a choice, not a physical fact. If the actual potential of the marked + terminal is lower than the − terminal, the value of v is negative. For example, with + marked at a and − at b, an actual potential of a below b gives v_ab = −3 V. The negative sign carries real information. It says that the marking was opposite to the actual polarity. The next chapters cover how to choose the marking and how it links to the direction of current.
Common mistakes at this stage
- Treating a node voltage as absolute. Always know which node is the reference. If a diagram has no ground symbol, voltages must be given between named pairs.
- Mixing up the order of subscripts. vab = −vba. Write down which point is the "+" point before you substitute numbers.
- Expecting voltage to flow. Current flows through an element, and voltage appears across it. The phrase "voltage through a resistor" is a sign of confusion.
- Using w = q·v when voltage changes with time or position. The relation w = q·v holds for a constant voltage. In general, integrate dw = v dq over the charge that actually moves.
- Forgetting that the sign of charge matters. The electron example above shows that the same voltage gives the opposite sign of energy for a negative charge.
What comes next
Voltage tells you how much energy each coulomb exchanges. To know how fast energy is exchanged, you also need the rate at which charge arrives, which is current. The next chapter defines current and the direction of positive charge flow. After that, the pair of quantities leads to power as p = v·i, once their reference directions are fixed.
Exercise
A 9 V battery is connected to a lamp. During a test, 40 C of charge passes through the lamp from the battery's positive terminal to its negative terminal side. How much energy does the charge give up in the lamp, assuming all 9 V appears across the lamp?
Show answer
w = q·v = 40 C × 9 V = 360 J. The charge gives up 360 J in the lamp, which the lamp turns into light and heat.
Exercise
Node a is at 7 V and node b is at 3 V, both measured relative to a ground node. (1) Find vab and vba. (2) A proton (charge +e) moves from b to a. Does it gain or give up energy, and how much in electron-volts?
Show answer
(1) vab = 7 − 3 = 4 V and vba = −4 V. (2) Moving from b to a, the proton gives up q·v_ba = e × (−4 V) = −4 eV, which is a gain of 4 eV. The proton moves to a higher potential, so it gains energy and something else must supply it.
Exercise
You move the ground symbol from one node to another in a circuit. Which of these change: node voltages, voltages across elements, currents?
Show answer
The node voltages change, since each is measured against the new reference. The voltages across elements and the currents do not change, because they depend only on potential differences.