<?xml version="1.0" encoding="utf-8"?>
<document xmlns="http://cnx.rice.edu/cnxml" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" xmlns:q="http://cnx.rice.edu/qml/1.0" id="m0015" module-id="" cnxml-version="0.6">

  <title>Kirchoff's Laws</title>

<metadata xmlns:md="http://cnx.rice.edu/mdml/0.4">
  <!-- WARNING! The 'metadata' section is read only. Do not edit below.
       Changes to the metadata section in the source will not be saved. -->
  <md:content-id>m0015</md:content-id>
  <md:title>Kirchoff's Laws</md:title>
  <md:version>2.8</md:version>
  <md:created>2000/07/11</md:created>
  <md:revised>2009/06/04 11:33:30.568 GMT-5</md:revised>
  <md:authorlist>
    <md:author id="dhj">
        <md:firstname>Don</md:firstname>
        <md:surname>Johnson</md:surname>
        <md:fullname>Don Johnson</md:fullname>
        <md:email>dhj@rice.edu</md:email>
    </md:author>
  </md:authorlist>
  <md:maintainerlist>
    <md:maintainer id="dhj">
        <md:firstname>Don</md:firstname>
        <md:surname>Johnson</md:surname>
        <md:fullname>Don Johnson</md:fullname>
        <md:email>dhj@rice.edu</md:email>
    </md:maintainer>
    <md:maintainer id="rha">
        <md:firstname>Roy</md:firstname>
        <md:surname>Ha</md:surname>
        <md:fullname>Roy Ha</md:fullname>
        <md:email>rha@alumni.rice.edu</md:email>
    </md:maintainer>
  </md:maintainerlist>
  <md:license href="http://creativecommons.org/licenses/by/1.0"/>
  <md:licensorlist>
    <md:licensor id="dhj">
        <md:firstname>Don</md:firstname>
        <md:surname>Johnson</md:surname>
        <md:fullname>Don Johnson</md:fullname>
        <md:email>dhj@rice.edu</md:email>
    </md:licensor>
  </md:licensorlist>
  <md:keywordlist>
    <md:keyword>circuit</md:keyword>
    <md:keyword>KCL</md:keyword>
    <md:keyword>Kirchoff</md:keyword>
    <md:keyword>KVL</md:keyword>
  </md:keywordlist>
  <md:subjectlist>
    <md:subject>Science and Technology</md:subject>
  </md:subjectlist>
  <md:abstract>A brief description of Kirchoff's Laws (current and voltage)
</md:abstract>
  <md:language>en</md:language>
  <!-- WARNING! The 'metadata' section is read only. Do not edit above.
       Changes to the metadata section in the source will not be saved. -->
</metadata>

