User:Physikerwelt/sandbox/Work (physics)

In physics, work is the energy transferred to or from an object via the application of force along a displacement. In its simplest form, it is often represented as the product of force and displacement. A force is said to do positive work if (when applied) it has a component in the direction of the displacement of the point of application. A force does negative work if it has a component opposite to the direction of the displacement at the point of application of the force.

For example, when a ball is held above the ground and then dropped, the work done by the gravitational force on the ball as it falls is equal to the weight of the ball (a force) multiplied by the distance to the ground (a displacement). When the force $F$ is constant and the angle between the force and the displacement $s$ is $θ$, then the work done is given by:

Work is a scalar quantity, so it has only magnitude and no direction. Work transfers energy from one place to another, or one form to another. The SI unit of work is the joule (J), the same unit as for energy.

Etymology
According to Jammer, the term work was introduced in 1826 by the French mathematician Gaspard-Gustave Coriolis as "weight lifted through a height", which is based on the use of early steam engines to lift buckets of water out of flooded ore mines. According to Rene Dugas, French engineer and historian, it is to Solomon of Caux "that we owe the term work in the sense that it is used in mechanics now".

Units
The SI unit of work is the joule (J), named after the 19th-century English physicist James Prescott Joule, which is defined as the work required to exert a force of one newton through a displacement of one metre.

The dimensionally equivalent newton-metre (N⋅m) is sometimes used as the measuring unit for work, but this can be confused with the measurement unit of torque. Usage of N⋅m is discouraged by the SI authority, since it can lead to confusion as to whether the quantity expressed in newton metres is a torque measurement, or a measurement of work.

Non-SI units of work include the newton-metre, erg, the foot-pound, the foot-poundal, the kilowatt hour, the litre-atmosphere, and the horsepower-hour. Due to work having the same physical dimension as heat, occasionally measurement units typically reserved for heat or energy content, such as therm, BTU and calorie, are utilized as a measuring unit.

Work and energy
The work $W$ done by a constant force of magnitude $F$ on a point that moves a displacement $s$ in a straight line in the direction of the force is the product
 * $$ W = F s$$.

For example, if a force of 10 newtons ($F = 10 N$) acts along a point that travels 2 metres ($s = 2 m$), then $W = Fs = (10 N) (2 m) = 20 J$. This is approximately the work done lifting a 1 kg object from ground level to over a person's head against the force of gravity.

The work is doubled either by lifting twice the weight the same distance or by lifting the same weight twice the distance.

Work is closely related to energy. The work-energy principle states that an increase in the kinetic energy of a rigid body is caused by an equal amount of positive work done on the body by the resultant force acting on that body. Conversely, a decrease in kinetic energy is caused by an equal amount of negative work done by the resultant force. Thus, if the net work is positive, then the particle’s kinetic energy increases by the amount of the work. If the net work done is negative, then the particle’s kinetic energy decreases by the amount of the work.

From Newton's second law, it can be shown that work on a free (no fields), rigid (no internal degrees of freedom) body, is equal to the change in kinetic energy $KE$ corresponding to the linear velocity and angular velocity of that body,
 * $$ W = \Delta KE.$$

The work of forces generated by a potential function is known as potential energy and the forces are said to be conservative. Therefore, work on an object that is merely displaced in a conservative force field, without change in velocity or rotation, is equal to minus the change of potential energy $PE$ of the object,
 * $$ W = -\Delta PE.$$

These formulas show that work is the energy associated with the action of a force, so work subsequently possesses the physical dimensions, and units, of energy. The work/energy principles discussed here are identical to electric work/energy principles.

Constraint forces
Constraint forces determine the object's displacement in the system, limiting it within a range. For example, in the case of a slope plus gravity, the object is stuck to the slope and, when attached to a taut string, it cannot move in an outwards direction to make the string any 'tauter'. It eliminates all displacements in that direction, that is, the velocity in the direction of the constraint is limited to 0, so that the constraint forces do not perform work on the system.

For a mechanical system, constraint forces eliminate movement in directions that characterize the constraint. Thus the virtual work done by the forces of constraint is zero, a result which is only true if friction forces are excluded.

Fixed, frictionless constraint forces do not perform work on the system, as the angle between the motion and the constraint forces is always 90°. Examples of workless constraints are: rigid interconnections between particles, sliding motion on a frictionless surface, and rolling contact without slipping.

