In this lesson
Take it with you
- Lesson slides (PDF)
- Practice worksheet (PDF)
- Answer key (PDF)
- Virtual Flame Test Lab (activity)
Essential Question
How can light identify an element?
In Periodic Trends (Groups), you saw how atoms change as you move down a group. Now we zoom back in on the electrons and their energy levels to see where the light from atoms comes from. By the end of this lesson, you should be able to explain how electrons give off light, tell the difference between a continuous spectrum and a line spectrum, identify an element from its spectrum or flame color, and calculate the frequency and energy of light from its wavelength.
Video not loading? Watch it on YouTube.
Ground State and Excited State
- Ground state: lowest energy level
- Excited state: a higher level
- Energy in: heat or electricity

In the Bohr model, electrons sit in energy levels numbered n = 1, 2, 3, and so on, and a higher number means more energy. Electrons normally sit in the lowest level they can, which is called the ground state, like a ball resting on the floor. When an atom absorbs energy, from heat in a flame or electricity in a gas tube, an electron soaks up that energy and jumps to a higher level called an excited state. The excited state is not stable, so the electron will not stay up there for long.
Falling Back Down Releases Light
- Electron drops to a lower level
- It gives off a photon of light
- Photon energy = energy gap

An excited electron quickly falls back down to a lower energy level. To get rid of its extra energy, it gives off a photon, which is a tiny packet of light energy. The energy of that photon is exactly equal to the energy gap between the two levels, not a little more and not a little less. A big drop makes a high energy photon, a small drop makes a low energy photon, and the photon’s energy decides what color of light we see.
Only Certain Energies
- Levels are fixed (quantized)
- Only certain drops can happen
- So only certain colors appear

Electrons cannot sit halfway between two levels. The energy levels are fixed, or quantized, which means only certain values are allowed, like steps on a staircase instead of a ramp. Because the levels are fixed, the gaps are fixed too, so only certain photon energies can come out. In hydrogen, the four drops that land on n = 2 make visible light: the short 3 to 2 drop makes red light, and the longer drops make blue and violet light because a bigger gap means more energy.
Continuous vs Line Spectrum
- Continuous spectrum: every color, no gaps
- Line spectrum: only bright lines


A spectrum is what you get when you spread light out by color, for example with a prism or spectroscope glasses. White light, like sunlight or a regular light bulb, gives a continuous spectrum: every color blended together with no gaps. A tube of glowing hydrogen gas gives something very different, just a few bright lines on a dark background. This is called a line spectrum, or emission spectrum, and each bright line is one exact photon energy from one exact drop between energy levels. The numbers along the bottom are wavelengths in nanometers, with violet near 400 nm and red near 700 nm.
Hydrogen’s Emission Spectrum
- Four visible lines: 410, 434, 486, 656 nm
- Each line comes from one specific drop

Hydrogen has four lines in the visible range: violet at 410 nm, blue violet at 434 nm, blue green at 486 nm, and red at 656 nm. The red 656 nm line comes from the smallest drop, n = 3 to n = 2, and the violet 410 nm line comes from the biggest drop, n = 6 to n = 2. Notice the pattern: a bigger drop means more energy and a shorter wavelength. Every hydrogen atom in the universe makes these same four lines, which is how astronomers know there is hydrogen in faraway stars.
Each Element Has a Fingerprint
- Different energy levels = different lines

Every element has its own set of energy levels, so it has its own set of gaps and its own pattern of lines. Like a fingerprint or a barcode, no two elements share the same pattern. Hydrogen has four lines, helium has more lines including a bright yellow one, and sodium’s visible light is mostly one bright yellow pair near 589 nm (that is why sodium street lights look orange yellow). Helium’s yellow line is very close to sodium’s, so to identify an element you have to match the whole pattern, not just one line.
Flame Tests
- Heat excites the electrons
- Each metal gives its own color
- Used in fireworks

A flame test uses the same idea as a gas tube, but with heat instead of electricity. When a metal compound is placed in a flame, the heat excites the electrons in the metal ions, and when they fall back down they give off light. Each metal has its own energy levels, so each gives the flame its own color: Na+ is bright yellow orange, Cu2+ is blue green, and K+ is a pale purple called lilac. Li+ and Sr2+ are both red, but lithium is a deeper crimson. Fireworks use this exact chemistry: strontium for reds, sodium for yellows, and copper for blues and greens.
Spectroscopes and Discharge Tubes
Light is one kind of electromagnetic radiation, energy that travels as waves, and visible light is the small part our eyes can see. Spectroscopy means studying the light from a sample to find out what it is made of. In the lab, a gas discharge tube is a sealed glass tube filled with one gas, and electricity running through it excites the gas atoms so they glow. Looking at the tube through a spectroscope, which spreads light out by color, shows that gas’s line spectrum. A fluorescent light bulb works the same way: it is a discharge tube with a little mercury vapor inside. Through a spectroscope, it shows mercury’s bright lines on top of a faint glow from the bulb’s coating, including violet near 405 nm, blue near 436 nm, green near 546 nm, and a yellow pair near 577 and 579 nm. Read a line’s wavelength from the scale, then use the equations below to find its frequency and energy. Atoms can also absorb these same wavelengths (absorption), which is why starlight that passes through a gas shows dark lines where that gas’s bright lines would be.
Light Equations Refresher
- c = λν
- E = hν
- Shorter λ → higher ν → more energy
| Symbol | Meaning | Value or unit |
|---|---|---|
| c | speed of light | 2.998 × 108 m/s |
| λ | wavelength | m |
| ν | frequency | s−1 |
| E | energy of one photon | J |
| h | Planck’s constant | 6.626 × 10−34 J·s |
Wavelength, λ (lambda), is the distance from one wave peak to the next, measured in meters. Frequency, ν (nu), is how many waves pass by each second, with units of s−1 (per second, also called hertz). The first equation, c = λν, connects them through the speed of light, and the second, E = hν, gives the energy of one photon in joules. Since c never changes, a shorter wavelength means a higher frequency, and a higher frequency means more energy, which is why violet light carries more energy than red light.
Converting nm to m
- Equations need λ in meters
- Then fix to scientific notation
- 434 nm = 434 × 10−9 m = 4.34 × 10−7 m

