In physics, work is said to be done by a force when the point of application of the force undergoes a displacement having a non-zero component along the direction of the force. If a constant force $\vec{F}$ acts on a body and displaces it by $\vec{s}$, the work done $W$ is mathematically defined as the scalar (dot) product of the force vector and displacement vector:
$$W = \vec{F} \cdot \vec{s} = F s \cos\theta$$where $F = |\vec{F}|$, $s = |\vec{s}|$, and $\theta$ is the angle between the force and displacement vectors ($0 \le \theta \le \pi$).
In Cartesian component form, if $\vec{F} = F_x\hat{i} + F_y\hat{j} + F_z\hat{k}$ and $\vec{s} = \Delta x\hat{i} + \Delta y\hat{j} + \Delta z\hat{k}$:
$$W = F_x\Delta x + F_y\Delta y + F_z\Delta z$$- Positive Work ($0 \le \theta < 90^\circ$, $\cos\theta > 0$): Force has a component along displacement. Example: Gravity acting on a falling body; an engine pulling a train forward.
- Negative Work ($90^\circ < \theta \le 180^\circ$, $\cos\theta < 0$): Force opposes displacement. Example: Kinetic friction acting on a sliding crate ($W_f = -f_k s$); gravitational force when lifting a body upward ($W_g = -mgh$).
- Zero Work ($W = 0$): Occurs under three distinct physical scenarios:
- Zero displacement ($s = 0$): Pushing against a rigid stationary wall ($W = 0$).
- Zero force ($F = 0$): A body moving with uniform velocity in deep space where net external force is zero.
- Perpendicular force and displacement ($\theta = 90^\circ$, $\cos 90^\circ = 0$): Centripetal force acting on a planet in circular orbit; normal reaction force on a body sliding across a horizontal table; a porter carrying a load on his head while walking horizontally ($W_g = mg \cdot s \cdot \cos 90^\circ = 0$).
In realistic scenarios, forces vary continuously with position (e.g., spring forces, gravitational forces, electrostatic forces). To compute the work done by a position-dependent force $\vec{F}(\vec{r})$ as the body moves from $\vec{r}_i$ to $\vec{r}_f$, we divide the continuous trajectory into infinitesimally small displacement elements $d\vec{r}$:
$$dW = \vec{F} \cdot d\vec{r} = F_x\,dx + F_y\,dy + F_z\,dz$$ $$W = \int_{\vec{r}_i}^{\vec{r}_f} \vec{F} \cdot d\vec{r} = \int_{x_i}^{x_f} F_x\,dx + \int_{y_i}^{y_f} F_y\,dy + \int_{z_i}^{z_f} F_z\,dz$$On a Force-Displacement ($F-x$) graph, the total work done by the force between positions $x_1$ and $x_2$ is geometrically equal to the area under the $F-x$ curve bounded by the displacement axis. Regions where $F > 0$ yield positive work, whereas regions where $F < 0$ yield negative work.
The Work-Energy Theorem states: The net work done by all external forces acting on a body equals the net change in its kinetic energy.
Rigorous Mathematical Proof:
By definition, kinetic energy is $K = \frac{1}{2}mv^2$. Differentiating both sides with respect to time $t$:
$$\frac{dK}{dt} = \frac{d}{dt}\left(\frac{1}{2}mv^2\right) = \frac{1}{2}m\left(2v\frac{dv}{dt}\right) = m\frac{dv}{dt}v = m a v$$From Newton's Second Law, $F = ma$. Furthermore, velocity is $v = \frac{dx}{dt}$. Substituting these yields:
$$\frac{dK}{dt} = F \left(\frac{dx}{dt}\right) \implies dK = F\,dx$$Integrating from the initial state ($x = x_i, v = v_i, K = K_i$) to the final state ($x = x_f, v = v_f, K = K_f$):
$$\int_{K_i}^{K_f} dK = \int_{x_i}^{x_f} F\,dx$$ $$K_f - K_i = W_{\text{net}} \implies W_{\text{net}} = \Delta K = \frac{1}{2}mv_f^2 - \frac{1}{2}mv_i^2$$This scalar theorem is universally valid in all inertial reference frames and holds regardless of whether the forces are constant or variable, conservative or non-conservative.