Home › Physics › Mechanics › Line Integrals in Mechanics
Mechanics

Line Integrals in Mechanics

A line integral in mechanics evaluates the accumulation of a vector or scalar field along a specified curve in space. It is fundamental for determining physical quantities such as work done by a force and the potential energy associated with conservative fields.

UP TGT ScienceUP PGT PhysicsStudy Notes + Practice

Scope and prerequisites

TGT core

Evaluation of line integrals for constant and straightforward position-dependent forces along straight-line paths or simple coordinate axes in Cartesian coordinates.

PGT extension

Computation of work along arbitrary spatial paths, testing for path independence, identifying conservative force fields via curl conditions (∇ × F = 0), and deriving scalar potential functions.

Prerequisites

  • Vector algebra (dot product and cross product)
  • Partial differentiation and total derivatives
  • Parametric representation of curves in 2D and 3D space

Definition of Work Line Integral

  • The line integral of a vector force field F along a smooth directed curve C from point A to B is defined as the integral of the tangential component of F along C.
  • It physically represents the mechanical work done by the force in moving a particle along the path C.
  • In SI units, it is measured in Joules (J) or kg m² s².

Conservative Forces and Path Independence

  • A force field is conservative if the line integral around any closed loop is identically zero.
  • For conservative forces, the line integral between two points is independent of the path taken and depends only on the initial and final positions.
  • Examples include the gravitational force and electrostatic force, closely linked to central force problems in mechanics.

Relation to Potential Energy

  • The change in potential energy ΔU between two points is defined as the negative of the work done by the conservative force along any path connecting them.
  • Mathematically, $F = -\nabla U$, establishing that the force is the negative gradient of the scalar potential field.
  • This concept reduces the complexity of mechanical problems by utilizing scalar energy conservation instead of vector equations of motion.

Non-Conservative Forces (e.g., Friction and Coriolis Force)

  • Forces for which the line integral along a closed path is non-zero are classified as non-conservative.
  • Friction dissipates mechanical energy, making the line integral path-dependent.
  • The Coriolis force, arising in non-inertial rotating frames, performs zero work instantaneously because it is always perpendicular to the velocity vector (F · v = 0).

Derivations

Work Done by a Uniform Gravitational Force

Conditions: Particle moves from height y_1 to y_2 in a uniform gravitational field g near the Earth's surface.

  • Express the gravitational force vector as $F = -mg \hat{j}$.
  • Express the infinitesimal displacement vector along an arbitrary path as d$r = dx \hat{i} + dy \hat{j} + dz \hat{k}$.
  • Set up the line integral: $W = \int_{A}^{B} F \cdot dr = \int_{y_1}^{y_2} (-mg \hat{j}) \cdot (dx \hat{i} + dy \hat{j} + dz \hat{k})$.
  • Evaluate the dot product: $W = \int_{y_1}^{y_2} -mg dy$.
  • Integrate with respect to y to obtain the final result: $W = -mg(y_2 - y_1)$.

Result: $W = -\Delta U$, where \Delta $U = mg(y_2 - y_1)$

Condition for Path Independence (Conservative Field)

Conditions: Force field F is continuously differentiable in a simply connected domain.

  • State the requirement that the line integral around any closed loop C is zero: \oint_{C} F \cdot dr = 0.
  • Apply Stokes' theorem to convert the closed line integral into a surface integral: \iint_{S} (\nabla \times F) \cdot dS = 0.
  • Argue that since this holds for any arbitrary surface S bounded by C, the integrand must vanish everywhere in the domain.
  • Deduce the differential condition: \nabla \times F = 0.

Result: \nabla \times F = 0 (Curl of the force field is zero)

Formula sheet

