I recently asked this question:
Find the currents and voltages in the circuit shown in Fig. 2.28. Answer: \$v_1 = 6 \ \text{V}\$, \$v_2 = 4 \ \text{V}\$, \$v_3 = 10 \ \text{V}\$, \$i_1 = 3 \ \text{A}\$, \$i_2 = 500 \ \text{mA}\$, \$i_3 = 2.5 \ \text{A}\$
It seems to me that we have two loops here. For the first loop, we have \$-10 \ \text{V} + 2i_1 + 8i_2 = 0\$. For the second loop, we have \$4i_3 - 6 \ \text{V} - 8i_2 = 0\$, where I have \$8i_2\$ by Ohm's law instead of \$-8i_2\$, because the current \$i_2\$ is actually going from + to - for the \$8 \ \Omega\$ resistor (and despite this being counter to the clockwise direction of the loop, my understanding is that this results in a positive current for the purpose of the Ohm's law calculation). Finally, if we designate the top middle node, then we have that \$i_1 - i_2 - i_3 = 0\$. Is my reasoning here correct?
I was informed that my reasoning is correct. However, when I perform the calculations, it seems clear that I'm missing something (an equation somewhere):
$$-10 \ \text{V} + v_1 + v_2 = 0 = -10 \ \text{V} + 2i_1 + 8i_2 \ \Rightarrow i_2 = \dfrac{10 \ \text{V} - 2i_1}{8} = \dfrac{5 \ \text{V} - i_1}{4}$$ $$-6 \ \text{V} - v_2 + v_3 = 0 = -6 \ \text{V} - (8i_2) + 4i_3 = -6 \ \text{V} - 8i_2 + 4i_3$$ $$i_1 - i_2 - i_3 = 0$$
$$-6 \ \text{V} - 8\left( \dfrac{5 \ \text{V} - i_1}{4} \right) + 4i_3 = 0 \ \Rightarrow -6 \ \text{V} - 10 \ \text{V} + 2i_1 + 4i_3 = 0 \\ \Rightarrow 2i_1 = 16 \ \text{V} - 4i_3 \ \Rightarrow i_1 = 8 \text{V} - 2i_3$$
$$(8 \ \text{V} - 2i_3) - i_2 - i_3 = 0 \ \Rightarrow 8 \ \text{V} - 3i_3 - i_2 = 0 \ \Rightarrow i_2 = 3i_3 - 8 \ \text{V}$$
What am I missing here?