Here's the setup:
The textbook, where this is from, first walks through how to find the strain and stress as a function of z, which is fairly straightforward. Then, it calculates the "total internal bending moment" like this:
(Here, W is width of the beam, H is the total thickness or height of the beam in the z direction, and $\sigma$ is stress.)
I don't understand what this really means. So far, "moment" has basically meant torque. The condition for static equilibrium is (from Newton's laws) that net forces and net torques must be zero. Torque is defined as the cross product of force vector by position vector. Now, this expression looks like an integral of force * lever arm, where stress * W * dz gives the force acting on an infinitesimal area, and multiplying by z gives you the same dimensions as torque.
Okay, but the problem is that stress is not actually a force. It's a pair of forces acting in equal and opposite directions. Like this:
So, at any point in the middle of the material, every atom is feeling equal and opposite forces tugging in opposite directions (or pushing). So, this integral is not the same thing as simply integrating force * lever arm, even though the dimensions are the same. Because at every point, there's no single force acting in a single direction. If anything, the forces cancel out.
So, I don't understand the physical meaning of this integral and this internal bending moment concept.