principle of virtual work
This isn't really something that can be explained easily in a few sentences. But you use virtual work to find forces, and virtual forces to find displacements. You really need a textbook to learn this. Essentially though, if we allow a static system to undergoe a virtual displacement, the work done by all the forces acting on the system must equal zero.