Forces are vectors, which means that they have both a magnitude and direction. To illustrate this concept, this Demonstration shows a mechanical system composed of three weights connected by strings and pulleys. The equilibrium position can be found by analyzing the forces acting on the central knot. Each force is a vector whose norm is given by , where is the mass attached to the string and is the acceleration of gravity. According to Newton's second law, at static equilibrium the vector sum of all the forces acting on the central knot should be zero. This is illustrated in the inset by constructing a triangle of forces from the three vectors . You can change the magnitude of each force by changing the corresponding mass and observing how the directions of the forces adjust to maintain a triangle.

Static equilibrium cannot be attained for every set of values of the masses , , and . This is related to the fact that the sides , , of a triangle must satisfy the triangle inequality . In practice, even more stringent limits must be put on the values of the masses to avoid any accident like the central knot passing over the pulleys, or the weight falling below the visible area. In this Demonstration, the masses and are restricted to avoid such an accident and automatically readjusted if necessary.