Formula / lawEquationVariables and unitsConditions
General Line Integral of a Vector Field$$W = \int_{C} F \cdot dr$$F = Force vector, dr = Infinitesimal displacement vector
Joules (J)
Curve C must be piecewise smooth and parameterized.
Cartesian Component Form$$W = \int_{C} (F_x dx + F_y dy + F_z dz)$$F_x, F_y, $F_z = Rectangular components of force$
Joules (J)
Cartesian coordinate system
Work-Energy Theorem via Line Integral$$W_{net} = \int_{r_1}^{r_2} m \frac{dv}{dt} \cdot dr = \frac{1}{2}mv_2^2 - \frac{1}{2}mv_1^2$$m = mass, v = velocity, r = position vector
Joules (J)
Valid in inertial reference frames
Potential Energy Difference$$U(r_2) - U(r_1) = - \int_{r_1}^{r_2} F \cdot dr$$U = Potential energy, F = Conservative force
Joules (J)
Path independent integration
Central Force Line Integral$$W = \int_{r_1}^{r_2} f(r) \hat{r} \cdot dr = \int_{r_1}^{r_2} f(r) dr$$f(r) = Magnitude of central force, r = Radial distance
Joules (J)
Force is directed radially toward or away from a fixed center.
Closed Loop Condition for Conservative Force$$\oint_{C} F \cdot dr = 0$$C = Any closed contour
Joules (J)
No energy dissipation via non-conservative forces
Differential Test for Conservativeness$$\frac{\partial F_y}{\partial x} = \frac{\partial F_x}{\partial y} \text{ (in 2D)}$$F_x, $F_y = Force components$
Dimensionless consistency condition
2D Cartesian space
Gravitational Potential Energy Line Integral$$U(r) = - \int_{\infty}^{r} \left(-\frac{GMm}{r^2} \hat{r}\right) \cdot (dr \hat{r}) = -\frac{GMm}{r}$$G = Gravitational constant, M, m = masses, r = separation
Joules (J)
Reference level set at infinity

Graphs and experiments

Path Independence vs Path Dependence

Draw: Two points A and B in the xy-plane connected by multiple distinct paths C_1, C_2, and a closed loop formed by C_1 and C_2 combined.

Interpret: For conservative fields, the line integral value is identical along C_1 and C_2. For non-conservative fields (like friction), the integrals differ, and the net loop integral is non-zero.

Exam use: Tested conceptually in TGT to identify conservative fields and mathematically in PGT using vector identities.

Force vs Displacement (Central Force)

Draw: A curve showing gravitational force magnitude f(r) = -GMm/r² plotted against radial distance r.

Interpret: The area under the force-displacement curve between r_1 and r_2 represents the work done by the central force, corresponding to the line integral evaluation.

Exam use: Used in numerical problem visualization for escape velocity and orbital energy.

Work Done by Variable Force Along Straight Line

Draw: A graph of F_x versus x with an arbitrary curve, partitioned into vertical strips of width dx.

Interpret: Demonstrates the Riemann sum concept that forms the foundation of the 1D line integral.

Exam use: Core concept foundation for TGT mechanics problems.

Solved numericals

TGT core

Find the work done by a constant force $F = 2 \hat{i} + 3 \hat{j} N in displacing a particle from position r_1 = \hat{i} - \hat{j} m$ to $r_2 = 3 \hat{i} + 2 \hat{j} m$.

  • Determine the displacement vector d$r = r_2 - r_1$.
  • d$r = (3 - 1) \hat{i} + (2 - (-1)) \hat{j} = 2 \hat{i} + 3 \hat{j} m$.
  • Calculate the line integral / work done: $W = F \cdot dr = (2)(2) + (3)(3)$.
  • $W = 4 + 9 = 13 J$.

Answer: 13 J

PGT extension

Evaluate the line integral $W = \int_{C} (3x^2 dx + 2y dy)$, where C is the parabola y = x^2 from the origin (0,0) to the point (1,1).

  • Parameterize the curve using x = t, which gives $y = t^2$.
  • Determine differentials: dx = dt and dy = 2t dt.
  • Set the limits for parameter t from t = 0 to t = 1.
  • Substitute into the integral: \int_{0}^{1} [3(t^2)(dt) + 2(t^2)(2t dt)] = \int_{0}^{1} (3t^2 + 4t^3) dt.
  • Perform integration: [ t^3 + t^4 ]_{0}^{1} = (1 + 1) - (0) = 2 J.

Answer: 2 J

PGT extension

Show that the force field $F = (2xy + z^3) \hat{i} + (x^2) \hat{j} + (3xz^2) \hat{k}$ is conservative and find the scalar potential U such that $F = -\nabla U$.

  • Compute the curl of F: \nabla \times F = \left| \begin{matrix} i^ & j^ & k^ \\ \frac{\partial}{\partial x} & \frac{\partial}{\partial y} & \frac{\partial}{\partial z} \\ 2xy+z^3 & x^2 & 3xz^2 \end{matrix} \right|.
  • Evaluate components: i^ (0 - 0) - j^ (3z^2 - 3z^2) + k^ (2x - 2x) = 0 i^ + 0 j^ + 0 k^.
  • Since \nabla \times F = 0, the force is conservative.
  • Set - \frac{\partial U}{\partial x} = 2xy + z^3, - \frac{\partial U}{\partial y} = x^2, and - \frac{\partial U}{\partial z} = 3xz^2.
  • Integrate partial derivatives to find U(x,y,z) = -x^2 y - xz^3 + constant.

