Sub topic 2
Choosing Current Reference Directions
This chapter assumes you can read a basic schematic, apply Ohm's law to a resistor, and solve two or three linear equations. It also assumes you know that current is the rate of charge flow, measured in amperes. Here you will learn how to label current arrows on a schematic, what those arrows mean, and how to keep your signs consistent. Kirchhoff's current law (KCL) is stated formally in a later chapter. Every KCL equation you write depends on the arrows you draw first.
What a reference direction is
A reference direction is an arrow you draw on a branch to say which way you will count current as positive. The arrow is a bookkeeping choice. It is not a claim about which way charge actually moves.
Suppose you draw an arrow on a wire pointing right and label it i. The label means: "if i comes out positive, charge flows right. If i comes out negative, charge flows left." The sign of the number carries the real direction.
You usually don't know the true direction before you solve the circuit. In a network with several sources, some branch currents flow the opposite way from what intuition suggests. The reference direction lets you write equations first and find the true direction afterward.
| Quantity | What it is | Who decides it |
|---|---|---|
| Reference direction | The arrow drawn on the schematic | You, arbitrarily |
| Current value `i` | A signed number in amperes | The circuit, given your arrow |
| Actual direction | The way net positive charge moves | Sign of `i` combined with your arrow |
Why the choice is free
A current of 2 A flowing right is the same physical situation as a current of −2 A measured with a left-pointing arrow. Both describe the same charge motion. Reversing an arrow flips the sign of the value and changes nothing else.
Because of this, you can pick any arrow on any branch. If the circuit equations are written consistently, the solution will come out right whatever you chose. A wrong guess costs nothing except a negative sign in your answer.
One arrow per branch
Each branch gets exactly one reference arrow. A branch is a single circuit element, or a series chain of elements, carrying one current between two nodes. Every equation you write must use that same arrow for that branch.
This is the most common source of sign mistakes. Suppose you label a resistor current i2 pointing toward node A. At node A you write i2 as entering. At node B, the other end of that resistor, the same current must be treated as leaving, because your arrow points away from B. You do not draw a second arrow at B or rename the quantity. You flip the sign of its role in the equation, not the value.
A branch current has one value and one arrow. At the two nodes it touches, it plays opposite roles:
- At the node the arrow points toward, it is entering.
- At the node the arrow points away from, it is leaving.
In this picture i2 leaves A and enters B. Writing KCL at A uses i2 on the leaving side. Writing KCL at B uses the same i2 on the entering side.
Connecting arrows to KCL
KCL says the total current entering a node equals the total current leaving it. To apply it, read each branch arrow relative to the node you are examining.
- Pick the node.
- List every branch touching it.
- For each branch, check whether its arrow points toward the node (entering) or away from it (leaving).
- Write: sum of entering currents = sum of leaving currents.
- Solve for the unknown. Its sign tells you whether your guess was right.
Worked example: three branches
A node has three branches. Reference arrows are set as follows:
i1points into the node, and is measured as 2 A.i2points out of the node, and is measured as −5 A.i3points out of the node, and is unknown.
KCL gives entering = leaving:
i1 = i2 + i3
2 = (−5) + i3
i3 = 7 A
Check by describing the actual flows. i1 brings 2 A in. i2 is negative on an outward arrow, so 5 A actually enters through that branch. i3 is 7 A leaving. Total entering is 2 + 5 = 7 A, and total leaving is 7 A. The books balance.
Now repeat with a different arrow for i3, pointing into the node:
i1 + i3 = i2
2 + i3 = −5
i3 = −7 A
The value changed sign because the arrow reversed. The physical result is identical: 7 A leaves through that branch.
# Reference directions for a single node. Currents are in amperes.
# Each entry: (value, arrow) where arrow is "in" or "out" relative to the node.
def net_entering(branches):
"""Sum of currents entering minus sum of currents leaving."""
total = 0.0
for value, arrow in branches:
total += value if arrow == "in" else -value
return total
def solve_unknown(known, unknown_arrow):
"""Find the unknown branch current so that KCL balances."""
imbalance = net_entering(known)
# The unknown must cancel the imbalance.
# If its arrow is "out", it contributes -x, so x = imbalance.
# If its arrow is "in", it contributes +x, so x = -imbalance.
return imbalance if unknown_arrow == "out" else -imbalance
known = [(2.0, "in"), (-5.0, "out")]
i3_out = solve_unknown(known, "out")
i3_in = solve_unknown(known, "in")
print(i3_out) # 7.0, arrow leaving the node
print(i3_in) # -7.0, arrow entering the node
# Both describe 7 A leaving the node.
assert net_entering(known + [(i3_out, "out")]) == 0.0
assert net_entering(known + [(i3_in, "in")]) == 0.0Reference directions and Ohm's law
Reference directions matter again when you write a branch current in terms of node voltages. For a resistor R between nodes a and b, with the arrow pointing from a to b:
i = (v_a − v_b) / R
The arrow points from the first voltage to the second. Current is positive when the voltage at the arrow's tail is higher than at its head. This is the passive sign convention applied to the resistor: positive current enters the terminal marked with higher voltage.
If you reverse the arrow, the formula becomes i = (v_b − v_a) / R. The number changes sign and the physical current stays the same.
Worked example: a resistor between two nodes
Let v_a = 8 V, v_b = 4 V, and R = 2 kΩ.
- Arrow from a to b:
i = (8 − 4) / 2000 = 2 mA. - Arrow from b to a:
i = (4 − 8) / 2000 = −2 mA.
In both cases, 2 mA moves from the higher-voltage node a toward the lower-voltage node b.
R = 2000.0
v_a, v_b = 8.0, 4.0
i_a_to_b = (v_a - v_b) / R # arrow drawn from a toward b
i_b_to_a = (v_b - v_a) / R # arrow drawn from b toward a
print(i_a_to_b) # 0.002
print(i_b_to_a) # -0.002
# The two values are negatives of each other: same physical current.
assert i_a_to_b == -i_b_to_aA convention that reduces errors
Because the choice is free, pick one rule and use it everywhere. A common rule for nodal analysis is to draw every branch arrow leaving the node you are writing the equation for. Then every term in that node's equation has the same sign, and KCL becomes a plain sum:
sum of leaving currents = 0
For a resistor from node k to a neighbor m, the leaving current is (v_k − v_m) / R. This is why nodal equations have a regular structure, which the chapter on nodal analysis builds on.
The rule applies per equation, not per branch. A branch between nodes A and B has one arrow. When you write KCL at A that arrow may point away from A, and at B the same arrow points toward B. In nodal analysis you avoid this conflict by never labeling branch currents at all. You write each leaving current directly from voltage differences, so the arrow is implied by the order of the subtraction: (v_k − v_m) always means "leaving node k".
Source arrows are not free
Reference directions on resistors are arbitrary. On an independent current source, the arrow is part of the source's definition. A source marked 3 A with its arrow pointing into node A is forcing 3 A into A. Reversing that arrow changes the circuit unless you also change the sign of the value, so −3 A with the reversed arrow is the same source.
For voltage sources, the + and − marks play the same role. They fix which terminal is higher, and the current through the source remains free for you to define with an arrow.
Common mistakes
- Treating the arrow as the true direction. The arrow is only the positive-count direction. A negative result means the current runs against it.
- Two arrows on one branch. Use one arrow and one symbol per branch, and let its role flip between the two end nodes.
- Changing an arrow midway. If you flip an arrow after writing some equations, update every equation that used it and negate any value you already computed.
- Mismatched Ohm's law order. The voltage order in
(v_a − v_b)/Rmust match the arrow from a to b. - Confusing sign of value with sign of role. A current can be entering by arrow and still carry a negative value. The role comes from the arrow, and the sign comes from the solution.
Exercise
A node has three branches. Arrow i1 points into the node with value 4 A. Arrow i2 points into the node with value 1 A. Arrow i3 points out of the node. Find i3 and state how much current actually leaves through that branch. Then redraw i3 pointing into the node and give its new value.
Show answer
With i3 leaving: i1 + i2 = i3, so i3 = 4 + 1 = 5 A, and 5 A actually leaves. With i3 pointing into the node: i1 + i2 + i3 = 0, so i3 = -5 A. The negative sign shows that 5 A actually leaves, which matches the first answer.
Exercise
A 500 ohm resistor connects node p (at 3 V) to node q (at 7 V). Using an arrow from p to q, find the current. State the actual direction of conduction and the value you would get if the arrow pointed from q to p.
Show answer
With the arrow from p to q, i = (3 - 7) / 500 = -0.008 A, or -8 mA. The negative sign means the current runs against the arrow, so 8 mA actually flows from q (the higher voltage) to p. With the arrow from q to p, i = (7 - 3) / 500 = +8 mA, the same physical current.
Exercise
At node A you write KCL with the arrow of branch current ib pointing away from A, and you find ib = 6 mA. Branch b connects A to node B. When you write KCL at B, is ib entering or leaving B, and what value do you use?
Show answer
The arrow points from A toward B, so ib is entering B. You use the same value, +6 mA, on the entering side of the equation at B. You do not change the value or redraw the arrow.