The principle of virtual displacements can be extended directly to include rigid bodies, which may be thought of as systems of particles. There will be forces between the various particles forming the body, of such a nature that the distances between the particles will remain fixed. These internal forces, however, will always occur in equal and opposite pairs, so that the total work done by them during any motion of the whole body as a rigid body will be equal to zero.
Consider the rigid framework shown in Fig. 1a, supported by a frictionless pin at

In Fig. 1b, all the forces which are involved in the system are shown. They will be seen to be of three kinds: first, the active external forces
From the examples given above, and those which will follow, it will be seen that the particular advantage of the principle of virtual displacements is realized in those problems in which one is interested only in the equilibrium relationship between the active forces of the system and is not interested in computing the values of reactions or of internal forces. This does not mean that the principle of virtual displacements can never be used to determine reactions. It is often possible to select the force system to be determined in such a way that the reactive forces can be treated as active forces and can, therefore, be treated by the methods outlined above.
Example 1. A rigid, weightless bar rests against two frictionless walls as shown in Fig. 2. It is held in equilibrium by two forces

Solution. A displacement of the system compatible with the constraints is shown in Fig 3. From the geometry of the system, we have

We have thus gone directly to the relationship between
Example 2. Find the equilibrium relationship between the force

Solution. The active forces in the system are

By the principle of virtual displacements we have:
Example 3. A compressive force

Solution. We take as a virtual displacement of the system a small rotation
Example 4. A weight

Solution. As the virtual displacement of the system let us take a small vertical motion of the point