One coordinate must fix every motion in a mechanism. Give it a small virtual displacement \(\delta q\) and every mass, spring and damper moves by its own multiple of \(\delta q\). Those multiples are geometry ratios. Kinetic and potential energy are quadratic, so the ratios enter the equivalent inertia and stiffness as squares. A different coordinate changes the numbers and the units, but never the natural frequency.
1. One coordinate, every motion
Pick a coordinate \(q\) and write each body's velocity and each element's deformation as a multiple of it: \(v_i=(\partial v_i/\partial q)\,\dot q\), \(\omega_i=(\partial\omega_i/\partial q)\,\dot q\), \(\delta_j=(\partial\delta_j/\partial q)\,q\). Substituting into the energy and dissipation (Lecture 8, slides 5–6) gives
$$ T=\tfrac12 m_\text{eq}\dot q^2,\qquad V=\tfrac12 k_\text{eq}q^2,\qquad \mathcal D=\tfrac12 c_\text{eq}\dot q^2, $$
with
$$ m_\text{eq}=\sum_i m_i\Big(\frac{\partial v_i}{\partial q}\Big)^2+\sum_i J_i\Big(\frac{\partial \omega_i}{\partial q}\Big)^2,\qquad k_\text{eq}=\sum_j k_j\Big(\frac{\partial \delta_j}{\partial q}\Big)^2,\qquad c_\text{eq}=\sum_j c_j\Big(\frac{\partial \dot\delta_j}{\partial \dot q}\Big)^2. $$
Lagrange's equation then gives \(m_\text{eq}\ddot q+c_\text{eq}\dot q+k_\text{eq}q=Q_q\) and \(\omega_n=\sqrt{k_\text{eq}/m_\text{eq}}\). Choose a mechanism in the left panel. Drag in the picture to impose a virtual displacement; the arrows show how far each element moves for that \(\delta q\).
Mechanism: drag to impose \(\delta q\)
Drag up and down (or left and right for the cylinder) to set the displacement; the motion is exaggerated for visibility. arrows: the displacement of each body or element point produced by \(\delta q\), labelled with its ratio. Release starts the free vibration at \(\omega_n\), slowed to a viewable rate in proportion.
Where \(m_\text{eq}\) and \(k_\text{eq}\) come from
Each segment is one body's \(m_i(\partial v_i/\partial q)^2\) (or \(J_i(\partial\omega_i/\partial q)^2\)) or one element's \(k_j(\partial\delta_j/\partial q)^2\), in the units of the chosen coordinate. Switch the coordinate: every segment rescales by the same factor, so the proportions and \(\omega_n\) stay put.
Equivalent model in the chosen coordinate
Geometry ratios for this mechanism
2. What to notice
Lever. With the defaults, \(J_\text{eq}=J_O+mb^2=0.77\ \mathrm{kg\,m^2}\) and \(k_\text{eq}=ka^2=90\ \mathrm{N\,m/rad}\), so \(\omega_n=10.81\) rad/s. Switch to the mass displacement \(x=b\theta\): \(m_\text{eq}=2.139\) kg and \(k_\text{eq}=250\) N/m, the same \(\omega_n\). Move the spring outward and \(k_\text{eq}\) grows with \(a^2\), not \(a\).
Rolling cylinder. A solid disk has \(m_\text{eq}=m+I_G/R^2=1.5m\), so \(\omega_n=\sqrt{2000/6}=18.26\) rad/s for the defaults. Rolling removes the rotation as a coordinate but keeps its kinetic energy (slide 11). Raise the spring to the top of the cylinder \((h/R=2)\): the attachment point moves twice as far as the center, so \(k_\text{eq}\) is four times larger and \(\omega_n\) doubles to 36.51 rad/s.
Pulley. \(m_\text{eq}=m+J/R^2=3+0.02/0.01=5\) kg and \(\omega_n=17.32\) rad/s. A small pulley radius makes even a light pulley heavy in the translational coordinate.
Gear pair. The defaults reproduce slide 13 of Lecture 9: \(J_\text{eq,1}=J_1+J_2(N_1/N_2)^2=0.040\ \mathrm{kg\,m^2}\), \(k_\theta=16\) N·m/rad, \(\omega_n=20\) rad/s. Referred to the output shaft instead, \(J_\text{eq,2}=0.16\) and \(k_\text{eq,2}=64\): again 20 rad/s. The gear ratio flips the sign of the rotation (the arrows point opposite ways), but energy uses its square.
3. Check yourself
Why do geometry ratios enter as squares, when the displacements themselves scale linearly?
A displacement \(\delta_j=r_j\,q\) is linear in \(q\), but the energy \(\tfrac12k_j\delta_j^2=\tfrac12k_jr_j^2q^2\) is quadratic. The same holds for kinetic energy with velocity ratios. Equivalently, by virtual work, the spring force \(k_jr_jq\) acts through the virtual displacement \(r_j\,\delta q\), so one factor of \(r_j\) comes from the force and one from the displacement.
The gear constraint has a minus sign, \(\theta_2=-(N_1/N_2)\theta_1\). Where does it go?
Into the direction of motion only. Kinetic energy contains \(\dot\theta_2^2=(N_1/N_2)^2\dot\theta_1^2\), so the sign disappears from \(J_\text{eq}\). It matters again when a load or a damper couples the two shafts through a sign-sensitive quantity, for example an applied moment on the output shaft, whose generalized force is \(Q_{\theta_1}=-(N_1/N_2)\tau_2\).
Why is \(\omega_n\) the same in both coordinates when \(m_\text{eq}\) and \(k_\text{eq}\) both change?
If \(q'=s\,q\), then \(\partial v/\partial q'=(\partial v/\partial q)/s\) for every body and element. Both \(m_\text{eq}\) and \(k_\text{eq}\) are divided by \(s^2\), so their ratio is unchanged. The physical motion does not depend on what we call the coordinate (Lecture 9, slide 14).
For the lever, the slide uses \(x\approx b\theta\). When does that fail?
The exact vertical displacement of the mass is \(b\sin\theta\), so the exact velocity ratio is \(b\cos\theta\). The equivalent inertia \(mb^2\cos^2\theta\) then depends on the angle: the model becomes nonlinear. At \(\theta=0.1\) rad the factor \(\cos^2\theta\) is 0.990, a 1% change; at 0.3 rad it is 0.913. The linear model is the quadratic-energy approximation of slide 8.