Continuous distributions

Move from discrete sums to linear, surface, and volumetric densities. Theory, formulas, worked examples and interactive graphs.

What it is

A continuous distribution describes how an extensive quantity (mass, charge) is spread continuously over a line, a surface, or a volume, rather than being concentrated at discrete points. It is characterized through a density: linear λ (mass or charge per unit length), surface σ (per unit area), or volumetric ρ (per unit volume), each with its own corresponding units.

Working with continuous distributions requires replacing the discrete sums typical of point-particle systems (Σmᵢ) with integrals over the relevant geometric domain (∫λ dl, ∫σ dA, ∫ρ dV), choosing the type of density and the integration element according to the object's real geometry.

Why it appears in physics

It appears because real physical objects are rarely point particles: a rod has mass distributed along its length, a plate has charge distributed over its surface, and a solid body has mass distributed throughout its volume. To calculate quantities such as the center of mass, the moment of inertia, or the total charge of these extended objects, it is necessary to sum (integrate) the contribution of each infinitesimal element of the distribution.

In electromagnetism, continuous charge distributions (linear, surface, volumetric) are fundamental for calculating electric fields through the generalized Coulomb's law or Gauss's law. In rigid-body mechanics, the continuous mass distribution determines properties such as the center of mass and moment of inertia, crucial for describing the rotation and equilibrium of extended objects.

Visual or geometric idea

The visual idea is to think of the extended object as composed of infinite infinitesimal elements, each with its own mass (or charge) dm, located at a specific position. For a rod, those elements are infinitesimal segments of length dl; for a plate, infinitesimal patches of area dA; for a solid, small volumes dV.

The density (λ, σ, or ρ) is the conversion factor between the geometric size of the element (dl, dA, dV) and its physical content (dm or dq): just as ordinary mass density converts volume into mass, these generalized densities do the same but adapted to the relevant geometric dimension (one, two, or three dimensions).

Minimal symbolic language

For a linear distribution: dm = λ dl, and the total mass is M = ∫λ dl over the object's entire length. The units of λ are mass/length (kg/m).

For a surface distribution: dm = σ dA, and M = ∫σ dA over the entire surface. The units of σ are mass/area (kg/m²).

For a volumetric distribution: dm = ρ dV, and M = ∫ρ dV over the entire volume. The units of ρ are mass/volume (kg/m³). The same formulas apply to electric charge substituting m for q.

What the result means

The result of integrating a continuous density over its corresponding domain gives the total value of the extensive quantity (total mass, total charge) that was continuously distributed, correctly capturing any variation of the density in space.

If the result is used to calculate a derived quantity (center of mass, moment of inertia), the obtained value represents that specific physical property of the extended object, useful for predicting its dynamic behavior or its response to external forces and torques.

When not to use it

Do not use a linear density for an object that actually has a significant surface or volumetric distribution: using the wrong type of density gives incorrect units and a physically meaningless result, even if the algebraic calculation appears to complete without apparent errors.

Also do not assume the density is constant without checking: many interesting physical problems involve precisely densities that vary in space (such as a rod that is denser at one end), and treating them as constant when they are not eliminates the essential part of the problem.

Operational summary

Identify the relevant geometric dimension of the object (line, surface, or volume) and the corresponding type of density (λ, σ, ρ), write the differential element of mass or charge (dm=λdl, σdA, or ρdV) in terms of the appropriate coordinates, integrate over the entire geometric domain of the object, and check that the units of the final result correspond to the extensive quantity sought.

Procedure

Before calculating

Determine the geometric dimension of the object (a line/curve, a surface, or a volume) to decide which type of density (λ, σ, or ρ) is appropriate.

Check whether the density is constant or varies in space (for example, λ(x) instead of a constant λ), since this determines whether you need explicit integration or whether a direct calculation (constant density times total size) is enough.

Step 1: identify the mathematical object

Write the differential element of the extensive quantity (dm or dq) in terms of the density and the corresponding geometric element: dm=λdl for lines, dm=σdA for surfaces, dm=ρdV for volumes.

Choose the most natural coordinate system for the problem (Cartesian, polar, cylindrical, spherical) according to the object's geometric symmetry.

Step 2: choose the operation

Set up the integral M=∫dm (or Q=∫dq) over the entire geometric domain of the object, expressing the differential element in terms of the chosen coordinates.

If the problem requires a derived quantity (center of mass, moment of inertia), include the corresponding geometric factor (such as position x for center of mass, or r² for moment of inertia) multiplying the element dm inside the integral.

Step 3: preserve units and signs

Check that the density has the correct units according to its type: kg/m for linear, kg/m² for surface, kg/m³ for volumetric (or the equivalent charge units if applicable).

Check that, when multiplying the density by the corresponding geometric element (dl, dA, dV), the resulting units are actually those of mass (or charge), confirming that the correct type of density was chosen.

