Recommended resources
The freely available resources this lesson will direct you to.
Hello! Welcome to our first lesson on Mesh Analysis.
In the last few lessons, we've thoroughly explored Nodal Analysis. You learned how to use Kirchhoff's Current Law (KCL) and the concept of node voltages to create a systematic procedure for solving any circuit. You even mastered the supernode technique for handling tricky voltage sources.
Today, we pivot to an equally powerful, alternative method: Mesh Analysis. This approach is the conceptual "dual" of nodal analysis. Instead of focusing on nodes and KCL, it focuses on loops and Kirchhoff's Voltage Law (KVL).
The goal for this lesson is to establish the complete foundation for this new method. By the end, you will be able to: Identify all meshes in a planar circuit, assign mesh currents, and explain why they are sufficient to describe the circuit. We won't be solving full circuits just yet; instead, we'll focus on correctly setting up the problem, which is the most critical part.
1. From Nodes to Meshes: A New Perspective
Nodal analysis works by defining node voltages, which automatically satisfy KVL, and then using KCL to find those voltages. Mesh analysis flips this script: we will define a new set of variables called mesh currents, which automatically satisfy KCL. We then use KVL to solve for these currents.
This video provides a great introduction, framing mesh analysis as a modified version of KVL, just as nodal analysis was a modified version of KCL.
10 - Intro to Mesh Current Circuit Analysis (EE Circuits)
Watch this introductory segment from the video '10 - Intro to Mesh Current Circuit Analysis' by Math and Science. It sets the stage by comparing nodal and mesh methods and highlighting their relationship to KCL and KVL.
Watch the first 4 minutes of the video (0:00 - 4:00). The instructor will contrast mesh current analysis with the node voltage method you've already learned.
2. Identifying Meshes
So, what exactly is a "mesh"? The most common definition is simple and intuitive.
A mesh is a loop in a circuit that does not contain any other loops within it.
Think of a circuit diagram as a window frame. The individual panes of glass are the meshes. The entire window frame itself would be an "outer loop," but not a mesh by this simple definition.
This "cookie cutter" analogy from the same video makes this concept very clear.
10 - Intro to Mesh Current Circuit Analysis (EE Circuits)
Let's continue with the video to see a simple, effective way to identify meshes.
Watch the section from 6:02 to 7:03. The instructor uses a 'cookie cutter' analogy to explain how to find the meshes in a circuit.
Here is a visual example. In the circuit below, the paths marked 'Mesh 1', 'Mesh 2', and 'Mesh B4' are the three distinct meshes. The 'Outer Loop' is a valid loop, but not a mesh, because it contains all the other meshes inside it.

A quick but important note: Mesh analysis, in this form, is only applicable to planar circuits—circuits that can be drawn on a flat surface without any wires crossing over each other. Nearly all circuits you'll encounter in an introductory course are planar.
3. Assigning Mesh Currents
Once we've identified the meshes, the next step is to assign a conceptual mesh current to each one. This is the central variable in our new method.
- For each mesh, we draw a circulating current, which we assume flows around the mesh loop.
- By convention, we usually draw all mesh currents flowing in the clockwise direction. This consistency is key to avoiding errors when we start writing equations.
- We label them or .
The following segment shows this labeling process.
10 - Intro to Mesh Current Circuit Analysis (EE Circuits)
Let's see how these mesh currents are assigned.
Watch from 7:47 to 9:15. The video demonstrates how to label the meshes identified in the previous step with clockwise mesh currents.
You might be thinking, "These currents flowing in circles don't look real. What about the actual current in a wire?" This is an excellent question. Your intuition is correct: mesh currents are a mathematical abstraction.
The "real" current in any given wire (or branch) is the superposition of the mesh currents flowing through it.
- If a branch is on the edge of the circuit and only belongs to one mesh, the branch current is equal to that mesh current.
- If a branch is shared between two meshes, the branch current is the sum or difference of the two mesh currents.
The following video and diagram illustrate this fundamental concept.
This Khan Academy clip does a fantastic job of explaining how the abstract mesh currents combine to create the physical branch currents. This is a key piece of intuition.
Watch from 1:37 to 3:27. Focus on how the currents in resistor R2 are determined by the combination of mesh currents i1 and i2.
This image provides a concrete example.

