Current in a resistor with Kirchhoff's laws

Click For Summary
SUMMARY

The discussion centers on applying Kirchhoff's laws to analyze current in a resistor circuit, specifically using a system of equations derived from Kirchhoff's Voltage Law (KVL) and Kirchhoff's Current Law (KCL). Participants clarify that while the initial direction of currents can be chosen arbitrarily, consistency in these choices is crucial for accurate calculations. The conversation highlights the distinction between loop analysis and mesh analysis, emphasizing that mesh analysis typically uses fewer currents. Ultimately, the math will reveal the correct current directions, even if initial assumptions are incorrect.

PREREQUISITES
  • Understanding of Kirchhoff's Voltage Law (KVL)
  • Familiarity with Kirchhoff's Current Law (KCL)
  • Knowledge of loop analysis versus mesh analysis in circuit theory
  • Basic proficiency in solving systems of equations
NEXT STEPS
  • Study the differences between loop analysis and mesh analysis in circuit design
  • Learn how to apply Kirchhoff's laws in complex circuits with multiple loops
  • Explore techniques for solving systems of equations in electrical engineering
  • Investigate the implications of current direction choices on circuit analysis outcomes
USEFUL FOR

Electrical engineering students, circuit designers, and anyone involved in analyzing electrical circuits using Kirchhoff's laws.

greg_rack
Gold Member
Messages
361
Reaction score
79
Homework Statement
Determine the intensity and direction of the current passing through the resistor of ##4.00\Omega##

(Diagram below)
Relevant Equations
##I=\frac{V}{R}##
##\Delta\_{Vtot}=0##
IMG_9799.JPG
So, I started by writing down conditions imposed by Kirchhoff's laws, coming up with a system of 3 equations with the 3 unknown currents:
$$
\left\{\begin{matrix}
9V-8\Omega I_{8}+6V-4\Omega I_{4}=0 \\
6V-4\Omega I_{4}+3V-2\Omega I_{2}=0\\
I_{2}+I_{8}=I_{4}
\end{matrix}\right.$$
But something's wrong.
 
Physics news on Phys.org
What makes you think that something's wrong? What result does that system of equations give you for ##I_4## ?
 
gneill said:
What makes you think that something's wrong? What result does that system of equations give you for ##I_4## ?
That's curious, but re-calculating the same system, the result is now correct😅... but I still have a few questions:
-how do I determine the direction of the current?
-in this particular case, analyzing the two meshes separately, is it totally arbitrary the direction which I make the current flow, for applying Kirchhoff?
-could current flow in opposite directions in the two meshes?
 
greg_rack said:
That's curious, but re-calculating the same system, the result is now correct😅... but I still have a few questions:
-how do I determine the direction of the current?
-in this particular case, analyzing the two meshes separately, is it totally arbitrary the direction which I make the current flow, for applying Kirchhoff?
-could current flow in opposite directions in the two meshes?
When you initially wrote your equations you made assumptions about the current directions. It's okay to choose their directions arbitrarily so long as you stick to your choices for all subsequent equation writing. The math will automatically sort out the correct directions by giving you the appropriate sign on the result. A negative value tells you that your initial guess was "wrong". Note that there is really no "wrong" choice, as the math will sort itself out!

Yes, the initial choices of current directions is arbitrary. But you must stick to your choices for generating all the equations so that the math is consistent. By the way, you did a loop analysis, not a mesh analysis. Mesh analysis would have employed just two currents for the entire circuit.

You can choose currents to flow in opposite directions for mesh analysis, but you will find that there are certain advantages to choosing them all to circulate in the same direction. One major advantage is that you can write down the equation matrix by inspection with a very simple algorithm. I'm sure you'll soon cover this in your class.
 
  • Like
Likes   Reactions: greg_rack
I like to choose the battery with the greatest potential and draw a current coming out of it (the + side). Then, at each junction, I draw the necessary new currents, or collapse them into the one they separated from (depending on the junction).
IMG_9799.JPG
 
gneill said:
When you initially wrote your equations you made assumptions about the current directions. It's okay to choose their directions arbitrarily so long as you stick to your choices for all subsequent equation writing. The math will automatically sort out the correct directions by giving you the appropriate sign on the result. A negative value tells you that your initial guess was "wrong". Note that there is really no "wrong" choice, as the math will sort itself out!

Yes, the initial choices of current directions is arbitrary. But you must stick to your choices for generating all the equations so that the math is consistent. By the way, you did a loop analysis, not a mesh analysis. Mesh analysis would have employed just two currents for the entire circuit.

You can choose currents to flow in opposite directions for mesh analysis, but you will find that there are certain advantages to choosing them all to circulate in the same direction. One major advantage is that you can write down the equation matrix by inspection with a very simple algorithm. I'm sure you'll soon cover this in your class.
Cool! Didn't know what I was doing was a loop analysis :)
So even the third(in my case) equation sticks to what you've said? Independently on the direction chosen, all the math will sort out the correct direction even for the first Kirchhoff's law about input and out current in a node?
I have the impression that, whilst the direction of the first two equations can be arbitrary, for the third one you must be right with choosing the right sum... or don't you?

EDIT: I can't get the same(correct) result by changing directions of the two initial currents. Why?
 
Last edited:
archaic said:
I like to choose the battery with the greatest potential and draw a current coming out of it (the + side). Then, at each junction, I draw the necessary new currents, or collapse them into the one they separated from (depending on the junction).
View attachment 271384
Got it, and does this have a positive impact on the math?
 
greg_rack said:
Got it, and does this have a positive impact on the math?
No, not really. It's just personal preference. :smile:
 
  • Like
Likes   Reactions: greg_rack
greg_rack said:
Cool! Didn't know what I was doing was a loop analysis :)
So even the third(in my case) equation sticks to what you've said? Independently on the direction chosen, all the math will sort out the correct direction even for the first Kirchhoff's law about input and out current in a node?
Yes. As long as you stick to your chosen current directions when you write your equations the math will sort itself out, every time.
I have the impression that, whilst the direction of the first two equations can be arbitrary, for the third one you must be right with choosing the right sum... or don't you?

EDIT: I can't get the same(correct) result by changing directions of the two initial currents. Why?
Your KCL sum must reflect your current direction choices. If you change your current directions, you need to write the KCL sum accordingly.
 
  • Like
Likes   Reactions: greg_rack

Similar threads

  • · Replies 2 ·
Replies
2
Views
832
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 11 ·
Replies
11
Views
1K
Replies
22
Views
4K
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 40 ·
2
Replies
40
Views
5K
Replies
5
Views
2K