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

Related simulators

Continue with similar topics in this category — or all 37 in Waves & Sound.

View category →
School

Transverse vs Longitudinal

Launch Simulator

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

NewSchool

Wave Speed: String vs Rod

Launch Simulator

v = √(T/μ) for a string vs v ≈ √(E/ρ) for longitudinal bar waves.

NewSchool

Mach Cone (Schematic)

Launch Simulator

M = v/c > 1: Huygens pulses + cone sin μ = 1/M; not CFD shock.

FeaturedSchool

Wave on a String

Launch Simulator

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

NewSchool

Group & Phase Velocity

Launch Simulator

Two-wave beat: ω(k)=ck+αk²; v_g=Δω/Δk vs v_p=ω̄/k̄; envelope vs carrier.

NewSchool

Doppler Effect

Launch Simulator

Moving source with pitch change via Web Audio. Wavefront compression visible.

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)

Longitudinal vs transverse particle motion; v_P, v_S sliders — not layered Earth.

Wave speeds & look

6 (sim)
3.5 (sim)
0.12
0.1
1.2

Measured values

v_P / v_S1.71

About this model

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

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.