Because any current flowing into a node must also flow out, and our mesh currents are defined as continuous loops, KCL is automatically satisfied everywhere. This is the power of the method.
4. A Deeper, More Abstract View of Meshes
Your preference for abstract thinking and logical consistency will find this next part particularly interesting. The conventional definition of a mesh works, but it creates a slight asymmetry. Why is the "outer loop" treated differently from the "inner loops"?
A more rigorous perspective argues that there is no fundamental difference.
Turning Mesh Analysis Inside Out
This paper, 'Turning Mesh Analysis Inside Out,' argues for a more symmetric and intuitive definition of a mesh. It challenges the standard textbook approach in a way that reveals a deeper structure.
Please read Section 2, 'What is the Proper Definition of a Mesh?'. It's a short section. Pay attention to the argument about drawing the circuit on a sphere. This thought experiment is key to understanding why the distinction between 'inner' and 'outer' meshes is arbitrary.
The key takeaway is that if we consider the outer boundary to be just another mesh, a beautiful symmetry emerges.
- In Nodal Analysis, every branch voltage is the difference between two node voltages (). A reference node is chosen where .
- In this generalized Mesh Analysis, every branch current is the difference between two mesh currents (). A reference mesh is chosen (usually the outer one) where .
This reveals that mesh currents are purely mathematical constructs, just like node voltages. Neither is directly "physical," but both are powerful tools for describing the physical reality of branch currents and voltages.
5. Why Are Mesh Currents Sufficient?
We now have a method for defining a set of unknown mesh currents. But how do we know that this set of unknowns is exactly what we need? Why is it "sufficient" to solve the circuit?
The answer lies in a fundamental result from graph theory about the number of independent equations required to describe a circuit.
This Khan Academy article explains exactly how many equations of each type (element law, KCL, KVL) are needed to solve a circuit. It provides the mathematical justification for why counting meshes works.
Please read the two sections 'How many independent equations come from KVL?' and the 'Summary'. The key insight is in the relationship between the number of elements (E), nodes (N), and meshes.
Let's distill the core logic:
- To solve a circuit with E elements (or branches), we need 2E independent equations (one voltage and one current for each element).
- We get E equations from the element laws (like Ohm's Law, ).
- We get N-1 independent equations from KCL at the nodes.
- This leaves us needing more equations.
- Graph theory proves that for any planar circuit, the number of independent KVL equations you can write is exactly .
- And here is the crucial connection: the number of meshes in a planar circuit is also equal to .
Therefore, by identifying every mesh and assigning it a current, we are defining exactly the number of unknown variables needed to create a solvable system of equations. The set of mesh currents is sufficient because it perfectly matches the number of independent KVL equations required to constrain the circuit.
Conclusion
In this lesson, we have laid the entire conceptual groundwork for Mesh Analysis. You've learned not just the procedure for setting up the problem, but also the intuitive and mathematical reasons why the procedure works.
Key Takeaways:
- A mesh is a loop in a planar circuit that doesn't contain any other loops. Intuitively, it's a "window pane" in the circuit diagram.
- A deeper view treats the outer loop as a mesh on equal footing, revealing a perfect duality with nodal analysis (reference node vs. reference mesh).
- We assign a conceptual mesh current to each mesh, conventionally in the clockwise direction.
- The physical current in any branch is the superposition (sum or difference) of the mesh currents flowing through it.
- The set of mesh currents is sufficient to describe the circuit because the number of meshes equals the exact number of independent KVL equations needed for a unique solution.
Preview of the Next Lesson:
With this foundation in place, we are ready to put the method into practice. In the next lesson, we will complete the process: you will learn how to write the KVL equation for each mesh, expressing the voltage drops in terms of the mesh currents and component values. This will give us a system of linear equations that we can solve to find all the mesh currents and, from them, any other quantity in the circuit.