Sub topic 1
Charge and current: a quick review
Prerequisites
This chapter assumes you already know the following:
- Ohm's law and simple resistor circuits.
- Kirchhoff's current and voltage laws (KCL and KVL).
- Basic algebra and the exponential function.
- A derivative as a rate of change.
If any of these is shaky, review it first. Every later chapter uses current as a rate of charge flow, so this chapter fixes that idea.
Charge
Electric charge is a property of matter that causes electric forces. Its unit is the coulomb (C). One electron carries about 1.602 × 10⁻¹⁹ C, so one coulomb is roughly 6.24 × 10¹⁸ electrons. Circuit analysis works with the net charge on a component or a plate, written q or Q, and rarely counts single electrons.
Charge is conserved. It cannot be created or destroyed, only moved. This fact underlies KCL and the behavior of capacitors.
Current as the rate of charge flow
Current is the rate at which charge passes a point. In symbols:
i(t) = dq/dt
The unit is the ampere (A), defined as one coulomb per second. Reversing the relation gives the charge delivered between times t₁ and t₂:
q = ∫ i(t) dt, taken from t₁ to t₂
For a constant current I, the integral simplifies to q = I·Δt. A capacitor equation later in this tutorial, i = C dv/dt, builds directly on this derivative form.
Sign convention
Current has a reference direction, which is an arrow you choose on the circuit diagram. By convention it points in the direction positive charge would move. In a metal wire, electrons actually move the opposite way.
- If the calculated i is positive, positive charge flows along your arrow.
- If i is negative, it flows against your arrow.
The sign tells you the direction. It does not mean you made an error.
Conservation of charge and KCL
Charge cannot pile up at a node in an ideal circuit, so the currents entering a node sum to zero. This is KCL. A capacitor plate is the exception worth noticing. Charge does accumulate on a plate, but the plate belongs to a component, not to a plain wire node. The current into one plate equals the current out of the other plate, so the capacitor as a whole still obeys KCL.
Computing charge from current
The program below finds the charge delivered by a current by adding up small slices of i·Δt. It checks the numerical sum against the exact answer for a constant current.
I = 2e-3 # constant current in amperes (2 mA)
T = 5.0 # duration in seconds
N = 1000 # number of time steps
dt = T / N
q = 0.0
for _ in range(N):
q += I * dt # each step adds i * dt coulombs
print(f"Numerical charge: {q:.6f} C")
print(f"Exact charge I*T: {I * T:.6f} C")Both lines print 0.010000 C, which is 10 mC. Later chapters apply the same idea to currents that change with time.
Common errors
- Mixing up charge and current. Charge is an amount in coulombs. Current is a rate in coulombs per second.
- Ignoring the reference direction. Choose an arrow first, then interpret the sign of the result against it.
- Dropping unit prefixes. 2 mA is 2 × 10⁻³ A. Convert before substituting into a formula.
Exercise
A current of 5 mA flows into a capacitor plate for 4 s. How much charge accumulates on the plate?
Show answer
For a constant current, q = I·Δt = (5 × 10⁻³ A)(4 s) = 0.02 C, which is 20 mC.
Exercise
The charge on a plate follows q(t) = 3t² millicoulombs, with t in seconds. What is the current into the plate at t = 2 s?
Show answer
i = dq/dt = 6t millicoulombs per second. At t = 2 s, i = 12 mC/s = 12 mA, positive into the plate.