$\omega$
2-DOF oscillations & modal geometry Nonlinear Dynamics Laboratory · URI · All tutorials
Nonlinear Dynamics Laboratory · Vibrations & Dynamics Coursework · Module 08

From coupled energy ellipses to linear normal modes

In a general two-degree-of-freedom mechanical system—such as a pendulum hanging from a spring-mounted cart or a double pendulum—the mass matrix $\mathbf{M}$ and/or the stiffness matrix $\mathbf{K}$ are non-diagonal. We show geometrically how their elliptical energy surfaces combine through the generalized eigenvalue problem $\mathbf{K}\mathbf{u} = \omega^2\mathbf{M}\mathbf{u}$ to yield the natural frequencies and uncoupled linear normal modes.

1. Physical coordinates look coupled while modal coordinates oscillate purely

Compare a single normal mode against a general pluck below. In physical coordinates $(q_1, q_2)$, energy transfers back and forth irregularly. Inside that same response sit two independent harmonic coordinates $\eta_1(t)$ and $\eta_2(t)$ oscillating at the natural frequencies $\omega_1$ and $\omega_2$.

Linearized equations of motion

Applying Lagrange’s equations to kinetic energy $T = \tfrac{1}{2}\dot{\mathbf{q}}^{\mathsf{T}} \mathbf{M}\dot{\mathbf{q}}$ and potential energy $V = \tfrac{1}{2}\mathbf{q}^{\mathsf{T}} \mathbf{K}\mathbf{q}$ yields:

$$\mathbf{M}\ddot{\mathbf{q}} + \mathbf{K}\mathbf{q} = \mathbf{0} \quad \Longrightarrow \quad (\mathbf{K} - \omega^2\mathbf{M})\mathbf{u} = \mathbf{0}$$

Linear limit: valid for small oscillations about static equilibrium ($\sin\theta \approx \theta$, $\cos\theta \approx 1 - \theta^2/2$). At finite amplitudes, geometric nonlinearity introduces frequency-energy dependence and curved nonlinear normal modes.

Natural mode 1
Natural mode 2

2. Two matrices define two elliptical energy surfaces

Because $\mathbf{M}$ and $\mathbf{K}$ are symmetric positive-definite, kinetic energy $T(\dot{\mathbf{q}}) = \tfrac{1}{2}\dot{\mathbf{q}}^{\mathsf{T}}\mathbf{M}\dot{\mathbf{q}}$ and potential energy $V(\mathbf{q}) = \tfrac{1}{2}\mathbf{q}^{\mathsf{T}}\mathbf{K}\mathbf{q}$ form three-dimensional parabolic energy bowls. Slicing each bowl at constant energy $E_0$ produces an ellipse. Off-diagonal coupling tilts each ellipse away from the coordinate axes, and in general the two ellipses do not share principal axes.

Why a single rotation cannot decouple the system. Each ellipse has its own orthogonal principal axes (dashed lines). A pure rotation that aligns $\mathbf{M}$ leaves $\mathbf{K}$ tilted; rotating to align $\mathbf{K}$ tilts $\mathbf{M}$. Decoupling requires combining the geometry of both quadratic forms.

3. Tangency of the $\mathbf{M}$ and $\mathbf{K}$ ellipses determines $\omega_1$, $\omega_2$, and the normal modes

For harmonic motion $\mathbf{q}(t) = \mathbf{u}\cos(\omega t)$, the generalized eigenproblem $\mathbf{K}\mathbf{u} = \lambda\mathbf{M}\mathbf{u}$ ($\lambda = \omega^2$) has two equivalent geometric interpretations. Left: expanding the stiffness contour $\mathbf{u}^{\mathsf{T}}\mathbf{K}\mathbf{u} = \lambda$ until it becomes tangent to the fixed unit mass ellipse $\mathbf{u}^{\mathsf{T}}\mathbf{M}\mathbf{u} = 1$—tangency occurs exclusively at $\lambda = \omega_1^2$ and $\lambda = \omega_2^2$. Right: sweeping a direction $\mathbf{u}$ to locate where the elastic restoring force $\mathbf{K}\mathbf{u}$ aligns with inertia $\mathbf{M}\mathbf{u}$ at the extrema of the Rayleigh quotient.