Step 4: calculate

Solve the set-up integral using the appropriate integration methods, substituting the density expression (constant or variable) as appropriate.

If the problem involves multiple dimensions (surface or volume), make sure to correctly set the integration limits for each variable, exactly covering the object's geometry.

Step 5: interpret the result

Interpret the result as the total extensive quantity (mass, charge) or the derived property (center of mass, moment of inertia) of the extended object, checking that the order of magnitude is physically reasonable.

If you calculated a derived property, relate the result to its physical meaning: the center of mass indicates the equilibrium point, and the moment of inertia indicates the object's resistance to changes in its rotation.

Self-check checklist

Check that you chose the correct type of density according to the object's geometric dimension, that the combined units of the density and the differential element give correct units of mass or charge, that the integration limits exactly cover the object's geometry, and that you can physically explain what the final result represents.

Guided example

Physical situation

A thin disc of radius R has constant surface charge density σ (in C/m²). The task is to calculate the disc's total charge.

Mathematical translation

Since the distribution is a surface one, dq=σdA is used. In polar coordinates, dA=r dr dθ, so Q=∫∫σ r dr dθ over the whole disc (r from 0 to R, θ from 0 to 2π).

Step-by-step calculation

Q = σ ∫₀^(2π) dθ ∫₀^R r dr = σ (2π)(R²/2) = σπR².

Reading the result

The result Q=σπR² (in coulombs) is exactly the surface density times the disc's total area (πR²), confirming that, since σ is constant, the result matches the simpler direct calculation, but correctly obtained through integration.

Common error avoided

This avoids the error of using dq=σ dr (confusing the area element with a length element), which would give incorrect units: σ has units of C/m², and multiplying it only by dr (with units of m) does not give units of charge.

Inverse example

Given result

When calculating the moment of inertia of a uniform rod about an axis through its center, I=ML²/12 is obtained, while about an axis at one end, I=ML²/3 is obtained, a larger value.

What physical question it can answer

This difference allows answering why the location of the rotation axis significantly affects an object's resistance to changes in its rotation: when calculating I=∫r²dm, the distance r of each mass element to the axis is greater when the axis is at the end than when it is at the center, which increases the total moment of inertia, explaining why it is easier to spin a rod about its center than about one of its ends.

Common errors

Error 1: using the wrong type of density for the object's geometry

It seems reasonable to use any type of density (linear, surface, volumetric) without checking which actually corresponds to the geometric dimension of the object in question. It fails because each type of density has different units, and using the wrong type gives a result with incorrect units, with no physical meaning. Detect it by checking whether the object is essentially one-dimensional (rod), two-dimensional (plate), or three-dimensional (solid) before choosing the density. Correct it by selecting λ, σ, or ρ exactly according to that dimension. Mini-example: using a surface density σ for a rod (which is essentially one-dimensional) mixes units incorrectly.

Error 2: forgetting to divide by the total mass when calculating the center of mass

It seems reasonable to calculate ∫x dm and report that result directly as the center of mass. It fails because the center of mass is defined as x_cm=(1/M)∫x dm, and skipping the division by M leaves a result with incorrect units (mass×length instead of length) and without the correct physical meaning. Detect it by checking the units of the final result: the center of mass must have units of length, not mass×length. Correct it by always dividing by the total mass M before reporting the final result. Mini-example: for a rod with constant density λ and length L, ∫x dm gives units of kg·m, while x_cm=(∫x dm)/M correctly gives units of m.

Error 3: confusing the distance to the origin with the distance to the rotation axis

It seems reasonable to use r as the distance from the origin of the coordinate system when calculating the moment of inertia, without checking whether that matches the perpendicular distance to the specific rotation axis of the problem. It fails because the moment of inertia specifically depends on the perpendicular distance to the rotation axis, which may not match the distance to the origin if the axis does not pass through the origin. Detect it by explicitly checking where the rotation axis is located relative to the coordinate system used. Correct it by redefining r as the perpendicular distance to the specific axis before integrating. Mini-example: the moment of inertia of a rod about an axis at one of its ends requires r measured from that end, not from the rod's center.

Error 4: treating a variable density as if it were constant

It seems reasonable to calculate the total mass by multiplying a density (evaluated at a single point) by the object's total size, without checking whether the density actually varies in space. It fails because if the density is not constant, that shortcut ignores the real variation and gives an incorrect result except by coincidence. Detect it by checking whether the density is given as a function of position (λ(x), σ(x,y), ρ(x,y,z)) rather than a constant. Correct it by explicitly integrating the density function over the domain, instead of using a point value multiplied by the total size. Mini-example: for a rod with λ(x)=2x, calculating the mass as λ(L/2)·L (using the midpoint) generally does not give the correct result compared to explicitly integrating λ(x).

Error 5: not adapting the differential element to the chosen coordinate system

