Diffraction Grating Physics

Learning Objectives

By the end of this section, you will be able to:

  • Discuss the pattern obtained from diffraction grating.
  • Explain diffraction grating effects.

Figure 1. The colors reflected by this compact disc vary with angle and are not caused by pigments. Colors such as these are direct evidence of the wave character of light. (credit: Infopro, Wikimedia Commons)

Diffraction grating. An arrangement consisting of a large no of parallel slits. It is obtained by ruling the line on glass plate by diamond point. The line drawing on the plate aces as opaque and the space between two lines aces as transparent. Let ‘a’ be the width of opacities. A diffraction grating defines an optical component with a periodic structure that splits the light into various beams that travel in different directions. It is an alternative way to observe spectra other than a prism. Generally, when light is incident on the grating, the split light will have maxima at an angle θ. The diffraction grating (a comb-like structure with a large number of equally spaced openings), the light is diffracted, because of constructive interference, at particular angles. Compared to a double-slit, the lines produced by the diffraction grating are very sharp (narrow) and bright.

An interesting thing happens if you pass light through a large number of evenly spaced parallel slits, called a diffraction grating. An interference pattern is created that is very similar to the one formed by a double slit (see Figure 2). A diffraction grating can be manufactured by scratching glass with a sharp tool in a number of precisely positioned parallel lines, with the untouched regions acting like slits. These can be photographically mass produced rather cheaply. Diffraction gratings work both for transmission of light, as in Figure 2, and for reflection of light, as on butterfly wings and the Australian opal in Figure 3 or the CD in Figure 1. In addition to their use as novelty items, diffraction gratings are commonly used for spectroscopic dispersion and analysis of light. What makes them particularly useful is the fact that they form a sharper pattern than double slits do. That is, their bright regions are narrower and brighter, while their dark regions are darker. Figure 4 shows idealized graphs demonstrating the sharper pattern. Natural diffraction gratings occur in the feathers of certain birds. Tiny, finger-like structures in regular patterns act as reflection gratings, producing constructive interference that gives the feathers colors not solely due to their pigmentation. This is called iridescence.

Figure 1. A diffraction grating is a large number of evenly spaced parallel slits. (a) Light passing through is diffracted in a pattern similar to a double slit, with bright regions at various angles. (b) The pattern obtained for white light incident on a grating. The central maximum is white, and the higher-order maxima disperse white light into a rainbow of colors.

Figure 2. (a) This Australian opal and (b) the butterfly wings have rows of reflectors that act like reflection gratings, reflecting different colors at different angles. (credits: (a) Opals-On-Black.com, via Flickr (b) whologwhy, Flickr)

Figure 4. Idealized graphs of the intensity of light passing through a double slit (a) and a diffraction grating (b) for monochromatic light. Maxima can be produced at the same angles, but those for the diffraction grating are narrower and hence sharper. The maxima become narrower and the regions between darker as the number of slits is increased.

The analysis of a diffraction grating is very similar to that for a double slit (see Figure 5). As we know from our discussion of double slits in Young’s Double Slit Experiment, light is diffracted by each slit and spreads out after passing through. Rays traveling in the same direction (at an angle θ relative to the incident direction) are shown in Figure 5. Each of these rays travels a different distance to a common point on a screen far away. The rays start in phase, and they can be in or out of phase when they reach a screen, depending on the difference in the path lengths traveled.

As seen in Figure 5, each ray travels a distance d sin θ different from that of its neighbor, where d is the distance between slits. If this distance equals an integral number of wavelengths, the rays all arrive in phase, and constructive interference (a maximum) is obtained. Thus, the condition necessary to obtain constructive interference for a diffraction grating is d sin θ = mλ, for m = 0, 1, −1, 2, −2, . . . (constructive) where d is the distance between slits in the grating, λ is the wavelength of light, and m is the order of the maximum. Note that this is exactly the same equation as for double slits separated by d. However, the slits are usually closer in diffraction gratings than in double slits, producing fewer maxima at larger angles.

Diffraction grating physics lab report

