A multiloop circuit is shown above. There are three branches, each drawn in a different color. The two junctions are indicated with red circles.

The resistor values are:

R_{1} = 1 Ω

R_{2} = 2 Ω

R_{3} = 3 Ω

R_{4} = 4 Ω

The battery emf's are:

ε_{1} = 12 V

ε_{2} = 3 V

ε_{3} = 10 V

Step 1 - Label the currents in each branch, indicating direction.

Step 2 - Label the + and - ends of the resistors. Current goes through a resistor from the + end to the - end.

Step 3 - Write down one loop equation. I chose the inside loop on the left and went clockwise. It doesn't matter where on the loop you start or which direction you go.

ε_{1} - I_{1} R_{1} - ε_{2} + I_{2} R_{2} - I_{1} R_{4} = 0

[Eq. 1] 9 - 5I_{1} + 2I_{2} = 0

Step 4 - Write down a second loop equation that includes the branch on the right. You can go around the outside of the circuit or do what I did, go around the inner loop on the right.

ε_{2} - ε_{3} + I_{3} R_{3} - I_{2} R_{2} = 0

[Eq. 2] -7 + 3I_{3} - 2I_{2} = 0

Step 5 - Apply the junction rule at either one of the junctions.

I_{1} + I_{2} + I_{3} = 0

Solve this for I_{1}:

[Eq. 3] I_{1} = -I_{2} -I_{3}

Substitute this into equation 1: 9 - 5I_{1} + 2I_{2} = 0

[Eq. 4] 9 + 7I_{2} + 5I_{3} = 0

Compare this to equation 2, -7 -2I_{2} + 3I_{3} = 0

Multiply equation 4 by 2 and equation 2 by 7:

[2 * Eq. 4] 18 + 14I_{2} + 10I_{3} = 0

[7 * Eq. 2] -49 - 14I_{2} + 21I_{3} = 0

Add to get -31 + 31I_{3} = 0.

This gives I_{3} = 1 A.

Substitute this back into equation 2:

-4 -2I_{2} = 0

This gives I_{2} = -2A

Substitute this into equation 3, I_{1} = -I_{2} -I_{3}:

I_{1} = 1A

I_{1} = 1 A; I_{2} = -2 A; I_{3} = 1 A

There are a couple of ways to check whether the result is correct. One is to label the potential at different points in the circuit and make sure everything is consistent. Choose an arbitrary point to be zero (I chose the negative side of battery 1) and label potentials relative to that.

Going across a battery from - to + raises the potential by the battery voltage. Going from - to + drops it.

The potential difference across a resistor is IR. The current flows through a resistor from higher potential to lower potential.

The fact that I_{2} is negative means that the direction we chose for I_{2} was wrong. Make sure you remember that that current really goes the other way.

Another way to check your answer is to make sure that the power everywhere in the circuit is consistent with the Law of Conservation of Energy.

Using I^{2}R, the power dissipated in each resistor is:

For R_{1}: P = (1)^{2}1 = 1 W

For R_{2}: P = (2)^{2}2 = 8 W

For R_{3}: P = (1)^{2}3 = 3 W

For R_{4}: P = (1)^{2}4 = 4 W

That adds up to 16 W dissipated in the resistors.

The power associated with the batteries can be determined using P = eI.

For ε_{1}: P_{1} = 12*1 = 12 W

For ε_{2}: P_{2} = 3*2 = 6 W

For ε_{3}: P_{3} = 10*1 = 10 W

At first glance it looks like the batteries are putting more power into the circuit than is being dissipated. However, battery
ε_{2} has current running through it from + to -, so it is being re-charged and is taking energy out of the circuit.

Batteries ε_{1} and ε_{3} supply 22 W of power to the circuit.

The resistors plus battery ε_{2} use 22 W of power.

Everything adds up, as it should.