
A slice 4 tall and 0.1 wide has area 4 × 0.1 = 0.4; 0.01 wide, 0.04. The thin slice is drawn thicker so you can see it. Zoom in and it is still a rectangle: area ÷ width stays 4. dx is that width as it shrinks toward 0, never a fixed 0.1 and never 0.