Skip to main content
Sandbox Physics
Volume 7 · Learning the Microscopic World from Experiments

How does an X-ray spectrum identify elements?

Calibrate the energy axis and compare the sample with a blank. Use the remaining X-ray lines to identify their elements.

Before you start: Volume 6 Chapter 6 on atomic transitions and Chapter 1 on calibration and blanks. Volume 4 Chapter 2 and Chapter 4 introduce imaging and resolution.

After this chapter you can: Read a fluorescence spectrum, compare a peak with reference energies and explain the ambiguity when two lines overlap.

An X-ray fluorescence spectrum identifies elements through peaks at characteristic energies. The detector records counts in channels. Before matching a peak to an element, calibrate the channel energies, account for background, and check that the source could excite the proposed transition. Estimating how much of the element is present requires a further model of line strengths.

4.1 Characteristic energies identify candidate lines

An incident X-ray can remove an inner-shell electron if it carries enough energy. When an electron from a higher shell fills the vacancy, it can emit an X-ray. Let EiE_i and EfE_f be the initial and final atomic energies for emission. The photon takes the difference.

Eγ=Ei−Ef.E_\gamma=E_i-E_f.

For a vacancy in the K shell, the KαK_\alpha group comes from the L shell and the main KβK_\beta lines come from the M shell. The energies differ from element to element.

NIST's tabulation places the main KαK_\alpha components of iron and copper near 6.40 keV6.40\,\mathrm{keV} and 8.05 keV8.05\,\mathrm{keV}. The source energy required to create a K vacancy is higher than the emitted line energy. The K edges of iron and copper are near 7.11 keV7.11\,\mathrm{keV} and 8.98 keV8.98\,\mathrm{keV}. An 8 keV8\,\mathrm{keV} source can excite iron K fluorescence. In the Lab, copper stays in the specimen but its K lines disappear when no photons cross the copper edge.

4.2 Calibration and background change what you can read

The detector sorts pulses by size. Write xx for the nominal energy coordinate associated with a channel. A linear calibration over the measured range has the form

E=gx+b.E=gx+b.

Two known reference energies determine the gain gg and offset bb. A third reference checks the calibration on a separate record. A monochromatic line has a finite measured width. In the default Lab acquisition, the calibrated full width at half maximum is about 124 eV124\,\mathrm{eV}. The principal copper KαK_\alpha components are separated by about 20 eV20\,\mathrm{eV}, so the detector shows them as a single group. The iron and copper groups are much farther apart.

A dark exposure estimates the detector counts acquired without source photons. A separate blank measures the illuminated holder without a sample. To compare them with the sample, let SS and BB be sample and blank counts in one channel, DD the estimated dark rate there, tSt_S and tBt_B their exposure times, and MSM_S and MBM_B their monitored incident photon totals. The corrected signal per incident photon is

Y=S−DtSMS−B−DtBMB.Y=\frac{S-Dt_S}{M_S}-\frac{B-Dt_B}{M_B}.

The correction can yield negative values in individual channels due to counting fluctuations. To judge whether a peak is present, examine several adjacent channels and the uncertainty of the fit. The Lab uses line-group shapes and a calibrated detector response to estimate peak areas from these records.

  • Thin alloy
  • Below the copper edge
Background-subtracted spectra of the same iron–copper alloyThe simulated thin alloy run has a copper peak near eight kiloelectronvolts. Setting the excitation energy below the copper absorption edge leaves iron peaks and removes the copper peaks.

Figure 4.1 Simulated spectra of an iron–copper alloy on a calibrated energy axis after the dark and blank corrections. Peak locations can be compared with reference energies. The vertical scale uses counts per channel per billion incident photons.

4.3 Line area also depends on the specimen and detector

A fluorescence photon from deep in the specimen can be absorbed before reaching the detector. The incident beam also weakens before reaching that depth. For one incident energy, let uu be the mass depth measured normal to the surface, and let θi\theta_i and θf\theta_f be the incidence and takeoff angles above the surface. With mass attenuation coefficients μi\mu_i for the incident beam and μf\mu_f for the emitted line, the relative attenuation weight is

W(u)=exp⁡ ⁣[−u(μisin⁡θi+μfsin⁡θf)].W(u)=\exp\!\left[-u\left(\frac{\mu_i}{\sin\theta_i}+\frac{\mu_f}{\sin\theta_f}\right)\right].

In a uniform layer, the contribution from deeper material declines with both path lengths. Changing the takeoff angle changes the outgoing path even when the composition stays fixed. The detector then counts only a fraction of the photons that arrive.

For a thin sample with matched geometry and excitation, absorption within the sample can be small. Pure-element standards then give a sensitivity for each element. In the Lab's thick-layer preset, the thin-sample estimate underestimates the copper fraction. The absorption-corrected fit uses the declared areal density and matrix fraction, then tests its estimate against an independently generated mixed standard. The result is conditional on those inputs. Thickness, matrix composition and chemical state require additional evidence.

