# Easy electrical engineering question - why is my answer wrong?

Tags:
1. Oct 7, 2014

### 159753x

Hi! This is simple mesh analysis. I wanted to try to solve the problem with nodal analysis.

1. The problem statement, all variables and given/known data

2. Relevant equations

V = IR

We are supposed to use mesh analysis or node analysis.

3. The attempt at a solution

First step: the two current sources (independent and dependent) in the middle branch are in parallel. Therefore, they can be replaced with a single current source with current I = 3 + v(x)/4.

Second: according to Ohm's law, v(x) = I * 2. But since the 2-ohm resistor is in series with the current source I = 3 + v(x)/4, that is the current running through it.

Third: simply solving for v(x), I do the following -->

v(x) = I * 2
I = 3 + v(x)/4
v(x) = (3 + v(x)/4) * 2
v(x) = 6 + v(x)/2
v(x)/2 = 6
v(x) = 12
v(x) = -12 V because the current is going up the branch.

It seems correct to me. However, the answer in the solutions manual is -4V. They get this from mesh analysis.

Also, to get i(x), we would use node analysis with only one node (the top of the circuit). From there, we can easily solve for the voltage at the node and get i(x) from that.

I was a little hesitant to us mesh analysis because that would involve removing the resistor in the middle branch. I know you can remove the current sources if they are between branches, but if there is a resistor attached, can you still do it?

Can someone point out where I have made an error? Thanks!

2. Oct 7, 2014

### Staff: Mentor

Check the direction of the current flowing through the 2 Ohm resistor versus the defined polarity of vx. Then ponder on your choice of signs for your equation, v(x) = (3 + v(x)/4) * 2.

3. Oct 7, 2014

### 159753x

Ahhhhhhh. So the equation should really be -1 * v(x) = 2 * I because of the passive sign convention and the direction of the current.

Then it becomes
v(x) = -(3 + v(x)/4) * 2
v(x) = -6 + -v(x)/2
(3/2) v(x) = -6
v(x) = -12/3 = -4 V

Thanks for pointing that out gneill! I understand now. Question solved!