—
Lagrange multiplier geometry. Stationary values of $\mathbf{u}^{\mathsf{T}}\mathbf{K}\mathbf{u}$ subject to $\mathbf{u}^{\mathsf{T}}\mathbf{M}\mathbf{u} = 1$ occur where both ellipses share a tangent line and parallel normal gradients: $$\nabla(\mathbf{u}^{\mathsf{T}}\mathbf{K}\mathbf{u}) = \lambda\,\nabla(\mathbf{u}^{\mathsf{T}}\mathbf{M}\mathbf{u}) \iff \mathbf{K}\mathbf{u} = \lambda\mathbf{M}\mathbf{u}.$$
Synchronous oscillation and the Rayleigh quotient. Along a general direction $\mathbf{u}$, the restoring vector $\mathbf{K}\mathbf{u}$ is not parallel to $\mathbf{M}\mathbf{u}$, pulling the motion off that line. Along $\mathbf{u}_1$ or $\mathbf{u}_2$ they align, and their ratio equals the Rayleigh quotient: $$R(\mathbf{u}) = \frac{\mathbf{u}^{\mathsf{T}}\mathbf{K}\mathbf{u}}{\mathbf{u}^{\mathsf{T}}\mathbf{M}\mathbf{u}} = \omega^2.$$

4. Modal coordinates factor through the symmetric ellipse $\mathbf{M}^{-1/2}\mathbf{K}\mathbf{M}^{-1/2}$

To diagonalize both $\mathbf{M}$ and $\mathbf{K}$ simultaneously, introduce mass-weighted coordinates $\mathbf{z} = \mathbf{M}^{1/2}\mathbf{q}$ (so $\mathbf{q} = \mathbf{M}^{-1/2}\mathbf{z}$) in $\mathbf{M}\ddot{\mathbf{q}} + \mathbf{K}\mathbf{q} = \mathbf{0}$ and left-multiply by $\mathbf{M}^{-1/2}$. The mass matrix becomes the identity $\mathbf{I}$ (a unit circle) and stiffness becomes the symmetric matrix $\tilde{\mathbf{K}} = \mathbf{M}^{-1/2}\mathbf{K}\mathbf{M}^{-1/2}$. Rotating onto the orthogonal eigenvectors $\mathbf{P} = [\mathbf{p}_1\;\mathbf{p}_2]$ of $\tilde{\mathbf{K}}$ yields modal coordinates $\boldsymbol{\eta} = \mathbf{P}^{\mathsf{T}}\mathbf{z}$, so $\mathbf{q} = \mathbf{\Phi}\boldsymbol{\eta}$ with $\mathbf{\Phi} = \mathbf{M}^{-1/2}\mathbf{P}$.

Reading the $\mathbf{M}^{-1/2}\mathbf{K}\mathbf{M}^{-1/2}$ ellipse. Because $\tilde{\mathbf{K}} = \mathbf{M}^{-1/2}\mathbf{K}\mathbf{M}^{-1/2}$ is symmetric, the level set $\mathbf{z}^{\mathsf{T}}\tilde{\mathbf{K}}\mathbf{z} = 1$ has perpendicular principal axes $\mathbf{p}_1$ $\perp$ $\mathbf{p}_2$ with semi-axis lengths $a = 1/\omega_1$ and $b = 1/\omega_2$. Its aspect ratio $a/b = \omega_2/\omega_1$ directly measures the natural frequency separation.