For example, in a pulley system like the Atwood machine, the internal forces on the rope and at the supporting pulley do no work on the system. Therefore work need only be computed for the gravitational forces acting on the bodies. Another example is the centripetal force exerted inwards by a string on a ball in uniform circular motion sideways constrains the ball to circular motion restricting its movement away from the centre of the circle. This force does zero work because it is perpendicular to the velocity of the ball.

The magnetic force on a charged particle is F = qv × B, where q is the charge, v is the velocity of the particle, and B is the magnetic field. The result of a cross product is always perpendicular to both of the original vectors, so F ⊥ v. The dot product of two perpendicular vectors is always zero, so the work W = F ⋅ v = 0, and the magnetic force does not do work. It can change the direction of motion but never change the speed.

Mathematical calculation
For moving objects, the quantity of work/time (power) is integrated along the trajectory of the point of application of the force. Thus, at any instant, the rate of the work done by a force (measured in joules/second, or watts) is the scalar product of the force (a vector), and the velocity vector of the point of application. This scalar product of force and velocity is known as instantaneous power. Just as velocities may be integrated over time to obtain a total distance, by the fundamental theorem of calculus, the total work along a path is similarly the time-integral of instantaneous power applied along the trajectory of the point of application.

Work is the result of a force on a point that follows a curve X, with a velocity v, at each instant. The small amount of work δW that occurs over an instant of time dt is calculated as
 * $$ \delta W = \mathbf{F}\cdot d\mathbf{s} = \mathbf{F}\cdot\mathbf{v}dt $$

where the F ⋅ v is the power over the instant dt. The sum of these small amounts of work over the trajectory of the point yields the work,
 * $$ W = \int_{t_1}^{t_2}\mathbf{F} \cdot \mathbf{v}dt =  \int_{t_1}^{t_2}\mathbf{F} \cdot {\tfrac{d\mathbf{s}}{dt}}dt =\int_C \mathbf{F} \cdot d\mathbf{s},$$

where C is the trajectory from x(t1) to x(t2). This integral is computed along the trajectory of the particle, and is therefore said to be path dependent.

If the force is always directed along this line, and the magnitude of the force is F, then this integral simplifies to
 * $$ W = \int_C F\,ds$$

where s is displacement along the line. If F is constant, in addition to being directed along the line, then the integral simplifies further to
 * $$ W = \int_C F\,ds = F\int_C ds = Fs$$

where s is the displacement of the point along the line.

This calculation can be generalized for a constant force that is not directed along the line, followed by the particle. In this case the dot product F ⋅ ds = F cos θ ds, where θ is the angle between the force vector and the direction of movement, that is
 * $$W = \int_C \mathbf{F} \cdot d\mathbf{s} = Fs\cos\theta.$$

When a force component is perpendicular to the displacement of the object (such as when a body moves in a circular path under a central force), no work is done, since the cosine of 90° is zero. Thus, no work can be performed by gravity on a planet with a circular orbit (this is ideal, as all orbits are slightly elliptical). Also, no work is done on a body moving circularly at a constant speed while constrained by mechanical force, such as moving at constant speed in a frictionless ideal centrifuge.

Work done by a variable force
Calculating the work as "force times straight path segment" would only apply in the most simple of circumstances, as noted above. If force is changing, or if the body is moving along a curved path, possibly rotating and not necessarily rigid, then only the path of the application point of the force is relevant for the work done, and only the component of the force parallel to the application point velocity is doing work (positive work when in the same direction, and negative when in the opposite direction of the velocity). This component of force can be described by the scalar quantity called scalar tangential component ($F cos(θ)$, where $θ$ is the angle between the force and the velocity). And then the most general definition of work can be formulated as follows:
 * Work of a force is the line integral of its scalar tangential component along the path of its application point.
 * If the force varies (e.g. compressing a spring) we need to use calculus to find the work done. If the force is given by $F(x)$ (a function of $x$) then the work done by the force along the x-axis from $a$ to $b$ is:


 * $$ W = \int_{a}^{b} \mathbf{F(s)} \cdot d\mathbf{s}$$

Torque and rotation
A force couple results from equal and opposite forces, acting on two different points of a rigid body. The sum (resultant) of these forces may cancel, but their effect on the body is the couple or torque T. The work of the torque is calculated as
 * $$ dW = \mathbf{T}\cdot\vec{\omega}dt,$$