Answer: Conservative field with potential $U = -x^2 y - xz^3$

Assumptions and limitations

  • Line integrals in classical mechanics assume macroscopic particles where quantum fluctuations of position and momentum are negligible.
  • Paths of integration are assumed to be continuous and piecewise smooth in standard coordinate systems.

Common misconceptions

Common error: The line integral of any force field between two points is independent of the path.

Correct: Path independence holds exclusively for conservative force fields.

Non-conservative forces like friction depend heavily on the specific trajectory taken.

Common error: The Coriolis force does work on a particle in a rotating frame because it appears in the equation of motion.

Correct: The Coriolis force does zero work on a particle.

The Coriolis force is always perpendicular to the velocity vector of the particle (F_c \cdot v = 0), yielding zero incremental work.

Quick revision

  • Work done by a force is the line integral W = \int C F \cdot dr.
  • A force is conservative if and only if its curl is zero (\nabla \times F = 0).
  • Conservative forces allow the definition of potential energy: \Delta $U = -W$.
  • The line integral around any closed loop in a conservative field is zero.

Must remember

  • The work done by a force field $F$ along a smooth directed curve $C$ is given by the line integral $W = \int_{C} F \cdot dr$.
  • A force field is conservative if and only if its line integral around any closed loop is identically zero ($\oint_{C} F \cdot dr = 0$).
  • For conservative forces, the line integral between two points is completely independent of the path taken and depends only on the initial and final positions.
  • The relationship between a conservative force and its potential energy $U$ is expressed as $F = -\nabla U$, or $U(r_2) - U(r_1) = -\int_{r_1}^{r_2} F \cdot dr$.
  • Non-conservative forces such as friction dissipate mechanical energy, making their line integrals path-dependent and non-zero for closed loops.
  • The Coriolis force in rotating frames does zero instantaneous work because it remains perpendicular to the velocity vector ($F \cdot v = 0$).

Glossary

Work Line IntegralThe integration of the tangential component of a vector force field along a directed curve, representing mechanical work.
Conservative ForceA force for which work done along a path is independent of the path and depends only on endpoints, with zero closed-loop line integral.
Potential EnergyA scalar energy function $U$ whose negative gradient yields the conservative force vector ($F = -\nabla U$).
Non-Conservative ForceA force such as friction whose work depends on the path taken and which results in mechanical energy dissipation.
Coriolis ForceA fictitious force in rotating reference frames that performs zero work since it is always perpendicular to the particle velocity.
Central ForceA force whose line of action always passes through a fixed center point, directed radially as $f(r) \hat{r}$.

Conservative vs Non-Conservative Forces

FeatureConservative ForcesNon-Conservative Forces
Closed Loop Work$\oint F \cdot dr = 0$$\oint F \neq 0$
Path DependencePath independentPath dependent
Potential EnergyDefined ($F = -\nabla U$)Not defined
ExamplesGravitational, ElectrostaticFriction, Air resistance

Practice Quiz

Choose an option to reveal the explanation.

1. What does the line integral $\int_{C} F \cdot dr$ physically represent in mechanics?

Explanation: The line integral of a force vector $F$ along a directed curve $C$ computes the mechanical work $W$ done by the force in moving a particle along that path.

2. Which of the following conditions is necessary and sufficient for a force field $F$ to be conservative?

Explanation: A force field is conservative if and only if its line integral around any closed loop is identically zero, meaning $\oint_{C} F \cdot dr = 0$.

3. What is the SI unit of the work line integral $W = \int_{C} F \cdot dr$?

Explanation: Work line integrals represent energy and are measured in Joules (J), which are dimensionally equivalent to $\text{kg m}^2 \text{s}^{-2}$.

4. How is the change in potential energy $\Delta U$ between two points related to the conservative force $F$?

Explanation: The change in potential energy is defined as the negative of the work done by the conservative force along any path connecting the two points: $U(r_2) - U(r_1) = -\int_{r_1}^{r_2} F \cdot dr$.

5. Which of the following forces is classified as non-conservative?

Explanation: Friction dissipates mechanical energy and its line integral along a closed path is non-zero, making it a non-conservative force.

6. Why does the Coriolis force do zero work on a particle moving in a rotating reference frame?

