PhysSandbox
Classical MechanicsWaves & SoundElectricity & MagnetismOptics & LightGravity & OrbitsLabs
🌙Astronomy & The Sky🌡️Thermodynamics🌍Biophysics, Fluids & Geoscience📐Math Visualization🔧Engineering🧪Chemistry

More from Waves & Sound

Other simulators in this category — or see all 35.

View category →
NewSchool

Water Wave Dispersion ω(k)

Shallow k√(gh), deep √(gk), full tanh(kh) — three curves.

Launch Simulator
NewUniversity / research

Tsunami & Shallow Water (1D)

Linear η,u on H(x): c = √(gH) drops over shelf; Gaussian uplift impulse.

Launch Simulator
NewSchool

Kelvin Ship Wake (Cusp Angle)

Deep-water wake V: arms at arcsin(1/3) ≈ 19.47° each side of the track (idealized).

Launch Simulator
NewUniversity / research

KdV Solitons (Exact)

u_t + 6uu_x + u_xxx = 0; Hirota two-soliton collision or one sech² pulse.

Launch Simulator
FeaturedSchool

Wave on a String

Shake one end, adjust frequency and amplitude. Standing waves and reflections.

Launch Simulator
School

Transverse vs Longitudinal

Side-by-side comparison of wave types with particle motion.

Launch Simulator
PhysSandbox

Interactive physics, chemistry, and engineering simulators for students, teachers, and curious minds.

Physics

  • Classical Mechanics
  • Waves & Sound
  • Electricity & Magnetism

Science

  • Optics & Light
  • Gravity & Orbits
  • Astronomy & The Sky

More

  • Thermodynamics
  • Biophysics, Fluids & Geoscience
  • Math Visualization
  • Engineering
  • Chemistry

© 2026 PhysSandbox. Free interactive science simulators.

PrivacyTermsContact
Home/Waves & Sound/Seismic P and S (Schematic)

Seismic P and S (Schematic)

Seismic waves are the energy pulses that travel through the Earth after events like earthquakes. This schematic simulator visualizes the two fundamental types of body waves: P-waves (Primary) and S-waves (Secondary). The core physics principle demonstrated is the distinction between longitudinal and transverse wave motion. P-waves are longitudinal waves where particle motion is parallel to the direction of wave propagation, creating alternating compressions and rarefactions in the material. Their speed, v_P, is governed by the bulk modulus (K) and shear modulus (μ) of the medium: v_P = √[(K + 4μ/3) / ρ], where ρ is density. S-waves are transverse waves where particle motion is perpendicular to the direction of propagation, requiring a material with shear strength. Their speed is v_S = √(μ / ρ). A key simplification here is that the model does not depict a layered Earth with varying properties or wave refraction; it shows wave propagation through a single, homogeneous medium. By interacting with sliders for v_P and v_S, students can directly observe how changes in wave speed affect wavelength for a fixed frequency, reinforcing the universal wave relationship v = fλ. They learn to identify wave types by particle motion, understand why S-waves cannot travel through fluids (where μ=0), and grasp why P-waves always arrive first at a seismograph, enabling epicenter triangulation.

Who it's for: High school and introductory undergraduate geoscience or physics students learning about wave mechanics, Earth structure, and seismology.

Key terms

  • P-wave
  • S-wave
  • Longitudinal wave
  • Transverse wave
  • Wave propagation
  • Seismic velocity
  • Particle motion
  • Shear modulus

Wave speeds & look

6 (sim)
3.5 (sim)
0.12
0.1
1.2

Measured values

v_P / v_S1.71

How it works

Body waves in elastic media: P (compressional) — particle motion along the ray; S (shear) — motion perpendicular (here shown in the plane). v_P > v_S is typical in rocks. This is a 1D traveling sine caricature on a line of markers, not a layered Earth model or Rayleigh surface waves.

Key equations

Longitudinal vs shear polarization; v_P, v_S material-dependent (sketch)

Frequently asked questions

Why can't S-waves travel through liquids like the Earth's outer core?
S-waves are shear waves, meaning they require the material to resist a side-to-side or up-and-down shearing force. Liquids (and gases) have zero shear modulus (μ=0); they flow instead of elastically snapping back. Since the S-wave speed formula is v_S = √(μ / ρ), if μ is zero, the wave speed is zero, and the wave cannot propagate. This is a key piece of evidence for the liquid nature of the Earth's outer core.
If I increase the wave speed with the slider, why does the wavelength get longer?
The simulator keeps the frequency (f) of the source constant. The fundamental wave equation v = fλ tells us that wave speed (v) and wavelength (λ) are directly proportional when frequency is fixed. Therefore, increasing the speed (v_P or v_S) forces the wavelength to increase to satisfy the equation. In a real earthquake, the source frequency is fixed, so waves travel with different wavelengths in different rock layers based on their speed.
Does this simulator show how we locate earthquakes?
It shows the foundational concept. In reality, seismometers detect the arrival times of P and S waves. Since P-waves are always faster, the further you are from the epicenter, the greater the time gap between their arrivals. This simulator visually explains that speed difference. However, it does not model the triangulation process using data from multiple stations or the path of waves through Earth's complex interior layers.
What is the 'particle motion' being shown? Am I seeing the wave or the material?
You are seeing a schematic representation of individual particles in the medium (e.g., rock) as the wave passes through. The particles themselves only oscillate slightly around a fixed point; they do not travel with the wave. The wave is the pattern of disturbance (the compressions or shears) that moves through the material, transferring energy from particle to particle. The animated dots make this oscillatory particle motion visible.