How can I solve the current in a circuit quickly using Kirchhoff's Law?

AI Thread Summary
Kirchhoff's laws can be effectively used to solve for current in circuits, but setting up the equations can be complex. A matrix approach is recommended for handling larger systems of equations, and tools like Gaussian elimination or Cramer's rule can simplify the process. Understanding the basics of Kirchhoff's Voltage Law (KVL) and Kirchhoff's Current Law (KCL) is essential, as they help in forming the necessary equations. Visualizing the circuit as a system of water flow can aid in grasping the concepts of current and voltage changes across components. Ultimately, while calculators can assist in solving the matrix, a solid understanding of the algebraic setup is crucial for accurate results.
meczs
Messages
7
Reaction score
0
help about kirchhoffs law!

:cry: is there a shortcut way to solve the current in a circuit using kirchhoffs law?? or... is there a law or other easiest solution that can solve the the current in a circuit?? because my prof. gave us the equation and solution, but it is too long to solve? hope u can help me...



can you solve this circuit and can you show me the solution on how to get the current using a shortcut way... if there is?
I would really appreciate some help. Thank you!
 

Attachments

  • Find the currents.GIF
    Find the currents.GIF
    3 KB · Views: 798
Last edited:
Physics news on Phys.org
Do you mean you have a big system of long equations to solve? For that you can use http://mathworld.wolfram.com/GaussianElimination.html" .
 
Last edited by a moderator:
If you take a circuit class, you will learn easier methods for dealing with circuits. However, Kirchoff's laws are fine if you setup them up in Matrix form and solve accordingly. Can you use a calculator? More than likely you can setup a matrix with it, and it's straightfoward... otherwise, it takes a lot of algebraic steps and it is too easy to make a mistake.
 
im not familliar of that matrix form... but if i used that kind of solution, will i get the final answer? meaning the current.. or there is another steps to use to get the answer??
 
meczs said:
im not familliar of that matrix form... but if i used that kind of solution, will i get the final answer? meaning the current.. or there is another steps to use to get the answer??

Have you taken linear algebra? Or do you know how to solve a system of linear equations with a matrix?

I really should not have said "matrix form", it is somewhat of a misnomer.

When your attachment is approved, I or someone else can walk you through it.

And yes, it will give you the currents, in fact it will yield all of them.
 
First, let's start with the basics. I don't know how you visualize circuits, but what helps me is to think of it as a system of pipes and water sources; let me explain.

Picture the voltage source (in this case you have two) as a water pump. It's purpose is to pump water through the pipe it is connected to. Think of a resistor as something in the pipe that slows the water down. So starting from your 20V "water pump" picture water being pumped out towards the 4\Omega resistor. The amount of water that is being pumped out is the current. In your diagram you lableled it I_3. So the amount of water, or I_3 is being pumped from the 20V voltage source. It hits the 4 \Omega resistor and changes speed, which means it changed voltage, NOT CURRENT. So The current across the 20V is the same across the 4 \Omega. This is the case for elements of a circuit in series. So let's just call this a rule:

1) The current across elements hooked up in series is equal.

So following along with our water analogy, you hit the 30 \Omega resistor. Again, the current is the same, the voltage is different. Next up we get to the "hard" part. The current comes in and hits the node you labled "b". Now what?

Well think of it like water. The water will go through all of those pipes right? But you only have so much water to move through them. So water will move to node "c" and travel to "d" and it will move to node "g" and travel to node "f", it will even move down the middle and travel from node "b" across "e". So this means you are actually going to have 4 different currents.

You didn't label the current from node "b" to "e" so let's do that now. We will call it I_0.

So now let's use kirchhoffs laws to solve the circuit.

First, what are they?
Well you have KVL, and KCL, or...
KVL = kirchhoffs voltage law
KCL = kirchhoffs current law

Let's start with KCL. KCL something along the lines of, the current that comes into a node must equal the current going out of that node.

So go back to the circuit and look at node "J" for a second. Remember we labeled this current I_3. Well you have I_3 coming into the node from the 30\Omega resistor side, and you also have I_3 leaving a side. So your expression for it would be:

I_3 = I_3.

This isn't very useful, as it doesn't yield any new information. So you really don't want to chose a node like that. Instead choose a node where more than one current is entering. And you happen to have two of them. Do you see why?

What are they?

Lets go back to KCL for a second. The general expression that I use to remember KCL is:
\sum i_{IN} = \sum i_{OUT}

That may or may not help you.

So back to the nodes. How many do you have? Yup... you have two:
Node B and Node E.

Lets look at Node E. What are the currents coming into it?

(You didn't label I_0, so let's say it is traveling "up" towards the 20V source. So back to Node E. You have the following:

I_3 comes in.
I_1 leaves.
I_0 leaves.
I_2 leaves.

Remember,
\sum i_{IN} = \sum i_{OUT}

So the expression would be:

I_3 +I_2 = I_1 + I_0.

Now you show me your steps for the other node.Now to KVL. KVL says something along the lines of, as you loop around the circuit the voltage drop across elements totals to 0. I remember it like this:

\sum v_i = 0

What is difficult here, is getting the polarity straight. It would be much easier to show this in person, but I'll try to explain. Let's just go through the example, and hopefully you will pick it up. First, let's define something though, that will hopefully make sense later.

A) If we are looping along in the direction of the current, a resistor will have a POSITIVE polarity.

B) If we are looping along in the opposite direction of the defined current, a resistor will have a NEGATIVE polarity.

C) If we loop into a voltage source, the polarity is given by which sign we touch, either (+) or (-).

