Accumulating a Scalar Field Along a Curve
A scalar field assigns a number to each point in a region. Examples include temperature at each location, or the amount of material per unit length at each point of a wire. If we want to accumulate such values along a curve, simply integrating the field with respect to the parameter may not be enough: equal parameter intervals need not correspond to equal distances along the curve.
A scalar line integral accounts for both the field’s value and how quickly the parametrization travels along the curve. The field is evaluated at the current point, and its value is weighted by the curve’s speed.
The parameter interval \([a,b]\) is compact, and the stated continuity and differentiability assumptions ensure that \(f(\mathbf r(t))\) and \(\lVert\mathbf r'(t)\rVert\) are continuous. Thus the right-hand side is an ordinary definite integral. The curve need not be a graph, and the formula applies in two or more dimensions.
Why the Speed Appears
Imagine dividing the parameter interval into many short subintervals. On one such interval of width \(\Delta t\), the curve travels a short distance that is approximately its speed at that point multiplied by \(\Delta t\). If the field is approximately constant over that short piece, its contribution to the total is approximately the field value times that distance.
Consequently, a typical contribution has the form \(\,f(\mathbf r(t))\lVert\mathbf r'(t)\rVert\Delta t\). Adding these contributions and taking the limit gives the definite integral in the definition. This explains the role of each factor: \(f(\mathbf r(t))\) supplies the field value, while \(\lVert\mathbf r'(t)\rVert\) converts parameter intervals into distance traveled. The detailed arc-length calculation is a separate step; here, the parametrized formula is the tool for evaluating the integral.
To use the formula, differentiate every component of \(\mathbf r(t)\), find the magnitude of the resulting vector, substitute the parametrization into \(f\), and integrate the product over the specified parameter interval.
Worked Examples
Worked Example: A Straight Parametrized Path
Evaluate \(\int_C f\,ds\) for \(f(x,y)=x+2y\), where \(\mathbf r(t)=(t,2t)\) for \(0\le t\le1\).
First evaluate the field along the curve. The coordinates are \(x=t\) and \(y=2t\), so
Differentiate the parametrization and calculate its speed:
Substitute both quantities into the formula:
Check the integration: the derivative of \(5\sqrt{5}\,t^2/2\) is \(5\sqrt{5}\,t\), the integrand. The endpoint values are \(5\sqrt{5}/2\) at \(t=1\) and \(0\) at \(t=0\), confirming the result.
Worked Example: A Curved Path With a Convenient Integrand
Evaluate the integral for \(f(x,y)=\sqrt{1+4y}\) along \(\mathbf r(t)=(t,t^2)\), \(0\le t\le1\). The field is defined here on a region containing the curve where \(1+4y\ge0\).
Along the parametrization, \(y=t^2\), so
The derivative and speed are
Multiplying the field value by the speed removes the square root:
For a check, the derivative of \(t+\frac{4}{3}t^3\) is \(1+4t^2\), the simplified integrand. Substitution of the endpoints gives \(7/3-0=7/3\).
Worked Example: A Curve in Three Dimensions
Let \(f(x,y,z)=\sqrt{5+16z}\), and let \(\mathbf r(t)=(t,2t,4t^2)\) for \(0\le t\le1\). Evaluate the scalar line integral along this curve.
The third coordinate on the curve is \(z=4t^2\). Therefore,
Differentiate each component and find the speed:
The field value and speed are equal along this curve, so
The derivative of \(5t+\frac{64}{3}t^3\) is \(5+64t^2\), as required. Evaluating at \(t=1\) and \(t=0\) gives \(79/3-0=79/3\).
Signed Field Values and Cancellation
The scalar field need not be nonnegative. The integral records signed contributions: portions where \(f\) is positive contribute positively, and portions where \(f\) is negative contribute negatively. These contributions can cancel.
Worked Example: Positive and Negative Contributions
Let \(f(x,y)=x\) and \(\mathbf r(t)=(t,t^2)\) for \(-1\le t\le1\). Along the curve, \(f(\mathbf r(t))=t\). Its speed is
Thus the integral is
Indeed, \(\sqrt{1+4t^2}\) has the same value at \(t\) and \(-t\), while the factor \(t\) changes sign. The integrand is odd, so its integral over the symmetric interval is zero. Equivalently, the contributions from the two halves cancel. The curve’s speed is never zero, and the field is positive on the part with \(t>0\) and negative on the part with \(t<0\).
A Common Mistake: Omitting the Speed
A frequent error is to substitute the parametrization into \(f\) and integrate only with respect to \(t\). That calculation weights equal intervals of the parameter equally, even when the curve moves at different speeds. A scalar line integral instead weights each interval according to the distance traveled.
Before integrating, check that the integrand contains both required pieces: the field evaluated at the curve and the magnitude of the velocity vector. Also check that the norm is nonnegative. In particular, the speed is \(\sqrt{(x'(t))^2+(y'(t))^2}\) for a plane curve and \(\sqrt{(x'(t))^2+(y'(t))^2+(z'(t))^2}\) for a space curve.
Interpreting the Result
The units offer a useful check. If \(f\) measures temperature, then \(\int_C f\,ds\) has units of temperature times length. If \(f\) is a density measured per unit length, the integral has units of total mass. Such interpretations depend on what the scalar field represents, but the same mathematical formula applies.
A scalar line integral is different from an ordinary integral over the parameter interval because the curve’s speed matters. It is also different from integrating a vector field by taking a dot product with the curve’s velocity: here, the integrand is a scalar field multiplied by speed. Keeping these integrands distinct prevents a common mix-up.
Check Your Understanding
For each question, identify the field value along the curve and the speed before attempting the integral.
- For \(f(x,y)=x+y\) and \(\mathbf r(t)=(t,3t)\), \(0\le t\le1\), what expression should be integrated with respect to \(t\)?
- For \(\mathbf r(t)=(\cos t,\sin t)\), what is \(\lVert\mathbf r'(t)\rVert\)?
- Why is \(\int_a^b f(\mathbf r(t))\,dt\) generally not the scalar line integral?
- Can a scalar line integral be zero when the field is not zero everywhere on the curve? Explain how.
- If the field has units of mass per unit length, what units does its scalar line integral have?