Visible wavelengths are usually given in nanometers, but the equations need meters because the speed of light is in meters per second. A nanometer is one billionth of a meter (1 nm = 1 × 10−9 m), so to convert, multiply by 10−9. To put 434 × 10−9 m in proper scientific notation, move the decimal two places left to get 4.34 and raise the exponent by two, from −9 to −7. You can also type 434 E −9 on your calculator, but always convert to meters before you use c = λν.
Worked Examples
Try each problem on your own first, then open the solution to check your work.
Example 1: Frequency of a Line
Hydrogen gives off red light with a wavelength of 656 nm. What is the frequency of this light?
Show the solution
- Known: λ = 656 nm, c = 2.998 × 108 m/s, ν = ?
- Convert nm to m: 656 nm × (1 × 10−9 m / 1 nm) = 6.56 × 10−7 m
- Rearrange: c = λν, so ν = c ÷ λ
- Plug in and cancel units: ν = (2.998 × 108 m/s) ÷ (6.56 × 10−7 m). Meters cancel, leaving 1/s.
- Answer: ν = 4.57 × 1014 s−1 (calculator shows 4.5701 × 1014; round to 3 sig figs to match 656 nm)
Example 2: Energy of a Photon
Hydrogen also gives off light with a wavelength of 486 nm. What is the energy of one photon of this light?
Show the solution
- Known: λ = 486 nm, c = 2.998 × 108 m/s, h = 6.626 × 10−34 J·s, E = ?
- Convert nm to m: 486 nm × (1 × 10−9 m / 1 nm) = 4.86 × 10−7 m
- Find the frequency: ν = c ÷ λ = (2.998 × 108 m/s) ÷ (4.86 × 10−7 m) = 6.17 × 1014 s−1
- Find the energy: E = hν = (6.626 × 10−34 J·s)(6.17 × 1014 s−1). Seconds cancel, leaving J.
- Answer: E = 4.09 × 10−19 J (shortcut: E = hc ÷ λ gives the same answer in one line)
Example 3: Which Drop Has More Energy?
Which drop gives off a photon with more energy, n = 3 → 2 or n = 5 → 2? What color line does each drop make?

Show the solution
- Claim: n = 5 → 2 gives off more energy.
- Evidence: The 5 → 2 arrow is longer, so it covers a bigger energy gap than the 3 → 2 arrow.
- Reasoning: Photon energy = energy gap. Bigger gap → more energy → shorter λ.
- Answer: 5 → 2 has more energy and makes the 434 nm blue violet line; 3 → 2 makes the lower energy 656 nm red line
Example 4: Identify the Gas
Which element or elements are in the unknown gas?

Show the solution
- Check hydrogen: All four hydrogen lines (410, 434, 486, 656 nm) appear in the unknown. Hydrogen is present.
- Check sodium: The unknown has the bright yellow pair at 589 nm. Sodium is present.
- Check helium: Helium’s lines near 447, 471, 492, 502, and 668 nm are missing from the unknown, so helium is not there (one missing line rules an element out).
- Answer: The unknown gas contains hydrogen and sodium
Practice
Explain how emission lines form, calculate frequency, wavelength, and photon energy, and identify the elements in an unknown gas from its spectrum. Try it on your own first, then check your work with the answer key.
Practice with the Virtual Flame Test Lab
Hold eight metal chlorides in a Bunsen burner flame, record each color, and use your data to identify a mystery sample.
Lesson Slides
Big Ideas
- Electrons give off light when they drop
- Fixed levels mean only certain colors
- Each element has its own line pattern
- Use c = λν and E = hν for ν and E
Back to the essential question: When electrons drop from higher energy levels to lower ones, they give off photons whose energies match the gaps between levels. Every element has different energy levels, so every element gives off its own pattern of lines and its own flame color. That pattern works like a fingerprint, so we can match the light to the element. Next up: Photoelectric Effect.
NGSS Alignment
This lesson builds toward these Next Generation Science Standards (NGSS) performance expectations:
- HS-PS1-1: Use the periodic table as a model to predict the relative properties of elements based on the patterns of electrons in the outermost energy level of atoms.
- HS-PS4-1: Use mathematical representations to support a claim regarding relationships among the frequency, wavelength, and speed of waves traveling in various media.
- HS-PS4-3: Evaluate the claims, evidence, and reasoning behind the idea that electromagnetic radiation can be described either by a wave model or a particle model, and that for some situations one model is more useful than the other.
Disciplinary core ideas: PS1.A Structure and Properties of Matter; PS4.A Wave Properties; PS4.B Electromagnetic Radiation