Applying KCL in this form does not imply that the actual branch currents all are directed out of either
node. Indeed, the current in branch1–2is necessarily directed out ofone node andinto the other.)
Putting the two equations forV1 andV2
in matrix form