4.4 Test the line assignment in the Lab

In X-ray Fluorescence Spectrometer, choose Thin alloy. The preset records a simulated sample and matching references. Compare Raw counts with Blank-subtracted peaks. Open Raw references, checks and retained records to find the separate dark, blank and energy-reference counts. Read the iron and copper groups near 6.40 keV6.40\,\mathrm{keV} and 8.04 keV8.04\,\mathrm{keV} on the corrected spectrum.

Switch to Below the copper edge. Check whether the copper group survives when the source energy becomes 8 keV8\,\mathrm{keV}. The iron group remains, while the copper peaks shrink to counting fluctuations. The Lab withholds the quantitative fraction because the pure copper standard is also unexcited. Then try A hard tail excites copper. The higher-energy component restores a copper signal from the same mixture. Use the retained records or export the spectra to compare the line groups on their separately calibrated axes.

4.5 Exercises

  1. Which shell supplies the electron that fills a K vacancy in a KαK_\alpha transition?
  2. Can a monochromatic 8.00 keV8.00\,\mathrm{keV} source drive copper K fluorescence if the copper K edge is 8.98 keV8.98\,\mathrm{keV}?
  3. Two references place nominal coordinates x=6x=6 and x=8x=8 at energies 6.02 keV6.02\,\mathrm{keV} and 8.04 keV8.04\,\mathrm{keV}. Find gg and bb.
  4. With the calibration in Exercise 3, the third reference falls at x=7x=7 and has known energy 7.05 keV7.05\,\mathrm{keV}. How far does the calibrated energy differ?
  5. A channel has S=130S=130 and B=30B=30. Both exposures have the same duration and the same incident photon total MM. What is YY?
  6. Would a detector with 124 eV124\,\mathrm{eV} full width at half maximum usually resolve lines separated by 20 eV20\,\mathrm{eV}?
  7. At the same composition, why can changing the angle above the surface change an element's line area?
  8. An expected copper line is absent. Give two acquisition checks before inferring a low copper fraction.
Exercise 1

An L-shell electron fills the K-shell vacancy. The emitted photon carries the difference in binding energy between the two shells.

Exercise 2

No. Each primary photon falls below the energy needed to create the copper K vacancy.

Exercise 3

g=(8.04−6.02)/(8−6)=1.01g=(8.04-6.02)/(8-6)=1.01 and b=6.02−1.01×6=−0.04 keVb=6.02-1.01\times6=-0.04\,\mathrm{keV}.

Exercise 4

The calibrated energy is 1.01×7−0.04=7.03 keV1.01\times7-0.04=7.03\,\mathrm{keV}, which is 20 eV20\,\mathrm{eV} below the known value.

Exercise 5

The two dark terms cancel because tS=tBt_S=t_B and MS=MB=MM_S=M_B=M. The result is Y=(130−30)/M=100/MY=(130-30)/M=100/M.

Exercise 6

Generally no at this width. The response broadens each line much more than the spacing between them, and the two responses strongly overlap.

Exercise 7

A shallower takeoff angle makes the fluorescence photons travel farther through the sample before they exit. More of them can be absorbed within the sample.

Exercise 8

Check for source photons above the copper K edge. Under the same settings, check whether a copper reference gives a resolvable peak above the blank and counting fluctuations.

Test it in the Lab

Change one setting at a time, then compare what you see with the tables and answers in this chapter.

X-ray Fluorescence Spectrometer →Excite an iron–copper sample with photons, retain spectra and standards, and compare thin-sample calibration with conditional absorption corrections.

Sources and reading scope

  1. NIST, X-Ray Transition Energies Database

    The database tabulates characteristic transition energies by element and supplies reference positions for matching fluorescence lines.

  2. Tom Schoonjans et al., The xraylib Library for X-ray–Matter Interactions

    The methods describe fluorescence line production and the cross sections needed to predict line intensities.

Keep reading

What this page links to directly

See this series on the content map →

Interactive Physics Textbook · Reading path

Learning the Microscopic World from Experiments

  1. ArticleWhat does an instrument record directly?
  2. ArticleHow does diffraction reveal crystal plane spacing?
  3. ArticleHow do two-dimensional images reveal a particle’s three-dimensional shape?
  4. You are hereHow does an X-ray spectrum identify elements?
  5. ArticleHow do counts reveal neutrino oscillations?
  6. ArticleHow does the end of a beta spectrum constrain neutrino mass?
1 more group

Other articles that use the same experiments

Each experiment from this article that another series also uses, followed by the articles there.

  1. LabX-ray Fluorescence Spectrometer
  2. ArticleWhy X-ray fluorescence depends on sample thickness
Something broken, confusing, or missing on this page?Tell us
What kind of feedback?

Sent with this page’s address, its Lab ID, the site language and your device type. Please leave out personal details. Feedback is kept for up to 12 months.Privacy policy