Calculus IV

Calculus IV Unit 18 – Line Integrals

Line integrals are a powerful tool in calculus, allowing us to evaluate functions along curves in space. They come in two main types: scalar line integrals, which integrate scalar functions, and vector line integrals, which integrate vector fields along paths. These integrals have wide-ranging applications in physics and engineering, from calculating work done by forces to measuring fluid flow. Key theorems like the Fundamental Theorem of Line Integrals and Green's Theorem connect line integrals to other concepts in multivariable calculus.

Key Concepts

  • Line integrals evaluate the integral of a function along a curve or path in a plane or space
  • Fundamental objects include a vector field F(x,y,z)\mathbf{F}(x, y, z) and a parameterized curve r(t)=(x(t),y(t),z(t))\mathbf{r}(t) = (x(t), y(t), z(t))
  • Line integrals have two main types: scalar line integrals and vector line integrals
    • Scalar line integrals integrate a scalar function along a curve
    • Vector line integrals integrate a vector field along a curve
  • The Fundamental Theorem of Line Integrals relates the line integral of a gradient field to the values of a potential function at the endpoints of the curve
  • Green's Theorem relates a line integral around a simple closed curve to a double integral over the region bounded by the curve
  • Line integrals have applications in physics (work, circulation) and engineering (flux, flow)

Definition and Intuition

  • A line integral is an integral where the function to be integrated is evaluated along a curve
  • Intuition: line integrals measure the accumulation of a quantity (scalar or vector) along a path
  • Denoted as Cf(x,y,z)ds\int_C f(x, y, z) \, ds for scalar line integrals or CFdr\int_C \mathbf{F} \cdot d\mathbf{r} for vector line integrals
    • CC represents the curve
    • dsds represents an infinitesimal arc length along the curve
    • drd\mathbf{r} represents an infinitesimal displacement vector along the curve
  • Geometrically, a scalar line integral can be interpreted as the area under the curve f(x,y,z)f(x, y, z) along the path CC
  • A vector line integral measures the work done by a force field F\mathbf{F} along the curve CC

Types of Line Integrals

  • Scalar line integrals: Cf(x,y,z)ds\int_C f(x, y, z) \, ds
    • Integrate a scalar function f(x,y,z)f(x, y, z) along a curve CC
    • Example: C(x2+y2)ds\int_C (x^2 + y^2) \, ds (integrating the function f(x,y)=x2+y2f(x, y) = x^2 + y^2 along CC)
  • Vector line integrals: CFdr\int_C \mathbf{F} \cdot d\mathbf{r}
    • Integrate a vector field F(x,y,z)\mathbf{F}(x, y, z) along a curve CC
    • Two types: line integrals with respect to arc length and line integrals with respect to coordinates
      • Line integrals with respect to arc length: CFTds\int_C \mathbf{F} \cdot \mathbf{T} \, ds, where T\mathbf{T} is the unit tangent vector to the curve
      • Line integrals with respect to coordinates: CFdr=CPdx+Qdy+Rdz\int_C \mathbf{F} \cdot d\mathbf{r} = \int_C P \, dx + Q \, dy + R \, dz, where F=(P,Q,R)\mathbf{F} = (P, Q, R)
  • Line integrals can be evaluated over closed curves (line integrals around a closed path) or open curves (line integrals from one point to another)

Calculating Line Integrals

  • Parameterize the curve CC using a vector function r(t)=(x(t),y(t),z(t))\mathbf{r}(t) = (x(t), y(t), z(t)), where atba \leq t \leq b
  • For scalar line integrals:
    • Substitute the parameterization into the function f(x,y,z)f(x, y, z)
    • Calculate the arc length differential: ds=r(t)dt=(dx/dt)2+(dy/dt)2+(dz/dt)2dtds = |\mathbf{r}'(t)| \, dt = \sqrt{(dx/dt)^2 + (dy/dt)^2 + (dz/dt)^2} \, dt
    • Integrate with respect to the parameter tt: abf(r(t))r(t)dt\int_a^b f(\mathbf{r}(t)) |\mathbf{r}'(t)| \, dt
  • For vector line integrals with respect to arc length:
    • Calculate the unit tangent vector: T(t)=r(t)/r(t)\mathbf{T}(t) = \mathbf{r}'(t) / |\mathbf{r}'(t)|
    • Dot the vector field with the unit tangent vector: F(r(t))T(t)\mathbf{F}(\mathbf{r}(t)) \cdot \mathbf{T}(t)
    • Integrate with respect to the parameter tt: abF(r(t))T(t)r(t)dt\int_a^b \mathbf{F}(\mathbf{r}(t)) \cdot \mathbf{T}(t) |\mathbf{r}'(t)| \, dt
  • For vector line integrals with respect to coordinates:
    • Substitute the parameterization into the vector field components: P(x(t),y(t),z(t))P(x(t), y(t), z(t)), Q(x(t),y(t),z(t))Q(x(t), y(t), z(t)), R(x(t),y(t),z(t))R(x(t), y(t), z(t))
    • Calculate the coordinate differentials: dx=(dx/dt)dtdx = (dx/dt) \, dt, dy=(dy/dt)dtdy = (dy/dt) \, dt, dz=(dz/dt)dtdz = (dz/dt) \, dt
    • Integrate with respect to the parameter tt: abP(x(t),y(t),z(t))dxdt+Q(x(t),y(t),z(t))dydt+R(x(t),y(t),z(t))dzdtdt\int_a^b P(x(t), y(t), z(t)) \frac{dx}{dt} + Q(x(t), y(t), z(t)) \frac{dy}{dt} + R(x(t), y(t), z(t)) \frac{dz}{dt} \, dt

