Analytical description of the fatigue-failure diagram of materials