Diffraction Gratings - Spectra Analysis for A-Level Physics
Download printable cheat-sheet (CC-BY 4.0)05 Aug 2025, 00:00 Z
TL;DR
That scratched DVD in your drawer? It's a 740 lines/mm diffraction grating worth $50 in physics catalogs. This guide shows how to measure light wavelengths to ±2nm accuracy, identify elements by their spectral fingerprints, and understand why streetlights glow orange. Master the grating equation and ace every spectrum question in H2 Physics.
Why Gratings Beat Prisms
Prisms spread light by refraction - different wavelengths bend different amounts. But diffraction gratings use interference from thousands of tiny slits to create:
- Higher resolution (sharper spectral lines)
- Linear dispersion (even spacing)
- Multiple orders (repeated spectra)
- Predictable angles (via grating equation)
Your CD spectrometer will outperform Newton's prism in every measure.
The Physics Behind the Rainbow
The Grating Equation
For constructive interference at angle \(\theta\):
\[d\sin\theta = n\lambda\]
Where:
- \(d\) = Slit spacing (distance between lines)
- \(\theta\) = Angle from normal
- \(n\) = Order number \((0, \pm 1, \pm 2...)\)
- \(\lambda\) = Wavelength
Why CDs and DVDs Work
CD specifications:
- Track spacing: \(\pu{1.6 μm}\)
- Lines per mm: \(625\)
- Good for visible spectrum
DVD specifications:
- Track spacing: \(\pu{0.74 μm}\)
- Lines per mm: \(1351\)
- Better resolution, wider angles
Blu-ray: \(\pu{0.32 μm}\) spacing (even better!)
Building Your Spectrometer
Method 1: Simple Hand-Held
Materials:
- Old CD/DVD (remove metal layer)
- Cardboard tube (paper towel roll)
- Razor blade for slit
- Black paper/tape
- Protractor
Construction:
- Cut narrow slit (0.5mm) in cardboard
- Mount CD piece at 45° angle
- Look through CD at slit
- See spectrum on either side
Method 2: Measurement Setup
For quantitative work:
[Light Source] → [Slit] → [Grating] → [Screen/Eye]
| | | |
0cm 20cm 30cm Measure angle
Key improvements:
- Fixed positions for consistency
- Rotating grating mount
- Degree scale for angles
- Dark box to reduce stray light
Method 3: Smartphone Spectrometer
Modern approach:
- 3D print or cardboard housing
- DVD piece as grating
- Phone camera as detector
- Apps for analysis
Benefits: Digital recording, intensity plots, easy sharing
Measuring Known Sources
LED Wavelengths
Single-color LEDs are nearly monochromatic:
- Red LED: \(\lambda ≈ 630-660\) nm
- Green LED: \(\lambda ≈ 520-535\) nm
- Blue LED: \(\lambda ≈ 450-475\) nm
Measurement procedure:
- Aim LED at slit
- View through grating
- Measure angle to first order (\(n=1\))
- Calculate: \(\lambda = d\sin\theta\)
White LED Spectrum
Unlike single colors, white LEDs show:
- Blue peak (~450nm) from LED chip
- Broad yellow from phosphor
- Gap in blue-green (explains color rendering)
Calculating Grating Spacing
Using Known Wavelength
With laser pointer (known \(\lambda\)):
- Measure angles for multiple orders
- Plot \(\sin\theta\) vs \(n\)
- Gradient = \(\frac{\lambda}{d}\)
- Calculate \(d\)
Example with red laser (650nm):
- First order at 25.4°
- \(d = \frac{650 \times 10^{-9}}{\sin(25.4°)} = 1.52 \times 10^{-6}\) m
- Lines/mm = \(\frac{1}{1.52 \times 10^{-3}} = 658\)
Cross-Verification
Test your calculated \(d\) value:
- Use different laser color
- Predict angle using your \(d\)
- Measure actual angle
- Should agree within 2%
Analyzing Gas Discharge Spectra
Hydrogen Spectrum
The quantum mechanics showcase:
Visible lines:
- Red: 656.3 nm (H-alpha)
- Blue-green: 486.1 nm (H-beta)
- Blue: 434.0 nm (H-gamma)
- Violet: 410.2 nm (H-delta)
What you'll observe:
- Discrete lines (not continuous)
- Exact wavelengths match theory
- Balmer series demonstration
Mercury Vapor (Fluorescent Lights)
Characteristic lines:
- Violet: 404.7 nm
- Blue: 435.8 nm
- Green: 546.1 nm (brightest)
- Yellow doublet: 577.0, 579.1 nm
Environmental note: This is why fluorescent lights have odd color rendering!
Sodium Street Lamps
The classic doublet:
- 589.0 nm and 589.6 nm
- Usually appears as single orange line
- Need good grating to resolve doublet
Experimental Procedures
Calibration First
- Use laser pointer (known wavelength)
- Find grating constant \(d\)
- Check with second laser color
- Now measure unknowns
For Each Light Source
- Ensure stable setup (no movement)
- Align carefully (perpendicular incidence)
- Measure both sides (±\(n\) orders)
- Average for accuracy
- Record order number clearly
Data Collection Table
Source | Order | \(\theta \space (^\circ)\) | \(\sin \theta\) | \(\lambda \pu{(nm)}\) | Color |
Red LED | +1 | $24.8$ | $0.420$ | $638$ | Red |
Red LED | -1 | $-24.9$ | $-0.421$ | $639$ | Red |
Red LED | +2 | $54.6$ | $0.815$ | $619$ | Red \(^†\) |
†: 2nd-order measurement is less accurate at large diffraction angles. At those angles the diffracted beam is weaker, more dispersed, and can overlap with other orders, all of which reduce wavelength-measurement precision
Advanced Techniques
Resolution and Resolving Power
Theoretical resolution: \[R = \frac{\lambda}{\Delta\lambda} = nN\]
Where \(N\) = total number of lines illuminated
Testing resolution:
- Try to resolve sodium doublet
- Separation only 0.6 nm
- Need \(R > 1000\)
- Requires many grating lines
Blazed Gratings
Commercial gratings are "blazed":
- Angled grooves concentrate light
- Most intensity in one order
- Much brighter spectra
- Worth buying for serious work
Measuring Grating Defects
Real gratings aren't perfect:
- Photograph spectrum
- Plot intensity vs wavelength
- Look for ghost lines
- Indicate manufacturing quality
Uncertainty Analysis
Angle Measurement
Biggest error source:
- Protractor reading: \(\pu{\delta\theta ≈ \pm 0.5 ^\circ}\)
- At \(\pu{30 ^\circ}\): \(\frac{\delta(\sin\theta)}{\sin\theta} ≈ 1.5%\)
- Improves with digital angle sensor
Systematic Errors
Common issues:
- Grating not perpendicular (shifts all angles)
- Wide slit (broadens lines)
- Stray light (false readings)
- Temperature effects (minimal for gratings)
Improving Accuracy
- Use higher orders when possible
- Average multiple measurements
- Measure complementary angles
- Digital photography for angle analysis
Connecting to Atomic Physics
Energy Levels and Photons
Each spectral line represents: \[E = h f = \frac{hc}{\lambda}\]
For hydrogen red line (656nm): \[E = \frac{6.63 \times 10^{-34} \times 3 \times 10^8}{656 \times 10^{-9}} = 3.03 \times 10^{-19} \text{ J} = 1.89 \text{ eV}\]
This matches \(n=3\) to \(n=2\) transition perfectly!
Spectroscopy Applications
Your simple setup demonstrates:
- Element identification (forensics)
- Star composition analysis
- LED quality testing
- Laser wavelength verification
Common Exam Questions
Q1: "Why are higher orders dimmer?"
Key points:
- Light energy spread among orders
- Path differences increase
- Not all rays interfere constructively
- Blazed gratings optimize one order
Q2: "Calculate wavelength from measurements"
Given: \(600\) lines/mm grating, first order at \(\pu{22.5^\circ}\)
Solution:
- \(d = \dfrac{1}{600} = 1.67 \times 10^{-6} \space \pu{m}\)
- \(\lambda = d\sin\theta = 1.67 \times 10^{-6} \times \sin(\pu{22.5 ^\circ}) \)
- \(\pu{\lambda = 639 \space nm}\) (red light)
Q3: "Why do CDs show colors but mirrors don't?"
Model answer:
- CDs have regular line spacing (\(d ≈ \lambda\))
- Acts as diffraction grating
- Different wavelengths diffract at different angles
- Mirrors have no regular structure
Practical Applications
DIY Projects
- Gem testing: Real vs synthetic by fluorescence
- Plant health: Chlorophyll absorption spectra
- Monitor calibration: Check RGB peaks
- Chemistry: Flame test spectra
Industry Uses
- Quality control: LED manufacturing
- Environmental: Pollution monitoring
- Medical: Blood oxygen sensors
- Astronomy: Exoplanet detection
Building a Quantitative Spectrometer
Professional-Grade Features
For research-quality results:
- Collimating lens (parallel light)
- Focusing lens (sharp image)
- Micrometer slit (adjustable width)
- Rotation stage (precise angles)
Digital Detection
Replace eye with:
- Webcam (remove IR filter)
- DSLR in RAW mode
- Specialized sensor (linear CCD)
- Software for calibration
Wavelength Calibration
Using multiple known sources:
- Plot pixel position vs wavelength
- Fit polynomial curve
- Interpolate unknown wavelengths
- Achieve \(\pu{\pm 1nm}\) accuracy
Your Laboratory Checklist
✓ Remove metallic layer from CD/DVD carefully
✓ Make slit narrow (\(\pu{0.5mm}\) or less)
✓ Work in darkened room for best contrast
✓ Calibrate with laser first
✓ Measure angles from perpendicular
✓ Check both positive and negative orders
✓ Calculate wavelengths using \(d\sin\theta = n\lambda\)
✓ Compare with published values
Master diffraction gratings and you hold the key to understanding atomic structure, analyzing starlight, and checking if that "ruby" is real. From forensic labs to semiconductor fabs, spectroscopy rules - and it all starts with the physics you're exploring here.