E. coli is far too small to sense which way food lies — the concentration barely differs across its body. So it does something cleverer: it runs in a straight line, then tumbles to a random new direction, and biases the timing by comparing concentration now versus a moment ago. Improving? Run longer. Worsening? Tumble sooner. A biased random walk with a memory, and it reliably climbs the gradient it cannot see.
The demo makes the run/tumble decision from a temporal comparison of concentration: live demo
“Bacteria steer toward food.” — they cannot sense direction; they bias a random walk by comparing concentrations over time, extending favorable runs. cited
Climbing a gradient you are too small to see. biophysics
On i-13, rising concentration extends the run; falling triggers a tumble — the biased walk climbs: