Line Integrals
A function can be summed up along a curve. The little distances ds are summed up with an integral, a line integral.
The denotion of a line integral of a scalar function f along a curve C is
The path C can be written in parametric form:
The little distances are evaluated by
This is the use of the Pythagorean theorem. The length of the hypotenuse is the sum of the squared length of the other sides in a rectangular triangle.
Formula of the line integral
Another writing of the line integral is
This is the product of a vector r and its derivative.
Example
Find the line integral of along the path for
The x component of the path is . The derivative is .
The y component of the path is . The derivative is .
Put in the values for x and y:
For is 1, the formula shrinks to the terms inside the bracket.
Integrate and write the boundaries behind the vertical strike:
Put in the boundaries in each term:
Evaluate the trig terms. Regard the minus sign rule before a bracket: