Linear Algebra
Linear Algebra
Linear Algebra
Linear algebra is a branch of mathematics that studies vector spaces, also called linear spaces, along with linear functions that input one vector and output another. Such functions are called linear maps and can be represented by matrices if a basis is given. Thus, matrix theory is often considered as a part of linear algebra. Linear algebra is central to modern mathematics and its applications. An elementary application of linear algebra is to find the solution of a system of linear equations in several unknowns. More advanced applications are available in areas as diverse as abstract algebra and functional analysis. Linear algebra has a concrete representation in analytic geometry and is generalized in operator theory and in module theory. It has extensive applications in engineering, physics, natural sciences, computer science, and the social sciences.
APPLICATIONS OF LINEAR ALGEBRA IN ELECTRICAL CIRCUIT Kirchhoff's Current Law Kirchhoff's Current Law, also known as Kirchhoff's Junction Law and Kirchhoff's First Law, defines the way that electrical current is distributed when it crosses through a junction in a point where three or more conductors meet. Specifically, the law states that:
The algebraic sum of current into any junction is zero. Since current is the flow of electrons through a conductor, it cannot build up at a junction, meaning that current is conserved. When performing calculations, current flowing into and out of the junction typically has opposite signs. This allows Kirchhoff's Current Law to be restated as; the sum of current into a junction equals the sum of current out of the junction.
In the picture, a junction of four conductors is shown. The currents i2 and i3 are flowing into the junction, while i1 and i4 flow out of it. In this example, Kirchhoff's Junction Rule yields the following equation: i2 + i3 = i1 + i4 Kirchhoff's Voltage Law Kirchhoff's Voltage Law describes the distribution of voltage within a loop, or closed conducting path, of an electrical circuit. Specifically, Kirchhoff's Voltage Law states that:
The algebraic sum of the voltage (potential) differences in any loop must equal zero. The voltage differences include those associated with electromagnetic fields (emfs) and resistive elements, such as resistors, power sources (i.e. batteries) or devices (i.e. lamps, televisions, blenders, etc.) plugged into the circuit.
Kirchhoff's Voltage Law comes about because the electrostatic field within an electric circuit is a conservative force field. As you go around a loop, when you arrive at the starting point has the same potential as it did when you began, so any increases and decreases along the loop have to cancel out for a total change of 0. If it didn't, then the potential at the start/end point would have two different values.
Positive and Negative Signs in Kirchhoff's Voltage Law Using the Voltage Rule requires some sign conventions, which aren't necessarily as clear as those in the Current Rule. You choose a direction (clockwise or counter-clockwise) to go along the loop. When travelling from positive to negative (+ to -) in an emf (power source) the voltage drops, so the value is negative. When going from negative to positive (- to +) the voltage goes up, so the value is positive. When crossing a resistor, the voltage change is determined by the formula I*R, where I is the value of the current and R is the resistance of the resistor. Crossing in the same direction as the current means the voltage goes down, so its value is negative. When crossing a resistor in the direction opposite the current, the voltage value is positive (the voltage is increasing). Kirchhoff's Voltage Law in action If you click on the picture to the right, you can advance to a second picture that depicts a loop abcd. If you begin at a and advance clockwise along the interior loop, the Voltage Law yields the equation:
v1 + v2 + v3 + v4 = 0 In this case, the current will also be clockwise. Crossing the resistors will result in v1, v2, and v3 all being negative. Since you're crossing from negative to positive, v4 will be positive. If you consider the dotted line that has the R5 resistor, you get a total of three loops in the circuit. The first one has already been described. One loop is the largest loop and another is the smallest loop at the bottom, to yield the equations:
v1 + v2 + v5 + v4 = 0 (abcd taking the new path instead of R5) v3 + v5 = 0 (the small loop cd)
The second equation is of special interest, since it indicates that v3 = -v5. This makes sense, because both currents will be travelling from c to d, so on the small loop you'll cross one resistor with the current and the other resistor against the current. If the resistors are of equal value, then the current in both paths will be equal. Bringing It All Together In the voltage loop diagram, we see that at junction c there are three conductors. Current enters from the top, and then goes out in the other two directions and, from the Current Law; we know the algebraic sum of these must be zero. If we knew the resistance values of the resistors, and the current coming into the junction, we could use the Voltage Law equations to determine the currents in each of the lower paths, if the resistors were unequal. This is why Kirchhoff's Laws are such powerful tools.
QUESTION One important linear algebra application is the resolution of electrical circuits. We can describe this type of circuits with linear equations, and then we can solve the linear system using Mat lab.
For example, let's examine the following electrical circuit (resistors are in ohms, currents in amperes, and voltages are in volts):
Example 1 Find the currents i1 ,i2 ,i3 in the electrical circuit of Figure above if the voltage of the battery is E=6V and the resistance R1=2, R2=2 and R3=1 each. By the first law we have I1-I2-I3=0 from the branch point A. Applying the second law to look L1 yields 6 - I1R1 - I2R2=0 hands 2I1+2I2=6. Likewise, looks L2 yields I3R3 - I2R2=0, or -2I2+I3=0. Hence,
SOLUTION There are fours ways to solve this equation using matrices : Inverse method ( Ax = D ) Gaussian Elimination Gauss Jordon Elimination Cramers Rule
Inverse Method Ax=D A-1 A x = A-1 D I x = A-1 D x = A-1 D (solution depends on A-1 )