where the T ⋅ ω is the power over the instant δt. The sum of these small amounts of work over the trajectory of the rigid body yields the work,
 * $$ W = \int_{t_1}^{t_2}\mathbf{T}\cdot\vec{\omega}dt.$$

This integral is computed along the trajectory of the rigid body with an angular velocity ω that varies with time, and is therefore said to be path dependent.

If the angular velocity vector maintains a constant direction, then it takes the form,
 * $$ \vec{\omega}= \dot{\phi}\mathbf{S},$$

where φ is the angle of rotation about the constant unit vector S. In this case, the work of the torque becomes,
 * $$W = \int_{t_1}^{t_2}\mathbf{T}\cdot\vec{\omega}dt = \int_{t_1}^{t_2}\mathbf{T}\cdot \mathbf{S}\frac{d\phi}{dt}dt = \int_C\mathbf{T}\cdot \mathbf{S} d\phi,$$

where C is the trajectory from φ(t1) to φ(t2). This integral depends on the rotational trajectory φ(t), and is therefore path-dependent.

If the torque T is aligned with the angular velocity vector so that,

and both the torque and angular velocity are constant, then the work takes the form,
 * $$W = \int_{t_1}^{t_2}\tau \dot{\phi}dt = \tau(\phi_2-\phi_1).$$



This result can be understood more simply by considering the torque as arising from a force of constant magnitude F, being applied perpendicularly to a lever arm at a distance r, as shown in the figure. This force will act through the distance along the circular arc s = rφ, so the work done is
 * $$ W=Fs = Fr\phi .$$

Introduce the torque τ = Fr, to obtain
 * $$ W=Fr\phi=\tau\phi,$$

as presented above.

Notice that only the component of torque in the direction of the angular velocity vector contributes to the work.

Work and potential energy
The scalar product of a force F and the velocity v of its point of application defines the power input to a system at an instant of time. Integration of this power over the trajectory of the point of application, C = x(t), defines the work input to the system by the force.

Path dependence
Therefore, the work done by a force F on an object that travels along a curve C is given by the line integral:
 * $$ W = \int_C \mathbf{F} \cdot d\mathbf{x} = \int_{t_1}^{t_2}\mathbf{F}\cdot \mathbf{v}dt,$$

where dx(t) defines the trajectory C and v is the velocity along this trajectory. In general this integral requires the path along which the velocity is defined, so the evaluation of work is said to be path dependent.

The time derivative of the integral for work yields the instantaneous power,
 * $$\frac{dW}{dt} = P(t) = \mathbf{F}\cdot \mathbf{v} .$$

Path independence
If the work for an applied force is independent of the path, then the work done by the force, by the gradient theorem, defines a potential function which is evaluated at the start and end of the trajectory of the point of application. This means that there is a potential function U(x), that can be evaluated at the two points x(t1) and x(t2) to obtain the work over any trajectory between these two points. It is tradition to define this function with a negative sign so that positive work is a reduction in the potential, that is
 * $$ W = \int_C \mathbf{F} \cdot \mathrm{d}\mathbf{x} = \int_{\mathbf{x}(t_1)}^{\mathbf{x}(t_2)} \mathbf{F} \cdot \mathrm{d}\mathbf{x} =  U(\mathbf{x}(t_1))-U(\mathbf{x}(t_2)).

$$

The function U(x) is called the potential energy associated with the applied force. The force derived from such a potential function is said to be conservative. Examples of forces that have potential energies are gravity and spring forces.

In this case, the gradient of work yields

and the force F is said to be "derivable from a potential."

Because the potential U defines a force F at every point x in space, the set of forces is called a force field. The power applied to a body by a force field is obtained from the gradient of the work, or potential, in the direction of the velocity V of the body, that is

Work by gravity
In the absence of other forces, gravity results in a constant downward acceleration of every freely moving object. Near Earth's surface the acceleration due to gravity is g = 9.8 m⋅s−2 and the gravitational force on an object of mass m is Fg = mg. It is convenient to imagine this gravitational force concentrated at the center of mass of the object.

If an object is displaced upwards or downwards a vertical distance y2 − y1, the work W done on the object by its weight mg is:
 * $$W = F_g (y_2 - y_1) = F_g\Delta y = - mg\Delta y$$

where Fg is weight (pounds in imperial units, and newtons in SI units), and Δy is the change in height y. Notice that the work done by gravity depends only on the vertical movement of the object. The presence of friction does not affect the work done on the object by its weight.

