line integral over a circle

Line Integral Over a Circle: Formula, Steps, and Solved Examples

By Rachel Robinson
AD

A line integral over a circle is one of the most useful calculations in multivariable calculus, physics, and engineering because circular paths appear everywhere. From the motion of a charged particle in a magnetic field to the circulation of fluid around a pipe, the geometry of a circle often makes a difficult integral surprisingly manageable. The key is to replace the curved path with a clean parameterization, usually using sine and cosine, and then evaluate an ordinary integral in one variable.

There are two main types of line integrals to keep in mind: scalar line integrals, written with a small arc length element such as ds, and vector line integrals, written with a dot product such as F · dr. A scalar line integral might measure mass along a circular wire with variable density, while a vector line integral might measure work or circulation around a closed loop. Orientation matters for the vector version, but for the scalar version it does not.

Core Geometry and Parameterization of Circular Paths

A circle is a closed curve, and its simplicity comes from its constant radius and smooth parameterization. For a circle of radius R centered at the origin, the most common parameterization is x = R cos t and y = R sin t, where t runs from 0 to 2π. This traces the circle once in the counterclockwise direction. If the circle is centered at (h, k), the parameterization becomes x = h + R cos t and y = k + R sin t.

AD
a circle with the center and sides labeled in two different languages, one is inscribed on it
a circle with the center and sides labeled in two different languages, one is inscribed on it
a black and white photo of a clock face on a white background with the word time
a black and white photo of a clock face on a white background with the word time
Space curve
Space curve

The derivative of the parameterization gives the tangent vector at each point. For the origin-centered circle, dx/dt = -R sin t and dy/dt = R cos t. The speed is the magnitude of this derivative, and because sin²t + cos²t = 1, the speed simplifies to R. That means the arc length element is ds = R dt, which is why many line integrals over a circle reduce to an integral from 0 to 2π with an extra factor of R.

Setting Up the Parameterization

To set up a line integral over a circle, first identify the radius, center, and orientation. If the problem describes a circle of radius 3 centered at (2, -1), then x = 2 + 3 cos t and y = -1 + 3 sin t with 0 ≤ t ≤ 2π is a natural choice for counterclockwise motion. The derivatives dx/dt and dy/dt remain -3 sin t and 3 cos t, so the speed is still 3 and ds = 3 dt.

three circles are shown in the dark with lines going through each circle, and there is no image to describe
three circles are shown in the dark with lines going through each circle, and there is no image to describe
Lissajous Curves: Complex Harmonic Motion
Lissajous Curves: Complex Harmonic Motion
an image of a curve with the slope at one end and point at the other
an image of a curve with the slope at one end and point at the other

Orientation can be reversed by replacing t with -t or by integrating from 2π down to 0. For scalar line integrals, this reversal does not change the value because ds measures arc length independent of direction. For vector line integrals, however, reversing the direction changes the sign of the result. This distinction is critical when a problem asks for work done along a specific path rather than just a geometric accumulation.

Scalar and Vector Forms

A scalar line integral over a circle has the form ∫_C f(x, y) ds. After parameterization, it becomes ∫_0^{2π} f(R cos t, R sin t) R dt. If f depends only on the distance from the origin, then on the circle x² + y² = R², the function f becomes a constant. For example, if f(x, y) = x² + y², then on a circle of radius R the integrand is R², so the integral is R² times the circumference, or 2πR³.

AD

A vector line integral over a circle has the form ∫_C F · dr, which is often written as ∫_C P dx + Q dy in two dimensions. After parameterization, it becomes ∫_0^{2π} F(r(t)) · r'(t) dt. This version computes circulation or work, and its value depends on how the vector field aligns with the tangent direction of the circle. A field that points purely radially, for instance, contributes nothing to circulation because it is perpendicular to the tangent.

an image of a black background with yellow circles
an image of a black background with yellow circles
Untitled
Untitled
an abstract drawing with lines and circles
an abstract drawing with lines and circles
Looping AI Loading Animation | Minimal Circle with Dynamic Line & Squares
Looping AI Loading Animation | Minimal Circle with Dynamic Line & Squares
the unit circle to sine wave
the unit circle to sine wave
a black and white photo of a circle made out of small dots on a white background
a black and white photo of a circle made out of small dots on a white background

Worked Methods and Theorems for Circular Line Integrals

Most circular line integrals can be evaluated in one of two ways: direct parameterization or a theorem such as Green's theorem. Direct parameterization is straightforward and reliable, especially when the vector field is simple or the radius is fixed. Green's theorem is often faster for closed curves because it converts the line integral into a double integral over the disk enclosed by the circle.

When using Green's theorem, the circle must be a simple closed curve oriented counterclockwise, and the vector field must be continuously differentiable on and inside the region. The theorem states that ∮_C P dx + Q dy = ∬_D (∂Q/∂x - ∂P/∂y) dA. If the curl term is constant, the double integral is just that constant times the area of the disk, πR². This turns a potentially messy trigonometric integral into a simple multiplication.

AD

Example of Work Done Around a Circle

Consider the vector field F = (-y, x) and the circle of radius R centered at the origin, traversed counterclockwise. Parameterize with r(t) = (R cos t, R sin t), so r'(t) = (-R sin t, R cos t). Then F(r(t)) = (-R sin t, R cos t). The dot product F · r' is R² sin²t + R² cos²t = R². Integrating from 0 to 2π gives 2πR², which is the circulation around the circle.

an image of a golden section in the shape of a circle with four intersecting sections
an image of a golden section in the shape of a circle with four intersecting sections
Persamaan Garis Singgung Lingkaran
Persamaan Garis Singgung Lingkaran
an abstract black and white design with circles
an abstract black and white design with circles

Now compare that with F = (x, y) on the same circle. Here F(r(t)) = (R cos t, R sin t), and r'(t) = (-R sin t, R cos t). The dot product is -R² cos t sin t + R² sin t cos t = 0. The integral is therefore zero. This happens because F = (x, y) is conservative, equal to the gradient of ½(x² + y²), and the work done by a conservative field around any closed loop is always zero.

Green's Theorem and Polar Coordinates

Green's theorem is especially elegant for circles because polar coordinates match the geometry perfectly. For F = (-y, x), the curl ∂Q/∂x - ∂P/∂y equals 2. The double integral over the disk of radius R is therefore 2 times the area, which gives 2πR², matching the direct parameterization. If the curl is a function of r, such as x² + y² = r², then the double integral becomes ∫_0^{2π} ∫_0^R r² · r dr dθ, which evaluates to πR⁴/2.

AD

Polar coordinates also help when the vector field has symmetry or when the region is an annulus. If the path is a circle but the field has a singularity at the center, Green's theorem may need to be applied to a punctured region, or the integral may be evaluated directly. For example, the field F = (-y/(x²+y²), x/(x²+y²)) has nonzero circulation around the origin, but the singularity prevents a naive application of Green's theorem over the entire disk. Recognizing such cases prevents incorrect cancellation and keeps the calculation rigorous.

The next time you encounter a line integral over a circle, begin by writing a clean parameterization, identify whether the integral is scalar or vector, and check whether the field is conservative. If the path is closed and the field is well-behaved, Green's theorem or polar coordinates can often shorten the work dramatically. With a little practice, circular paths become one of the most predictable and satisfying settings for line integrals.

AD