The Bonabeau model of self-organized hierarchy formation is studied by using a piecewise linear approximation to the sigmoid function. Simulations of the piecewise-linear agent model show that there exist two-level and three-level hierarchical solutions, and that each agent exhibits a transition from non-ergodic to ergodic behaviors. Furthermore, by using a mean-field approximation to the agent model, it is analytically shown that there are asymmetric two-level solutions, even though the model equation is symmetric (asymmetry is introduced only through the initial conditions), and that linearly stable and unstable three-level solutions coexist. It is also shown that some of these solutions emerge through supercritical-pitchfork-like bifurcations in invariant subspaces. Existence and stability of the linear hierarchy solution in the mean-field model are also presented.