Kirchhoff's Loop Rule

A loop is a closed path through a circuit that does not cross itself. Kirchhoff’s loop rule states that the changes in potential around any loop add to zero:

Each is the potential after crossing the -th element minus the potential before it, in the direction of travel. The rule is conservation of energy for a charge that goes once around the loop. The EE note 2.2c KVL calls it Kirchhoff’s voltage law.

The sign of each term depends on which way the path crosses the element:

  • Crossing a source from its terminal to its terminal adds . Crossing it from to adds .
  • Crossing a resistor in the direction of its current arrow adds . Crossing it against the arrow adds .
  • Crossing a capacitor from its plate to its plate adds . Crossing it from to adds .

To solve a circuit means to find the current in every element. The junction rule and the loop rule together solve every circuit of sources and resistors:

  • Label a current in every segment, a stretch of circuit between two junctions. Give each current an arrow in any direction, without trying to guess the true one.
  • Label the junctions. Write the junction rule at all of them but one.
  • Choose simple loops until every element lies in at least one loop. Give each loop a direction of travel, and write the loop rule with the signs above.
  • Check that the number of equations equals the number of unknown currents. Solve them by elimination.
  • A current that comes out negative flows against its arrow, with the same size.

Intuition

The potential has one value at each point of a circuit. A path that returns to its starting point returns to the starting potential. The rises and drops along the way must therefore cancel. Sources raise the potential, and resistors crossed along the current lower it. The name “loop” refers to the closed path that the rule follows.

The rule is an energy count for one charge. A source gives each coulomb the energy . The resistors take the same amount back as heat before the charge returns to its start.

The loop equation of the Easy example builds one term at a time as each element is crossed. Then a test charge goes around the loop while the graph traces the potential relative to .

