Electronic – Changing the resistor to be in front or behind an LED doesn’t affect brightness

led

Note: I am very new to the more advanced side of electricity. I do not have a firm grasp on the exact mechanics.

Lets say I have an example circuit:

5V Power Supply -> LED -> Resistor -> Ground

Now the LED is receiving 20ma and 5V.
If I were to switch the LED and the resistor however, the LED should receive less voltage but the same current, so wouldn't it be dimmer?
Or would it receive the same voltage?

I've looked at these two threads and their answer doesn't help.
Why doesn't it matter if a resistor is before or behind an LED wrt voltage drop?
Why does a resistor need to be on the anode of an LED?

Best Answer

Switching the positions of the LED and resistor will have no effect on the brightness of the LED because they would still be in series. The current through them would be exactly the same. Thus the brightness of the LED would be the same. The voltage drops across the resistor and the LED would be the same since the current through them is the same. This is a characteristic of all series circuits.