In Figure 5, we see a diffraction grating showing light rays from each slit traveling in the same direction. Each ray travels a different distance to reach a common point on a screen (not shown). Each ray travels a distance d sin θ different from that of its neighbor.

Where are diffraction gratings used? Diffraction gratings are key components of monochromators used, for example, in optical imaging of particular wavelengths from biological or medical samples. A diffraction grating can be chosen to specifically analyze a wavelength emitted by molecules in diseased cells in a biopsy sample or to help excite strategic molecules in the sample with a selected frequency of light. Another vital use is in optical fiber technologies where fibers are designed to provide optimum performance at specific wavelengths. A range of diffraction gratings are available for selecting specific wavelengths for such use.

Take-Home Experiment: Rainbows on a CD

The spacing d of the grooves in a CD or DVD can be well determined by using a laser and the equation d sin θ = mλ, form = 0, 1, −1, 2, −2, . . . . However, we can still make a good estimate of this spacing by using white light and the rainbow of colors that comes from the interference. Reflect sunlight from a CD onto a wall and use your best judgment of the location of a strongly diffracted color to find the separation d.

Example 1. Calculating Typical Diffraction Grating Effects

Diffraction gratings with 10,000 lines per centimeter are readily available. Suppose you have one, and you send a beam of white light through it to a screen 2.00 m away.

  1. Find the angles for the first-order diffraction of the shortest and longest wavelengths of visible light (380 and 760 nm).
  2. What is the distance between the ends of the rainbow of visible light produced on the screen for first-order interference? (See Figure 6.)

Figure 6. The diffraction grating considered in this example produces a rainbow of colors on a screen a distance from the grating. The distances along the screen are measured perpendicular to the x-direction. In other words, the rainbow pattern extends out of the page.


The angles can be found using the equation d sin θ = mλ (form = 0, 1, −1, 2, −2, . . . ) once a value for the slit spacing d has been determined. Since there are 10,000 lines per centimeter, each line is separated by 1/10,000 of a centimeter. Once the angles are found, the distances along the screen can be found using simple trigonometry.

Solution for Part 1


The distance between slits is [latex]d=frac{1text{ cm}}{10,000}=1.00times10^{-4}text{ cm}[/latex] or 1.00 × 10−6 m. Let us call the two angles θV for violet (380 nm) and θR for red (760 nm). Solving the equation d sin θV = mλ for sin θV, [latex]sintheta_{text{V}}=frac{mlambda_{text{V}}}{d}[/latex], where m = 1 for first order and λV = 380 nm = 3.80 × 10−7 m. Substituting these values gives

[latex]displaystylesintheta_{text{V}}=frac{3.80times10^{-7}text{ m}}{1.00times10^{-6}text{ m}}=0.380[/latex]

Thus the angle θV is θV = sin−1 0.380 = 22.33º.


[latex]displaystylesintheta_{text{R}}=frac{7.60times10^{-7}text{ m}}{1.00times10^{-6}text{ m}}[/latex]

Thus the angle θR is θR = sin−1 0.760 = 49.46º.

Notice that in both equations, we reported the results of these intermediate calculations to four significant figures to use with the calculation in Part 2.

Solution for Part 2

The distances on the screen are labeled yV and yR in Figure 6. Noting that [latex]tantheta=frac{y}{x}[/latex], we can solve for yV and yR. That is, yV = x tan θV = (2.00 m)(tan 22.33º) = 0.815 m and yR = x tan θR = (2.00 m)(tan 49.46º) = 2.338 m.

The distance between them is therefore yRyV = 1.52 m.


The large distance between the red and violet ends of the rainbow produced from the white light indicates the potential this diffraction grating has as a spectroscopic tool. The more it can spread out the wavelengths (greater dispersion), the more detail can be seen in a spectrum. This depends on the quality of the diffraction grating—it must be very precisely made in addition to having closely spaced lines.

Diffraction Grating Physics

Section Summary

A diffraction grating is a large collection of evenly spaced parallel slits that produces an interference pattern similar to but sharper than that of a double slit.
There is constructive interference for a diffraction grating when d sin θ = (for m = 0 , 1, –1, 2, –2, …), where d is the distance between slits in the grating, λ is the wavelength of light, and m is the order of the maximum.