Explanation: The Coriolis force is always perpendicular to the velocity vector ($F_c \cdot v = 0$), meaning the instantaneous rate of work done is zero.

7. In a 2D Cartesian coordinate system, what is the differential test for a force component pair $(F_x, F_y)$ to be conservative?

Explanation: For a 2D force field to be conservative, the curl component must vanish, yielding the equality of mixed partial derivatives $\frac{\partial F_y}{\partial x} = \frac{\partial F_x}{\partial y}$.

8. What is the gravitational potential energy of a point mass $m$ at a distance $r$ from a mass $M$, setting the reference level at infinity?

Explanation: Integrating the central gravitational force from infinity to $r$ yields $U(r) = -\int_{\infty}^{r} \left(-\frac{GMm}{r^2}\right) dr = -\frac{GMm}{r}$.

9. Which expression gives the Cartesian component form of the work line integral?

Explanation: In Cartesian coordinates, the vector dot product $F \cdot dr$ expands into $(F_x \hat{i} + F_y \hat{j} + F_z \hat{k}) \cdot (dx \hat{i} + dy \hat{j} + dz \hat{k}) = F_x dx + F_y dy + F_z dz$.

10. According to the Work-Energy Theorem expressed via line integrals, what does $W_{net} = \int_{r_1}^{r_2} m \frac{dv}{dt} \cdot dr$ equal?

Explanation: Evaluating the work line integral of net force yields the change in kinetic energy: $\frac{1}{2}mv_2^2 - \frac{1}{2}mv_1^2$.

11. If a force field is given by $F = -\nabla U$, what does this imply about the nature of the force?

Explanation: Expressing force as the negative gradient of a scalar potential ($F = -\nabla U$) is the defining characteristic of conservative force fields.

12. For a central force $f(r) \hat{r}$, what simplifies the line integral $W = \int_{r_1}^{r_2} f(r) \hat{r} \cdot dr$?

Explanation: Since the infinitesimal displacement vector in radial motion satisfies $\hat{r} \cdot dr = dr$, the central force line integral simplifies to $\int_{r_1}^{r_2} f(r) dr$.

13. Which of the following statements is a common misconception regarding line integrals in mechanics?

Explanation: It is a false assumption that *any* force field has path-independent line integrals; path independence applies exclusively to conservative forces.

14. What is the mathematical condition for a 3D force field $F = (F_x, F_y, F_z)$ to be conservative in terms of its curl?

Explanation: A vector field is conservative if and only if its curl is identically zero everywhere ($\nabla \times F = 0$).

15. What is the primary benefit of utilizing potential energy functions derived from conservative line integrals in mechanics?

Explanation: Scalar potential energy formulations replace cumbersome vector differential equations with straightforward energy conservation principles.

PYQ Patterns

These are pattern-based practice questions. Authentic year labels are only used when verified from a source.

1. A particle moves in a 2D force field given by $F = (2xy + z^3) \hat{i} + (x^2) \hat{j}$. To test if this force is conservative in the $xy$-plane, what must be satisfied?

Explanation: The 2D consistency condition for a conservative force is $\frac{\partial F_y}{\partial x} = \frac{\partial F_x}{\partial y}$ (or equivalently checking cross partial equality). Here $\frac{\partial F_y}{\partial x} = 2x$ and $\frac{\partial F_x}{\partial y} = 2x$, showing consistency.

2. Calculate the work done by a constant force $F = 3\hat{i} + 4\hat{j}$ N in moving a particle from position $r_1 = \hat{i} + \hat{j}$ m to $r_2 = 4\hat{i} + 5\hat{j}$ m.

Explanation: Displacement $dr = r_2 - r_1 = (4-1)\hat{i} + (5-1)\hat{j} = 3\hat{i} + 4\hat{j}$ m. Work $W = F \cdot \Delta r = (3)(3) + (4)(4) = 9 + 16 = 25$ J. Wait, let's re-verify arithmetic: $(3)(3) + (4)(4) = 9 + 16 = 25$ J. Let's adjust options: A) 12 J, B) 25 J, C) 35 J, D) 7 J. Correct index is 1 (25 J).

3. If the potential energy function of a conservative system is given by $U(x,y) = kxy$, what is the force component $F_x$ acting on the particle?

Explanation: The force component is $F_x = -\frac{\partial U}{\partial x} = -\frac{\partial}{\partial x}(kxy) = -ky$.

4. A force $F = y \hat{i} + x \hat{j}$ acts on a particle. What is the work done in moving the particle from $(0,0)$ to $(1,1)$ along the straight line $y = x$?

