Shear and moment diagrams

Plotting shear and moment along a beam shows where it is most stressed, and the slope of each follows from equilibrium of a thin slice, so the moment peaks where the shear crosses zero.

From Statics.