Consider a simply supported beam of length

Let’s place the origin of the coordinate system at the center of the beam. The x-axis runs along the neutral axis through the length of the beam, and the y-axis runs vertically. The top and bottom surfaces are at
The boundary conditions at the upper and lower edges of the beam are:
From the elementary theory of strength of materials, we know
To satisfy the conditions
Let’s try a stress function of the form:
The final stress components are:
The solution is exact if, at the ends
The difference between the results of strength of materials and elasticity arises from the fact that the elementary theory assumes longitudinal fibers are in pure tension or compression (
The formula for