Exercises — Diffraction grating — condition for maxima
The one equation we lean on the whole way down:

Level 1 — Recognition
L1·Q1
A grating has 300 lines per millimetre. What is the slit spacing in metres?
Recall Solution
WHAT: Convert "lines per length" into a spacing. WHY: The grating equation needs (a distance), never the raw line count. Convert to metres (): Answer: (i.e. ).
L1·Q2
For light hitting a grating perpendicularly, what is the path difference between rays leaving two adjacent slits at angle ? Name the geometry that gives it.
Recall Solution
WHAT: State the extra distance one ray travels. WHY: This is the seed of the whole grating equation. The two rays are parallel, so their only difference is the little segment cut off by dropping a perpendicular from one slit onto the other's ray. That segment is the opposite side of a right triangle whose hypotenuse is and whose angle is : Answer: , from the right triangle with hypotenuse (look at the red segment in the figure above).
Level 2 — Application
L2·Q1
Green light of strikes a grating with . Find the angle of the first-order maximum .
Recall Solution
Step 1 — pick the order. First order means . Step 2 — rearrange for the unknown angle. Why rearrange? is what we want, so we isolate first. Step 3 — undo the sine with . answers "which angle has this sine?" Answer: .
L2·Q2
Same grating and wavelength. Find the second-order angle , and comment on why it is more than twice .
Recall Solution
Step 1: : Step 2: . Answer: . WHY not exactly : grows, but vs is a curved relationship — sine flattens near , so equal jumps in need bigger jumps in as we go up. . Orders fan out unevenly, wider apart at large angles.
Level 3 — Analysis
L3·Q1
A grating has 600 lines/mm. Using , how many bright maxima appear in total on the screen?
Recall Solution
Step 1 — find . . Step 2 — cap the order. can never exceed 1, so Step 3 — count both sides plus the centre. Orders run . Answer: 7 maxima.
L3·Q2
For the grating in L3·Q1 with , exactly what happens at ? Compute and interpret how close it sits to the screen edge.
Recall Solution
Step 1: . Step 2: . Interpretation: , so this order exists but grazes out at a steep . A hypothetical would demand , impossible — that is exactly why the floor cut us off at 3. Answer: ; is forbidden ().

Level 4 — Synthesis
L4·Q1
A laser gives its third-order maximum at on a grating of unknown spacing. The laser wavelength is . Find and the number of lines per millimetre.
Recall Solution
Step 1 — rearrange for . From : Step 2 — evaluate. . Step 3 — lines per mm. , in mm: Answer: , about .
L4·Q2
White light (take the visible band as violet to red — see Wavelength and the visible spectrum) falls on a grating with . Find the angular width of the first-order spectrum: the angle between violet and red.
Recall Solution
Step 1 — violet edge. , so . Step 2 — red edge. , so . Step 3 — the spread. WHY red is bent more: larger needs a larger to keep , so red sits at a wider angle. That colour-splitting is the whole point of a grating spectrometer. Answer: first-order spectrum spans (violet at , red at ).
Level 5 — Mastery
L5·Q1
A grating has . A spectral lamp emits two nearby lines at and (the sodium doublet). In second order, find the angular separation between the two lines. (This is the quantity a spectrometer must be able to distinguish.)
Recall Solution
Step 1 — angle of each line, second order (). Step 2 — subtract. Interpretation: a tiny wavelength gap opens only — that is why you need a fine, wide grating and a good telescope to resolve the doublet. Answer: (about arc-minutes).
L5·Q2
Design check. You need a grating that shows at least 4 complete orders on both sides for red light . What is the largest line density (lines per mm) you may use, and does that same grating still show 4 orders for violet ?
Recall Solution
Step 1 — condition for order 4 to exist. We need , i.e. , so Step 2 — largest means smallest allowed , so take : So use lines/mm (round down to be safe of the boundary). Step 3 — check violet on the same grating. , so . Yes — violet comfortably shows 4 (and up to 7) orders. WHY violet is safe automatically: violet's smaller makes larger, so it always supports at least as many orders as red. Red is the binding constraint. Answer: (using ); violet then shows up to 7 orders — condition met.
Recall check
Recall Which wavelength limits the number of orders, and why?
The longest wavelength ::: because shrinks as grows, so red runs out of orders first.
Recall Total maxima when
floors to ? ::: orders through inclusive, symmetric about the central white maximum.
Connections
- Young's double-slit experiment — the same condition, here sharpened by using many slits.
- Single-slit diffraction — modulates the brightness envelope over these maxima.
- Interference and path difference — the used in every problem above.
- Resolving power and spectrometers — why the tiny of L5·Q1 matters.
- Wavelength and the visible spectrum — the – band used in L4·Q2 and L5·Q2.