Line Integral Calculator

Visualize and calculate line integrals effortlessly. Enter your function, curve, and bounds to explore line integrals graphically and numerically.

Function to integrate. Use x and y as variables.

Parametric form of the curve. Use 't' as the parameter.

Lower limit of the parameter t.

Upper limit of the parameter t.

Line Integral Value:

Visualization

Understanding Line Integrals

A line integral is an integral where the function to be integrated is evaluated along a curve. In simpler terms, instead of integrating over an interval on the x-axis, we integrate along a path. This tool calculates the line integral of a scalar function over a curve in 2D space.

Formula

For a scalar function \( f(x, y) \) and a curve \( C \) parameterized by \( \mathbf{r}(t) = [x(t), y(t)] \) for \( a \leq t \leq b \), the line integral is given by:

$$ \int_C f(x, y) \, ds = \int_a^b f(x(t), y(t)) \sqrt{\left(\frac{dx}{dt}\right)^2 + \left(\frac{dy}{dt}\right)^2} \, dt $$

How to Use This Calculator