Conceptual Questions

  1. What is the advantage of a diffraction grating over a double slit in dispersing light into a spectrum?
  2. What are the advantages of a diffraction grating over a prism in dispersing light for spectral analysis?
  3. Can the lines in a diffraction grating be too close together to be useful as a spectroscopic tool for visible light? If so, what type of EM radiation would the grating be suitable for? Explain.
  4. If a beam of white light passes through a diffraction grating with vertical lines, the light is dispersed into rainbow colors on the right and left. If a glass prism disperses white light to the right into a rainbow, how does the sequence of colors compare with that produced on the right by a diffraction grating?
  5. Suppose pure-wavelength light falls on a diffraction grating. What happens to the interference pattern if the same light falls on a grating that has more lines per centimeter? What happens to the interference pattern if a longer-wavelength light falls on the same grating? Explain how these two effects are consistent in terms of the relationship of wavelength to the distance between slits.
  6. Suppose a feather appears green but has no green pigment. Explain in terms of diffraction.
  7. It is possible that there is no minimum in the interference pattern of a single slit. Explain why. Is the same true of double slits and diffraction gratings?

Problems & Exercises

  1. A diffraction grating has 2000 lines per centimeter. At what angle will the first-order maximum be for 520-nm-wavelength green light?
  2. Find the angle for the third-order maximum for 580-nm-wavelength yellow light falling on a diffraction grating having 1500 lines per centimeter.
  3. How many lines per centimeter are there on a diffraction grating that gives a first-order maximum for 470-nm blue light at an angle of 25.0º?
  4. What is the distance between lines on a diffraction grating that produces a second-order maximum for 760-nm red light at an angle of 60.0º?
  5. Calculate the wavelength of light that has its second-order maximum at 45.0º when falling on a diffraction grating that has 5000 lines per centimeter.
  6. An electric current through hydrogen gas produces several distinct wavelengths of visible light. What are the wavelengths of the hydrogen spectrum, if they form first-order maxima at angles of 24.2º, 25.7º, 29.1º, and 41.0º when projected on a diffraction grating having 10,000 lines per centimeter?
  7. (a) What do the four angles in the above problem become if a 5000-line-per-centimeter diffraction grating is used? (b) Using this grating, what would the angles be for the second-order maxima? (c) Discuss the relationship between integral reductions in lines per centimeter and the new angles of various order maxima.
  8. What is the maximum number of lines per centimeter a diffraction grating can have and produce a complete first-order spectrum for visible light?
  9. The yellow light from a sodium vapor lamp seems to be of pure wavelength, but it produces two first-order maxima at 36.093º and 36.129º when projected on a 10,000 line per centimeter diffraction grating. What are the two wavelengths to an accuracy of 0.1 nm?
  10. What is the spacing between structures in a feather that acts as a reflection grating, given that they produce a first-order maximum for 525-nm light at a 30.0º angle?
  11. Structures on a bird feather act like a reflection grating having 8000 lines per centimeter. What is the angle of the first-order maximum for 600-nm light?
  12. An opal such as that shown in Figure 2 acts like a reflection grating with rows separated by about 8 μm. If the opal is illuminated normally, (a) at what angle will red light be seen and (b) at what angle will blue light be seen?
  13. At what angle does a diffraction grating produces a second-order maximum for light having a first-order maximum at 20.0º?
  14. Show that a diffraction grating cannot produce a second-order maximum for a given wavelength of light unless the first-order maximum is at an angle less than 30.0º.
  15. If a diffraction grating produces a first-order maximum for the shortest wavelength of visible light at 30.0º, at what angle will the first-order maximum be for the longest wavelength of visible light?
  16. (a) Find the maximum number of lines per centimeter a diffraction grating can have and produce a maximum for the smallest wavelength of visible light. (b) Would such a grating be useful for ultraviolet spectra? (c) For infrared spectra?
  17. (a) Show that a 30,000-line-per-centimeter grating will not produce a maximum for visible light. (b) What is the longest wavelength for which it does produce a first-order maximum? (c) What is the greatest number of lines per centimeter a diffraction grating can have and produce a complete second-order spectrum for visible light?
  18. A He–Ne laser beam is reflected from the surface of a CD onto a wall. The brightest spot is the reflected beam at an angle equal to the angle of incidence. However, fringes are also observed. If the wall is 1.50 m from the CD, and the first fringe is 0.600 m from the central maximum, what is the spacing of grooves on the CD?
  19. The analysis shown in the figure below also applies to diffraction gratings with lines separated by a distance d. What is the distance between fringes produced by a diffraction grating having 125 lines per centimeter for 600-nm light, if the screen is 1.50 m away?

    Figure 6. The distance between adjacent fringes is [latex]Delta y=frac{xlambda}{d}[/latex], assuming the slit separation d is large compared with λ.

  20. Unreasonable Results. Red light of wavelength of 700 nm falls on a double slit separated by 400 nm. (a) At what angle is the first-order maximum in the diffraction pattern? (b) What is unreasonable about this result? (c) Which assumptions are unreasonable or inconsistent?
  21. Unreasonable Results. (a) What visible wavelength has its fourth-order maximum at an angle of 25.0º when projected on a 25,000-line-per-centimeter diffraction grating? (b) What is unreasonable about this result? (c) Which assumptions are unreasonable or inconsistent?
  22. Construct Your Own Problem. Consider a spectrometer based on a diffraction grating. Construct a problem in which you calculate the distance between two wavelengths of electromagnetic radiation in your spectrometer. Among the things to be considered are the wavelengths you wish to be able to distinguish, the number of lines per meter on the diffraction grating, and the distance from the grating to the screen or detector. Discuss the practicality of the device in terms of being able to discern between wavelengths of interest.