Properties and Theorems

  • Linearity: For scalar functions ff and gg and constants aa and bb, C(af+bg)ds=aCfds+bCgds\int_C (af + bg) \, ds = a \int_C f \, ds + b \int_C g \, ds
  • Additivity: If a curve CC is split into two parts C1C_1 and C2C_2, then CFdr=C1Fdr+C2Fdr\int_C \mathbf{F} \cdot d\mathbf{r} = \int_{C_1} \mathbf{F} \cdot d\mathbf{r} + \int_{C_2} \mathbf{F} \cdot d\mathbf{r}
  • Fundamental Theorem of Line Integrals: If F=f\mathbf{F} = \nabla f is a conservative vector field, then CFdr=f(r(b))f(r(a))\int_C \mathbf{F} \cdot d\mathbf{r} = f(\mathbf{r}(b)) - f(\mathbf{r}(a)), where r(a)\mathbf{r}(a) and r(b)\mathbf{r}(b) are the endpoints of the curve CC
    • Consequence: The line integral of a conservative vector field is path-independent
  • Green's Theorem: Relates a line integral around a simple closed curve CC to a double integral over the region DD bounded by CC
    • CPdx+Qdy=D(QxPy)dA\oint_C P \, dx + Q \, dy = \iint_D \left(\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y}\right) \, dA
    • Useful for converting line integrals to double integrals and vice versa
  • Stokes' Theorem: Generalizes Green's Theorem to higher dimensions, relating the surface integral of the curl of a vector field over a surface to the line integral of the vector field around the boundary of the surface

Applications in Physics and Engineering

  • Work: The line integral CFdr\int_C \mathbf{F} \cdot d\mathbf{r} represents the work done by a force field F\mathbf{F} along a curve CC
    • Example: Work done by gravity on an object moving along a path
  • Circulation: The line integral CFdr\oint_C \mathbf{F} \cdot d\mathbf{r} represents the circulation of a vector field F\mathbf{F} around a closed curve CC
    • Example: Circulation of a fluid velocity field around a closed path
  • Flux: The surface integral SFdS\iint_S \mathbf{F} \cdot d\mathbf{S} represents the flux of a vector field F\mathbf{F} through a surface SS
    • Related to line integrals via Stokes' Theorem
    • Example: Electric flux through a surface in an electric field
  • Flow: Line integrals can be used to calculate the flow of a fluid along a curve
    • Example: Mass flow rate of a fluid through a pipe
  • Potential difference: The line integral of an electric field along a path gives the potential difference (voltage) between the endpoints
    • VbVa=abEdrV_b - V_a = -\int_a^b \mathbf{E} \cdot d\mathbf{r}