\usepackage{tikz}
\usetikzlibrary{animations}
\begin{document}
\makeatletter\@ifundefined{pgf@sys@id@count}{}{\global\pgf@sys@id@count=112000\relax}\@ifundefined{pgf@sys@svg@objectcount}{}{\global\pgf@sys@svg@objectcount=112000\relax}\makeatother
\definecolor{hot}{HTML}{D9483B}
\definecolor{grn}{HTML}{2F9E44}
\definecolor{prp}{HTML}{8E6BD6}
\begin{tikzpicture}[font=\small, >=latex, w/.style={thick}]
\path (-2.6,-2.55) rectangle (11.9,3.75);
\draw[w] (0,0)--(0,1.41); \draw[w] (0,1.59)--(0,3);\draw[line width=1.2pt] (0.32,1.59)--(-0.32,1.59);\draw[line width=2.6pt] (0.16,1.41)--(-0.16,1.41);\node at (0.42,1.72) {\scriptsize $+$};\node at (0.3,1.28) {\scriptsize $-$};\draw[w] (0,3)--(1.55,3)--(1.62,3.15)--(1.77,2.85)--(1.93,3.15)--(2.08,2.85)--(2.23,3.15)--(2.38,2.85)--(2.45,3)--(4,3);\draw[w] (4,3)--(4,1.59); \draw[w] (4,1.41)--(4,0);\draw[line width=1.2pt] (3.68,1.59)--(4.32,1.59);\draw[line width=2.6pt] (3.84,1.41)--(4.16,1.41);\node at (3.58,1.72) {\scriptsize $+$};\node at (3.7,1.28) {\scriptsize $-$};\draw[w] (4,0)--(2.45,0)--(2.38,-0.15)--(2.23,0.15)--(2.08,-0.15)--(1.93,0.15)--(1.78,-0.15)--(1.62,0.15)--(1.55,0)--(0,0);
\node[anchor=east] at (-0.4,1.5) {\small $\mathcal{E}_1 = 12.0\,\mathrm{V}$};
\node[anchor=west] at (4.45,1.5) {\small $\mathcal{E}_2 = 3.0\,\mathrm{V}$};
\node[anchor=center] at (2,3.35) {\small $R_1 = 2.0\,\Omega$};
\node[anchor=center] at (2,-0.38) {\small $R_2 = 1.0\,\Omega$};
\node[anchor=center] at (-0.22,3.2) {\small $A$};
\node[anchor=center] at (4.22,3.2) {\small $B$};
\node[anchor=center] at (4.22,-0.2) {\small $C$};
\node[anchor=center] at (-0.22,-0.2) {\small $D$};
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 10s = "true", 14.8s = "false", 57.3s = "false", repeats}}}]
\draw[thick,prp] (0,0)--(0,1.41); \draw[thick,prp] (0,1.59)--(0,3);\draw[line width=1.2pt,prp] (0.32,1.59)--(-0.32,1.59);\draw[line width=2.6pt,prp] (0.16,1.41)--(-0.16,1.41);\node at (0.42,1.72) {\scriptsize $+$};\node at (0.3,1.28) {\scriptsize $-$};\node[anchor=west] at (6.5,3) {\small $+12.0$};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 14.8s = "true", 19.6s = "false", 57.3s = "false", repeats}}}]
\draw[thick,prp] (0,3)--(1.55,3)--(1.62,3.15)--(1.77,2.85)--(1.93,3.15)--(2.08,2.85)--(2.23,3.15)--(2.38,2.85)--(2.45,3)--(4,3);\node[anchor=west] at (6.5,3) {\small $+12.0 - 2.0I$};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 19.6s = "true", 24.4s = "false", 57.3s = "false", repeats}}}]
\draw[thick,prp] (4,3)--(4,1.59); \draw[thick,prp] (4,1.41)--(4,0);\draw[line width=1.2pt,prp] (3.68,1.59)--(4.32,1.59);\draw[line width=2.6pt,prp] (3.84,1.41)--(4.16,1.41);\node at (3.58,1.72) {\scriptsize $+$};\node at (3.7,1.28) {\scriptsize $-$};\node[anchor=west] at (6.5,3) {\small $+12.0 - 2.0I - 3.0$};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 24.4s = "true", 29.2s = "false", 57.3s = "false", repeats}}}]
\draw[thick,prp] (4,0)--(2.45,0)--(2.38,-0.15)--(2.23,0.15)--(2.08,-0.15)--(1.93,0.15)--(1.78,-0.15)--(1.62,0.15)--(1.55,0)--(0,0);\node[anchor=west] at (6.5,3) {\small $+12.0 - 2.0I - 3.0 - 1.0I$};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 5s = "true", 57.3s = "true", repeats}}}]
\draw[->,grn,line width=1.3pt] (0.45,2.65)--(1.25,2.65);\node[anchor=center,grn] at (0.85,2.38) {\small $I$};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 5s = "true", 35s = "false", 57.3s = "false", repeats}}}]
\draw[->,prp,thick] (1.73,1.93) arc (120:-175:0.55);\node[anchor=center,prp] at (2,1.45) {\scriptsize travel};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 29.2s = "true", 57.3s = "true", repeats}}}]
\node[anchor=west] at (6.5,3) {\small $12.0 - 2.0I - 3.0 - 1.0I = 0$};\node[anchor=west] at (6.5,2.45) {\small $I = 3.0\,\mathrm{A}$};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 35s = "true", 57.3s = "true", repeats}}}]
\draw[->] (7.25,-0.85)--(11.75,-0.85); \draw[->] (7.25,-0.85)--(7.25,1.66);\node[anchor=south] at (7.2,1.66) {\scriptsize $V$ ($\mathrm{V}$)};\draw (7.25,-0.79)--(7.25,-0.91); \node[below] at (7.25,-0.85) {\scriptsize $D$};\draw (8.15,-0.79)--(8.15,-0.91); \node[below] at (8.15,-0.85) {\scriptsize $A$};\draw (9.35,-0.79)--(9.35,-0.91); \node[below] at (9.35,-0.85) {\scriptsize $B$};\draw (10.25,-0.79)--(10.25,-0.91); \node[below] at (10.25,-0.85) {\scriptsize $C$};\draw (11.45,-0.79)--(11.45,-0.91); \node[below] at (11.45,-0.85) {\scriptsize $D$};\draw (7.19,-0.31)--(7.31,-0.31); \node[left] at (7.25,-0.31) {\scriptsize 3};\draw (7.19,0.23)--(7.31,0.23); \node[left] at (7.25,0.23) {\scriptsize 6};\draw (7.19,1.31)--(7.31,1.31); \node[left] at (7.25,1.31) {\scriptsize 12};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 35s = "true", 35.5s = "false", 57.3s = "false", repeats}}}]
\fill[hot] (0,0) circle (0.15); \node[white] at (0,0) {\scriptsize$+$};\fill[hot] (7.25,-0.85) circle (0.08);
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 35.5s = "true", 36s = "false", 57.3s = "false", repeats}}}]
\fill[hot] (0,1) circle (0.15); \node[white] at (0,1) {\scriptsize$+$};\fill[hot] (7.55,-0.85) circle (0.08);
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 35.5s = "true", 57.3s = "true", repeats}}}]
\draw[very thick,hot] (7.25,-0.85)--(7.55,-0.85);
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 36s = "true", 40.8s = "false", 57.3s = "false", repeats}}}]
\fill[hot] (0,3) circle (0.15); \node[white] at (0,3) {\scriptsize$+$};\fill[hot] (8.15,1.31) circle (0.08);
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 36s = "true", 57.3s = "true", repeats}}}]
\draw[very thick,hot] (7.55,-0.85)--(7.67,-0.85)--(7.73,1.31)--(8.15,1.31);
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 40.8s = "true", 41.3s = "false", 57.3s = "false", repeats}}}]
\fill[hot] (2,3) circle (0.15); \node[white] at (2,3) {\scriptsize$+$};\fill[hot] (8.75,0.77) circle (0.08);
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 40.8s = "true", 57.3s = "true", repeats}}}]
\draw[very thick,hot] (8.15,1.31)--(8.62,1.31)--(8.75,0.77);
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 41.3s = "true", 46.1s = "false", 57.3s = "false", repeats}}}]
\fill[hot] (4,3) circle (0.15); \node[white] at (4,3) {\scriptsize$+$};\fill[hot] (9.35,0.23) circle (0.08);
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 41.3s = "true", 57.3s = "true", repeats}}}]
\draw[very thick,hot] (8.75,0.77)--(8.88,0.23)--(9.35,0.23);
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 46.1s = "true", 46.6s = "false", 57.3s = "false", repeats}}}]
\fill[hot] (4,2) circle (0.15); \node[white] at (4,2) {\scriptsize$+$};\fill[hot] (9.65,0.23) circle (0.08);
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 46.1s = "true", 57.3s = "true", repeats}}}]
\draw[very thick,hot] (9.35,0.23)--(9.65,0.23);
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 46.6s = "true", 51.4s = "false", 57.3s = "false", repeats}}}]
\fill[hot] (4,0) circle (0.15); \node[white] at (4,0) {\scriptsize$+$};\fill[hot] (10.25,-0.31) circle (0.08);
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 46.6s = "true", 57.3s = "true", repeats}}}]
\draw[very thick,hot] (9.65,0.23)--(9.77,0.23)--(9.83,-0.31)--(10.25,-0.31);
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 51.4s = "true", 51.9s = "false", 57.3s = "false", repeats}}}]
\fill[hot] (2,0) circle (0.15); \node[white] at (2,0) {\scriptsize$+$};\fill[hot] (10.85,-0.58) circle (0.08);
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 51.4s = "true", 57.3s = "true", repeats}}}]
\draw[very thick,hot] (10.25,-0.31)--(10.71,-0.31)--(10.85,-0.58);
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 51.9s = "true", 57.3s = "true", repeats}}}]
\fill[hot] (0,0) circle (0.15); \node[white] at (0,0) {\scriptsize$+$};\fill[hot] (11.45,-0.85) circle (0.08);
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 51.9s = "true", 57.3s = "true", repeats}}}]
\draw[very thick,hot] (10.85,-0.58)--(10.98,-0.85)--(11.45,-0.85);
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 36s = "true", 57.3s = "true", repeats}}}]
\node[anchor=south west,hot] at (8.23,1.36) {\scriptsize $12.0$};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 41.3s = "true", 57.3s = "true", repeats}}}]
\node[anchor=south west,hot] at (9.43,0.28) {\scriptsize $6.0$};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 46.6s = "true", 57.3s = "true", repeats}}}]
\node[anchor=south west,hot] at (10.33,-0.26) {\scriptsize $3.0$};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "true", 5s = "false", 57.3s = "false", repeats}}}]
\node[anchor=north,align=center] at (4.9,-1.45) {A single loop holds two sources and two resistors.\\ Find the current and the potential of each point relative to $D$.};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 5s = "true", 10s = "false", 57.3s = "false", repeats}}}]
\node[anchor=north,align=center] at (4.9,-1.45) {Draw the current arrow from $A$ toward $B$.\\ Travel around the loop the same way, starting at $D$.};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 10s = "true", 14.8s = "false", 57.3s = "false", repeats}}}]
\node[anchor=north,align=center] at (4.9,-1.45) {Crossing source 1 from $-$ to $+$ adds $+\mathcal{E}_1 = +12.0\,\mathrm{V}$.};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 14.8s = "true", 19.6s = "false", 57.3s = "false", repeats}}}]
\node[anchor=north,align=center] at (4.9,-1.45) {Crossing $R_1$ along the current arrow adds $-IR_1 = -2.0I$.};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 19.6s = "true", 24.4s = "false", 57.3s = "false", repeats}}}]
\node[anchor=north,align=center] at (4.9,-1.45) {Crossing source 2 from $+$ to $-$ adds $-\mathcal{E}_2 = -3.0\,\mathrm{V}$.};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 24.4s = "true", 29.2s = "false", 57.3s = "false", repeats}}}]
\node[anchor=north,align=center] at (4.9,-1.45) {Crossing $R_2$ along the current arrow adds $-IR_2 = -1.0I$.};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 29.2s = "true", 35s = "false", 57.3s = "false", repeats}}}]
\node[anchor=north,align=center] at (4.9,-1.45) {By the loop rule the terms add to zero, so $9.0 - 3.0I = 0$.\\ $I = 3.0\,\mathrm{A}$ is positive, so the current flows from $A$ toward $B$ as drawn.};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 35s = "true", 36s = "false", 57.3s = "false", repeats}}}]
\node[anchor=north,align=center] at (4.9,-1.45) {Now trace the potential relative to $D$ with $I = 3.0\,\mathrm{A}$.\\ A positive test charge starts at $D$ and follows the current.};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 36s = "true", 40.8s = "false", 57.3s = "false", repeats}}}]
\node[anchor=north,align=center] at (4.9,-1.45) {Source 1 raises the potential by $12.0\,\mathrm{V}$, so $V_A = 12.0\,\mathrm{V}$.};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 40.8s = "true", 46.1s = "false", 57.3s = "false", repeats}}}]
\node[anchor=north,align=center] at (4.9,-1.45) {Across $R_1$ it falls by $IR_1 = 6.0\,\mathrm{V}$ (Ohm's law), so $V_B = 6.0\,\mathrm{V}$.};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 46.1s = "true", 51.4s = "false", 57.3s = "false", repeats}}}]
\node[anchor=north,align=center] at (4.9,-1.45) {Source 2, crossed from $+$ to $-$, lowers it by $3.0\,\mathrm{V}$, so $V_C = 3.0\,\mathrm{V}$.};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 51.4s = "true", 51.9s = "false", 57.3s = "false", repeats}}}]
\node[anchor=north,align=center] at (4.9,-1.45) {Across $R_2$ it falls by $IR_2 = 3.0\,\mathrm{V}$ (Ohm's law).};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 51.9s = "true", 57.3s = "true", repeats}}}]
\node[anchor=north,align=center] at (4.9,-1.45) {The potential is back to $0$ at $D$, where the walk began.\\ The rises and drops around the loop cancel, as the loop rule requires.};
\end{scope}
\end{tikzpicture}
\end{document}

The branch-current method runs step by step on the Medium example. The equations build as each element is crossed. Then the arrow for flips, because comes out negative.

\usepackage{tikz}
\usetikzlibrary{animations}
\begin{document}
\makeatletter\@ifundefined{pgf@sys@id@count}{}{\global\pgf@sys@id@count=113000\relax}\@ifundefined{pgf@sys@svg@objectcount}{}{\global\pgf@sys@svg@objectcount=113000\relax}\makeatother
\definecolor{grn}{HTML}{2F9E44}
\definecolor{prp}{HTML}{8E6BD6}
\begin{tikzpicture}[font=\small, >=latex, w/.style={thick}]
\path (-2.6,-1.8) rectangle (13.0,3.55);
\draw[w] (0,0)--(0,0.66); \draw[w] (0,0.84)--(0,1.5);\draw[line width=1.2pt] (0.32,0.84)--(-0.32,0.84);\draw[line width=2.6pt] (0.16,0.66)--(-0.16,0.66);\node at (0.42,0.97) {\scriptsize $+$};\node at (0.3,0.53) {\scriptsize $-$};\draw[w] (0,1.5)--(0,1.85)--(-0.15,1.92)--(0.15,2.05)--(-0.15,2.18)--(0.15,2.32)--(-0.15,2.45)--(0.15,2.58)--(0,2.65)--(0,3);\draw[w] (2.5,3)--(2.5,1.95)--(2.65,1.88)--(2.35,1.73)--(2.65,1.57)--(2.35,1.43)--(2.65,1.28)--(2.35,1.12)--(2.5,1.05)--(2.5,0);\draw[w] (5,0)--(5,0.66); \draw[w] (5,0.84)--(5,1.5);\draw[line width=1.2pt] (5.32,0.84)--(4.68,0.84);\draw[line width=2.6pt] (5.16,0.66)--(4.84,0.66);\node at (4.58,0.97) {\scriptsize $+$};\node at (4.7,0.53) {\scriptsize $-$};\draw[w] (5,1.5)--(5,1.85)--(4.85,1.92)--(5.15,2.05)--(4.85,2.18)--(5.15,2.32)--(4.85,2.45)--(5.15,2.58)--(5,2.65)--(5,3);
\draw[w] (0,3)--(5,3);
\draw[w] (0,0)--(5,0);
\fill (2.5,3) circle (0.06);
\fill (2.5,0) circle (0.06);
\node[anchor=center] at (2.5,3.25) {\small $a$};
\node[anchor=center] at (2.5,-0.27) {\small $b$};
\node[anchor=east] at (-0.42,0.75) {\small $\mathcal{E}_1 = 12\,\mathrm{V}$};
\node[anchor=east] at (-0.3,2.25) {\small $R_1 = 2.0\,\Omega$};
\node[anchor=west] at (5.42,0.75) {\small $\mathcal{E}_2 = 6.0\,\mathrm{V}$};
\node[anchor=west] at (5.3,2.25) {\small $R_2 = 3.0\,\Omega$};
\node[anchor=west] at (2.78,1.5) {\scriptsize $R_3 = 6.0\,\Omega$};
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 5s = "true", 62s = "true", repeats}}}]
\draw[->,grn,line width=1.3pt] (0.4,1.9)--(0.4,2.7);\node[anchor=west,grn] at (0.55,2.3) {\small $I_1$};\draw[->,grn,line width=1.3pt] (2.15,2.7)--(2.15,1.9);\node[anchor=east,grn] at (2,2.3) {\small $I_3$};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 5s = "true", 49.6s = "false", 62s = "false", repeats}}}]
\draw[->,grn,line width=1.3pt] (4.6,1.9)--(4.6,2.7);\node[anchor=east,grn] at (4.45,2.3) {\small $I_2$};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 49.6s = "true", 62s = "true", repeats}}}]
\draw[->,grn,line width=1.3pt] (4.6,2.7)--(4.6,1.9);\node[anchor=east,grn] at (4.45,2.3) {\small $0.67\,\mathrm{A}$};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 10s = "true", 15.6s = "false", 62s = "false", repeats}}}]
\fill[prp] (2.5,3) circle (0.11);
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 10s = "true", 62s = "true", repeats}}}]
\node[anchor=east] at (8.55,3) {\scriptsize junction $a$:};\node[anchor=west] at (8.6,3) {\small $I_1 + I_2 - I_3 = 0$};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 15.6s = "true", 20.4s = "false", 62s = "false", repeats}}}]
\draw[thick,prp] (0,0)--(0,0.66); \draw[thick,prp] (0,0.84)--(0,1.5);\draw[line width=1.2pt,prp] (0.32,0.84)--(-0.32,0.84);\draw[line width=2.6pt,prp] (0.16,0.66)--(-0.16,0.66);\node at (0.42,0.97) {\scriptsize $+$};\node at (0.3,0.53) {\scriptsize $-$};\draw[->,prp,thick] (0.98,1.12) arc (130:-170:0.42);\node[anchor=west] at (8.6,2.3) {\small $+12$};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 20.4s = "true", 24.8s = "false", 62s = "false", repeats}}}]
\draw[thick,prp] (0,1.5)--(0,1.85)--(-0.15,1.92)--(0.15,2.05)--(-0.15,2.18)--(0.15,2.32)--(-0.15,2.45)--(0.15,2.58)--(0,2.65)--(0,3);\draw[->,prp,thick] (0.98,1.12) arc (130:-170:0.42);\node[anchor=west] at (8.6,2.3) {\small $+12 - 2.0I_1$};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 24.8s = "true", 29.6s = "false", 62s = "false", repeats}}}]
\draw[thick,prp] (2.5,3)--(2.5,1.95)--(2.65,1.88)--(2.35,1.73)--(2.65,1.57)--(2.35,1.43)--(2.65,1.28)--(2.35,1.12)--(2.5,1.05)--(2.5,0);\draw[->,prp,thick] (0.98,1.12) arc (130:-170:0.42);\node[anchor=west] at (8.6,2.3) {\small $+12 - 2.0I_1 - 6.0I_3 = 0$};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 29.6s = "true", 62s = "true", repeats}}}]
\node[anchor=west] at (8.6,2.3) {\small $+12 - 2.0I_1 - 6.0I_3 = 0$};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 29.6s = "true", 34.4s = "false", 62s = "false", repeats}}}]
\draw[thick,prp] (5,0)--(5,0.66); \draw[thick,prp] (5,0.84)--(5,1.5);\draw[line width=1.2pt,prp] (5.32,0.84)--(4.68,0.84);\draw[line width=2.6pt,prp] (5.16,0.66)--(4.84,0.66);\node at (4.58,0.97) {\scriptsize $+$};\node at (4.7,0.53) {\scriptsize $-$};\draw[->,prp,thick] (4.02,1.12) arc (50:350:0.42);\node[anchor=west] at (8.6,1.6) {\small $+6.0$};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 34.4s = "true", 38.8s = "false", 62s = "false", repeats}}}]
\draw[thick,prp] (5,1.5)--(5,1.85)--(4.85,1.92)--(5.15,2.05)--(4.85,2.18)--(5.15,2.32)--(4.85,2.45)--(5.15,2.58)--(5,2.65)--(5,3);\draw[->,prp,thick] (4.02,1.12) arc (50:350:0.42);\node[anchor=west] at (8.6,1.6) {\small $+6.0 - 3.0I_2$};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 38.8s = "true", 43.6s = "false", 62s = "false", repeats}}}]
\draw[thick,prp] (2.5,3)--(2.5,1.95)--(2.65,1.88)--(2.35,1.73)--(2.65,1.57)--(2.35,1.43)--(2.65,1.28)--(2.35,1.12)--(2.5,1.05)--(2.5,0);\draw[->,prp,thick] (4.02,1.12) arc (50:350:0.42);\node[anchor=west] at (8.6,1.6) {\small $+6.0 - 3.0I_2 - 6.0I_3 = 0$};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 15.6s = "true", 62s = "true", repeats}}}]
\node[anchor=east] at (8.55,2.3) {\scriptsize left loop:};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 29.6s = "true", 62s = "true", repeats}}}]
\node[anchor=east] at (8.55,1.6) {\scriptsize right loop:};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 43.6s = "true", 62s = "true", repeats}}}]
\node[anchor=west] at (8.6,1.6) {\small $+6.0 - 3.0I_2 - 6.0I_3 = 0$};\node[anchor=west] at (8.6,0.75) {\small $I_1 = 2.0\,\mathrm{A}$, $I_2 = -0.67\,\mathrm{A}$, $I_3 = 1.33\,\mathrm{A}$};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 55.6s = "true", 62s = "true", repeats}}}]
\node[anchor=west,grn] at (8.6,0.05) {\small outer loop: $12 - 4.0 - 2.0 - 6.0 = 0$};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "true", 5s = "false", 62s = "false", repeats}}}]
\node[anchor=north,align=center] at (5.4,-0.7) {Three branches join junction $a$ to junction $b$.\\ Find the current in each branch.};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 5s = "true", 10s = "false", 62s = "false", repeats}}}]
\node[anchor=north,align=center] at (5.4,-0.7) {Step 1. Label a current in each branch.\\ Each arrow can point either way, with no need to guess the true direction.};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 10s = "true", 15.6s = "false", 62s = "false", repeats}}}]
\node[anchor=north,align=center] at (5.4,-0.7) {Step 2. The junction rule at $a$, with $I_1$ and $I_2$ in and $I_3$ out.\\ Junction $b$ gives the same equation with flipped signs, so leave it out.};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 15.6s = "true", 20.4s = "false", 62s = "false", repeats}}}]
\node[anchor=north,align=center] at (5.4,-0.7) {Step 3. Travel the left loop, up the left branch and down the middle.\\ Crossing source 1 from $-$ to $+$ adds $+12\,\mathrm{V}$.};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 20.4s = "true", 24.8s = "false", 62s = "false", repeats}}}]
\node[anchor=north,align=center] at (5.4,-0.7) {Crossing $R_1$ along its arrow adds $-I_1R_1 = -2.0I_1$.};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 24.8s = "true", 29.6s = "false", 62s = "false", repeats}}}]
\node[anchor=north,align=center] at (5.4,-0.7) {Crossing $R_3$ along its arrow adds $-6.0I_3$. By the loop rule, the sum is zero.};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 29.6s = "true", 34.4s = "false", 62s = "false", repeats}}}]
\node[anchor=north,align=center] at (5.4,-0.7) {Travel the right loop, up the right branch and down the middle.\\ Crossing source 2 from $-$ to $+$ adds $+6.0\,\mathrm{V}$.};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 34.4s = "true", 38.8s = "false", 62s = "false", repeats}}}]
\node[anchor=north,align=center] at (5.4,-0.7) {Crossing $R_2$ along its arrow adds $-3.0I_2$.};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 38.8s = "true", 43.6s = "false", 62s = "false", repeats}}}]
\node[anchor=north,align=center] at (5.4,-0.7) {Crossing $R_3$ along its arrow adds $-6.0I_3$. Every element now lies in a loop.};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 43.6s = "true", 49.6s = "false", 62s = "false", repeats}}}]
\node[anchor=north,align=center] at (5.4,-0.7) {Step 4. There are three equations for three unknowns. Substitute $I_3 = I_1 + I_2$ and eliminate.\\ This gives $I_1 = 2.0\,\mathrm{A}$, $I_2 = -2/3\,\mathrm{A} \approx -0.67\,\mathrm{A}$, and $I_3 = 4/3\,\mathrm{A} \approx 1.33\,\mathrm{A}$.};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 49.6s = "true", 55.6s = "false", 62s = "false", repeats}}}]
\node[anchor=north,align=center] at (5.4,-0.7) {Step 5. $I_2$ is negative, so $0.67\,\mathrm{A}$ flows down the right branch.\\ It enters the $+$ terminal of source 2. $I_1$ and $I_3$ flow as drawn.};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 55.6s = "true", 62s = "true", repeats}}}]
\node[anchor=north,align=center] at (5.4,-0.7) {Check with the outer loop, up the left branch and down the right:\\ $12 - (2.0)(2.0) + (3.0)(-2/3) - 6.0 = 0$.};
\end{scope}
\end{tikzpicture}
\end{document}