constructive interference for a diffraction grating: occurs when the condition d sin θ = (form = 0,1,–1,2,–2, . . .) is satisfied, where d is the distance between slits in the grating, λ is the wavelength of light, and m is the order of the maximum

diffraction grating: a large number of evenly spaced parallel slits

Selected Solution to Problems & Exercises

1. 5.97º

3. 8.99 × 103

5. 707 nm

7. (a) 11.8º,12.5º,14.1º,19.2º; (b) 24.2º,25.7º,29.1º,41.0º; (c) Decreasing the number of lines per centimeter by a factor of x means that the angle for the x­-order maximum is the same as the original angle for the first-­order maximum.

9. 589.1 nm and 589.6 nm

11. 28.7º

13. 43.2º

Diffraction Grating Engineering Physics

15. 90.0º

17. (a) The longest wavelength is 333.3 nm, which is not visible; (b) 333 nm (UV); (c) 6.58 × 103 cm


19. 1.13 × 10−2 m

Diffraction Grating Physics Equation

21. (a) 42.3 nm; (b) Not a visible wavelength. The number of slits in this diffraction grating is too large. Etching in integrated circuits can be done to a resolution of 50 nm, so slit separations of 400 nm are at the limit of what we can do today. This line spacing is too small to produce diffraction of light.

Diffraction Grating Physics

