A better understanding of bending moments in beams