It is shown that the elementary analysis usually adopted when teaching two topics in strut analysis-thermal buckling and the deformation of pin-jointed frameworks, can lead to misleading and/or inaccurate results. This is due to the neglect of post-buckling behaviour and shape imperfections. Some analytical results are obtained which give a clearer picture of the deformation of real structures and can be used in the teaching of undergraduate courses.