Electricity & Magnetism Virtual Lab
We depend on electricity every minute of every day. It seems a mysterious and even a magical force. Magnetism's ability to serve mankind especially lies in its relationship to electricity. That means, magnetism and electricity are so closely related to each other. The concept of this can be applied in many technologies for an effective productivity.
Tangent Galvanometer Magnetic Field Along The Axis of A Circular Coil Carrying Current Deflection Magnetometer Van De Graaff Generator Barkhausen Effect Temperature Coefficient of Resistance Anderson's Bridge Quincke's Method
Heat & Thermodynamics Virtual Lab
Thermodynamics is the study of the conversion of energy into work and heat and its relation to macroscopic variables such as temperature,volume and pressure.
Heat Transfer by Radiation Heat transfer by Conduction Heat Transfer by Natural Convection The Study of Phase Change Black Body Radiation: Determination of Stefan's Constant Newton's Law of Cooling Lee's Disc Apparatus Thermo Couple-Seebeck Effect
Harmonic Motion and Waves Virtual Lab
Harmonic Motion and Wave lab is the interdisciplinary science that deals with the study of sound, ultrasound and infrasound (all mechanical waves in gases, liquids, and solids). The study of this lab revolves around the generation, propagation and reception of mechanical waves and vibrations.
Astable multivibrator Melde's String Apparatus Kundt's Tube Apparatus Ultrasonic Interferometer Doppler Effect A.C Sonometer Colpitts Oscillator Hartley Oscillator
Modern Physics Virtual Lab
Modern physics refers to the post-Newtonian conception of physics developed in the first half of the 1900's. These concepts embody the study of tiny (subatomic) particles or lightening fast speeds. They find applications in technologies such as atomic energy or semiconductors.
Franck-Hertz Experiment Soldering (Remote Trigger) Solar Panel Experiment (Remote Trigger) Photoelectric effect Determination of Planck's Constant Abbe's Refractometer Emission spectra Millikan's oil drop experiment Magnetic Material Characterization via Hystersis (Remote Trigger)
Laser Optics Virtual Lab
This lab is thoroughly outfitted for experiments in introductory and advanced laser physics. It explains the study of optical properties for different material by adopting laser devices and handling basic aspects of interferometry.
Michelson's Interferometer- Refractive index of glass plate Newton's Rings-Refractive index of liquid Michelson's Interferometer- Wavelength of laser beam Laser beam divergence and spot size Newton's Rings-Wavelength of light Brewsters Angle determination Numerical Aperture of Optical Fiber
Mechanics Virtual Lab (Pilot)
It concerns with the dynamics of mechanical systems mainly rotational dynamics. It also gives the dynamics of special type of non-linear systems.
Torque and angular acceleration of a fly wheel Torsional oscillations in different liquids Moment of Inertia of Flywheel Newton's Second Law of Motion Ballistic Pendulum Collision balls Projectile Motion Elastic and Inelastic Collision
Electric Circuits Virtual Lab (Pilot)
An electric circuit is composed of individual electrical components such as resistors, inductors, capacitors etc to trace the current that flows through it. The combination of electrical components can perform various simple and compound electrical operations.
Parallel RC Circuits Parallel LC Circuits Thevenin’s Theorem Series RL Circuits Norton's theorem Series LCR Circuits Kirchhoff’s Laws Series RC Circuits Series LC Circuits Parallel LCR Circuits Parallel RL Circuits
Advanced Mechanics Virtual Lab
The laboratory is concerned with the issues of advanced dynamics in mechanical systems dealing with describing motions, as well as the causes of motion.
Rigidity Modulus of The Suspension Wire of A Torsion Pendulum Young's Modulus-NonUniform Bending Compound Pendulum- Symmetric Kater's pendulum Young's Modulus-Uniform Bending Moment of inertia of a Torsion Pendulum Rigidity Modulus -Static Torsion
Optics Virtual Lab
Optics is the study of the behavior and properties of light, including its interactions with matter and the construction of instruments that use or detect it. Optics usually describes the behavior of visible, ultraviolet, and infrared light. Because light is an electromagnetic wave, other forms of electromagnetic radiation such as X-rays, microwaves, and radio waves exhibit similar properties.
Resolving power of a prism Angle of the prism using Spectrometer Spectrometer i-i' curve Spectrometer: i-d curve Spectrometer- Determination of Cauchy's constants Spectrometer, Refractive Index of the material of a prism Spectrometer,Dispersive power of a prism Diffraction Grating
Solid State Physics Virtual Lab
Solid-state physics is a study of rigid matter or solids. This part Includes theoretical description of crystal and electronic structure, lattice dynamics, and optical properties of different materials.
Characteristics of Zener diode Characteristics of Thermistor Resistivity by Four Probe Method B-H Curve Hall effect experiment:- Determination of charge carrier density Cornus Experiment Zener Diode as Voltage Regulator Crystal Structure
Online questionnaire for Nodal Centre.
Note for students-Please make sure that you have logged in with the user ID provided by VALUE.
Nodal Center student's feed back