Work by gravity in space
The force of gravity exerted by a mass M on another mass m is given by
 * $$ \mathbf{F}=-\frac{GMm}{r^3}\mathbf{r},$$

where r is the position vector from M to m.

Let the mass m move at the velocity v; then the work of gravity on this mass as it moves from position r(t1) to r(t2) is given by
 * $$ W=-\int^{\mathbf{r}(t_2)}_{\mathbf{r}(t_1)}\frac{GMm}{r^3}\mathbf{r}\cdot d\mathbf{r}=-\int^{t_2}_{t_1}\frac{GMm}{r^3}\mathbf{r}\cdot\mathbf{v}dt.$$

Notice that the position and velocity of the mass m are given by
 * $$ \mathbf{r} = r\mathbf{e}_r, \qquad\mathbf{v} = \frac{d\mathbf{r}}{dt} = \dot{r}\mathbf{e}_r + r\dot{\theta}\mathbf{e}_t,$$

where er and et are the radial and tangential unit vectors directed relative to the vector from M to m, and we use the fact that $$ d \mathbf{e}_r/dt  = \dot{\theta}\mathbf{e}_t. $$ Use this to simplify the formula for work of gravity to,
 * $$ W=-\int^{t_2}_{t_1}\frac{GmM}{r^3}(r\mathbf{e}_r)\cdot(\dot{r}\mathbf{e}_r + r\dot{\theta}\mathbf{e}_t)dt = -\int^{t_2}_{t_1}\frac{GmM}{r^3}r\dot{r}dt = \frac{GMm}{r(t_2)}-\frac{GMm}{r(t_1)}.$$

This calculation uses the fact that
 * $$ \frac{d}{dt}r^{-1}=-r^{-2}\dot{r}=-\frac{\dot{r}}{r^2}.$$

The function
 * $$ U=-\frac{GMm}{r}, $$

is the gravitational potential function, also known as gravitational potential energy. The negative sign follows the convention that work is gained from a loss of potential energy.

Work by a spring


Consider a spring that exerts a horizontal force F = (−kx, 0, 0) that is proportional to its deflection in the x direction independent of how a body moves. The work of this spring on a body moving along the space with the curve X(t) = (x(t), y(t), z(t)), is calculated using its velocity, v = (vx, vy, vz), to obtain
 * $$ W=\int_0^t\mathbf{F}\cdot\mathbf{v}dt =-\int_0^tkx v_x dt = -\frac{1}{2}kx^2. $$

For convenience, consider contact with the spring occurs at t = 0, then the integral of the product of the distance x and the x-velocity, xvx, is (1/2)x2. The velocity is not a factor here. The work is the product of the distance times the spring force, which is also dependent on distance; hence the x2 result.

Work by a gas

 * $$ W=\int_a^b{P}dV $$

Where P is pressure, V is volume, and a and b are initial and final volumes.

Work–energy principle
The principle of work and kinetic energy (also known as the work–energy principle) states that the work done by all forces acting on a particle (the work of the resultant force) equals the change in the kinetic energy of the particle. That is, the work W done by the resultant force on a particle equals the change in the particle's kinetic energy $$E_k$$,
 * $$ W=\Delta E_k=\tfrac12mv_2^2-\tfrac12mv_1^2$$,

where $$v_1$$ and $$v_2$$ are the speeds of the particle before and after the work is done, and m is its mass.

The derivation of the work–energy principle begins with Newton’s second law of motion and the resultant force on a particle. Computation of the scalar product of the forces with the velocity of the particle evaluates the instantaneous power added to the system.

Constraints define the direction of movement of the particle by ensuring there is no component of velocity in the direction of the constraint force. This also means the constraint forces do not add to the instantaneous power. The time integral of this scalar equation yields work from the instantaneous power, and kinetic energy from the scalar product of velocity and acceleration. The fact that the work–energy principle eliminates the constraint forces underlies Lagrangian mechanics.

This section focuses on the work–energy principle as it applies to particle dynamics. In more general systems work can change the potential energy of a mechanical device, the thermal energy in a thermal system, or the electrical energy in an electrical device. Work transfers energy from one place to another or one form to another.