So let's start our first loop. Start from the 20V source. We will start our loop just behind the element, and travel in the direction that we defined I_3. So we first touch the (+) side of the voltage source, so our expression thus far is:
20V + \cdot \cdot \cdot = 0.

Next we reach the 4 \Omega resistor and because of our rules we defined above, we know that when we reach a resistor when we are following the direction of the current we get a postive polarity, so our new expression is:

20V + (4\Omega)(I_3) \cdot \cdot \cdot = 0. Remember that we are summing up voltages, so from Ohm's law we have V=IR.

We reach the 30 \Omega [/tex] and get do the same:<br /> <br /> 20V + (4\Omega)(I_3) + (30\Omega)(I_3) + \cdot \cdot \cdot = 0<br /> <br /> Now we keep looping and we get to the split. We can loop in three directions, down the middle, to the left, and to the right. Let&#039;s go down the middle.<br /> <br /> We first get to the 30V source, so because we hit the (+) side first we will continue with our expression and have:<br /> <br /> 20V + (4\Omega)(I_3) +(30\Omega)(I_3) + 30V + \cdot \cdot \cdot = 0.<br /> <br /> Now we get to the 2 \Omega resistor. Remember that the current changed here, and we lableled it I_0. So we are not dealing with the I_3 current anymore, so our expression would be:<br /> <br /> 20V + (4\Omega)(I_3) +(30\Omega)(I_3) + 30V + (2\Omega)(I_0)= 0<br /> <br /> So now you have two expressions:<br /> I_3 +I_2 = I_1 + I_0<br /> 20V + (4\Omega)(I_3) +(30\Omega)(I_3) + 30V + (2\Omega)(I_0)= 0<br /> <br /> The two expressions have 4 unknowns, so you can&#039;t solve these yet. You are going to need some more expressions, so use KCL and KVL to finish it up and post your work on here.
 
durt said:
Do you mean you have a big system of long equations to solve? For that you can use http://mathworld.wolfram.com/GaussianElimination.html" .

A good suggestion. However, http://mathworld.wolfram.com/CramersRule.html" is much easier.
 
Last edited by a moderator:
can you tell how to use the matrix form step by step? can you give me a sample? thanx!
 
Sure,
here's an example (it's attached):
 

Attachments

  • kirchoff_help.jpg
    kirchoff_help.jpg
    39.7 KB · Views: 690
  • #10
how did you get the [-3]
[6+3]
[ 0 ]
in KVL how did you get that?

should i use that gaussian elimination to get the currents? how...?

i did'nt already know how to solve the matrix form... (im so sorry) that's why i asked u...

can you tell me how you solve the matrix form and gausian elim.
why (i1)(2k) + (i1)(4k) + (i2)(2k) + 3 = 0
i know it is an equation... why + 3?

in collect terms.. why -3

hope you understand my questions...

by the way... thankz a lot to you...
 
  • #11
meczs said:
how did you get the [-3]
[6+3]
[ 0 ]
in KVL how did you get that?

should i use that gaussian elimination to get the currents? how...?

i did'nt already know how to solve the matrix form... (im so sorry) that's why i asked u...

can you tell me how you solve the matrix form and gausian elim.
why (i1)(2k) + (i1)(4k) + (i2)(2k) + 3 = 0
i know it is an equation... why + 3?

in collect terms.. why -3

hope you understand my questions...

by the way... thankz a lot to you...


I'm tired, so I'll respond with more answers tomorrow. But real quick.

Guassian elimination is NOT just an equation. It is typically taught in a linear algebra course. You can read about it here:
http://mathworld.wolfram.com/GaussianElimination.html

If you are allowed to use a calculator, then you can read how to do it for your calculator. That would be the easiest way. If you are not comfortable using matrix's, and you are currently taking a class and need to understand this circuit material, I wouldn't recommend spending the time to learn the matrix forms for it. I'm guessing that your circuits will not be overly complicated, so just using algebra should be enough. That is up to you.

As far as an equation simply goes, you can use Cramers rule to solve a smaller system of linear equations. Here's a more gentle introduction then that of Wolfram's site,
http://www.purplemath.com/modules/cramers.htm

Well... I guess I'm awake enough to keep typing. Well in KVL, you do a loop and write down each voltage term (I'm assuming you know how to do this).

So you get,
I_1(2k) + I_1(4k) + I_2(2k) + 3 = 0

You first factor for I_1
I_1(2k + 4k) + I_2(2k) +3 = 0

Add what's in the parenthesis:
I_1(6k) + I_2(2k) +3 = 0

Now subtract -3 from both sides:
I_1(2k + 4k) + I_2(2k) = -3

This is so you can put it into matrix form. I could explain why you do this, but it would take awhile, and like I said above... it would probably be easier just to solve the system of equations with algebra.

The problem you do will probably be a circuit that requires you to write the equations for KVL and KCL. It will give you maybe 3 or 4 unknowns. You then use algebra to solve form them.
 
  • #12
yeah yeah... were allowed to use calc...
is that true?? there is a way to solve the circuit using calculator?? i mean the final answer...?? the current...?? eheheheh! i hope so... or it use to solve the simple addition, multiplication, division... ect... am i right??
 
  • #13
meczs said:
yeah yeah... were allowed to use calc...
is that true?? there is a way to solve the circuit using calculator?? i mean the final answer...?? the current...?? eheheheh! i hope so... or it use to solve the simple addition, multiplication, division... ect... am i right??

You still have to setup the equations algebraically, convert them over to the matrix form, and then use a calculator to solve the matrix.

If you are really good, you can skip the algebraic step, and simply right down the expression in matrix form.
 
Back
Top