Derivation

Follow a small positive test charge once around a loop. As it crosses an element, its potential changes by . Its electric potential energy changes by , as in 3.4.1. Electric Potential Energy. After a full lap it is back at its starting point, at its starting potential. The total change of its potential energy is therefore zero:

Each term is the energy the charge gains or loses at one element. Dividing by gives the loop rule.

The signs come from each element’s behavior. An ideal source holds its terminal at a potential above its terminal, from 3.7.1. Electromotive Force. Current in a resistor flows from high potential to low potential. By 3.6.4. Ohm’s Law, the end where the current enters sits above the end where it leaves. Crossing along the arrow therefore gives . If comes out negative, the same expression still gives the correct potential change. A capacitor’s positive plate sits above its negative plate, from 3.5.1. Capacitance.

The procedure in the callout produces exactly enough equations. Let a circuit have segments and junctions. There are unknown currents, and the junction rule gives independent equations. The loop rule must supply the remaining . Each new loop must use at least one segment that no earlier loop used. A loop made only of segments already covered gives a combination of the earlier equations. A classroom example had six currents and four junctions. It used three junctions and three loops, and a fourth loop would have added nothing.

Properties

(Any Loop Direction) The direction of travel around a loop is a free choice, and reversing it flips every sign in the equation.

Reversing the direction multiplies the whole equation by , which carries the same information. The direction of travel and the current arrows are separate choices. The resistor term uses both, giving when travel follows the arrow. A loop can start at any of its points, since it ends where it starts.