It seems reasonable to always use dA=dx dy, without checking whether the chosen coordinate system (for example, polar) requires an additional factor (such as the Jacobian r). It fails because in polar coordinates, dA=r dr dθ, not simply dr dθ, and omitting that r factor gives an incorrect result. Detect it by explicitly checking the formula of the area or volume element corresponding to the chosen coordinate system. Correct it by always using the correct differential element for the specific coordinate system (Cartesian, polar, cylindrical, spherical). Mini-example: calculating a disc's area by integrating dr dθ (without the r factor) instead of r dr dθ gives an incorrect result.

Quick detection rule

If the units of the result do not correspond to mass or charge after combining density and differential element, if dividing by the total mass was skipped when calculating a center of mass, or if a differential element was used without the correct geometric factor for the chosen coordinate system, the error is probably in the setup of the continuous distribution, not in the final arithmetic.

Physical applications

1. Center of mass of extended objects

It appears when calculating the position of the center of mass of an object with continuously distributed mass, integrating the position weighted by the corresponding mass element. It is calculated through x_cm=(1/M)∫x dm, using the appropriate density according to the object's dimension. The result gives the point where all the mass can be considered concentrated for translational purposes. The dangerous error is forgetting to divide by the total mass M at the end of the calculation, leaving only the numerator (the mass moment) as if it were the center of mass. As a final control, the learner must explain why the center of mass of a symmetric object coincides with its geometric center.

2. Moment of inertia of rigid solids

It appears when calculating an extended object's rotational resistance about an axis, integrating the square of the distance to the axis weighted by the mass element. It is calculated through I=∫r²dm, choosing the appropriate density and coordinate system. The result gives the moment of inertia, crucial for rotational Newton's second law (torque=I·α). The dangerous error is using the distance to the origin instead of the perpendicular distance to the specific rotation axis. As a final control, the learner must explain why the moment of inertia depends on the choice of axis, unlike the total mass.

3. Electric field of charge distributions

It appears when calculating the electric field generated by a continuous charge distribution (linear, surface, or volumetric), integrating the contribution of each charge element according to Coulomb's law. It is calculated by vectorially summing (integrating) the field contributions from each dq over the whole distribution. The result gives the total electric field at a point in space. The dangerous error is adding the field magnitudes directly without considering their vector nature, ignoring cancellations due to symmetry. As a final control, the learner must explain why the field at the center of a uniformly charged ring is zero by symmetry.

4. Gravitational force of extended bodies

It appears when calculating the gravitational force exerted by an extended object (such as a rod or a sphere) on a point mass, integrating the gravitational contribution of each mass element dm according to the law of universal gravitation. It is calculated by vectorially summing the contributions over the whole mass distribution. The result gives the net force exerted by the extended object. The dangerous error is treating the extended object as if all its mass were concentrated at its geometric center without checking that this is valid (it is only exactly true for certain symmetries, such as spheres with radial distribution). As a final control, the learner must explain why the shell theorem allows a uniform sphere to be treated as a point mass at its center.

5. Pressure and forces in fluids

It appears when calculating the total force exerted by a fluid on a submerged surface, integrating the pressure (which varies with depth) over the entire surface area. It is calculated through F=∫P dA, using the relation between pressure and fluid depth. The result gives the total force exerted by the fluid on that surface. The dangerous error is using the pressure at a single point (such as the fluid surface) instead of correctly integrating its variation with depth. As a final control, the learner must explain why the force on a submerged vertical gate is not simply the surface pressure times the area.

Practice

Level 1: recognition

Identify, for three given objects (a rod, a thin plate, a solid sphere), which type of density (λ, σ, ρ) corresponds to each.

Exercise: explain why a thin metal sheet is modeled with surface density σ instead of volumetric density ρ.

Level 2: direct application

Calculate the total mass of an object with constant density, integrating over its corresponding geometric domain.

Exercise: calculate the mass of a disc of radius R=2m with constant surface density σ=3 kg/m².

Level 3: choosing the tool

Decide whether a problem requires calculating only the total extensive quantity (mass, charge) or a derived property (center of mass, moment of inertia), and set up the corresponding integral.

Exercise: given a problem asking for the equilibrium position of a non-uniform rod, decide which quantity you must calculate and how to set up the integral.

Level 4: physical interpretation

Interpret the result of calculating a moment of inertia or a center of mass in terms of expected physical behavior.

Exercise: given that an object's moment of inertia about one axis is larger than about another, interpret what this means for how easily it can be spun about each axis.

Level 5: intentional error

Analyze a calculation where the wrong type of density was used for the object's geometry, or where dividing by the total mass was forgotten when calculating a center of mass. Detect the error, correct it, and explain the physical consequence.

Exercise: invent a plausible error when calculating the center of mass of a rod forgetting to divide by the total mass, show why it seems reasonable, correct it, and state the incorrect result (with erroneous units) it would have produced.