There are always assumptions associated with every finite element formulation. The one-dimensional beam element assumes the following:
If all the assumptions above are valid for a given situation, then the one-dimensional beam element will yield an exact solution.