Line integrals
A single-variable integral totals a function along a straight segment of the -axis. A line integral does the same job along a curved path in space, and it totals a vector field rather than a scalar — at every point of the curve it asks how much the field points along the direction of travel, and adds that up. The single most important reading of this in MA10002 is mechanical: if is a force field, is the work that force does on a particle dragged along the curve . This topic sits right after divergence, curl and the Laplacian in the vector calculus unit, and it opens the door to Green's, Gauss's and Stokes's theorems later in the course. Everything here reduces to one trick: turn the curve into a single parameter , and the line integral collapses into an ordinary definite integral you already know how to evaluate.
A line integral measures the total component of a vector field along a curve's direction of travel, and is computed by parametrizing the curve so the integral collapses to an ordinary single-variable integral in .
The core idea
Setting up the object. Let be a curve given by a parametrization for , and let be a vector field defined at points of . The line integral of along is
where: is the tangent vector to (its direction is the direction of travel), and the dot product picks out only the part of pointing along that tangent at each instant. The same integral is often written in the equivalent differential form , which is just the dot-product form with spelled out.
Why the dot product. A vector field can point in any direction relative to the curve — along it, against it, or sideways to it. Only the component along the curve contributes to the running total; a field perpendicular to the path at some instant contributes nothing there. The dot product is exactly the algebraic device that extracts this "along the path" component, instant by instant, before the ordinary integral adds them all up.
Work interpretation. If is a force field (units: newton, and lengths in metres), then is the work (units: joule) that the force does on a particle moving along from its start point to its end point. This is by far the most common physical reading of a line integral in this course, and almost every exam problem is dressed up as "find the work done."
Orientation matters. A curve traversed in one direction and the same curve traversed in the opposite direction give line integrals that are negatives of each other, because reversing direction flips the sign of the tangent vector . Always check that the chosen parametrization starts and ends where the problem says it should.
Piecewise curves. If is made of several joined pieces, the line integral over is simply the sum of the line integrals over each piece, each evaluated with its own parametrization.
The goal is to show precisely why the abstract definition always reduces to an ordinary definite integral in one variable once a curve is parametrized, so that every line-integral problem in this course becomes a four-step mechanical procedure rather than a fresh puzzle each time.
Step 1. Fix a parametrization of : write , , for , chosen so that gives the curve's start point and gives its end point (reversing this choice reverses the sign of the final answer). This turns the two- or three-dimensional curve into a single real-number line, the interval , which is the whole point: everything downstream is one-dimensional calculus.
Step 2. Differentiate the parametrization to get the tangent vector . This vector records the instantaneous direction and speed of travel along as increases, and it is exactly the that appears in once both sides are divided by .
Step 3. Substitute into the components of to obtain , the field evaluated along the curve rather than over all of space. Then form the dot product ; because and are both now expressed purely in terms of , this dot product is a single ordinary function .
Step 4. Integrate over with ordinary single-variable calculus: . No new integration technique is needed beyond what a student already owns; the entire content of "line integral" is contained in Steps 1 to 3, which convert a geometric object (a curve carrying a field) into an algebraic one (a function of on an interval). Verified: applying Steps 1 to 4 to the two worked examples below reproduces exactly the values J and J obtained directly from the definition.
Worked example
Problem. Evaluate where (force in newtons, in metres) and is the straight-line segment from to .
Step 1. Parametrize . A straight segment from to is given by , , : at this is , and at it is , matching the required start and end points.
Step 2. Differentiate: , , so .
Step 3. Substitute into : and . Form the dot product,
The and cancel, a useful consistency check that the algebra is on track.
Step 4. Integrate: . So : the force does joules of work moving the particle from to along the straight line.
Competitive stretch
Now change only the path: let be the two-piece path from straight to , then straight up to , using the same . On : , so , , , and the integrand is , giving . On : , so , , , and the integrand is , giving . Total: J — different from the straight-line value of J for the same endpoints, confirming this is path-dependent (not conservative), the exact question the next topic in the syllabus takes up systematically.
Common traps
- Forgetting orientation: reversing the direction of travel along the same curve flips the sign of , since reverses. Always check the parametrization matches the stated start and end points, or stated direction around a closed curve.
- Confusing this with the scalar line integral (which uses the arc-length differential ) and using where the problem actually wants the vector differential — these are two different integrals with two different setups.
- Choosing a parametrization for a straight segment that does not actually land on both endpoints at the stated parameter values — always verify and give the correct start and end points before integrating.
- Dropping the dot product and integrating or the field's components separately — the line integral of a vector field intrinsically depends on the angle between and the tangent direction, not just the field's magnitude.
Ask the tutor: Want to work through a line integral over a helix or an ellipse, or check whether a given field is conservative, with the AI tutor?
Do I always have to use t as the parameter, or can I use x or y directly?
You can parametrize with whichever variable makes the curve's equation simplest — using itself as the parameter (so is written as a function of ) is perfectly valid and often faster for curves already given as . Whatever letter you use plays the role of : it must run over a single interval, increasing from the start point to the end point, and every coordinate must be expressed in terms of it before you differentiate and dot with .
Why did the two paths in the competitive stretch give different answers for the same start and end points?
Because the field is not conservative: its line integral genuinely depends on the route taken, not just the endpoints. Some fields (called conservative, arising as the gradient of a potential function) do give the same answer for every path between two fixed points — that special and very useful case is exactly the next topic after this one, and the way to test for it is a criterion you will meet there.
What is the difference between the line integral here and a normal definite integral from earlier calculus?
An ordinary definite integral totals a scalar function over a straight segment of the -axis. A line integral generalizes this in two ways at once: the path can be any curve in the plane or in space, and the thing being totalled is a vector field's component along that curve rather than a plain function's height. The parametrization step is exactly what bridges the two — it turns the curved, vector problem back into an ordinary one-variable integral you already know how to compute.