Fiveable

🔌Intro to Electrical Engineering Unit 5 Review

QR code for Intro to Electrical Engineering practice questions

5.2 Mesh analysis

5.2 Mesh analysis

Written by the Fiveable Content Team • Last updated August 2025
Written by the Fiveable Content Team • Last updated August 2025
🔌Intro to Electrical Engineering
Unit & Topic Study Guides

Fundamental Concepts

Mesh analysis is a technique for solving circuits by focusing on closed loops called meshes and applying Kirchhoff's Voltage Law (KVL) to each one. Instead of writing equations for every node or branch, you assign a current variable to each mesh and solve a smaller system of equations. For circuits with multiple interconnected loops, this approach cuts down on the math significantly.

Mesh and Loop Definitions

A loop is any closed path in a circuit that starts and ends at the same node. A mesh is a more specific thing: it's a loop that doesn't contain any other loops inside it. Think of it as the smallest possible "window" in a circuit diagram. Mesh analysis uses these innermost loops as its building blocks, which is why the distinction matters.

Kirchhoff's Voltage Law (KVL)

KVL states that the algebraic sum of all voltages around any closed loop must equal zero:

V=0\sum V = 0

When you travel around a mesh, every voltage rise and voltage drop has to cancel out. By convention, voltage rises (like going from - to ++ through a source) are positive, and voltage drops (like current flowing through a resistor) are negative. You'll apply KVL to each mesh separately to generate your equations.

Mesh Current

A mesh current is a hypothetical current that circulates around a single mesh. You assign one to each mesh, typically labeled I1I_1, I2I_2, I3I_3, and so on. By convention, all mesh currents are assumed to flow clockwise. These are the unknowns you're solving for.

A branch shared by two meshes will carry the difference of the two mesh currents. For example, if meshes 1 and 2 share a resistor, the actual current through that resistor is I1I2I_1 - I_2 (depending on direction). This is a detail that trips people up, so watch for it.

Mesh and Loop Definitions, 7.1 Mesh Analysis – Introduction to Electricity, Magnetism, and Circuits

Circuit Elements in Mesh Equations

Branch Voltages and Resistors

The voltage drop across a resistor is found using Ohm's Law: V=IRV = IR. In mesh analysis, you express each resistor's voltage drop in terms of the mesh current(s) flowing through it.

  • For a resistor only in mesh 1: the voltage drop is I1RI_1 \cdot R
  • For a resistor shared between mesh 1 and mesh 2: the voltage drop (from mesh 1's perspective) is (I1I2)R(I_1 - I_2) \cdot R

Independent voltage sources are simpler. They contribute a known voltage value directly into the equation, positive if the mesh current flows from - to ++ through the source, negative if from ++ to -.

Resistance

Resistance (RR, measured in ohms, Ω\Omega) is the opposition to current flow. When writing mesh equations, resistors in series within the same mesh simply add together. If resistors appear in parallel within a single branch, combine them using the parallel formula before writing the mesh equation:

1Req=1R1+1R2+\frac{1}{R_{eq}} = \frac{1}{R_1} + \frac{1}{R_2} + \cdots

Mesh and Loop Definitions, 7.1 Mesh Analysis – Introduction to Electricity, Magnetism, and Circuits

Analysis Techniques

Writing Mesh Equations: Step-by-Step

Here's the procedure for performing mesh analysis:

  1. Identify all meshes in the circuit. Count them. The number of meshes equals the number of equations you'll need.

  2. Assign a mesh current (I1I_1, I2I_2, etc.) to each mesh, all flowing clockwise by convention.

  3. Apply KVL around each mesh. Travel clockwise around the loop. For each element you encounter:

    • Resistor (only in this mesh): Write a voltage drop of IRI \cdot R.
    • Resistor (shared with another mesh): Write a voltage drop of (IthisIother)R(I_{this} - I_{other}) \cdot R.
    • Voltage source: Add or subtract its value depending on polarity relative to your travel direction.
  4. Set each KVL equation equal to zero (or equivalently, set voltage drops equal to voltage rises).

  5. Solve the system of equations using substitution, Gaussian elimination, or Cramer's rule.

Structure of the Equations

Each mesh equation takes a predictable form. The coefficients on the mesh currents are resistances, and the constants are the source voltages. For a two-mesh circuit, the system looks like:

R1I1+R3(I1I2)=V1R_1 I_1 + R_3 (I_1 - I_2) = V_1

R2I2+R3(I2I1)=V2R_2 I_2 + R_3 (I_2 - I_1) = V_2

Here R3R_3 is the shared resistor, and V1V_1, V2V_2 are source voltages in each mesh. Notice how the shared resistor appears in both equations with opposite signs on the other mesh's current. This pattern holds for larger circuits too.

Once you've found the mesh currents, you can calculate any branch current (by adding or subtracting mesh currents through that branch) and any voltage (using Ohm's Law with the actual branch current).