Explanation: Along $y=x$, $dy = dx$. $W = \int_{0}^{1} (y dx + x dy) = \int_{0}^{1} (x dx + x dx) = 2 \int_{0}^{1} x dx = 2 \left[\frac{x^2}{2}\right]_0^1 = 1.0$ J.

5. Which of the following line integrals vanishes identically for any closed path $C$?

Explanation: The force $F = -kx \hat{i} - ky \hat{j} = -\nabla \left(\frac{1}{2}k(x^2+y^2)\right)$ is a central conservative force (isotropic harmonic oscillator), hence its closed-loop line integral is identically zero.

6. A particle of mass $m$ moves under a central attractive force $f(r) = -\frac{k}{r^2}$. What is the work done by this force when the particle moves from $r_1 = a$ to $r_2 = b$?

Explanation: Work $W = \int_{a}^{b} \left(-\frac{k}{r^2}\right) dr = k \left[\frac{1}{r}\right]_a^b = k \left(\frac{1}{b} - \frac{1}{a}\right)$.

Timed Topic Test

Attempt these questions under a ten-minute limit using a separate timer.

1. What is the work done by a force $F = (3x^2) \hat{i} + (2y) \hat{j}$ along the x-axis from $x = 0$ to $x = 2$?

Explanation: Along the x-axis, $y = 0$ and $dy = 0$. $W = \int_{0}^{2} 3x^2 dx = \left[ x^3 \right]_0^2 = 8 - 0 = 8$ J.

2. If a force field is conservative, which of the following statements is mathematically false?

Explanation: For conservative forces, work is independent of the path, so stating that work depends on the chosen path is false.

3. What is the line integral $\oint_{C} F \cdot dr$ for a non-conservative frictional force along a closed loop of perimeter $P$ traversed once?

Explanation: Friction always opposes motion, so work done is strictly negative along any path, making the closed-loop integral non-zero (specifically negative).

4. A particle moves in a force field $F = y \hat{i} - x \hat{j}$. Is this force field conservative?

Explanation: Here $F_x = y$ and $F_y = -x$. $\frac{\partial F_y}{\partial x} = -1$ while $\frac{\partial F_x}{\partial y} = 1$. Since $-1 \neq 1$, the force field is not conservative.

5. If the potential energy of a spring is $U(x) = \frac{1}{2}kx^2$, what is the work done by the spring force when the displacement goes from $x_1$ to $x_2$?

Explanation: Work done by the conservative spring force is $W = -\Delta U = -(\frac{1}{2}kx_2^2 - \frac{1}{2}kx_1^2)$.

6. Which of the following vector fields is conservative?

Explanation: For $F = y \hat{i} + x \hat{j}$, $F_x = y$ and $F_y = x$. Then $\frac{\partial F_y}{\partial x} = 1$ and $\frac{\partial F_x}{\partial y} = 1$. Since they are equal, it is conservative (derived from $U = -xy$). Check others: for $F = xy \hat{i} + xy \hat{j}$, derivatives are $y$ and $x$ (not equal everywhere). Thus option A is conservative.

7. What is the work done by the Coriolis force on a particle moving with velocity $v$ in a rotating frame?

Explanation: The Coriolis force is $F_c = -2m(\omega \times v)$, which is always perpendicular to $v$. Therefore, instantaneous power and work done are identically zero.

8. Consider a force $F = (2x + y) \hat{i} + (x + 2y) \hat{j}$. Find the potential energy function $U(x,y)$ assuming $U(0,0) = 0$.

Explanation: Since $F = -\nabla U$, $\frac{\partial U}{\partial x} = -(2x+y) \implies U = -x^2 - xy + g(y)$. Differentiating with respect to $y$: $-\frac{\partial U}{\partial y} = x + g'(y) = x + 2y \implies g'(y) = -2y \implies g(y) = -y^2$. Thus $U(x,y) = -x^2 - xy - y^2$.

9. In SI units, what are the dimensions of the line integral of force $\int F \cdot dr$?

Explanation: Line integral of force represents work/energy, whose dimensional formula is $[M L^2 T^{-2}]$. latter notation correction: $[M L^2 T^{-2}]$.

10. Which theorem links the line integral of the net force acting on a particle directly to its change in velocity?

Explanation: The Work-Energy Theorem states that the line integral of the net force equals the change in kinetic energy $\frac{1}{2}mv_2^2 - \frac{1}{2}mv_1^2$.