Derivation for a particle moving along a straight line
In the case the resultant force F is constant in both magnitude and direction, and parallel to the velocity of the particle, the particle is moving with constant acceleration a along a straight line. The relation between the net force and the acceleration is given by the equation F = ma (Newton's second law), and the particle displacement s can be expressed by the equation


 * $$s = \frac{v_2^2 - v_1^2}{2a}$$

which follows from $$v_2^2 = v_1^2 + 2as$$ (see Equations of motion).

The work of the net force is calculated as the product of its magnitude and the particle displacement. Substituting the above equations, one obtains:


 * $$ W = Fs = mas = ma \left(\frac{v_2^2 - v_1^2}{2a}\right) = \frac{mv_2^2}{2} - \frac{mv_1^2}{2} = \Delta {E_\mathrm{k}}$$

Other derivation:


 * $$ W = Fs = mas = m \left(\frac{v_2^2 - v_1^2}{2s}\right) s= \frac{1}{2}mv_2 ^2 -\frac{1}{2} mv_1 ^2 = \Delta {E_\mathrm{k}}$$

In the general case of rectilinear motion, when the net force F is not constant in magnitude, but is constant in direction, and parallel to the velocity of the particle, the work must be integrated along the path of the particle:


 * $$ W = \int_{t_1}^{t_2} \mathbf{F}\cdot \mathbf{v}dt =  \int_{t_1}^{t_2} F \,v dt =  \int_{t_1}^{t_2} ma \,v dt = m \int_{t_1}^{t_2} v \,{dv \over dt}\,dt = m \int_{v_1}^{v_2} v\,dv = \tfrac12 m (v_2^2 - v_1^2) .$$

General derivation of the work–energy theorem for a particle
For any net force acting on a particle moving along any curvilinear path, it can be demonstrated that its work equals the change in the kinetic energy of the particle by a simple derivation analogous to the equation above. Some authors call this result work–energy principle, but it is more widely known as the work–energy theorem:


 * $$ W = \int_{t_1}^{t_2} \mathbf{F}\cdot \mathbf{v}dt = m \int_{t_1}^{t_2} \mathbf{a} \cdot \mathbf{v}dt = \frac{m}{2} \int_{t_1}^{t_2} \frac{d v^2}{dt}\,dt = \frac{m}{2} \int_{v^2_1}^{v^2_2} d v^2 = \frac{mv_2^2}{2} - \frac{mv_1^2}{2} = \Delta {E_k} $$

The identity $$\textstyle \mathbf{a} \cdot \mathbf{v} = \frac{1}{2} \frac{d v^2}{dt}$$ requires some algebra. From the identity $$\textstyle v^2 = \mathbf{v} \cdot \mathbf{v}$$ and definition $$\textstyle \mathbf{a} = \frac{d \mathbf{v}}{dt} $$ it follows
 * $$ \frac{d v^2}{dt} = \frac{d (\mathbf{v} \cdot \mathbf{v})}{dt} = \frac{d \mathbf{v}}{dt} \cdot \mathbf{v} + \mathbf{v} \cdot \frac{d \mathbf{v}}{dt} = 2 \frac{d \mathbf{v}}{dt} \cdot \mathbf{v} = 2 \mathbf{a} \cdot \mathbf{v}$$.

The remaining part of the above derivation is just simple calculus, same as in the preceding rectilinear case.

Derivation for a particle in constrained movement
In particle dynamics, a formula equating work applied to a system to its change in kinetic energy is obtained as a first integral of Newton's second law of motion. It is useful to notice that the resultant force used in Newton's laws can be separated into forces that are applied to the particle and forces imposed by constraints on the movement of the particle. Remarkably, the work of a constraint force is zero, therefore only the work of the applied forces need be considered in the work–energy principle.

To see this, consider a particle P that follows the trajectory X(t) with a force F acting on it. Isolate the particle from its environment to expose constraint forces R, then Newton's Law takes the form
 * $$ \mathbf{F} + \mathbf{R} =m\ddot{\mathbf{X}}, $$

where m is the mass of the particle.

Vector formulation
Note that n dots above a vector indicates its nth time derivative. The scalar product of each side of Newton's law with the velocity vector yields
 * $$ \mathbf{F}\cdot\dot{\mathbf{X}} = m\ddot{\mathbf{X}}\cdot\dot{\mathbf{X}},$$

because the constraint forces are perpendicular to the particle velocity. Integrate this equation along its trajectory from the point X(t1) to the point X(t2) to obtain
 * $$ \int_{t_1}^{t_2} \mathbf{F}\cdot\dot{\mathbf{X}} dt = m\int_{t_1}^{t_2}\ddot{\mathbf{X}}\cdot\dot{\mathbf{X}}dt. $$

The left side of this equation is the work of the applied force as it acts on the particle along the trajectory from time t1 to time t2. This can also be written as
 * $$ W = \int_{t_1}^{t_2} \mathbf{F}\cdot\dot{\mathbf{X}} dt =   \int_{\mathbf{X}(t_1)}^{\mathbf{X}(t_2)} \mathbf{F}\cdot d\mathbf{X}.  $$

This integral is computed along the trajectory X(t) of the particle and is therefore path dependent.

The right side of the first integral of Newton's equations can be simplified using the following identity
 * $$ \frac{1}{2}\frac{d}{dt}(\dot{\mathbf{X}}\cdot \dot{\mathbf{X}}) = \ddot{\mathbf{X}}\cdot\dot{\mathbf{X}}, $$

(see product rule for derivation). Now it is integrated explicitly to obtain the change in kinetic energy,
 * $$\Delta K = m\int_{t_1}^{t_2}\ddot{\mathbf{X}}\cdot\dot{\mathbf{X}}dt = \frac{m}{2}\int_{t_1}^{t_2}\frac{d}{dt}(\dot{\mathbf{X}}\cdot \dot{\mathbf{X}}) dt = \frac{m}{2}\dot{\mathbf{X}}\cdot \dot{\mathbf{X}}(t_2) - \frac{m}{2}\dot{\mathbf{X}}\cdot \dot{\mathbf{X}} (t_1) = \frac{1}{2}m \Delta \mathbf{v^{2}}, $$

where the kinetic energy of the particle is defined by the scalar quantity,
 * $$ K = \frac{m}{2}\dot{\mathbf{X}}\cdot \dot{\mathbf{X}} =\frac{1}{2}m{\mathbf{v^{2}}}$$

Tangential and normal components
It is useful to resolve the velocity and acceleration vectors into tangential and normal components along the trajectory X(t), such that
 * $$ \dot{\mathbf{X}}=v \mathbf{T}\quad\mbox{and}\quad \ddot{\mathbf{X}}=\dot{v}\mathbf{T} + v^2\kappa \mathbf{N},$$

where
 * $$ v=|\dot{\mathbf{X}}|=\sqrt{\dot{\mathbf{X}}\cdot\dot{\mathbf{X}}}.$$

Then, the scalar product of velocity with acceleration in Newton's second law takes the form
 * $$ \Delta K = m\int_{t_1}^{t_2}\dot{v}vdt = \frac{m}{2}\int_{t_1}^{t_2}\frac{d}{dt}v^2 dt = \frac{m}{2}v^2(t_2) - \frac{m}{2}v^2(t_1),$$

where the kinetic energy of the particle is defined by the scalar quantity,
 * $$ K = \frac{m}{2} v^2 = \frac{m}{2} \dot{\mathbf{X}}\cdot\dot{\mathbf{X}}. $$

The result is the work–energy principle for particle dynamics,
 * $$ W = \Delta K. \!$$

This derivation can be generalized to arbitrary rigid body systems.

Moving in a straight line (skid to a stop)
Consider the case of a vehicle moving along a straight horizontal trajectory under the action of a driving force and gravity that sum to F. The constraint forces between the vehicle and the road define R, and we have
 * $$ \mathbf{F} + \mathbf{R} =m\ddot{\mathbf{X}}. $$

For convenience let the trajectory be along the X-axis, so X = (d, 0) and the velocity is V = (v, 0), then R ⋅ V = 0, and F ⋅ V = Fxv, where Fx is the component of F along the X-axis, so
 * $$ F_x v = m\dot{v}v.$$

Integration of both sides yields
 * $$ \int_{t_1}^{t_2}F_x v dt = \frac{m}{2}v^2(t_2) - \frac{m}{2}v^2(t_1). $$

If Fx is constant along the trajectory, then the integral of velocity is distance, so
 * $$ F_x (d(t_2)-d(t_1)) = \frac{m}{2}v^2(t_2) - \frac{m}{2}v^2(t_1). $$

As an example consider a car skidding to a stop, where k is the coefficient of friction and W is the weight of the car. Then the force along the trajectory is Fx = −kW. The velocity v of the car can be determined from the length s of the skid using the work–energy principle,
 * $$kWs = \frac{W}{2g} v^2,\quad\mbox{or}\quad v = \sqrt{2ksg}.$$

Notice that this formula uses the fact that the mass of the vehicle is m = W/g.



Coasting down a mountain road (gravity racing)
Consider the case of a vehicle that starts at rest and coasts down a mountain road, the work-energy principle helps compute the minimum distance that the vehicle travels to reach a velocity V, of say 60 mph (88 fps). Rolling resistance and air drag will slow the vehicle down so the actual distance will be greater than if these forces are neglected.

Let the trajectory of the vehicle following the road be X(t) which is a curve in three-dimensional space. The force acting on the vehicle that pushes it down the road is the constant force of gravity F = (0, 0, W), while the force of the road on the vehicle is the constraint force R. Newton's second law yields,
 * $$ \mathbf{F} + \mathbf{R} =m\ddot{\mathbf{X}}. $$

The scalar product of this equation with the velocity, V = (vx, vy, vz), yields
 * $$ W v_z = m\dot{V}V,$$

where V is the magnitude of V. The constraint forces between the vehicle and the road cancel from this equation because R ⋅ V = 0, which means they do no work. Integrate both sides to obtain
 * $$ \int_{t_1}^{t_2}W v_z dt = \frac{m}{2}V^2(t_2) - \frac{m}{2}V^2(t_1). $$

The weight force W is constant along the trajectory and the integral of the vertical velocity is the vertical distance, therefore,
 * $$ W \Delta z = \frac{m}{2}V^2. $$

Recall that V(t1)=0. Notice that this result does not depend on the shape of the road followed by the vehicle.

In order to determine the distance along the road assume the downgrade is 6%, which is a steep road. This means the altitude decreases 6 feet for every 100 feet traveled—for angles this small the sin and tan functions are approximately equal. Therefore, the distance s in feet down a 6% grade to reach the velocity V is at least
 * $$ s=\frac{\Delta z}{0.06}= 8.3\frac{V^2}{g},\quad\mbox{or}\quad s=8.3\frac{88^2}{32.2}\approx 2000\mbox{ft}.$$

This formula uses the fact that the weight of the vehicle is W = mg.

Work of forces acting on a rigid body
The work of forces acting at various points on a single rigid body can be calculated from the work of a resultant force and torque. To see this, let the forces F1, F2 ... Fn act on the points X1, X2 ... Xn in a rigid body.

The trajectories of Xi, i = 1, ..., n are defined by the movement of the rigid body. This movement is given by the set of rotations [A(t)] and the trajectory d(t) of a reference point in the body. Let the coordinates xi i = 1, ..., n define these points in the moving rigid body's  reference frame M, so that the trajectories traced in the fixed frame F are given by
 * $$ \mathbf{X}_i(t)= [A(t)]\mathbf{x}_i + \mathbf{d}(t)\quad i=1,\ldots, n. $$

The velocity of the points Xi along their trajectories are
 * $$\mathbf{V}_i = \vec{\omega}\times(\mathbf{X}_i-\mathbf{d}) + \dot{\mathbf{d}},$$

where ω is the angular velocity vector obtained from the skew symmetric matrix
 * $$ [\Omega] = \dot{A}A^\mathrm{T},$$

known as the angular velocity matrix.

The small amount of work by the forces over the small displacements δri can be determined by approximating the displacement by δr = vδt so
 * $$ \delta W = \mathbf{F}_1\cdot\mathbf{V}_1\delta t+\mathbf{F}_2\cdot\mathbf{V}_2\delta t + \ldots + \mathbf{F}_n\cdot\mathbf{V}_n\delta t$$

or
 * $$ \delta W = \sum_{i=1}^n \mathbf{F}_i\cdot (\vec{\omega}\times(\mathbf{X}_i-\mathbf{d}) + \dot{\mathbf{d}})\delta t. $$

This formula can be rewritten to obtain
 * $$ \delta W = \left(\sum_{i=1}^n \mathbf{F}_i\right)\cdot\dot{\mathbf{d}}\delta t + \left(\sum_{i=1}^n \left(\mathbf{X}_i-\mathbf{d}\right)\times\mathbf{F}_i\right) \cdot \vec{\omega}\delta t = \left(\mathbf{F}\cdot\dot{\mathbf{d}}+ \mathbf{T}\cdot \vec{\omega}\right)\delta t, $$

where F and T are the resultant force and torque applied at the reference point d of the moving frame M in the rigid body.