# OpenStax-CNX

You are here: Home » Content » Electric Circuits and Interconnection Laws

### Recently Viewed

This feature requires Javascript to be enabled.

### Tags

(What is a tag?)

These tags come from the endorsement, affiliation, and other lenses that include this content.

# Electric Circuits and Interconnection Laws

Module by: Don Johnson. E-mail the author

Summary: A circuit is the electrical/physical analogue of a system. Kirchoff's laws provde connection rules about "nodes" in a circuit to determine relations between various circuit elements.

Note: You are viewing an old version of this document. The latest version is available here.

A circuit connects circuit elements together in a specific configuration designed to transform the source signal (originating from a voltage or current source) into another signal—the output—that corresponds to the current or voltage defined for a particular circuit element. A simple resistive circuit is shown in Figure 1. This circuit is the electrical embodiment of a system having its input provided by a source system producing v in t v in t .

To understand what this circuit accomplishes, we want to determine the voltage across the resistor labeled by its value R 2 R 2 . Recasting this problem mathematically, we need to solve some set of equations so that we relate the output voltage v out v out to the source voltage. It would be simple—a little too simple at this point—if we could instantly write down the one equation that relates these two voltages. Until we have more knowledge about how circuits work, we must write a set of equations that allow us to find all the voltages and currents that can be defined for every circuit element. Because we have a three-element circuit, we have a total of six voltages and currents that must be either specified or determined. You can define the directions for current flow and positive voltage drop any way you like. When two people solve a circuit their own ways, the signs of their variables may not agree, but current flow and voltage drop values for each element will agree. Do recall in defining your voltage and current variables that the v-i relations for the elements presume that positive current flow is in the same direction as positive voltage drop. Once you define voltages and currents, we need six nonredundant equations to solve for the six unknown voltages and currents. By specifying the source, we have one; this amounts to providing the source's v-i relation. The v-i relations for the resistors give us two more. We are only halfway there; where do we get the other three equations we need?

What we need to solve every circuit problem are mathematical statements that express how the circuit elements are interconnected. Said another way, we need the laws that govern the electrical connection of circuit elements. First of all, the places where circuit elements attach to each other are called nodes. Two nodes are explicitly indicated in Figure 1; a third is at the bottom where the voltage source and resistor R 2 R 2 are connected. Electrical engineers tend to draw circuit diagrams—schematics— in a rectilinear fashion. Thus the long line connecting the bottom of the voltage source with the bottom of the resistor is intended to make the diagram look pretty. This line simply means that the two elements are connected together. Kirchoff's Laws, one for voltage and one for current, determine what a connection among circuit elements means. These laws can help us analyze this circuit.

## Kirchoff's Current Law

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, Figure 1, below we have a three-node circuit and thus have three KCL equations. (i) i 1 =0 i i 1 0 i 1 i 2 =0 i 1 i 2 0 i+ i 2 =0 i i 2 0 Note that the current entering a node is the negative of the current leaving the node.

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.

### Exercise 1

In writing KCL equations, you will find that in an nn-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.

#### Solution

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 must 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 n1 n 1 KCL equations always specifies the remaining one.

## Kirchoff's Voltage Law (KVL)

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 v 1 + v 2 v=0 v 1 v 2 v 0 In writing KVL equations, we follow the convention that an element's voltage enters with a plus sign when traversing the closed path, we go from the positive to the negative of the voltage's definition.

For the example circuit, we have three v-i relations, two KCL equations, and one KVL equation for solving for the circuit's six voltages and currents.

v-i: v= v in v v in v 1 = R 1 i 1 v 1 R 1 i 1 v out = R 2 i out v out R 2 i out KCL: (i) i 1 =0 i i 1 0 i 1 i out =0 i 1 i out 0 KVL: v+ v 1 + v out =0 v v 1 v out 0

We have exactly the right number of equations! Eventually, we will discover shortcuts for solving circuit problems; for now, we want to eliminate all the variables but v out v out and determine how it depends on v in v in and on resistor values. The KVL equation can be rewritten as v in = v 1 + v out v in v 1 v out . Substituting into it the resistor's v-i relation, we have v in = R 1 i 1 + R 2 i out v in R 1 i 1 R 2 i out . Yes, we temporarily eliminate the quantity we seek. Though not obvious, it is the simplest way to solve the equations. One of the KCL equations says i 1 = i out i 1 i out , which means that v in = R 1 i out + R 2 i out =( R 1 + R 2 ) i out v in R 1 i out R 2 i out R 1 R 2 i out . Solving for the current in the output resistor, we have i out = v in R 1 + R 2 i out v in R 1 R 2 . We have now solved the circuit: We have expressed one voltage or current in terms of sources and circuit-element values. To find any other circuit quantities, we can back substitute this answer into our original equations or ones we developed along the way. Using the v-i relation for the output resistor, we obtain the quantity we seek. v out = R 2 R 1 + R 2 v in v out R 2 R 1 R 2 v in

## Exercise 2

Referring back to Figure 1, a circuit should serve some useful purpose. What kind of system does our circuit realize and, in terms of element values, what are the system's parameter(s)?

### Solution

The circuit serves as an amplifier having a gain of R 2 R 1 + R 2 R 2 R 1 R 2 .

## Content actions

### Give feedback:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

#### Definition of a lens

##### Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

##### What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

##### Who can create a lens?

Any individual member, a community, or a respected organization.

##### What are tags?

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks