Question
Question: In the given circuit, calculate the potential difference between points A and B. 
Now on applying kirchhoff's voltage rule in loop 2, we get,
−2I2+4−2−(I1+I2)=0
⇒3I2+I1=2 ……………………………………………. (2)
Now we have to solve the equations (1) and (2) in two variables. Let us multiply equation (2) with 3 to get,
9I2+3I1=6 …………………………………. (3)
Now, let add (1) and (3) to get,
I2=0A
Substituting this in equation (2) we get,
I1=2A
Now we know that the potential difference across nodes A and B would be the sum of the voltage across the resistor and the cell.
VAB=VA−VB
⇒VAB=−4+2I2=−4+2(0)
∴VAB=−4V
Therefore, we found the potential difference across points A and B to be -4V.
Note:
Since the given combination consists of parallel connections, we could conclude that the potential difference remains the same across all the three lines though we have found it using the middle one. Also, we have considered the assigned sign by assuming the direction opposite to that of current flow to be negative throughout the solution.