Describe the theoretical concepts of elastic stability and how they are used to predict the stability and potential buckling of structural elements.