I bet most of you reading this article thought this must have a fairly simple answer. You may have had started theorizing about the wheels and how they might have a little edge guard to keep them straight. Maybe you reasoned they might have a shallow groove that makes them stay lined up on the rails. After all, those ideas do make sense if we assume the train is going down a straight track.
What if a train has to turn?
Try walking in a circle. If you do, you will notice your outside leg will be taking bigger steps and moving farther than your inside leg. Obviously, for anything to turn, one side will need to move farther than the other. Now you are probably thinking back to your previous ideas and how they would need to be modified in order for the train to actually turn.
Maybe it is like a car and uses a differential to make the left and right wheels spin at different rates. However, that is not the case. The wheels are both connected by a solid metal bar. So with this in mind, how does a train stay on the tracks?
My guess is most of you are still stumped. I certainly was when I was asked these questions.
The answer is surprisingly simple. The wheels are slightly tapered and they shift over when turning which allows the outside wheel to rotate around a larger diameter than the inside wheel. Then the wheels shift back to the center when the track straightens out.
Here is a visual example:
[rebelmouse-proxy-image https://media.rbl.ms/image?u=%2Ffiles%2F2016%2F02%2F27%2F6359219163399248171216235101_8dKNyZB.gif&ho=https%3A%2F%2Faz616578.vo.msecnd.net&s=220&h=2d7b807a51e797f62d5a96ad0cd1a8c5a1fcfbd08c931b22b0a488716b75196c&size=980x&c=6429239 crop_info="%7B%22image%22%3A%20%22https%3A//media.rbl.ms/image%3Fu%3D%252Ffiles%252F2016%252F02%252F27%252F6359219163399248171216235101_8dKNyZB.gif%26ho%3Dhttps%253A%252F%252Faz616578.vo.msecnd.net%26s%3D220%26h%3D2d7b807a51e797f62d5a96ad0cd1a8c5a1fcfbd08c931b22b0a488716b75196c%26size%3D980x%26c%3D6429239%22%7D" expand=1]
Richard Feynman, one of the greatest physicists of all time, explains in this video.