Sub topic 2
Voltage as a Potential Difference, and What Polarity Marks Mean
This chapter assumes you know what current, voltage, and resistance are, and that you can use Ohm's law. It builds the idea of voltage that KVL relies on: voltage belongs to a pair of points, and its sign depends on marks you choose.
Voltage is a difference between two points
Voltage is the energy per unit charge needed to move charge from one point to another. One volt equals one joule per coulomb. It is always measured between two points. A statement like "the voltage at point A is 5 V" only makes sense if you have chosen a reference point to compare against.
We write the voltage from point A to point B as v_AB. It is the potential at A minus the potential at B:
vAB = VA − V_B
Swapping the order flips the sign: vBA = −vAB. This sign rule is the basis of every KVL equation.
Reference node and node voltages
Most circuits pick one node as the reference, called ground, and set its potential to 0 V. Every other node voltage is then measured against it. Any voltage between two nodes is the difference of their node voltages. Moving the ground changes the node voltages. It does not change any voltage between two points.
What the + and − marks mean
A polarity mark pair on a component, such as + on the left and − on the right, is a reference choice. It says: "I am defining this voltage as the potential at the + end minus the potential at the − end."
- If the calculated value is positive, the + terminal really is at the higher potential.
- If the calculated value is negative, the − terminal is at the higher potential.
The marks do not claim anything about the actual physics. You can place them either way. A wrong guess only gives a negative answer, which is still correct information.
Example: reading a voltage between two nodes
Take a 12 V source with its − terminal grounded, feeding two resistors in series. Suppose node A, at the source's + terminal, is at 12 V. Node B, between the resistors, is at 7 V. Node C is ground at 0 V.
| Voltage | Calculation | Value |
|---|---|---|
| v_AB | 12 − 7 | +5 V |
| v_BC | 7 − 0 | +7 V |
| v_AC | 12 − 0 | +12 V |
| v_BA | 7 − 12 | −5 V |
Notice that vAB + vBC = v_AC. Going from A to C through B gives the same result as going directly. This is the first hint of KVL.
# Node potentials in volts, with ground at 0 V.
potentials = {"A": 12.0, "B": 7.0, "C": 0.0}
def v(first, second):
"""Voltage from `first` to `second`: potential at first minus second."""
return potentials[first] - potentials[second]
print(f"v_AB = {v('A', 'B'):+.1f} V")
print(f"v_BC = {v('B', 'C'):+.1f} V")
print(f"v_AC = {v('A', 'C'):+.1f} V")
print(f"v_BA = {v('B', 'A'):+.1f} V")
# Going A -> B -> C equals going A -> C directly.
print(f"v_AB + v_BC - v_AC = {v('A', 'B') + v('B', 'C') - v('A', 'C'):.1f} V")Diagram of the potentials
Common mistakes
- Treating a node voltage as if it belonged to one component. A voltage always needs two points.
- Reading the order of subscripts backwards. In v_AB the first letter is the + end.
- Thinking a negative answer means an error. It means the real polarity is opposite to the mark you drew.
- Changing the polarity marks halfway through a problem without changing the signs in the equations.
Why this matters for KVL
When you walk around a loop, you add up voltage changes between consecutive points. Each change is a v_XY with a sign. If you know how to read polarity marks, you can tell whether stepping across a component adds or subtracts voltage. The next chapters turn this into a fixed procedure.
Exercise
Node P is at 9 V and node Q is at 4 V relative to ground. A resistor between them is marked with + at P and − at Q. What is the voltage across the resistor as marked, and what would it be if you swapped the marks?
Show answer
With + at P, the voltage is vPQ = 9 − 4 = +5 V. With the marks swapped (+ at Q), the voltage is vQP = 4 − 9 = −5 V. The physical situation is the same. P is still 5 V higher than Q. Only the reference choice changed.
Exercise
You move the ground reference from node C to node B in the circuit above. What happens to v_AC?
Show answer
It stays +12 V. Moving the ground changes the node voltages (A becomes +5 V, B becomes 0 V, C becomes −7 V). The difference between A and C is still 5 − (−7) = 12 V.