That is, for mesh n we multiply in by the sum of all resistances Ri around the mesh. Then we add the
terms due to the resistances in common with another mesh as the negative of the connecting resistance
Rk, multiplied by the mesh current in the adjacent mesh iq for all Q adjacent meshes. Finally, the
independent voltage sources around the loop appear on the right side of the equation as the negative of
the voltage sources encountered as we traverse the loop in the direction of the mesh current.
Remember that the preceding result is obtained assuming all mesh currents flow clockwise.
The general matrix equation for the mesh current analysis for independent voltage sources
present in a circuit is
R i = Vs
where R is a symmetric matrix with a diagonal consisting of the sum of resistances in each mesh and
the off-diagonal elements are the negative of the sum of the resistances common to two meshes. The
matrix i consists of the mesh current as