Engineering Did i solve my matrix correctly? (source sub. on 3 window circuit)

AI Thread Summary
The discussion revolves around solving a set of equations for voltages Va and Vb using a matrix approach. The initial equations provided were identified as incorrect, particularly in terms of dimensional consistency and the arrangement of variables. After correcting the signs and switching Va and Vb, the participant confirmed that the current calculations remained valid. The correct matrix setup was discussed, leading to a clearer understanding of how to express the equations in matrix form. The conversation concluded with a suggestion to learn LaTeX for better equation formatting.
marstery
Messages
11
Reaction score
0
I've got two equations that i want to put into a matrix and solve for Va and Vb:

1.7ma = (1/5k + 1/20k) -1/20k Va
-2ma = -1/20k (1/4k + 1/20k) Vb

The answers I got were Va= 5.655v and Vb= -5.724

then, using I= (Vb-Va)/R ----> (-11.379/20k) = 0.65ma

..-----Va----20k----Vb-----
|...|.....|...|
^...5k....4k...V
1.7ma.|.....|...2ma
.| ___|___________|_____|

(ignore the periods, i needed them for spacing)
 
Last edited:
Physics news on Phys.org
marstery said:
I've got two equations that i want to put into a matrix and solve for Va and Vb:

1.7ma = (1/5k + 1/20k) -1/20k Va
-2ma = -1/20k (1/4k + 1/20k) Vb

The answers I got were Va= 5.655v and Vb= -5.724

Your equations look wrong, but I agree with your answers.

then, using I= (Vb-Va)/R ----> (-11.379/20k) = 0.65ma

Look again. You've got a negative divided by a positive. That should be negative. However, you've got Vb and Va reversed. Resistors are passive, so to compute the current you subtract the lower potential from the higher one, not the other way around.
 
**I set up my equations based on another example from class, what is the correct matrix set up for an example like this?

..-------Va----R2--I>---Vb------
|...|.....|...|
^...R1......R3...V
Is1...|.....|...Is2
.| _____|_____________|______|



**so after switching Va and Vb and correcting the neg/pos mistake, the current should be the same, right?
 
Regarding your equations: Let me show you how I interpreted them, using LaTeX.

marstery said:
1.7ma = (1/5k + 1/20k) -1/20k Va

I read this as:

1.7mA=\left(\frac{1}{5k\Omega}+\frac{1}{20k\Omega}\right)-\frac{1}{20k\Omega}V_a

The equation, as I read it, is dimensionally wrong. The LHS has units of current. The first term on the RHS has units of reciprocal resistance. Also, Vb doesn't appear at all! Here is how the equation should read.

1.7mA=\frac{1}{5k\Omega}V_a+\frac{1}{20k\Omega}\left(V_a-V_b\right)

On to the second equation.

-2ma = -1/20k (1/4k + 1/20k) Vb

This equation should read as follows.

-2mA=\frac{1}{4k\Omega}V_b-\frac{1}{20k\Omega}\left(V_a-V_b\right)

But I checked your answers using KCL at nodes a and b, and they worked.
 
oh i see. i had set up a matrix as below where brackets above one another are actually one, but i just can't type them that way here.

[1.7ma] = [ (1/5k + 1/20k), -1/20k ] [ Va ]
[-2ma ] = [ -1/20k, (1/4k + 1/20k) ] [ Vb ]

thanks you for your help!
 
Last edited:
No problemo. And if you're interested in learning how to use LaTeX here, you should consult the following thread:

https://www.physicsforums.com/showthread.php?t=8997

You can also see the LaTeX code for any equation that you see by clicking on it (you will need to allow pop-ups for this).
 

Similar threads

Replies
10
Views
3K
Replies
13
Views
3K
Replies
9
Views
5K
Replies
2
Views
1K
Replies
6
Views
2K
Replies
2
Views
2K
Back
Top