If there is a branch and the two paths lead back to the same ground, will they both recieve power?

I'm using an online circuit simulator found here.

When I have a single path through both LEDs, they each illuminate:

However, when I add a wire to create a cycle, one of the LEDs loses power:

Why does this happen? If I were to write my own simulator, I would check to see if a particular path leads to ground. If it leads to ground, it gets power, if doesn't lead to ground, it doesn't complete the circuit and doesn't get power.

In this case, I would say both paths lead to ground, and thus they should both get power. I thought the simulation might be correct if "electricity takes the path of least resistance".

But then I read that this is not true.

Is the simulation correct?
Would only one LED light up in real life?

• Remember that in this simulator, wires have zero resistance and will therefore create zero voltage drop, as there's no voltage drop across the wire, there's no voltage drop across the LED so it won't light up. When you hover over the LED with the mouse it will show you the voltage across it in the bottom right hand corner. In real life you would need a wire that caused the same voltage drop as the LED, which would be a really long bit of wire. Unlike incandescent bulbs, LEDs do almost nothing until you hit their threshold voltage and they suddenly fire up (more or less)
– Sam
Jul 11, 2016 at 0:31

One property of circuit theory is that all things connected to the same node are at the same potential (voltage).

If there is no voltage across your LED, no current will flow, and no light will come out.

To do what you are wanting to do, you should put the second LED on a different branch entirely.

The resistance through the "off" LED is so much higher than the short that not enough current flows to light it up. So even though some current does flow, it is in the picoamperes or less.

• @TrevorHickey: With the fact that one branch is a short-length conductor and that the other is a semiconductor, specifically a P-N junction with associated depletion region. Jul 11, 2016 at 0:35

When a wire and LED is in parallel, voltage going in is the same for both. By ohm's law, V=I/R The resistance at LED is higher than the wire, therefore, lesser current will flow through the LED and more will flow through the wire.