Common Pitfalls and Tips

  • Choosing the wrong parameterization can make the integral more difficult to evaluate
    • Try to choose a parameterization that simplifies the integrand
  • Forgetting to calculate the arc length differential (dsds) or coordinate differentials (dxdx, dydy, dzdz)
    • Always include these terms in the integral
  • Misinterpreting the meaning of the line integral
    • Be clear about what the integral represents in the context of the problem (work, circulation, flux, etc.)
  • Incorrectly applying the Fundamental Theorem of Line Integrals
    • The theorem only applies to conservative vector fields (fields that are the gradient of a scalar potential function)
  • Not checking the continuity and differentiability of the functions involved
    • Line integrals require the functions to be continuous and differentiable along the curve
  • Tips:
    • Sketch the curve and the vector field (if applicable) to visualize the problem
    • Break the curve into smaller, simpler segments if needed
    • Use symmetry or other properties of the curve and vector field to simplify the integral
    • Check your answer using alternative methods (e.g., Green's Theorem) when possible

Practice Problems and Examples

  1. Evaluate the line integral C(x+y)ds\int_C (x + y) \, ds, where CC is the straight line segment from (0,0)(0, 0) to (1,1)(1, 1).
    • Parameterize the line: r(t)=(t,t)\mathbf{r}(t) = (t, t), 0t10 \leq t \leq 1
    • ds=2dtds = \sqrt{2} \, dt
    • C(x+y)ds=01(t+t)2dt=2\int_C (x + y) \, ds = \int_0^1 (t + t) \sqrt{2} \, dt = \sqrt{2}
  2. Calculate the work done by the force field F(x,y)=(x2,y)\mathbf{F}(x, y) = (x^2, y) along the curve CC given by y=x2y = x^2 from (0,0)(0, 0) to (1,1)(1, 1).
    • Parameterize the curve: r(t)=(t,t2)\mathbf{r}(t) = (t, t^2), 0t10 \leq t \leq 1
    • F(r(t))=(t2,t2)\mathbf{F}(\mathbf{r}(t)) = (t^2, t^2)
    • dr=(1,2t)dtd\mathbf{r} = (1, 2t) \, dt
    • CFdr=01(t21+t22t)dt=76\int_C \mathbf{F} \cdot d\mathbf{r} = \int_0^1 (t^2 \cdot 1 + t^2 \cdot 2t) \, dt = \frac{7}{6}
  3. Use Green's Theorem to evaluate the line integral C(2x+y2)dx+(x22y)dy\oint_C (2x + y^2) \, dx + (x^2 - 2y) \, dy, where CC is the boundary of the region enclosed by the parabola y=x2y = x^2 and the line y=4y = 4.
    • Identify P(x,y)=2x+y2P(x, y) = 2x + y^2 and Q(x,y)=x22yQ(x, y) = x^2 - 2y
    • QxPy=2x2y\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y} = 2x - 2y
    • Use Green's Theorem: C(2x+y2)dx+(x22y)dy=D(2x2y)dA\oint_C (2x + y^2) \, dx + (x^2 - 2y) \, dy = \iint_D (2x - 2y) \, dA
    • Evaluate the double integral over the region DD bounded by y=x2y = x^2 and y=4y = 4
  4. Determine whether the vector field F(x,y)=(ycosx,sinx)\mathbf{F}(x, y) = (y \cos x, \sin x) is conservative, and if so, find a potential function f(x,y)f(x, y) such that F=f\mathbf{F} = \nabla f.
    • Check if Py=Qx\frac{\partial P}{\partial y} = \frac{\partial Q}{\partial x}
    • Py=cosx\frac{\partial P}{\partial y} = \cos x and Qx=cosx\frac{\partial Q}{\partial x} = \cos x, so F\mathbf{F} is conservative
    • To find a potential function, integrate PP with respect to xx: f(x,y)=ycosxdx=ysinx+C(y)f(x, y) = \int y \cos x \, dx = y \sin x + C(y)
    • Differentiate ff with respect to yy and compare with QQ: fy=sinx+C(y)=sinx\frac{\partial f}{\partial y} = \sin x + C'(y) = \sin x, so C(y)=0C(y) = 0
    • A potential function is f(x,y)=ysinxf(x, y) = y \sin x
  5. Verify Stokes' Theorem for the vector field F(x,y,z)=(y2,xz,x2)\mathbf{F}(x, y, z) = (y^2, xz, x^2) and the surface SS given by z=4x2y2z = 4 - x^2 - y^2, z0z \geq 0, oriented upward.
    • Stokes' Theorem states that S(×F)dS=CFdr\iint_S (\nabla \times \mathbf{F}) \cdot d\mathbf{S} = \oint_C \mathbf{F} \cdot d\mathbf{r}, where CC is the boundary of SS
    • Calculate ×F=(2x,2y,zx)\nabla \times \mathbf{F} = (2x, -2y, z - x)
    • Parameterize the surface: r(r,θ)=(rcosθ,rsinθ,4r2)\mathbf{r}(r, \theta) = (r \cos \theta, r \sin \theta, 4 - r^2), 0r20 \leq r \leq 2, 0θ2π0 \leq \theta \leq 2\pi
    • S(×F)dS=02π02(2rcosθ,2rsinθ,4r2rcosθ)(rcosθ,rsinθ,2r)drdθ=8π\iint_S (\nabla \times \mathbf{F}) \cdot d\mathbf{S} = \int_0^{2\pi} \int_0^2 (2r \cos \theta, -2r \sin \theta, 4 - r^2 - r \cos \theta) \cdot (r \cos \theta, r \sin \theta, -2r) \, dr \, d\theta = -8\pi
    • Parameterize the boundary curve: r(θ)=(2cosθ,2sinθ,0)\mathbf{r}(\theta) = (2 \cos \theta, 2 \sin \theta, 0), 0θ2π0 \leq \theta \leq 2\pi
    • $\oint_C \mathbf{F}


© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.

© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.