Homework Solutions for Electric Circuits, 7th edition, by Nilsson and Riedel
PROBLEM 4.9
Use the node voltage method to find v1 and v2.

Note that I labeled the bottom node as the reference node. This allows us to use v1 and v2 (the predefined voltages on the 40 W and 120 W resistors) as the two node voltages since they are the differences in voltages from the two top nodes to the bottom node. If one of the top nodes had been chosen as a reference node, we would need to use different variable names for the node voltages to avoid confusion.
If you do not understand the paragraph above, you are almost certainly missing a key concept and you should do whatever is necessary to understand this.
Writing KCL at the two nodes gives
Node 1
Simplifying gives
240 + 5 v2 - 5 v1 - v1 = 0
5 v2 - 6 v1 = - 240 (equation A)
Node 2
Simplifying gives
240 + 3 v2 + 2 v2 + 30 v2 - 30 v1 = 0
35 v2 - 30 v1 = - 240 (equation B)
Solving Equations A and B gives
v1 = 120 V
v2 = 96 V
This page last updated at