Kirchhoff's laws
About this app
A two-mesh network: the junction rule (ΣI = 0) at a node and the mesh rule (ΣU = 0) around a loop visualised in colour; component values via slider, the system is solved and branch currents and potentials shown live.
The two laws
Kirchhoff’s laws are the basis of circuit analysis. The current law (KCL) follows from conservation of charge: at every node the currents flowing in equal the currents flowing out, so ΣI = 0 with consistent signs. The voltage law (KVL) follows from conservation of energy: around every closed loop the voltages sum to zero, ΣU = 0. Combined with Ohm’s law, they give a system of linear equations for the unknown branch currents.
What the app shows
Three branches connect node A to the reference point B at 0 V. Two voltage sources and three resistors form two loops. At node A, incoming and outgoing current arrows are drawn in different colours and add up to zero. For loop I or loop II, the app shows the accumulated voltage arrows. The equations are solved again after every change, and the analysis panel lists branch currents, power and the node potential φA.
Things to try
Set both sources between 0 and 24 V and the resistors between 10 and 1000 Ω. Switch between loop I and loop II and confirm that the voltage sum stays at zero. Make one source much larger than the other: a branch current can then reverse direction. Also watch how the node potential shifts as you change the resistance ratios.
Frequently asked questions
- What is Kirchhoff’s current law?
- At every node of a circuit, the sum of all currents is zero when incoming currents count as positive and outgoing ones as negative. Whatever flows into a node must flow out again. The law follows from conservation of electric charge.
- What is Kirchhoff’s voltage law?
- Around any closed loop in a network, all source voltages and voltage drops add up to zero. You choose a direction of travel and count voltages along it as positive and against it as negative. The law follows from the fact that electric potential is single-valued.
- How do you solve a circuit with two loops?
- Write the current equation for one node and the voltage equations for two independent loops, expressing each voltage drop as U = R·I. That gives three equations for three unknown branch currents. A negative result means the current flows opposite to the assumed direction.
- What does the Kirchhoff app show?
- It shows a network with two sources and three resistors, marks the currents at node A and the voltages in the selected loop. You adjust sources and resistors with sliders, and branch currents, power and the node potential are calculated live.
Subject: Electrical engineering fundamentals
More from Electrical engineering fundamentals
- Diode & rectifier
- Three-phase power
- Electric field & Coulomb
- Electromagnetic induction
- Capacitor & RC circuit
- Magnetic field & Lorentz force
- Ohm's law
- Series and parallel resistors
A VisuApp by heyprof: interactive, free in your browser, no sign-up. What is a VisuApp? · All apps