Consider a distribution of free charge dq of differential size within a macroscopic distribution of line. surface. or volume charge as shown in Figure 2-9. Then. the total charge q within each distribution is obtained by summing up all the differential elements. This requires an integration over the line, surface. or volume occupied by the charge.