For the extension of the double pendulum to the dynamic problem, the actual algebra can become long and tedious.
Instead, draw the components of -F as shown. By taking each δθ separately, the virtual work equation can be easily determined visually.
Complete the equations of motion for the system in Figure. Compare with Lagrange's derivation.