Mesh Currents: The Big Idea
Mesh analysis attacks a circuit from the opposite direction of nodal analysis. Rather than asking “what voltage sits at each node?” it asks “how much current circulates around each loop?” The unknowns are mesh currents — fictitious clockwise currents that flow around each window of the planar circuit. Any real branch current is then the algebraic sum of the mesh currents that pass through that branch. The payoff is that Kirchhoff's Voltage Law (KVL) becomes the governing equation, and voltage sources, which are awkward in nodal analysis, slot in effortlessly.
Mesh analysis is the formal dual of nodal analysis. Where nodal uses KCL and node voltages, mesh uses KVL and loop currents; where nodal builds a conductance matrix, mesh builds a resistance matrix. The practical consequence is that the cheaper method is whichever produces fewer unknowns. A ladder network with two loops but five nodes is a clear mesh problem.
Counting the Independent Meshes
Redraw the circuit so no wires cross — mesh analysis is defined only for planar circuits. Each enclosed window is a mesh. For a connected circuit with branches and nodes, the number of independent meshes is fixed by Euler's relation for planar graphs:
Assign a clockwise current to each mesh. Clockwise is a convention, not a requirement, but using it uniformly makes the resistance matrix come out symmetric, which is a valuable error check.
Writing KVL Term by Term
Traverse each mesh in the direction of its own current and add up the voltage changes, setting the total to zero. The element rules are:
- Resistor in one mesh only: contributes a drop .
- Resistor shared by two meshes: the net current is the difference of the two loop currents, so the drop seen by mesh is .
- Voltage source: a rise (minus to plus along the traversal) enters as ; a drop enters as .
Collecting terms yields the matrix form . The diagonal entry is the sum of all resistances around mesh ; the off-diagonal entry is the negative of the resistance shared between meshes and .
Current Sources and the Supermesh
A current source in a branch shared by two meshes is the mesh-method equivalent of a floating voltage source in nodal analysis: the voltage across the source is unknown, so you cannot write a clean KVL term for that branch. The fix is a supermesh. Mentally remove the current-source branch, merge the two meshes into one larger loop, and write KVL around that loop while skipping the removed branch. Then restore the missing information with the source's defining constraint, , choosing the sign from the source's direction. If the current source belongs to only one mesh (an outer branch), that mesh current is simply and no supermesh is needed.
Worked Example: Three Meshes With a Supermesh
Three meshes share a planar layout. A source drives mesh 1. The resistors are (mesh 1 only), (shared by meshes 1 and 2), (mesh 3 only), and a current source occupies the branch shared by meshes 2 and 3, directed so that .
Mesh 1 (ordinary KVL)
Supermesh (meshes 2 and 3)
KVL around the merged loop, skipping the current-source branch:
Current-source constraint
Assemble and solve the system
From the constraint, . Substituting into the supermesh equation gives , so . Feeding both into mesh 1, reduces to . The solution is:
Every mesh current is positive, so all three loops circulate clockwise as assumed. The real current in is flowing in the direction of . A quick sanity check: the source delivers, which must equal the total dissipated power; computing plus the current source's contribution balances the books.
Mesh by Inspection
Once you trust the symmetry rule, you can write the resistance matrix directly without traversing loops. Place the sum of each mesh's resistances on the diagonal and the negated shared resistances off-diagonal. This “by inspection” shortcut works only when every source is an independent voltage source and all mesh currents are defined clockwise; current sources and dependent sources still require explicit constraint rows. The symmetry of the resistance matrix is not a coincidence either — it is a direct consequence of reciprocity in any network built from bilateral elements, and noticing a broken symmetry where none should exist is one of the fastest ways to catch a sign error before you ever solve the system.
Recovering Branch Currents and Voltages
Solving for the mesh currents is rarely the end of the assignment; usually you want a specific branch current or element voltage. The rule is mechanical. A branch belonging to a single mesh carries that mesh's current outright. A branch shared by two meshes carries the algebraic difference of the two loop currents, taken in the direction you care about. Once the branch current is known, Ohm's law gives the element voltage, and power dissipation follows from . A useful habit is to compute total delivered power and total dissipated power separately: if they do not agree, a mesh equation is wrong. This energy-balance check is independent of the algebra that produced the currents, so it catches mistakes that a simple resubstitution would miss.
Dependent Sources in Mesh Analysis
Controlled sources appear constantly in amplifier models, and mesh analysis handles them with one extra discipline. Write the KVL equations exactly as before, treating the dependent source's value as a symbol. Then add one auxiliary equation that expresses the controlling quantity — a current or a voltage — in terms of the mesh currents. Substituting that relationship collapses the system back to the mesh-current unknowns alone. For a current-controlled voltage source whose control current is a branch current, the controlling current is itself a difference of mesh currents, so the substitution is straightforward and keeps the system square.
Choosing Mesh vs. Nodal
| Feature | Mesh analysis | Nodal analysis |
|---|---|---|
| Unknowns | Loop currents () | Node voltages () |
| Governing law | KVL | KCL |
| Voltage sources | Enter directly | Require supernodes |
| Current sources | Require supermeshes | Enter directly |
| Non-planar circuits | Not applicable | Always works |
Common Mistakes
- Dropping the shared-branch difference. A resistor shared by two meshes carries , not alone. Forgetting the neighbor term is the most common mesh error.
- Sign-flipping voltage sources. A source traversed from minus to plus is a rise and enters the KVL sum negative. Reversing this corrupts the whole equation.
- Skipping the supermesh constraint. Merging two meshes gives only one KVL equation; you must add to recover the lost equation.
- Applying mesh analysis to a non-planar circuit. If the schematic cannot be drawn without crossing wires, meshes are undefined — switch to nodal or MNA.
- Misreading a negative answer. A negative mesh current is not an error; it means the loop actually circulates counterclockwise. The algebra self-corrects.
Related Tutorials
- Kirchhoff's Voltage Law (KVL) — the loop equation mesh analysis is built on.
- Nodal Analysis Step by Step — the dual node-voltage method.
- Superposition Theorem — an alternative for multi-source circuits.