Skip to main content

Someone wanted to learn this too, so Grasp built them a personal learning path.

You can keep exploring this one or create your own

Nodal Analysis: Solving for Node Voltages and Branch Currents

Hello! Welcome to your next lesson on nodal analysis.

In the previous lesson, you mastered the crucial first step: translating a circuit's structure into a system of KCL equations based on its unknown node voltages. You now have a systematic way to represent any resistive circuit algebraically.

Today, we'll focus on the payoff. The learning outcome for this lesson is to: Solve the system of linear equations from nodal analysis to find all node voltages and branch currents. This is where we move from abstract equations to concrete numerical answers that describe the behavior of the circuit. Your strong algebra skills will be particularly useful here.

1. From Equations to a Solution

Let's start with the system of equations you formulated in the practice exercise from our last lesson.

Node v_1:

Node v_2:

Before we can solve this system, the first step is always to simplify and organize the equations into a standard form: . This "housekeeping" step makes the subsequent algebra much cleaner.

Step 1: Simplifying the Equations

The goal is to eliminate fractions and group terms by their variable. A common method is to multiply each equation by the least common multiple of its denominators.

For the v_1 equation (denominators 10, 2, 4): The least common multiple is 20.




For the v_2 equation (denominators 4, 8): The least common multiple is 8.



We now have a clean, standard system of linear equations:

Step 2: Solving the System

There are several ways to solve this system. Let's explore two powerful methods.

Method A: Elimination

This is a classic algebraic method that works well for 2x2 systems. The goal is to multiply one or both equations by a constant so that one variable cancels out when you add the equations together. Let's eliminate . We can multiply Equation 1 by 3 and Equation 2 by 5:

  • Eq. 1
  • Eq. 2

Now, add the two new equations:


Substitute this value back into the simplified Equation 2 to find :



So, the node voltages are approximately V and V.

Method B: The Matrix Approach

This method is more formal and is the foundation for how computer software solves large-scale circuit problems. It's an algorithmic approach that scales beautifully. First, write the system in matrix form :

Here, is the matrix of coefficients, is the vector of unknown voltages, and is the vector of constants.

The solution is found by calculating , where is the inverse of matrix . You can use a scientific calculator or software to find the inverse.

For a 2x2 matrix , the inverse is .
The determinant is .

Now, solve for the voltages:

This gives us:

Both methods yield the same result, but the matrix approach is more systematic for larger circuits.

2. Finding Branch Currents

Once you have solved for all node voltages, you have the "keys to the kingdom." You can now find any other quantity in the circuit, most notably the current through any branch.

To find the current in a resistor, simply apply Ohm's Law using the now-known node voltages at either end. Remember the formula:

Let's find the currents in our example circuit:

  • Current through 10Ω resistor (from 12V source to ):

    Since the result is positive, the current indeed flows to the right.

  • Current through 2Ω resistor (from to ground):

    The negative sign indicates our assumed direction (downwards) was incorrect. The current actually flows upwards from ground to node . This is physically intuitive, as is at a negative potential relative to ground.

  • Current through 4Ω resistor (from to ):

    Positive result means current flows to the right, from to .

3. A Complete Walk-Through

Now let's watch a video that ties everything together. The presenter analyzes a more complex circuit, formulates the equations, solves the system using elimination, and then finds all the branch currents. He concludes with a verification step, which is an excellent practice for building confidence in your results.

Node Voltage Method Circuit Analysis With Current Sources

This video by The Organic Chemistry Tutor provides a complete, clear walk-through of solving a two-node circuit. It will reinforce the entire process, from setting up the equations to solving them and verifying the results.

Please watch from 10:55 to 32:17. The key stages are: Formulating Equations (10:55 - 25:16): This part is a review of the last lesson, but it's good to see it again. He first reasons about the likely current direction and then sets up the two KCL equations for nodes VB and VC. Solving the System (25:16 - 27:05): Focus here. Notice how he uses the elimination method to solve for the two unknown node voltages, VB and VC. Finding Currents and Verification (27:05 - 32:17): He uses the solved node voltages to calculate every branch current. Critically, he then performs a KCL check at each node to confirm that the currents entering and leaving sum to zero, proving the solution is correct. This is analogous to running a test case on a piece of code to ensure it works as expected.

This process of formulate -> simplify -> solve -> calculate currents -> verify is a robust workflow for tackling any resistive circuit.

4. Practice Problem

Let's put your skills to the test. For the circuit shown below, find the node voltages and , and then determine the current flowing through the 100 Ω resistor.

  1. Formulate the KCL equations for nodes and .
  2. Simplify the equations into the standard form.
  3. Solve the system for and . You can use either elimination or the matrix method.
  4. Calculate the current flowing from node to node through the 100 Ω resistor.
Click here to see the step-by-step solution

1. Formulate KCL Equations (Sum of currents leaving = 0)

  • Node a:
    The 2A source is leaving (+2A). The 800mA (0.8A) source is entering (-0.8A).

  • Node b:
    The 800mA (0.8A) and 300mA (0.3A) sources are both leaving.

2. Simplify Equations

  • Node a:
    Combine terms and move constants to the right side.


  • Node b:
    Combine terms and move constants to the right side.


3. Solve the System

We have the system:

Using a calculator or the matrix method:

Solving this yields:


  • (Note: These values may differ slightly from the source due to rounding conventions. The source likely made an error swapping the final values for Va and Vb.)

4. Calculate Current

The current through the 100 Ω resistor from to .

So, is approximately 324.4 mA flowing from left to right.

Conclusion

You've now completed the entire fundamental process of nodal analysis. By combining the formulation from the last lesson with the solution techniques from this one, you have a powerful and systematic method to find the voltage and current anywhere in any resistive DC circuit.

Key Takeaways:

  • Always simplify KCL equations into a standard form before solving.
  • For 2x2 systems, elimination is a quick method. For larger systems, the matrix method () is more robust and systematic.
  • Once node voltages are known, any branch current can be found with a simple application of Ohm's Law.
  • Verifying your solution by checking KCL at a node is a critical final step to ensure accuracy.

Preview of the Next Lesson:
We've successfully analyzed circuits with voltage and current sources. But what happens when you have a voltage source "floating" between two non-reference nodes? You can't easily write an expression for the current through it. In our next lesson, we will introduce the supernode technique, a clever modification of our procedure that elegantly handles this exact situation.

Can't find a good explanation? Sign up and we'll make it for you

Sign up