---
title: "Mechanical Lattice & Dispersion Interactive Lab | Sandbox Physics"
description: "How does a wave packet travel when its crests and its envelope move at different speeds? The crests slide through the packet at the phase velocity, while the envelope, and the energy with it, moves at the group velocity. The group velocity is the slope of the curve of frequency against wavenumber. A mass defect in the chain can hold a vibration in place around it instead of letting it travel."
canonical_url: "https://sandboxphysics.com/labs/mechanical-lattice/"
language: "en"
page_type: "lab"
alternate_languages:
  zh-CN: "https://sandboxphysics.com/zh/labs/mechanical-lattice/"
last_modified: "2026-10-22"
---

M070 · Waves on a chain of masses

# Mechanical Lattice & Dispersion

**How does a wave packet travel when its crests and its envelope move at different speeds?** The crests slide through the packet at the phase velocity, while the envelope, and the energy with it, moves at the group velocity. The group velocity is the slope of the curve of frequency against wavenumber. A mass defect in the chain can hold a vibration in place around it instead of letting it travel.

Build a chain of equal or alternating masses, launch an acoustic or optical wave packet, and compare how the crests, the envelope and the energy move. Add a mass defect, excite one of the chain's normal modes and measure how localized it is. In the 3D view, pick a site to see the two spring forces on it, and review how energy and wall impulse change over the recorded run. Click the rail in the data row to place the packet. The finite-chain modes and the infinite-lattice curves are computed separately.

> Interactive simulation: open this page in a web browser to change the parameters and run the model.

The 3D apparatus is schematic. Displacements along the chain are drawn at a fixed scale for each record, separate from the spacing between masses, and the body sizes and coils do not model collisions. Colour shows each site's current energy relative to the current peak. All quantities are in units of the reference mass, the nearest-neighbour spacing and the reference stiffness. The masses move only along the chain; the profile below plots displacement on a vertical axis. The walls are fixed. The infinite two-mass reference uses equal springs and a two-site cell, and a single mass defect does not change it. A Gaussian packet has a finite bandwidth, is cut off at the chain ends and reflects from the walls, so the energy centroid in the finite chain need not drift at the carrier group velocity. The optical branch can have a negative group velocity. The finite-chain modes come from a symmetric mass-weighted matrix, and the residual is shown. For this linear model the harmonic energy is exact.

Physics tutorial

## Waves carry an envelope through a discrete chain

**Background** When masses are joined to their neighbours by springs, the whole chain vibrates in collective modes. If the masses alternate between two values, the frequencies of an infinite chain split into two bands, the acoustic and optical branches. In a finite chain, a single mass that differs from the rest can instead hold a mode that stays localized around it.

**Why it matters** MIT lecture notes on lattice vibrations derive the acoustic and optical branches for an infinite chain. Here you compare that prediction with the motion of a finite chain whose ends are fixed.

Start with the essentials

- **Focus question**: Which velocity carries the packet’s energy?
- **One-sentence intuition**: Compare the group velocity at the carrier, the slope of the dispersion curve, with how fast the energy centroid of the finite chain actually moves. Then check a mass defect by its mode shape and by how many sites take part.

### Core mathematical model

#### Newton’s second law for each site

$$
m_i\ddot u_i=\kappa(u_{i+1}-2u_i+u_{i-1})
$$

The two fixed ends push on the chain and change its momentum, but they do no work on it.

#### Dispersion of a two-mass chain with equal springs

$$
\omega_\pm^2=\kappa\left(\frac1{m_A}+\frac1{m_B}\right)\pm\kappa\sqrt{\left(\frac1{m_A}+\frac1{m_B}\right)^2-\frac{4\sin^2q}{m_Am_B}}
$$

Neighbouring sites are one unit apart, so the repeating two-site cell is two units long.

#### Phase and group velocities

$$
v_p=\omega/q,\qquad v_g=\partial\omega/\partial q
$$

The derivative taken at the carrier wave number is a reference for a narrow-band packet on an infinite chain.

