I've had a tough time trying to interpret line integrals such as this one, which may be found on Wikipedia's Line Integral article:
$$\int_C f(\mathbf r) \,ds$$
More specifically, I'm trying to understand what $\mathbf r$ is in this integral. I understand that:
- $C$ is a curve and $ds$ is the differential arc length function of $C$, which depends on the parameterization variable.
- $f$ is a scalar field, which takes in a vector and returns a real number.
But, what is $\mathbf r$? Wikipedia says that $\mathbf r$ is a parameterization of $C$. Does this mean $\mathbf r$ is a vector-valued function and not a vector? Wikipedia certainly treats it like a function of the parameterization variable. If so, how is the expression $f(\mathbf r)$ valid if $f$ takes in a vector? This is like trying to fit a square peg into a round hole.
Then, I see this equivalent expression, which makes sense because we are getting the value of $\mathbf r$ at $t$:
$$\int_a^b f(\mathbf r(t))|\mathbf r'(t)| \,dt$$
However, this makes matters worse because now I'm more convinced that $\mathbf r$ is a function. How is the expression $f(\mathbf r)$ in the first integral possible? Is this just another way to write a composite function like $f \circ \mathbf r$?
As I gain more knowledge in mathematics, I'm discovering that I appear to be a perfectionist regarding syntax, and things like this make me go crazy. I have a background in object oriented programming, so when I see notation like this and fail to find logical consistency, I freak out a little bit. This is my first post here so I'm excited to see what people will say.