Why Average Along a Curve?
A scalar field assigns a number to each point in a region. For example, it might describe temperature at each location, or height above a reference level. If we want the typical value of that field along a curve, we need to account for how much of the curve lies near each value.
A simple average of a few sampled points can be misleading if the samples are not evenly spaced along the curve. Arc length provides the natural measure of distance along the path: each small piece of curve contributes in proportion to its length. The resulting average is the total accumulated scalar value along the curve divided by the curve’s length.
The scalar line integral \(\int_C f\,ds\) accumulates the field values along the curve, with each value weighted by the length of the small piece where it occurs. Dividing by \(L\) converts that total into a mean value per unit length.
Computing the Average from a Parametrization
Suppose \(C\) is parametrized by \(\mathbf{r}(t)\), \(a\leq t\leq b\), with nonzero speed on each smooth part. The speed is \(\|\mathbf{r}'(t)\|\), so the arc-length element is \(ds=\|\mathbf{r}'(t)\|\,dt\). The scalar field must first be evaluated at the points of the curve, giving \(f(\mathbf{r}(t))\). Therefore, the average can be computed as
The denominator is the length \(L\) of the curve. For a curve made of finitely many smooth pieces, the scalar integral and length are added over those pieces, and the same average formula applies to the whole curve. The numerator and denominator must refer to the same curve and the same traversal, with length counted throughout.
Notice that the parameter \(t\) is not itself a measure of distance. Unless the parametrization has constant speed, equal changes in \(t\) do not correspond to equal lengths of curve. The factor \(\|\mathbf{r}'(t)\|\) supplies the correct arc-length weighting.
Why Division by Length Gives the Mean
Imagine dividing \(C\) into short pieces with lengths \(\Delta s_i\), and choosing a point \(P_i\) on each piece. The accumulated scalar value is approximated by adding the value at each sample point times the length of its piece:
As the pieces become arbitrarily short, these sums approach \(\int_C f\,ds\). The total length is approximated by \(\sum_{i=1}^{n}\Delta s_i\), which approaches \(L\). Thus the corresponding weighted mean of the sampled values is
Taking the limit gives the arc-length average. Equivalently, if a constant value \(c\) were assigned everywhere on \(C\), its scalar line integral would be \(cL\). To make that constant produce the same total as the actual field, require \(cL=\int_C f\,ds\). Since \(L>0\), solving for \(c\) gives exactly \(c=(1/L)\int_C f\,ds\). This explains why the average is a length-weighted mean rather than a mean over parameter values.
Worked Examples
Worked Example: Average of a Scalar Field on a Line Segment
Find the average of \(f(x,y)=x+2y\) along the line segment from \((0,0)\) to \((3,4)\).
Parametrize the segment by \(\mathbf{r}(t)=(3t,4t)\), \(0\leq t\leq1\). Its derivative and speed are
The field restricted to the segment is
The curve length is \(L=\int_0^1 5\,dt=5\). The scalar line integral is
Therefore, the average is
Check: multiplying this average by the length gives \(5(11/2)=55/2\), which equals the scalar line integral. The answer is the average field value along the segment, not the average of the endpoint values alone.
Worked Example: Average Temperature on a Circular Arc
A temperature field, measured in degrees Celsius, is \(T(x,y)=18+2y\). Find its average along the quarter-circle of radius \(2\) in the first quadrant, from \((2,0)\) to \((0,2)\).
Use \(\mathbf{r}(\theta)=(2\cos\theta,2\sin\theta)\), \(0\leq\theta\leq\pi/2\). Then
The temperature on the curve and the arc length are
Hence the accumulated temperature, with each value weighted by arc length, is
Dividing by the length gives
Check: \(\pi(18+8/\pi)=18\pi+8\), the value of the scalar line integral. The average retains the units of temperature because the length in the numerator’s units cancels with the length in the denominator.
Worked Example: Average Height Along a Helix
Find the average height \(z\) along one turn of the helix \(\mathbf{r}(t)=(\cos t,\sin t,t)\), \(0\leq t\leq2\pi\).
The height field is \(f(x,y,z)=z\), so \(f(\mathbf{r}(t))=t\). The derivative and speed are
The helix length is \(L=\int_0^{2\pi}\sqrt{2}\,dt=2\pi\sqrt{2}\). The scalar line integral of height is
Thus the average height is
Check: \(Lz_{\mathrm{avg},C}=(2\pi\sqrt{2})(\pi)=2\sqrt{2}\pi^2\), agreeing with the integral. The height increases uniformly in the parameter here because the helix has constant speed, and the average height is midway between its endpoint heights \(0\) and \(2\pi\).
A Common Mistake: Averaging Over the Parameter
A frequent error is to integrate \(f(\mathbf{r}(t))\) with respect to \(t\), then divide by the length of the curve. That treats equal parameter intervals as equal curve lengths, which is not generally valid. In the line-segment example, omitting the speed gives the incorrect calculation
This is wrong because \(dt\) is not the arc-length element: here \(ds=5\,dt\). The correct numerator is \(\int_0^1(11t)(5)\,dt=55/2\), so the correct average is \((55/2)/5=11/2\). Always include the speed when using a parameter, or write the integral directly with \(ds\).
Interpreting the Result
The arc-length average has the same units as the scalar field. For a temperature field, it is a temperature; for a height field, it is a height. The integral before division has units of field value times length, and division by \(L\) removes the length factor.
The definition also applies when the field takes negative values: the integral adds positive and negative contributions with their respective arc lengths. The result is a mean along the curve, not necessarily a value attained at a particular point. To calculate it reliably, identify the field, find the curve length, evaluate the field along the curve, include the arc-length factor, and divide the resulting scalar line integral by the total length.
Check Your Understanding
Use the definition and parametrized formula to answer these questions.
- In the arc-length average, what does the factor \(1/L\) accomplish?
- For a parametrized curve \(\mathbf{r}(t)\), what factor converts \(dt\) into arc length?
- Why is \(\int_a^b f(\mathbf{r}(t))\,dt\) generally not the scalar line integral along a curve?
- If \(\int_C f\,ds=24\) and the curve length is \(6\), what is the average value?
- What units does an arc-length average have when the field measures height?