In Eurocode, when use buckling curves to calculate the maximum load that a compressive member can be subjected to before it risks buckling. Buckling curves are based on the Perry-Robertson formula. I'm reading a derivation of the formula here.
The formula is derived basically like this: we assume some initial eccentricity of the column in shape of a sinusoid, and then arrive at this expression for the deflection of the column at the mid-point:
$$y(\frac{L}{2})=\frac{\sigma_E}{\sigma_E-\sigma}a$$
where $\sigma$ is the stress compressing the column, $\sigma_E$ the Euler critical load of the column and $a$ the assumed eccentricity of the column at mid-point.
Then we use an expression for the maximum stress inside the column, summing the direct compressive stress as well as the stress that occurs from the bending moment:
$$\sigma_{max}=\sigma+\frac{Mc}{Ar^2}$$
where $\sigma_{max}$ is the stress on the extreme fiber on the mid-point of the column, $M$ the moment of the column due to load, $c$ the distance from the neutral axis to the extreme fiber, $A$ the cross sectional area and $r$ the radius of gyration.
Knowing that $M = Py(\frac{L}{2})$, we get:
$$\sigma_{max}=\sigma+\sigma\frac{c}{r^2}\frac{\sigma_E}{\sigma_E-\sigma}a$$
It is then said:
At failure the maximum stress is the yield stress, $\sigma_y$ .
and we proceed to set $\sigma_{max}=\sigma_y$ and solve for the compressive stress $\sigma$.
This last step puzzles me. Why do we set the stress to yield stress, if we are interested specifically in designing against buckling? If we design a column in this way, then yes we can limit the compressive load so that the extreme fiber (and thus the entire column) never reaches the yield limit anywhere, but how does this prevent a failure by buckling? We know buckling is a failure occuring from sudden sideways deflection of a member. But buckling can very well occur entirely elastically. This formula seems to only ensure that the member does not yield, but does not seem to say anything about how much the member deflects.
To me, it would make more sense to take the very first equation, the deflection of the midpoint, and set some limits on that, based on the slenderness of the column. So don't we really care about how much the member bends sideways as long as it does not yield, or have I misunderstood something?