#### Normal modes of the finite chain

$$
M^{-1/2}KM^{-1/2}e_j=\omega_j^2e_j,\qquad e_j^{\mathsf T}e_j=1
$$

The residual shown checks how well every computed mode satisfies this matrix equation.

#### How localized a mode is, and where the energy sits

$$
P_j=\left(\sum_i e_{ji}^4\right)^{-1},\qquad \bar s_E=\frac{\sum_i s_iE_i}{\sum_iE_i}
$$

The participation count measures how many sites share the mass-weighted mode shape. The energy centroid follows where the local energy is.

### Common difficulties

#### The optical branch is still a mechanical vibration

**Typical misconception** The optical branch must be simulating light.

**Better mental model** The name comes from the two sublattices moving against each other. Here both branches are vibrations of a chain of springs.

#### A finite chain can have modes outside the bulk bands

**Typical misconception** A finite chain cannot have a mode whose frequency lies outside the bands of the infinite chain.

**Better mental model** A mode localized at a defect does not have to fall inside a bulk band. Look at the eigenvector of the finite chain to see it.

#### Walls and packet width affect the energy drift

**Typical misconception** The energy centroid always moves at the group velocity.

**Better mental model** A real packet has a finite bandwidth, its envelope is cut off at the chain ends, and waves reflect from the walls. Each of these changes what the finite chain measures.

### Run the experiment

1. 01

   #### Check the forces on one site in 3D

   Pause, choose a site to inspect and use the fine motion step. Compare the teal and gold bond forces with their violet sum and with the acceleration readout.

   **What to observe:** The masses move only along the chain. The displacement profile below is just a graph, and the body size and drawing magnification are schematic.

2. 02

   #### Follow energy and wall impulse

   Open Energy & wall impulse, scrub through the acquired record, then return to Motion & modes.

   **What to observe:** The full energy breakdown and the signed numerical error follow the same cursor. The fixed walls exchange momentum with the chain but do no work.

3. 03

   #### Track the acoustic packet

   Acquire a record for the uniform chain and scrub through its space-time plot.

   **What to observe:** The envelope, the crests and the energy centroid are three different things to measure.

4. 04

   #### Open a band gap

   Select alternating masses and vary their ratio.

   **What to observe:** The two branches in the reduced zone pull apart; with equal masses the gap closes.

5. 05

   #### Watch the optical envelope run backward

   Acquire the optical packet and check the sign of its group velocity.

   **What to observe:** The envelope can travel in the opposite direction to the crests.

6. 06

   #### Measure a defect mode

   Select the light-defect release, inspect the eigenvector, then change the selected mode.

   **What to observe:** The high-frequency mode stays localized, so its participation count is small.

Physical conclusion

The infinite-lattice prediction is a reference; a packet of finite width in a chain of finite length can depart from it.

Motion & dynamics · Starter path

## From a falling ball to an orbit

Start by measuring gravity and splitting motion into components. Then add contact forces and collisions, and follow the same laws all the way to an orbit.

[Start here → **Free Fall & Measuring Gravity** Capture a few drops and fit the camera positions to estimate gravitational acceleration. Then add air damping and watch the fit drift from the truth. Observe · 14 min](https://sandboxphysics.com/labs/free-fall/)

1. [1 Free Fall & Measuring Gravity](https://sandboxphysics.com/labs/free-fall/)
2. [2 Projectile Flight Designer](https://sandboxphysics.com/labs/projectile-flight/)
3. [3 Inclined Plane & Friction](https://sandboxphysics.com/labs/inclined-plane/)
4. [4 One-Dimensional Collision Bench](https://sandboxphysics.com/labs/collision-bench/)
5. [5 Mass–Spring Oscillator](https://sandboxphysics.com/labs/mass-spring/)
6. [6 How Orbits Take Shape](https://sandboxphysics.com/labs/orbit/)

[View the full path →](https://sandboxphysics.com/topics/mechanics/#starter-path)
