How do electrons find the “path of least resistance”? [video]
youtube.com
youtube.com
For example, if you have a track that does a L on top side, and copper plane on bottom side, with an alternating signal, the return path will follow the L and not go back in a straight line.
Those links have some explanations:
https://resources.altium.com/p/what-return-current-path-pcb
https://www.nwengineeringllc.com/article/how-to-design-your-...
https://electronics.stackexchange.com/questions/360472/real-...
I was also a bit surprised by this. But I do recall doing equations regarding capacitive and inductive reactance. In both cases there is a frequency-dependent effect which alters the shape of the waveform. It being frequency dependent, it disappears in the presence of DC (inductors becoming irrelevant and capacitors becoming nonconductive).
So I can kind of see it. But not enough to turn it into a return-path-is-suprising type example.
School physics teaches us that metals are perfect conductors of electric field, so the field in the large conductor should be the same across it, and not follow the L shape.
But it's only true for a stationary situation, basically DC. At higher frequencies the fact that the conductor (every part if it!) has some capacitance and inductance starts to play a major role in how a fast-changing signal propagates over it. Both the capacitance and the inductance of the part of the large conductor under the L-shaped conductor on the other side are affected by the L-shaped conductor.
These considerations could help see the result as "more intuitive".
Basically, capacitance and inductance are important for oscillating signals. And that plane has a huge capacitance.
Now going from circuit theory to physics, we would see that inductance is not the property of an individual component called the "inductor", but it's the result of the magnetic field of the current around a closed loop of a circuit. Thus, every circuit must have a parasitic inductance. To a first approximation, this inductance is proportional to the loop area enclosed by the circuit. Thus, for high-speed digital / RF signal transmission, we often want to make the return conductor be as close to the signal conductor as possible [1]. This is why ground planes are often used in circuit boards, and why twisted pairs are often used in cables.
[0] The point of transition depends on many factors, including the physical size of the circuit. Sometimes it can be as low in the 100 kHz range.
[1] I ignored the issue of characteristic impedance
> Two players take turns coloring the edges of an arbitrary graph. One player has the goal of connecting two distinguished vertices by a path of edges of their color. The other player aims to prevent this by using their color instead (or, equivalently, by erasing edges). The game is commonly played on a rectangular grid; this special case of the game was independently invented by American mathematician David Gale in the late 1950s and is known as Gale or Bridg-It.
That game, if modeled as an electrical circuit of resistors has the property that the best play is the one with the most voltage across it.
https://boardgamegeek.com/boardgame/123102/bird-cage
> The game's original incarnation was as a machine built by the game's designer, noted engineer Claude Shannon. The machine would choose its' move by measuring electrical resistance between its' sides of the square and would reportedly win "almost always" when making the first move.
However the static electromagnetic field in the DC circuit propagates through the material at near light-speed once the battery switch is thrown, which is a bit different. I suppose if you could throw a switch and turn gravity on or off it would be a closer analogy, i.e. the idea would be to fill the (sealed) maze with water in a zero-g environment (it would fill everywhere equally, comparable to the electons in the conductor with the power off), then turn on the gravity (or the pressure differential for the pipe version) and see what happened.
I mean, you could, insofar as you can mechanically control the height difference between the start and end of the maze.
I think the real problem with the analogy was just that the hydrodynamic version wasn't a circuit in the sense that the electrical version was. The water just falls out of the system, so of course you can't control the pressure difference :)
The exit of the hydrodynamic version should have been a (sealed) pipe that flows into an (open) buffer-chamber thatis after the maze; from which a pump operating on a control system then brings pumps water back to the (open) buffer-chamber that sits before the maze.
Additionally, said pump's speed should be determined by the water-level imbalance between the two buffer-chambers, such that it's always trying to bring the two chambers into water-pressure equilibrium. (This pump is then a proper hydrodynamic analogue of a generator: two terminals with a constant height [voltage] differential between them, that pumps faster or slower [= varies current] to maintain the same potential difference in the system, whether the system is loaded or unloaded.)
Then "turning off gravity" would just mean moving everything (the input buffer, maze, output buffer, and pump) from being in a vertically descending sequence (where the pump would be doing constant work to maintain the potential difference despite the "load"), to being on a flat plane (where everything would reach potential equilibrium, and the pump would then turn off.)
And you could then represent AC flow, by just alternatingly raising and lowering the two chambers, and using a bidirectional pump.
E.g. he says something to the tune of
electrons take a few ns. running around, and then settle down in the maze.
IIRC electron flow in a medium is relatively slow, something on the order of centimeters per second. So it's not electrons which settle some potentials by moving quickly, but the electric potential finds its equilibrium. And it finds its equlibrium by electrons exchanging virtual photons (carries of electromagnetic force)?https://www.youtube.com/watch?v=2Vrhk5OjBP8
I’m actually not sure if that makes his explanation more accurate because it’s informed by that, or more regrettably forced metaphor. But the whole series of videos from different creators is worth watching if you want to understand the whole “electrons are moving” thing.
This is not modelled well with the water mazes/analogy.
The movement of water molecules is typically much slower than the wave speed of water.
When you turn on flow to a filled pipe, the water is reluctant to enter the pipe faster than other water is leaving the opposite end (mediated by pressure waves).
This way the water level changes probably can propagate faster then water moves. Though probably to get this result we'll need to make a "deeper" maze. I mean make walls higher so a cross section of a path would have bigger area, so a slow flow multiplied by this area would give us a big volume of a water moving. Big enough to raise level of a water fast in a whole section of the maze.
It is very interesting. But that doesn't make it good at teaching.
How does water "solve" a maze to an open tap?
Water doesn't actually "solve" a maze either https://youtu.be/81ebWToAnvA
And I put "solve" in quotes precisely because it does no such thing.
But a water molecule interacting with pressure gradients and waves is about the best eli5 or even eli18 that I've seen, with both particle and wave representations.
But maybe that's just because I'm a hydraulics engineer and "get it."
I love to argue the technical stuff as much as anyone, but the underappreciated aspect and skill of any engineering is eyeballing cost/benefit of any expenditure.
Be it sizing elements of finite analysis, or sizing an analogy.
Also light doesn't act like electricity or water, it just bounces at the reflection angle. There is no volume or pressure. Also there is no such thing as a light 'particle'. That is an abstract concept to make simulation easier.
> You're conflating electrons and electromagnetic radiation.
Isn’t that one of the main points of quantum physics? Light does apply pressure. Also photon exists?
Do you think quantum mechanics says that light is made up of electrons?
That would be like saying sound and water are the exact same thing because water going through a hose makes sound.
Light does apply pressure.
On the other hand, no it doesn't. If you shine light into a tube, it doesn't fill up with light until the tube blows apart. This is what is being talked about in this thread, so try to understand that context.
Also photon exists?
Are you asking if photons exist? Electromagnetic radiation is magnitude of frequencies over time. There are no individual packets of light just like there are no individual packets of sounds. Photons are a useful idea in simulations because you need to sample specific paths.
I don't see what that proves. If you pour water or CO2 or whatever into a normal tube, it doesn't fill up until the tube blows apart, it overflows. And you can easily show those fluids exert pressure.
To blow up a tube you need to have enough pressure at the fill valve. And if you do that, you can blow up a tube with light. It just happens to be hard to concentrate light that much.
you can blow up a tube with light.
Show me an experiment where light exerts itself physically on other light through being constrained to the extent that it finds the path of least resistance.
Really, this is the epitome of a hacker news discussion where there is something reasonable being twisted into absolute nonsense with excessively convoluted arguments.
You can't just pour electrons into something and blow it up either. So what does it prove that you can't pour photons into a tube to blow it up?
If you want the analogy to electrical flow then it's not trying to blow things up, it's having different sized holes for light to go through, and some scattering in the nodes.
Also my edit to the previous post was late so I'll move it here:
> There are no individual packets of light just like there are no individual packets of sounds. Photons are a useful idea in simulations because you need to sample specific paths.
Sound is carried by individual particles.
Light is quantized (aka packets) unless you happen to have an alternate explanation for the ultraviolet catastrophe?
Sound is carried by individual particles.
Electricity is carried by a conductor like copper, but electricity is not copper and sound is not a particle.
Electromagnetic radiation is magnitude of frequencies over time. There are no individual packets of light just like there are no individual packets of sounds. Photons are a useful idea in simulations because you need to sample specific paths.
https://en.wikipedia.org/wiki/Electromagnetic_radiation
This whole thread is about finding the path of least resistance in a pragmatic sense, not some abstract theory that you can't demonstrate. Even the wikipedia article talks about 'light particles' as an 'alternate view with no mass'.
That's true of light too.
Not just shining in a weak source indefinitely. You need a powerful source. Just like with electricity or fluids.
They behave the same.
Photons have no rest mass which is extra abstract. They do have mass, and them having mass is not abstract. And you didn't explain how to resolve https://en.wikipedia.org/wiki/Ultraviolet_catastrophe without discrete packets.
This stuff is pretty easy for someone to demonstrate with electricity or fluids, so show me it being done with light.
I'm not trying to be contrarian, I think you brought up a weird example to complain about and you got rightfully downvoted for it (not by me).
Also if you want to read my other comment chain on this thread, I would not say that electrons do find the path of least resistance. They follow every path, and so would light.
This was all about taking the path of least resistance, so show me anything that shows light doing that instead of just bouncing off the reflection angle.
No, only that electrons can exhibit light-like behaviours (e.g. interference patterns).
Light and pressure: https://en.wikipedia.org/wiki/Radiation_pressure
Simulations are around 50-60 years newer than the discovery of the photon.
Now, in QFT, I believe the photon itself is not fundamental, the electromagnetic field is fundamental. But even then, fluctuations in that field happen only in integer multiples of the energy of the photon.
But if you are coming at this from a more old-school QM or even classical mechanics perspective, where fields and particles are different things, then the photon is just as much a particle as the electron and the quark are.
That is, in certain experiments, light behaves like a classical wave (for example, double slit experiment), while in other experiments, it behaves like a classical particle (photoelectric effect [0]).
If your theory is simply that light is a classical wave (EM wave, obeying Maxwell's equations), then you should expect that shining a bright low-frequency light over a surface will eventually dislodge a number of electrons equal to the number of electrons dislodged when a dim high-frequency light is shone on the same surface. However, in real life experiments, this doesn't happen. Instead, no electrons are dislodged by the low-frequence light regardless of intensity, while some electrons are dislodged by the high-frequency light even at very low intensities.
The explanation for this phenomenon is that light consists of individual photons. Each individual photon has an energy that corresponds to the so-called frequency of the light. When a low energy photon hits an electron, nothing happens - so, regardless of how many low-energy photons you generate, nothing will continue to happen. Conversely, when a high-energy photon hits an electron, that electron is dislodged. So, even a sparse beam of high-intensity photons will dislodge some electrons. Even more impressively, you can directly count the number of electrons dislodged and compare to the number of photons contained in the beam, and you will find that they are actually equal, proving even more that the photon is a particle in this type of experiment.
There is no way to explain this phenomenon if you try to explain light as simply a wave in the classical EM field.
Also, crucially, space isn't quantized, and sound represents the variation of some particles' position in space, so its frequency and so on can take any value - again unlike the EM field.
The pepper demonstration in the video is a good analogy to show how the resistance information of every possible path (or, really, stub) is "back-propagated" to the branching point. No, it's not a perfect description of what is really going on, but I dare say there's no such thing. Just better and better models.
If I have a wire that connects from (+) to (-) on a battery, and a dozen wires that branch off of (-) and go nowhere, how does the current "know" not to waste time trying each of those stubs? This video explains that.
You're still saying "path of least resistance" though.
A very important part of the answer is that it doesn't find it. All paths carry electricity.
So "take all paths" isn't begging the question, it's correcting the question, and "weighted by resistance" isn't begging the question, it's giving a pretty easy answer to anyone that understands the concept of "resistance" in a non-electrical sense that some paths let things through more easily than others.
And if you have a bunch of stubs, the electricity does go onto them. It just gets stuck at the end.
Or in other words, the comment had multiple points and I chose to respond to one of them.
Yeah, I think you're correct here. I'll clarify what I meant:
The title statement is "How electrons find the path of least resistance", and what I replied to said, "They take all paths weighted by resistance".
The underlying question remains: how do the electrons "know" what the weights are? When a new charge carrier enters the maze, how does it "know" that "turning left" will be an easier trip than "turning right"? How do most of them end up taking the express lane?
I guess the original comment wasn't meant to answer this question, but rather rephrase it to be a more accurate question in the first place. I misread it as an answer.
From my point of view, finding the path of least resistance does require some kind of "knowing", but taking every path doesn't take some kind of "knowing".
The electrons just push. Like you can push something across a surface with varied friction. Or you can try to walk down paths with different amounts of obstructions. And when they get through faster, they make room for more faster.
Why resistance exists and varies is a valid question, but it's not one that everyone will have. Some people need that explanation, but some people just need "It takes every path with equal vigor."
So the original comment was an answer to the question. Not the answer everyone needs, but a valid answer for many people.
Also a nice comparison is how lightning does actually find a single path, because the current flow makes the air it touches more conductive in an aggressive feedback loop.
Question: when you observe water flowing on a flat surface do you see the water droplets freely separating from each other all over the surface until it's kind of evenly distributed or do you find the droplets tend to kind of follow or stick to one another?
For example, imagine you have nice trickling stream of water and that stream comes near a droplet, does the droplet join the stream or does the stream miss the droplet?
Does the new "charge" in the maze join with an existing stream or is it starting with a neutral maze and has to find the exit again?
It doesn't need to know that it needs to turn left or right, it just needs to go with the lazier option which happens to be the less resistant one.
That said, the demonstrations are pretty compelling and well executed. I particularly liked the use of an IR camera to visualize the resistive power loss in the maze. Super cool.
electricity and magnetism
1) electricity of magnetism => electrical side of the electromagnetic force
leads to
2) electricity from magnetism => generating electricity from a magnetic force
leads to
3) edm => electronic dance music
leads to
4) excitement from attraction => the feeling of excitement ('electric' metaphor for excitement) from meeting someone you're attracted to ('magnetic' metaphor for attraction between two people)
Essentially an analog computer. Some of the reason people want quantum or DNA computers to exploit physical mechanisms beyond stacks of binary gates.
I say "approximate" because, as has been discussed in this thread, the current actually follows every possible path to some extent, weighted by their resistance. So when there multiple branching paths with similar costs, they will have similar current flow, and the current along each path is not constant. So in general it can be difficult to find the exact minimum resistance path just by measuring the current.
It's not going to save you any time, since wiring up every path is basically the same as brute forcing every path anyway, but it would work.
Yes, you can solve TSP in linear time using electricity.
First step is to construct a circuit with a single source, and multiple independent paths -- one for each possible TSP graph traversal. Constructing this circuit can take a bit of time, but after that, finding the shortest path will be extremely fast.