<< Chapter < Page Chapter >> Page >

Matrices

Solution of an electric circuit with 2 unknowns by matrix inversion

Let us apply our knowledge of matrices to assist us in the analysis of an electric circuit. We consider the circuit shown below.

Electric circuit with two node voltages specified.

In this example, we wish to solve for the two node voltages v 1 and v 2 . Since there are two unknowns in this problem, we must first establish two independent equations that reflect the operation of the circuit.

Kirchoff’s Current Law tells us that the sum of the currents that enter a node must equal the sum of the currents that leave a node. Let us focus first on node 1. The current that enters node 1 from the left can be stated mathematically as

10 V v 1 1 Ω size 12{ { {"10"`V` - v rSub { size 8{1} } } over {1` %OMEGA } } } {}

The current that enters node 1 from the right can be stated as

v 2 v 1 1 Ω size 12{ { {v rSub { size 8{2} } - v rSub { size 8{1} } } over {1` %OMEGA } } } {}

The current that travels downward from node 1 is

v 1 2 Ω size 12{ { {v rSub { size 8{1} } } over {2` %OMEGA } } } {}

We can arrange the expressions for each of the currents in terms of an equation via Kirchoff’s Current Law

10 V v 1 1 Ω + v 2 v 1 1 Ω = v 1 2 Ω size 12{ { {"10"`V - v rSub { size 8{1} } } over {1 %OMEGA } } + { {v rSub { size 8{2} } - v rSub { size 8{1} } } over {1` %OMEGA } } = { {v rSub { size 8{1} } } over {2` %OMEGA } } } {}

We can combine and rearrange these terms into the equation

5 v 1 2 v 2 = 20 V size 12{5`v rSub { size 8{1} } - 2`v rSub { size 8{2} } ="20"`V} {}

Now let us turn our attention to node 2. The current entering node 2 from the left is given by the expression

v 1 v 2 1 Ω size 12{ { {v rSub { size 8{1} } - v rSub { size 8{2} } } over {1` %OMEGA } } } {}

The current entering node 2 from the right is 2 A. The current leaving node 2 in a downward direction is

v 2 4 Ω size 12{ { {v rSub { size 8{2} } } over {4` %OMEGA } } } {}

We proceed to combine these currents via Kirchoff’s Current Law

v 1 v 2 1 Ω + 2 A = v 2 4 Ω size 12{ { {v rSub { size 8{1} } - v rSub { size 8{2} } } over {1` %OMEGA } } +2`A= { {v rSub { size 8{2} } } over {4` %OMEGA } } } {}

This equation can be rearranged as

4 v 1 + 5 v 2 = 8 V size 12{ - 4`v rSub { size 8{1} } +5`v rSub { size 8{2} } = - 8`V} {}

So the pair of equations that we will use to solve for the two unknowns are

5 v 1 2 v 2 = 20 V size 12{5`v rSub { size 8{1} } - 2`v rSub { size 8{2} } ="20"`V} {}

and