Relation between $\mathbf{q} = \mathbf{\Phi}\boldsymbol{\eta}$ and $\tilde{\mathbf{K}} = \mathbf{M}^{-1/2}\mathbf{K}\mathbf{M}^{-1/2}$

$$\mathbf{q} \;\xrightarrow{\;\mathbf{z} = \mathbf{M}^{1/2}\mathbf{q}\;}\; \mathbf{z} \;\xrightarrow{\;\boldsymbol{\eta} = \mathbf{P}^{\mathsf{T}}\mathbf{z}\;}\; \boldsymbol{\eta} \qquad\Longleftrightarrow\qquad \mathbf{q} = \underbrace{\mathbf{M}^{-1/2}\mathbf{P}}_{\mathbf{\Phi}}\,\boldsymbol{\eta}$$
Step 1 (mass-weighting). Setting $\mathbf{q} = \mathbf{M}^{-1/2}\mathbf{z}$ transforms $\mathbf{M}\ddot{\mathbf{q}} + \mathbf{K}\mathbf{q} = \mathbf{0}$ into $$\ddot{\mathbf{z}} + \tilde{\mathbf{K}}\mathbf{z} = \mathbf{0}, \qquad \tilde{\mathbf{K}} = \mathbf{M}^{-1/2}\mathbf{K}\mathbf{M}^{-1/2} = \tilde{\mathbf{K}}^{\mathsf{T}}.$$
Step 2 (orthogonal rotation). Solving the symmetric eigenproblem $\tilde{\mathbf{K}}\mathbf{P} = \mathbf{P}\mathbf{\Lambda}$ with orthogonal $\mathbf{P} = [\mathbf{p}_1\;\mathbf{p}_2]$ ($\mathbf{P}^{\mathsf{T}}\mathbf{P} = \mathbf{I}$) and setting $\mathbf{z} = \mathbf{P}\boldsymbol{\eta}$ yields $\ddot{\boldsymbol{\eta}} + \mathbf{\Lambda}\boldsymbol{\eta} = \mathbf{0}$.
Combined modal matrix $\mathbf{\Phi}$. Chaining both steps gives $\mathbf{q} = \mathbf{M}^{-1/2}\mathbf{P}\boldsymbol{\eta} = \mathbf{\Phi}\boldsymbol{\eta}$, which satisfies $\mathbf{\Phi}^{\mathsf{T}}\mathbf{M}\mathbf{\Phi} = \mathbf{P}^{\mathsf{T}}\mathbf{P} = \mathbf{I}$ and $\mathbf{\Phi}^{\mathsf{T}}\mathbf{K}\mathbf{\Phi} = \mathbf{P}^{\mathsf{T}}\tilde{\mathbf{K}}\mathbf{P} = \mathbf{\Lambda}$.
Live symmetric $\tilde{\mathbf{K}}$ and modal factorization $\mathbf{\Phi} = \mathbf{M}^{-1/2}\mathbf{P}$
0.00

Live transformed matrices: $\mathbf{M}(t) = \mathbf{L}^{-\mathsf{T}}\mathbf{M}\mathbf{L}^{-1}$, $\;\mathbf{K}(t) = \mathbf{L}^{-\mathsf{T}}\mathbf{K}\mathbf{L}^{-1}$
Modal orthogonality check
Euclidean angle $\angle(\mathbf{u}_1, \mathbf{u}_2) =$ —
$\mathbf{M}$-inner product $\mathbf{u}_1^{\mathsf{T}}\mathbf{M}\mathbf{u}_2 =$ 0.000
$\mathbf{K}$-inner product $\mathbf{u}_1^{\mathsf{T}}\mathbf{K}\mathbf{u}_2 =$ 0.000
Geometric interpretation of $\mathbf{q} = \mathbf{\Phi}\boldsymbol{\eta}$. Use Reverse ($\mathbf{q} = \mathbf{\Phi}\boldsymbol{\eta}$) from Stage 2 back to Stage 0 to follow $\mathbf{q} = \mathbf{M}^{-1/2}(\mathbf{P}\boldsymbol{\eta})$: rotating by $\mathbf{P}$ aligns with the orthogonal axes of $\tilde{\mathbf{K}}$, and stretching by $\mathbf{M}^{-1/2}$ maps those perpendicular axes onto the physical normal modes $\mathbf{u}_1$ and $\mathbf{u}_2$.

