Line Integral Calculator

Type the curve r(t), the interval of t and the function or field to integrate.

A function of x and y (and z for a space curve), integrated along the curve with respect to arc length.

The components in t, separated by commas: 2 or 3 of them, such as (cos(t), sin(t), t).

A number such as 0 or pi/2.

A number larger than the start, such as 1 or 2pi.

Try

Result

You entered∫Cf ds,r(t)=(t,t), 0≤t≤1\int_C f\,ds,\quad \mathbf{r}(t) = \left(t, t\right),\ 0 \le t \le 1

2≈1.414214\displaystyle \sqrt{2} \approx 1.414214

Decimal

≈1.414214\displaystyle \approx 1.414214
Show the work
  1. Line integral of a scalar function

    The arc length element is ds=∣r′(t)∣ dtds = |\mathbf{r}'(t)|\,dt, so the integral adds ff along the curve weighted by length.

    Using ∫Cf ds=∫abf(r(t)) ∣r′(t)∣ dt\int_C f\,ds = \int_a^b f(\mathbf{r}(t))\,\left|\mathbf{r}'(t)\right|\,dt

    r(t)=(t,t)\mathbf{r}(t) = \left(t, t\right)
  2. Velocity and speed

    Differentiate r(t)\mathbf{r}(t) and take the length of the result.

    r′(t)=(1,1)∣r′(t)∣=2\begin{gathered} \mathbf{r}'(t) = \left(1, 1\right) \\ \left|\mathbf{r}'(t)\right| = \sqrt{2} \end{gathered}
  3. Function along the curve

    Replace x,yx, y in ff by the components of r(t)\mathbf{r}(t) and multiply by the speed.

    f(r(t))=2tf(r(t))∣r′(t)∣=22 t\begin{gathered} f(\mathbf{r}(t)) = 2t \\ f(\mathbf{r}(t))\left|\mathbf{r}'(t)\right| = 2\sqrt{2}\,t \end{gathered}
  4. Constant multiple rule

    The constant factor 222\sqrt{2} can be moved outside the integral.

    Using ∫c f(x) dx=c∫f(x) dx\int c\,f(x)\,dx = c\int f(x)\,dx

    ∫22 t dt=22∫t dt\int 2\sqrt{2}\,t\,dt = 2\sqrt{2}\int t\,dt
  5. Power rule for integrals

    This is one of the basic integrals, so the answer is read straight from the table.

    Using ∫xn dx=xn+1n+1+C\int x^n\,dx = \frac{x^{n+1}}{n+1} + C

    ∫t dt=t22\int t\,dt = \frac{t^{2}}{2}
  6. Integral over t

    Integrate with respect to tt from 00 to 11.

    Using ∫abf dt=F(b)−F(a)\int_a^b f\,dt = F(b) - F(a)

    ∫0122 t dt=[2 t2]01=2\begin{aligned} \int_{0}^{1} 2\sqrt{2}\,t\,dt &= \left[\sqrt{2}\,t^{2}\right]_{0}^{1} \\ &= \sqrt{2} \end{aligned}
  7. Result

    The value of the integral.

    ∫0122 t dt=2≈1.414214\int_{0}^{1} 2\sqrt{2}\,t \,dt = \sqrt{2} \approx 1.414214

Worked examples