Skip to main content
🎓 Need a physics tutor?Book a free intro call →
← BlogWaves & Optics

What Is a Longitudinal Wave? Definition, Diagram and Examples

Physics Fundamentals Editorial TeamPhysics FundamentalsUpdated Jul 29, 202613 min read
Longitudinal waves — compression and rarefaction of a spring illustrating parallel wave oscillation

Sound doesn't push air sideways. It squeezes and stretches it — alternating compressions and rarefactions travelling outward from the source. That's a longitudinal wave: the medium moves in the same direction the wave travels, not perpendicular to it. It's a fundamentally different kind of wave motion from light, and that difference explains why sound can't travel through a vacuum, why it bends around corners, and why you can't polarise it.

Longitudinal waves are everywhere: sound in air, seismic P-waves through rock, pressure waves in a doctor's ultrasound machine. Understanding how they work — really understanding, not just memorising the definition — gives you a physical picture that makes sense of all of these at once.

In this guide
  • What makes a wave longitudinal — and how compressions and rarefactions carry energy
  • How longitudinal waves differ from transverse waves, and why it matters
  • Sound as a longitudinal wave: speed, frequency, and what affects each
  • Real-world examples including seismic waves, ultrasound, and musical instruments

What Is a Longitudinal Wave?

The defining characteristic is the parallel relationship between oscillation direction and propagation direction. Push and pull one end of a horizontal Slinky: the coils compress and expand along the horizontal axis, and the wave pulse also travels horizontally. Both disturbance and propagation are parallel — that is a longitudinal wave.

This contrasts directly with a transverse wave, where oscillation is perpendicular to propagation. Shake the same Slinky up and down: the wave still travels horizontally, but the coils move vertically — transverse. The geometry of oscillation relative to propagation is the fundamental distinction.

Compressions and Rarefactions

Longitudinal waves are characterised by two alternating zones:

Compressions: regions where particles are pushed together — higher density and pressure than equilibrium. These are the "peaks" of the pressure variation.

Rarefactions: regions where particles are pulled apart — lower density and pressure. These are the "troughs" of the pressure variation.

Diagram — Longitudinal wave: compressions and rarefactions

compression rarefaction compression rarefaction compression rarefaction compression Wave propagation direction →

The wavelength of a longitudinal wave is the distance between consecutive compression centres (or consecutive rarefaction centres) — exactly analogous to peak-to-peak distance in a transverse wave.

The Wave Equation

Longitudinal waves obey the universal wave equation:

v = fλ

where v is wave speed (m/s), f is frequency (Hz), and λ is wavelength (m). All wave properties — frequency, amplitude, period, wave speed, wavelength — apply identically to longitudinal and transverse waves. Only the direction of oscillation differs.

Worked Example: Wavelength of a Musical Note

A tuning fork vibrates at 440 Hz (concert pitch A) in air at 20°C, where the speed of sound is 343 m/s. Find the wavelength of the sound wave it produces.

λ = v/f = 343 / 440 = 0.78 m

Each compression-rarefaction cycle spans about 78 cm — roughly arm's length. Compare this to a seismic P-wave with a typical frequency of 1 Hz travelling at 6 km/s through the Earth's crust: λ = 6,000/1 = 6,000 m (6 km) — the same equation, but a wavelength thousands of times longer, since P-waves travel far faster and typically oscillate far slower than audible sound.

Examples of Longitudinal Waves

1. Sound waves

Sound is the most important longitudinal wave in everyday life. A vibrating speaker cone creates alternating compressions and rarefactions in air. These pressure variations travel outward at approximately 343 m/s in air at 20°C, 1,480 m/s in water, and 5,120 m/s in steel. Your ear detects the pressure variations as sound.

2. Seismic P-waves

During earthquakes, the Earth transmits primary waves (P-waves) — longitudinal waves where rock compresses and expands along the propagation direction. P-waves travel at 5–8 km/s through the crust. Crucially, they can pass through solids, liquids, and gases — unlike S-waves (transverse), which cannot pass through liquids. The detection of P-waves but not S-waves on the far side of the Earth from an earthquake epicentre was the evidence that clinched the liquid outer core model in 1936.

3. Ultrasound

Medical ultrasound uses longitudinal waves at frequencies above 20,000 Hz. A transducer sends compressions into the body; tissues reflect them at different strengths. Returning echoes construct images. The same principle works in sonar and industrial non-destructive testing of welds and castings.

4. Spring (Slinky) waves

The classic classroom demo: push and pull one end of a stretched Slinky. Compression zones travel from one end to the other with coils moving parallel to propagation. It is a textbook longitudinal wave — visible and slow enough to observe directly.

5. Infrasound

Frequencies below 20 Hz — inaudible to humans — are infrasound. Elephants, whales, and some birds use infrasound for long-distance communication. Volcanic eruptions and meteor strikes produce infrasound detectable thousands of kilometres away. All sound, including infrasound, is a longitudinal wave.

Speed of Longitudinal Waves Through Different Media

v = √(B/ρ)

where B is the bulk modulus (resistance to compression) and ρ is density — this form applies directly to fluids like air and water, where B is the only relevant stiffness. Stiffer media transmit longitudinal waves faster; denser media transmit them more slowly.

