 Kirchhoff's circuit laws

Kirchhoff's circuit laws are two equalities that deal with the conservation of charge and energy in electrical circuits, and were first described in 1845 by Gustav Kirchhoff.^{[1]} Widely used in electrical engineering, they are also called Kirchhoff's rules or simply Kirchhoff's laws (see also Kirchhoff's laws for other meanings of that term).
Both circuit rules can be directly derived from Maxwell's equations, but Kirchhoff preceded Maxwell and instead generalized work by Georg Ohm.
Contents
Kirchhoff's current law (KCL)
This law is also called Kirchhoff's first law, Kirchhoff's point rule, Kirchhoff's junction rule (or nodal rule), and Kirchhoff's first rule.
The principle of conservation of electric charge implies that:
 At any node (junction) in an electrical circuit, the sum of currents flowing into that node is equal to the sum of currents flowing out of that node.





 or





 The algebraic sum of currents in a network of conductors meeting at a point is zero.
Recalling that current is a signed (positive or negative) quantity reflecting direction towards or away from a node, this principle can be stated as:
n is the total number of branches with currents flowing towards or away from the node.
This formula is valid for complex currents:
The law is based on the conservation of charge whereby the charge (measured in coulombs) is the product of the current (in amperes) and the time (in seconds).
Changing charge density
KCL is only valid if the charge density remains constant at the point to which it is applied. Consider the current entering a single plate of a capacitor. If one imagines a closed surface around that single plate, current enters through the surface, but does not exit, thus violating KCL. Certainly, the currents through a closed surface around the entire capacitor will meet KCL since the current entering one plate is balanced by the current exiting the other plate, and that is usually all that is important in circuit analysis, but there is a problem when considering just one plate. Another common example is the current in an antenna where current enters the antenna from the transmitter feeder but no current exits from the other end.(Johnson and Graham, pp.3637)
Maxwell introduced the concept of displacement currents to describe these situations. The current flowing into a capacitor plate is equal to the rate of accumulation of charge and hence is also equal to the rate of change of electric flux due to that charge (electric flux is measured in the same units, Coulombs, as electric charge in the SI system of units). This rate of change of flux, , is what Maxwell called displacement current I_{D};
When the displacement currents are included, Kirchhoff's current law once again holds. Displacement currents are not real currents in that they do not consist of moving charges, they should be viewed more as a correction factor to make KCL true. In the case of the capacitor plate, the real current entering the plate is exactly cancelled by a displacement current leaving the plate and heading for the opposite plate.
This can also be expressed in terms of vector field quantities by taking the divergence of Ampère's law with Maxwell's correction and combining with Gauss's law, yielding:
This is simply the charge conservation equation (in integral form, it says that the current flowing out of a closed surface is equal to the rate of loss of charge within the enclosed volume (Divergence theorem)). Kirchhoff's current law is equivalent to the statement that the divergence of the current is zero, true for timeinvariant ρ, or always true if the displacement current is included with J.
Uses
A matrix version of Kirchhoff's current law is the basis of most circuit simulation software, such as SPICE.
Kirchhoff's voltage law (KVL)
This law is also called Kirchhoff's second law, Kirchhoff's loop (or mesh) rule, and Kirchhoff's second rule.
The principle of conservation of energy implies that
 The directed sum of the electrical potential differences (voltage) around any closed circuit is zero.





 or





 More simply, the sum of the emfs in any closed loop is equivalent to the sum of the potential drops in that loop.





 or





 The algebraic sum of the products of the resistances of the conductors and the currents in them in a closed loop is equal to the total emf available in that loop.
Similarly to KCL, it can be stated as:
Here, n is the total number of voltages measured. The voltages may also be complex:
This law is based on the conservation of "energy given/taken by potential field" (not including energy taken by dissipation). Given a voltage potential, a charge which has completed a closed loop doesn't gain or lose energy as it has gone back to initial potential level.
This law holds true even when resistance (which causes dissipation of energy) is present in a circuit. The validity of this law in this case can be understood if one realizes that a charge in fact doesn't go back to its starting point, due to dissipation of energy. A charge will just terminate at the negative terminal, instead of positive terminal. This means all the energy given by the potential difference has been fully consumed by resistance which in turn loses the energy as heat dissipation.
To summarize, Kirchhoff's voltage law has nothing to do with gain or loss of energy by electronic components (resistors, capacitors, etc.). It is a law referring to the potential field generated by voltage sources. In this potential field, regardless of what electronic components are present, the gain or loss in "energy given by the potential field" must be zero when a charge completes a closed loop.
Electric field and electric potential
Kirchhoff's voltage law could be viewed as a consequence of the principle of conservation of energy. Otherwise, it would be possible to build a perpetual motion machine that passed a current in a circle around the circuit.
Considering that electric potential is defined as a line integral over an electric field, Kirchhoff's voltage law can be expressed equivalently as
which states that the line integral of the electric field around closed loop C is zero.
In order to return to the more special form, this integral can be "cut in pieces" in order to get the voltage at specific components.
Limitations
This is a simplification of Faraday's law of induction for the special case where there is no fluctuating magnetic field linking the closed loop. Therefore, it practically suffices for explaining circuits containing only resistors and capacitors.
In the presence of a changing magnetic field the electric field is not conservative and it cannot therefore define a pure scalar potential—the line integral of the electric field around the circuit is not zero. This is because energy is being transferred from the magnetic field to the current (or vice versa). In order to "fix" Kirchhoff's voltage law for circuits containing inductors, an effective potential drop, or electromotive force (emf), is associated with each inductance of the circuit, exactly equal to the amount by which the line integral of the electric field is not zero by Faraday's law of induction.
See also
References
 ^ Oldham, p.52
 Paul, Clayton R. (2001). Fundamentals of Electric Circuit Analysis. John Wiley & Sons. ISBN 0471371955.
 Kalil T. Swain Oldham, The doctrine of description: Gustav Kirchhoff, classical physics, and the "purpose of all science" in 19thcentury Germany, ProQuest, 2008, ISBN 0549831312.
 Serway, Raymond A.; Jewett, John W. (2004). Physics for Scientists and Engineers (6th ed.). Brooks/Cole. ISBN 0534408427.
 Tipler, Paul (2004). Physics for Scientists and Engineers: Electricity, Magnetism, Light, and Elementary Modern Physics (5th ed.). W. H. Freeman. ISBN 0716708108.
 Howard W. Johnson, Martin Graham, Highspeed signal propagation: advanced black magic, Prentice Hall Professional, 2003 ISBN 013084408X.
External links
 http://www.sasked.gov.sk.ca/docs/physics/u3c13phy.html
 MIT video lecture on the KVL and KCL methods
Categories: Circuit theorems
 Conservation equations
 At any node (junction) in an electrical circuit, the sum of currents flowing into that node is equal to the sum of currents flowing out of that node.
Wikimedia Foundation. 2010.