Line Integral
Line Integral Visualization
Download URL : LineIntegral_Visualizer
Line Integral
Integration
Integration in mathematics is the process of finding area of a function f(x) plotted as a graph. For example take a function f(x) = x2 plotted in a graph below.
If we find the cumulative area falling under x2 and plot in a new graph it would be one that of right x3/3. Also integration of xn is xn+1/n+1
Proof by Fermat’s method can be found in http://math2.org/math/integrals/more/x%5En.htm
Note: Integration is the inverse of differentiation.
The above all are very fundamental and basic concepts.
Example:
Area under x2
--- From 0 to 1 is 1/3.
--- From 1 to 2 is 7/3 etc.,
Now let’s assume x is defined by a function t ie., x = g(t) = 3t
--- So if we move from 1 to 5 in t, then x will go from 3 to 15
dx/dt = 3 (the rate of change of x in t) Also length of t is (5-1) 4 and length of x is 3 x 4 = 12 (15-3) , Below is the length explanation
=> dx = 3dt & x2 = (3t)2
Same can be expressed in x, note the bounds
The above example is to emphasize on the rate of change of x on t, which is important while defining f(x) through other parameters like t such as f(x) = f(g(t))
So (chain rule),
dx/dt describes the rate of change of x in t
LINE INTEGRAL
Line integral is the integration dealing with multiple variables. If our function is defined in f(x,y) or f(x,y,z) and line integration is the concept to find area along a path curve C.
Say, f(x,y) = x+y below is the scalar plot
Now from the 3D plot we can easily visualize the slope of f(x,y) = x + y. let’s find the area this function will make along a line from A(0,0) to B(1,1)
At A(0,0) => f(x,y) =0 & B(1,1) => f(x,y) = 2
Length AB = √2 = 1.41421..
Area of the triangle = 0.5 x 2 x √2 = √2 (Note f(x,y) is a linear function)
Let’s generalize our understanding. Line integral of a function f(x,y) along a path C is defined as
Analytically we solve line integral by parameterizing the path C. Length of the path C (Arc Length is defined as
The arc length concept is same as the parameterization of one dimensional functions y=f(x).
Example 1:
F(x,y) = x + y, path C is a line segment from A(2,2) to B(3,3). Find the line integral
Solution:
Parameterize the path AB
Line segment from point A to B is defined as A(1-t)+Bt for t = 0 to 1
x = 2(1-t)+3t = 2+t
dx/dt = dy/dt = 1
y = 2(1-t)+3t = 2+t
x+y = 4+2t
Alternatively, at A(2,2) => f(x,y) = 4 & B(3,3) => f(x,y) = 6
Area of the quadrilateral with sides A(2,2,0), Af(2,2,4), Bf(3,3,6), C(3,3,0) is
Example 2:
Below is another example of line integral with
F(x,y) = 3x2+5y2
Path Unit circle x2+y2 = 1
Solution:
Circle can be parameterized to
x = cos (t)
y= sin (t)
3x2+5y2 = 3* cos2 (t) + 5* sin2 (t)
VECTOR LINE INTEGRAL
Vector line integral is the evaluation of line integral in a vector field. The line integral for a path R(x,y) in a 2D vector field F(x,y) = <P(x,y), Q(x,y)> is given by
In physics line integral is the work done on a particle travelling on a curve C inside a force field F
Example:
The force field F is <6x, 10y> and our path is a triangle A(0,0), B(1,0) & C(0,1). Find the work done on a particle by moving it along the triangle path.
Solution
The triangle sides can be parameterized as individual lines C1, C2 & C3
C1: x = t; y = 0
= 3
C2: x = 1- t; y = t
= 2
C3: x = 0; y = 1-t
= - 5
See the below picture
Conservative Vector field
The vector field <6x,10y> is the gradient of the function (scalar potential) 3x2+5y2 which is called a conservative field. If we calculate the line integral in opposite direction the results will be still zero (-3-2+5)
Also from the picture we can clearly see that there is no circulation (vanishing curl) inside the bounds formed by the triangle which implies (according to Green’s theorem) that the line integral along the boundary should be zero.
Below are some of the examples, you can clearly see when the vector field is orthogonal to the path the values are becoming zero.