This question already has an answer here:
I have always seen a bicycle not standing without any support, it either falls down to the right or to the left, may even to some other direction. But,the same two wheeler when under motion,moves balanced, without falling to either side,even it not falls, when the two wheeler is bent to left or right by the driver, like the one which we could see in the bike races. So, what makes the bicycle at rest to fall? And what makes it not to fall when under motion?
MY VIEW ON THE CONCEPT
If the bicycle is at rest, it will be acted upon by downward force ($mg$,where $m$ is mass and $g$ is acceleration due to gravity). If it is affected just by this force, it should have stood without falling, because there is no force which pulls it to either side to make it fall. I think, it might fall, either due to the direction of wind, or due to the nonuniform distribution of mass, or due to other external forces. If we consider the same bicycle to be under motion, I don't know what makes it not to fall,even affected by nonuniform distribution of force,or direction of wind. I think there might be something related with vectors, angular momentum,and forces like centripetal and centrifugal. (What ever I said, is just my opinion about the concept, I don't claim it to be true. Correct me,if I am wrong anywhere.)