For a solid rod or bar (like the steel figure in the table below), the more precise formula uses Young's modulus E instead of bulk modulus: v = √(E/ρ). For steel, E ≈ 200 GPa and ρ ≈ 7,850 kg/m³, giving v = √(200×10⁹/7,850) ≈ 5,050 m/s — consistent with the table. Using steel's bulk modulus instead (≈ 160 GPa, which resists volume change from all sides rather than stretching along one axis) would understate the speed, since a thin rod is free to expand sideways as it's compressed lengthwise in a way that bulk compression is not. Steel transmits sound faster than air despite being denser — its much greater stiffness outweighs the density increase.

Medium Speed of sound (m/s)
Air (20°C) 343 m/s
Water (20°C) 1,480 m/s
Steel 5,120 m/s
Granite (crust) ~6,000 m/s

Longitudinal vs Transverse Waves: Complete Comparison

Feature Longitudinal Transverse
Oscillation direction Parallel to propagation Perpendicular to propagation
Wave features Compressions and rarefactions Crests and troughs
Travel in vacuum? No — requires medium Yes (EM waves can)
Can be polarized? No Yes
Examples Sound, P-waves, ultrasound Light, radio, S-waves, water surface
Key Distinction: Polarization

Only transverse waves can be polarized. Polarization restricts oscillation to a single plane. Because longitudinal waves already oscillate in only one dimension (parallel to propagation), there is no additional direction to restrict. If a wave can be polarized by a filter, it must be transverse.

Measuring the Speed of Sound

Historical methods: Marin Mersenne (1636) timed echoes from a wall at a known distance, getting ~450 m/s (too slow due to poor timing). Modern methods: measure the time for a sound pulse to travel a known distance using electronic timing (accurate to microseconds). Interference methods: two microphones at different distances from a speaker; the phase difference at each frequency determines the wavelength, and v = fλ gives the speed. Speed of sound in air is also used to measure temperature in meteorology — weather balloons carry sounders to probe atmospheric temperature profiles.

Frequently Asked Questions

What is a longitudinal wave?
A longitudinal wave is a wave in which particles of the medium oscillate parallel to the direction of wave propagation. This creates alternating regions of compression (higher density/pressure) and rarefaction (lower density/pressure) along the wave's path. Sound is the most common example: air molecules move back and forth along the direction the sound travels, creating pressure variations. Longitudinal waves require a medium and cannot travel through a vacuum, unlike electromagnetic (transverse) waves.
What is an example of a longitudinal wave?
Sound waves are the most important example. Other examples include seismic P-waves (which travel through the Earth during earthquakes), medical ultrasound, sonar, and waves along a compressed Slinky spring.
Is sound a longitudinal or transverse wave?
Sound is a longitudinal wave. Air molecules oscillate back and forth (compress and expand) along the same direction the sound wave travels. Sound cannot be a transverse wave because air cannot support the shear forces that transverse mechanical waves require.
What is the difference between compression and rarefaction?
In a longitudinal wave, compression is a region where particles are pushed closer together — local density and pressure are higher than normal. Rarefaction (or dilation) is a region where particles are spread further apart — local density and pressure are lower than normal. Compressions and rarefactions alternate along the wave, with a full compression-rarefaction cycle comprising one wavelength. In sound waves, compressions correspond to pressure peaks and rarefactions to pressure troughs; your eardrum detects these pressure variations.
Why can't longitudinal waves travel through a vacuum?
Longitudinal waves propagate by molecules pushing their neighbours — compression in one region pushes adjacent molecules together, which push the next region, and so on. This requires a physical medium of particles to do the pushing. In a vacuum, there are no molecules, so there is nothing to be compressed or rarefied. Sound cannot travel in space — the vacuum between planets is completely silent. This is different from electromagnetic (transverse) waves like light and radio, which are oscillating electric and magnetic fields that require no medium.
What is the speed of sound in air?
The speed of sound in dry air at 20°C is approximately 343 m/s (≈ 1,235 km/h or 767 mph). It depends on temperature: v ≈ 331 + 0.6T m/s, where T is in Celsius. At 0°C: 331 m/s. At 100°C: 391 m/s. Sound travels much faster in denser and more elastic materials: ~1,480 m/s in water and ~5,100 m/s in steel. The speed depends on the medium's bulk modulus (resistance to compression) and density, not on frequency or amplitude of the sound.
Can longitudinal waves be polarised?
No — polarisation is a property of transverse waves only. Polarisation refers to restricting the direction of oscillation to one plane; since transverse waves oscillate perpendicular to propagation, there are multiple possible oscillation planes to select from. In longitudinal waves, oscillation is always parallel to propagation — there is only one possible direction, so there is nothing to polarise. This is why polaroids and polarising filters work for light (transverse) but have no effect on sound (longitudinal).

Share this article

Written by

Physics Fundamentals Editorial Team

Written and reviewed by our team of physics educators. Content is aligned with A-Level, GCSE, AP Physics, and undergraduate curricula.

About Physics Fundamentals →

Discussion

Comments

Leave a comment

Have a question about this article? Spot a mistake? Or just want to share your thoughts? We'd love to hear from you.

0/2000

Comments are moderated and appear after review. Be respectful and constructive.

Keep learning physics fundamentals

Get new articles and platform updates delivered to your inbox.

Physics Fundamentals

Channel · Updates only

👋 Get concise physics updates — new articles, calculators, and tools. Your number stays private. No spam. No group chats. Just worthy content.

Your number is never shared or visible to others
Join the Channel