Given a function as in y=f(x), its definite integral is defined by the idea of adding up all the function values f(x) along the x axis. Thus, the integral value is obtained along a straight line on the x axis.
Now, consider a two-variable function z=f(x,y). Unlike in the case of single-variable functions, since the variable moves over the xy− plane, the integration interval does not necessarily have to be a straight line. One can think of integrating z=f(x,y) along any freely shaped line. Let’s say there’s a smooth curve C represented by the parametric equation x=x(t),y=y(t),a≤t≤b as shown in the picture below.
Let Δsi be the length of the arc divided by points Pi, and let an arbitrary point within it be (xi∗,yi∗). Then, the area of the f graph along the curve C can be approximated as follows.
i=1∑nf(xi∗,yi∗)Δsi
As n increases, it will get closer to the actual area.
Definition
Let’s say curve C is a smooth curve expressed by the parametric equation x=x(t),y=y(t),a≤t≤b. Let’s say f is a function defined on C. If the following limit exists, it is defined as the line integral of f along C and is denoted as follows.
This can be thought of as multiplying the function value f(x,y) by a weight to calculate the length of the curve. Therefore, the following equation is obtained.
∫Cf(x,y)ds=∫abf(x(t),y(t))(dtdx)2+(dtdy)2dt
Also, if we set r(t)=(x(t),y(t)), since r′=(x′(t),y′(t)), the following holds.
The line integral of a three-dimensional function is naturally defined in the same way as the two-dimensional line integral.
Definition
Let’s say curve C is a smooth curve expressed by the parametric equation x=x(t),y=y(t),z=z(t),a≤t≤b. Let’s say f is a function defined on C. If the following limit exists, it is defined as the line integral of f along C and is denoted as follows.
∫Cf(x,y,z)ds=n→∞limi=1∑nf(xi∗,yi∗,zi∗)Δsi
Explanation
The formulas for two dimensions are also valid for three dimensions.