5. Every free vibration is a superposition of two independent modes

Under the modal transformation $\mathbf{q}(t) = \mathbf{\Phi}\boldsymbol{\eta}(t) = \eta_1(t)\mathbf{u}_1 + \eta_2(t)\mathbf{u}_2$, the coupled system separates into two independent scalar oscillators: $\ddot{\eta}_1 + \omega_1^2\eta_1 = 0$ and $\ddot{\eta}_2 + \omega_2^2\eta_2 = 0$. Compare the skewed Lissajous trajectory in physical coordinates $(q_1, q_2)$ with the axis-aligned bounding rectangle in modal coordinates $(\eta_1, \eta_2)$.

Mode 1 amplitude $A_1$ 0.65
Mode 2 amplitude $A_2$ 0.55
Phase offset $\Delta\phi$ 0°

6. Step-by-step modal analysis recipe

A concise five-step procedure for linear 2-DOF modal analysis, paired with MATLAB and Python (SciPy) verification scripts populated with the current system matrices.

Five-step modal procedure

  1. 1
    Form $\mathbf{M}$ and $\mathbf{K}$ from energy. Write $T = \tfrac{1}{2}\dot{\mathbf{q}}^{\mathsf{T}}\mathbf{M}\dot{\mathbf{q}}$ and $V = \tfrac{1}{2}\mathbf{q}^{\mathsf{T}}\mathbf{K}\mathbf{q}$ to obtain the symmetric matrices $\mathbf{M}$ and $\mathbf{K}$.
  2. 2
    Mass-weight or solve directly. Form the symmetric matrix $\tilde{\mathbf{K}} = \mathbf{M}^{-1/2}\mathbf{K}\mathbf{M}^{-1/2}$ and solve $\tilde{\mathbf{K}}\mathbf{P} = \mathbf{P}\mathbf{\Lambda}$ (equivalently solve $\det(\mathbf{K} - \omega^2\mathbf{M}) = 0$) for $\omega_1^2$ and $\omega_2^2$.
  3. 3
    Assemble mass-normalized modes $\mathbf{\Phi}$. Map the orthogonal eigenvectors back via $\mathbf{\Phi} = \mathbf{M}^{-1/2}\mathbf{P} = [\mathbf{u}_1\;\mathbf{u}_2]$, which automatically satisfies $\mathbf{u}_i^{\mathsf{T}}\mathbf{M}\mathbf{u}_i = 1$.
  4. 4
    Verify simultaneous diagonalization. The modal matrix guarantees $\mathbf{\Phi}^{\mathsf{T}}\mathbf{M}\mathbf{\Phi} = \mathbf{I}$ and $\mathbf{\Phi}^{\mathsf{T}}\mathbf{K}\mathbf{\Phi} = \mathbf{\Lambda} = \operatorname{diag}(\omega_1^2, \omega_2^2)$.
  5. 5
    Decouple and recombine. Project initial conditions via $\boldsymbol{\eta}(0) = \mathbf{\Phi}^{\mathsf{T}}\mathbf{M}\mathbf{q}(0)$, solve each scalar oscillator $\ddot{\eta}_i + \omega_i^2\eta_i = 0$, and reconstruct $\mathbf{q}(t) = \mathbf{\Phi}\boldsymbol{\eta}(t)$.

Verify current system in code



          

How to cite this tutorial


        

Author: David Chelidze · Nonlinear Dynamics Laboratory, Department of Mechanical, Industrial and Systems Engineering, University of Rhode Island.