<content>


  <section id="current">
    <title>Kirchoff's Current Law</title>

    <para id="para1"> 
      At every node, the sum of all currents entering a node must equal zero. What 
      this law means physically is that charge cannot accumulate in a node; what 
      goes in must come out. In the example, <link target-id="simplecircuit" strength="2"/>, 
      below we have a three-node circuit and thus have three KCL equations.
      <equation id="eq1">
        <m:math>
          <m:apply>
            <m:eq/>
              <m:apply>
                <m:minus/>
                  <m:apply>
                    <m:minus/>
                      <m:ci>i</m:ci>
                  </m:apply>
                  <m:ci>
                    <m:msub>
                      <m:mi>i</m:mi>
                      <m:mi>1</m:mi>
                    </m:msub>
                  </m:ci>
              </m:apply>
              <m:cn>0</m:cn>
          </m:apply>
        </m:math>
      </equation>
      
      <equation id="eq2">
        <m:math>
          <m:apply>
            <m:eq/>
              <m:apply>
                <m:minus/>
                  <m:ci>
                    <m:msub>
                      <m:mi>i</m:mi>
                      <m:mi>1</m:mi>
                    </m:msub>
                  </m:ci>
                  <m:ci>
                    <m:msub>
                      <m:mi>i</m:mi>
                      <m:mi>2</m:mi>
                    </m:msub>
                  </m:ci>
              </m:apply>
              <m:cn>0</m:cn>
          </m:apply>
        </m:math>
      </equation>
      
      <equation id="eq3">
        <m:math>
          <m:apply>
            <m:eq/>
              <m:apply>
                <m:plus/>
                  <m:ci>i</m:ci>
                  <m:ci>
                    <m:msub>
                      <m:mi>i</m:mi>
                      <m:mi>2</m:mi>
                    </m:msub>
                  </m:ci>
              </m:apply>
              <m:cn>0</m:cn>
          </m:apply>
        </m:math>
      </equation>
      Note that the current entering a node is the negative of the current leaving
      the node.
    </para>
    
    <para id="para2">
      Given any two of these KCL equations, we can find the other by adding or subtracting
      them. Thus, one of them is redundant and, in mathematical terms, we can discard any one
      of them. The convention is to discard the equation for the (unlabeled) node at the bottom of the
      circuit.
    </para>

    <figure id="simplecircuit" orient="horizontal">
      <title>Figure 1</title>
      <subfigure id="id6525661"><media id="id1165118599509" alt=""><image src="circuit4.png" mime-type="image/png"/></media></subfigure>
      <subfigure id="id1165112196125">
        <media id="id7839296" alt="">
          <image src="circuit4a.png" mime-type="image/png"/>
          <image src="circuit4a.eps" mime-type="application/postscript"/>
        </media>
      </subfigure> 
      <caption>
        The circuit shown is perhaps the simplest circuit that performs a signal processing 
        function. The input is provided by the voltage source 
	<m:math>
	  <m:ci>
	    <m:msub>
	      <m:mi>v</m:mi>
	      <m:mi>in</m:mi>
	    </m:msub>
	  </m:ci>
	</m:math>
	
        and the output is the voltage 
	<m:math>
	  <m:ci>
	    <m:msub>
	      <m:mi>v</m:mi>
	      <m:mi>out</m:mi>
	    </m:msub>
	  </m:ci>
	</m:math> 
        across the resistor labelled
        <m:math>
	  <m:ci>
	    <m:msub>
	      <m:mi>R</m:mi>
	      <m:mi>2</m:mi>
	    </m:msub>
	  </m:ci>
	</m:math>.
      </caption>                                                                     
    </figure>

    <exercise id="exer1">
      <problem id="id1815235">
        <para id="exer1a">
          In writing KCL equations, you will find that in an 
          <m:math><m:ci>n</m:ci></m:math>-node circuit, exactly one of them is always 
          redundant. Can you sketch a proof of why this might be true? Hint: It has to 
          do with the fact that charge won't accumulate in one place on its own.
        </para>
      </problem>
      <solution id="id5304235">
        <para id="exer1b">
          KCL says that the sum of currents entering or leaving a node must be zero. If 
          we consider two nodes together as a "supernode", KCL applies as well to currents 
          entering the combination. Since no currents enter an entire circuit, the sum of 
          currents must be zero. If we had a two-node circuit, the KCL equation of one  
          <emphasis>must </emphasis>be the negative of the other, We can combine all but one 
          node in a circuit into a supernode; KCL for the supernode must be the negative of 
          the remaining node's KCL equation. Consequently, specifying  
	  <m:math>
	    <m:apply>
	      <m:minus/>
		<m:ci>n</m:ci>
		<m:cn>1</m:cn>
	    </m:apply>
	  </m:math>
	  KCL equations always specifies the remaining one.
        </para>
      </solution>
    </exercise>
  </section>

  <section id="voltage">
    <title>Kirchoff's Voltage Law (KVL)</title>
    <para id="para3">
      The voltage law says that the sum of voltages around every closed loop in the circuit 
      must equal zero. A closed loop has the obvious definition: Starting at a node, trace 
      a path through the circuit that returns you to the origin node. KVL expresses the fact 
      that electric fields are conservative: The total work performed in moving a test charge 
      around a closed path is zero. The KVL equation for our circuit is 
      <equation id="eq4">
        <m:math>
          <m:apply>
            <m:eq/> 
              <m:apply>
                <m:minus/>
                  <m:apply>
                    <m:plus/>
                      <m:ci>
                        <m:msub>
                          <m:mi>v</m:mi>
                          <m:mi>1</m:mi>
                        </m:msub>
                      </m:ci>
                      <m:ci>
                        <m:msub>
                          <m:mi>v</m:mi>
                          <m:mi>2</m:mi>
                        </m:msub>
                      </m:ci>
                  </m:apply>
                  <m:ci>v</m:ci>
              </m:apply>
              <m:cn>0</m:cn>
          </m:apply>
        </m:math>
      </equation>
      In writing KVL equations, we follow the convention that an element's voltage enters 
      with a plus sign if traversing the closed path, we go from the positive to the 
      negative of the voltage's definition.
    </para>
  </section>

</content>
</document>