(Elimination) Solve the equations by multiplying them and subtracting, one unknown at a time.

Start by spotting the currents that appear in no loop equation. They follow from junction equations once the others are known, so they can wait. A loop equation with a single current gives that current at once. To remove an unknown from two equations, multiply each by the coefficient that the other one has, then subtract. Elimination uses only multiplication and subtraction, so fractions appear only at the end. For a second unknown, eliminate again from the same pair of equations. Both answers then share a denominator, which gives a check.

(Checks on the Answer) A symbolic current can be checked by its units, by the sign of its denominator, and by a shared denominator.

The Hard example below gives the current in the left branch of a two-source circuit:

The numerator is an emf times a resistance, and the denominator is a resistance squared, so is in amperes. Every term in the denominator is positive. A minus sign there would let some choice of positive resistances make it zero, which predicts an infinite current. Currents found by elimination from the same equations share one denominator. It is the determinant of the coefficients, and a different denominator means there is an algebra error. The numerator may have either sign, since it sets the direction.

(Sign Conventions) Any consistent sign convention gives the same currents, and EE courses use a different one.

Not Taught in Lecture

Lecture did not teach the node-voltage, mesh-current, Thevenin, or Norton methods. PHYS 7B exams accept them only with a proof.

These notes add potential changes in the direction of travel. EE courses use the passive sign convention, which labels each element’s voltage drop relative to its current. The EE counterpart of this note is 2.2c KVL. Mixing the two conventions in one equation produces sign errors. A written solution should state its convention at the start. The EE methods, such as the 2.2d.1 Mesh-Current Method and 2.2c.2 Thevenin Equivalence, rest on the same two rules.

(Where the Rule Fails) The loop rule assumes a conservative electric field, which fails when the magnetic flux through the loop changes.

Not Taught in Lecture

Lecture mentioned only that the RC analysis leaves out induction. Giancoli chapter 29 treats the induced electric field.

A changing magnetic flux creates an electric field whose work around a closed path is not zero, as in 3.10.9. Induced Electric Field. The potential then has no single value at each point. Circuits with steady currents meet the rule’s assumption. An inductor turns the induced effect into an extra term in the loop equation, as in 3.11.4. LR Circuit.

Examples

(Easy) Two Sources in One Loop

A single loop runs through points , , , and and back to . Source 1, with , has its terminal at and its terminal at . Resistor runs from to . Source 2, with , has its terminal at and its terminal at . Resistor runs from to .

(Medium) Two Sources in Parallel Branches

Three branches join junction at the top to junction at the bottom. The left branch holds source 1, , with its terminal toward , and a resistor . The right branch holds source 2, , with its terminal toward , and a resistor . The middle branch holds only .

(Hard) The Same Circuit in Symbols

Take the circuit of the Medium example with general values , , , , and .

See Also