4 v 1 + 5 v 2 = 8 V size 12{ - 4`v rSub { size 8{1} } +5`v rSub { size 8{2} } = - 8`V} {}

These equations may be expressed in matrix-vector form as

5 2 4 5 v 1 v 2 = 20 8 size 12{ left [ matrix { 5 {} # - 2 {} ##- 4 {} # 5{} } right ]` left [ matrix { v rSub { size 8{1} } {} ##v rSub { size 8{2} } } right ]`= left [ matrix { "20" {} ##- 8 } right ]} {}

or

A v 1 v 2 = 20 8 size 12{A` left [ matrix { v rSub { size 8{1} } {} ##v rSub { size 8{2} } } right ]`= left [ matrix { "20" {} ##- 8 } right ]} {}
A = 5 2 4 5 size 12{A= left [ matrix { 5 {} # - 2 {} ##- 4 {} # 5{} } right ]} {}

Let us find the inverse of the matrix A. The coefficients of this matrix are given by

a 1,1 = 5 size 12{a rSub { size 8{1,1} } =5} {}
a 1,2 = 2 size 12{a rSub { size 8{1,2} } = - 2} {}
a 2,1 = 4 size 12{a rSub { size 8{2,1} } = - 4} {}
a 2,2 = 5 size 12{a rSub { size 8{2,2} } =5} {}

The inverse can be found making use of the following formula

A 1 = 1 det A a 2,2 a 1,2 a 2,1 a 1,1 size 12{A rSup { size 8{ - 1} } = { {1} over {"det"`A} } left [ matrix { a rSub { size 8{2,2} } {} # - a rSub { size 8{1,2} } {} ##- a rSub { size 8{2,1} } {} # a rSub { size 8{1,1} } {} } right ]} {}

It should be noted that this formula works only with (2 x 2) matrices. For matrices of higher rank, other methods need to be applied.

For this example, the determinant of A is found as

det A = ( 5 ) ( 5 ) ( 4 ) ( 2 ) = 25 8 = 17 size 12{"det"`A=` \( 5 \) \( 5 \) - \( - 4 \) \( - 2 \) ="25" - 8="17"} {}

We can incorporate this information to express the inverse matrix as

A 1 = 1 17 5 2 4 5 size 12{A rSup { size 8{ - 1} } = { {1} over {"17"} } ` left [ matrix { 5 {} # 2 {} ##4 {} # 5{} } right ]} {}

which can be written as

A 1 = 5 17 2 17 4 17 5 17 size 12{A rSup { size 8{ - 1} } = left [ matrix { { {5} over {"17"} } {} # { {2} over {"17"} } {} ##{ {4} over {"17"} } {} # { {5} over {"17"} } {} } right ]} {}

We can apply A -1 to solve for the unknowns

A 1 A v 1 v 2 = A 1 20 8 size 12{A rSup { size 8{ - 1} } `A` left [ matrix { v rSub { size 8{1} } {} ##v rSub { size 8{2} } } right ]=A rSup { size 8{ - 1} } ` left [ matrix { "20" {} ##- 8 } right ]} {}

Recognizing that A -1 A = I , we find that

v 1 v 2 = A 1 20 8 = 1 17 5 2 4 5 20 8 = 1 17 84 40 = 4 . 94 2 . 35 size 12{ left [ matrix { v rSub { size 8{1} } {} ##v rSub { size 8{2} } } right ]=A rSup { size 8{ - 1} } left [ matrix { "20" {} ##- 8 } right ]= { {1} over {"17"} } left [ matrix { 5 {} # 2 {} ##4 {} # 5{} } right ]` left [ matrix { "20" {} ##- 8 } right ]`= { {1} over {"17"} } ` left [ matrix { "84" {} ##"40" } right ]`= left [ matrix { 4 "." "94" {} ##2 "." "35" } right ]} {}

So the node voltages are given as

v 1 = 4 . 94 V size 12{v rSub { size 8{1} } =4 "." "94"`V} {}

and

v 2 = 2 . 35 V size 12{v rSub { size 8{2} } =2 "." "35"`V} {}

Solution of an electric circuit with 3 unknowns by gaussian elimination

Let us consider the electric circuit that is shown below.

Electric circuit with three unknown currents.

Suppose that we are interested in determining the value of the three unknown currents I 1 , I 2 and I 3 . In order to do so, we rely upon Ohm’s Law and Kirchoff’s Laws to develop a system of three independent, linear equations. We should note that because we have three unknowns ( I 1 , I 2 and I 3 ), we must have three independent, linear equations.

I 1 + I 2 + I 3 = 0 size 12{I rSub { size 8{1} } +I rSub { size 8{2} } +I rSub { size 8{3} } =0} {}
2 I 1 + 3 I 2 = 24 size 12{ - 2`I rSub { size 8{1} } +3`I rSub { size 8{2} } ="24"} {}
3 I 2 + 6 I 3 = 0 size 12{ - 3`I rSub { size 8{2} } +6`I rSub { size 8{3} } =0} {}

Let us define the matrix A = 1 1 1 2 3 0 0 3 6 size 12{A= left [ matrix { 1 {} # 1 {} # 1 {} ##- 2 {} # 3 {} # 0 {} ## 0 {} # - 3 {} # 6{}} right ]} {}

In order to find the unknowns, we must first find the inverse of the matrix A. This can be accomplished using elimination. To start the process, we adjoin the vector [0 24 0] T to the matrix A.

( 1 1 1 2 3 0 0 3 6 0 24 0 ) size 12{\( matrix { 1 {} # 1 {} # 1 {} ##- 2 {} # 3 {} # 0 {} ## 0 {} # - 3 {} # 6{}} ~ matrix { 0 {} ##"24" {} ## 0} \)} {}

Next, we wish to force the left-most constant of row 2 to take on a value of 0. We can do so by multiplying each value in the first row by (-2) and subtracting the result from the corresponding value in row 2. This process yields

( 1 1 1 0 5 2 0 3 6 0 24 0 ) size 12{\( matrix { 1 {} # 1 {} # 1 {} ##0 {} # 5 {} # 2 {} ## 0 {} # - 3 {} # 6{}} ~ matrix { 0 {} ##"24" {} ## 0} \)} {}

Now, we divide each term in row 2 by (5) to yield

( 1 1 1 0 1 2 / 5 0 3 6 0 24 / 5 0 ) size 12{\( matrix { 1 {} # 1 {} # 1 {} ##0 {} # 1 {} # 2/5 {} ## 0 {} # - 3 {} # 6{}} ~ matrix { 0 {} ##"24"/5 {} ## 0} \)} {}

Next, we turn our attention to eliminating the (-3) term in row 3. We can do so by multiplying each term of row 2 by (-3) and subtracting the results from the corresponding terms in row 3. This produces the matrix

1 1 1 0 1 2 / 5 0 0 36 / 5 0 24 / 5 72 / 5 size 12{ left ( matrix { 1 {} # 1 {} # 1 {} ##0 {} # 1 {} # 2/5 {} ## 0 {} # 0 {} # "36"/5{}} ~ matrix { 0 {} ##"24"/5 {} ## "72"/5} right )} {}

We can then divide the terms of row 3 by (36/5) to produce

( 1 1 1 0 1 2 / 5 0 0 1 0 24 / 5 2 ) size 12{\( matrix { 1 {} # 1 {} # 1 {} ##0 {} # 1 {} # 2/5 {} ## 0 {} # 0 {} # 1{}} ~ matrix { 0 {} ##"24"/5 {} ## 2} \)} {}

Interpretation of the third row tells us that the value for the third unknown ( I 3 ) is 2 A. We can use the coefficients from the second row along with the value for I 3 to solve for I 2 .

I 2 + 2 5 ( I 3 ) = 24 5 size 12{I rSub { size 8{2} } + { {2} over {5} } \( I rSub { size 8{3} } \) = { {"24"} over {5} } } {}

which yields the result

I 2 = 4 A . size 12{I rSub { size 8{2} } =4`A "." } {}

Lastly, we may use the coefficients of the first row along with the previously determined values for I 2 and I 3 to produce the result for I 1 .

I 1 + I 2 + I 3 = 0 size 12{I rSub { size 8{1} } +I rSub { size 8{2} } +I rSub { size 8{3} } =0} {}

Insertion of the previously found unknowns yields

I 1 + 4 + 2 = 0 size 12{I rSub { size 8{1} } +4+2=0} {}

So we find the value for I 1 to be -6 A.

Exercises

  1. Company A has more cash than Company B. If Company A lends $20 million to Company B, then the two companies would have the same amount of cash. If instead Company B gave Company A $22 million, then Company A would have twice as much cash as Company B. Use the matrix inversion method to find how much cash each company has.
  2. A computer manufacturer sells two types of units. One unit is primarily marketed to the professional community and sells for $1,700. Another unit is marketed to students and sells for $900. In a typical month, the manufacturer sells 2,000 units. This accounts for $1,380,000 in sales. Use the matrix inversion method to find how many units of each type are sold.
  3. A ship can travel 300 miles upstream in 80 hours. Under the same conditions, the same ship can travel 275 miles downstream in 65 hours. Use the matrix inversion method to find the speed of the current along with the speed of the ship.
  4. The matrix A = 2 1 3 0 6 2 1 0 1 8 4 2 size 12{A= left [ matrix { 2 {} # 1 {} # 3 {} ##0 {} # 6 {} # 2 {} ## 1 {} # 0 {} # 1{}} ~ matrix { 8 {} ##4 {} ## 2} right ]} {} represents a linear system with three unknowns. Use Gaussian elimination to solve for the three unknowns.
  5. A system of 3 independent linear equations that govern the operation of the circuit below are i 1 + i 2 + i 2 = 0 size 12{i rSub { size 8{1} } +i rSub { size 8{2} } +i rSub { size 8{2} } =0} {} , i 1 24 + 2 i 2 = 0 size 12{ - i rSub { size 8{1} } - "24"+2`i rSub { size 8{2} } =0} {} , and 2 i 2 + 4 i 3 = 0 size 12{ - 2`i rSub { size 8{2} } +4`i rSub { size 8{3} } =0} {} . Use Gaussian elimination to solve for the three currents.
  6. Suppose that the value of each resistor in the figure below is 1 Ω. The mesh equations that govern the circuit are 6 V = 2 i a i b size 12{6`V=2`i rSub { size 8{a} } - i rSub { size 8{b} } } {} and 2 i b i a + 9V = 0 size 12{2`i rSub { size 8{b} } - i rSub { size 8{a} } +9V=0} {} . Use the matrix inversion method to find the two mesh current.

Electric circuit with two mesh currents.

Questions & Answers

A golfer on a fairway is 70 m away from the green, which sits below the level of the fairway by 20 m. If the golfer hits the ball at an angle of 40° with an initial speed of 20 m/s, how close to the green does she come?
Aislinn Reply
cm
tijani
what is titration
John Reply
what is physics
Siyaka Reply
A mouse of mass 200 g falls 100 m down a vertical mine shaft and lands at the bottom with a speed of 8.0 m/s. During its fall, how much work is done on the mouse by air resistance
Jude Reply
Can you compute that for me. Ty
Jude
what is the dimension formula of energy?
David Reply
what is viscosity?
David
what is inorganic
emma Reply
what is chemistry
Youesf Reply
what is inorganic
emma
Chemistry is a branch of science that deals with the study of matter,it composition,it structure and the changes it undergoes
Adjei
please, I'm a physics student and I need help in physics
Adjanou
chemistry could also be understood like the sexual attraction/repulsion of the male and female elements. the reaction varies depending on the energy differences of each given gender. + masculine -female.
Pedro
A ball is thrown straight up.it passes a 2.0m high window 7.50 m off the ground on it path up and takes 1.30 s to go past the window.what was the ball initial velocity
Krampah Reply
2. A sled plus passenger with total mass 50 kg is pulled 20 m across the snow (0.20) at constant velocity by a force directed 25° above the horizontal. Calculate (a) the work of the applied force, (b) the work of friction, and (c) the total work.
Sahid Reply
you have been hired as an espert witness in a court case involving an automobile accident. the accident involved car A of mass 1500kg which crashed into stationary car B of mass 1100kg. the driver of car A applied his brakes 15 m before he skidded and crashed into car B. after the collision, car A s
Samuel Reply
can someone explain to me, an ignorant high school student, why the trend of the graph doesn't follow the fact that the higher frequency a sound wave is, the more power it is, hence, making me think the phons output would follow this general trend?
Joseph Reply
Nevermind i just realied that the graph is the phons output for a person with normal hearing and not just the phons output of the sound waves power, I should read the entire thing next time
Joseph
Follow up question, does anyone know where I can find a graph that accuretly depicts the actual relative "power" output of sound over its frequency instead of just humans hearing
Joseph
"Generation of electrical energy from sound energy | IEEE Conference Publication | IEEE Xplore" ***ieeexplore.ieee.org/document/7150687?reload=true
Ryan
what's motion
Maurice Reply
what are the types of wave
Maurice
answer
Magreth
progressive wave
Magreth
hello friend how are you
Muhammad Reply
fine, how about you?
Mohammed
hi
Mujahid
A string is 3.00 m long with a mass of 5.00 g. The string is held taut with a tension of 500.00 N applied to the string. A pulse is sent down the string. How long does it take the pulse to travel the 3.00 m of the string?
yasuo Reply
Who can show me the full solution in this problem?
Reofrir Reply
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Math 1508 (laboratory) engineering applications of precalculus. OpenStax CNX. Aug 24, 2011 Download for free at http://cnx.org/content/col11337/1.3
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Math 1508 (laboratory) engineering applications of precalculus' conversation and receive update notifications?

Ask