Calculate hydrogen energy levels using the Bohr equation (E = -13.6 eV/n²), visualize electron transitions, and generate electron configurations in this interactive quantum mechanics Jupyter notebook. Explore atomic physics from historical foundations to modern laser technology applications through Julia programming. CoCalc provides instant access to pre-configured Jupyter notebooks with Julia scientific tools, enabling focus on quantum concepts without software setup.
ubuntu2404
Atomic Structure and Electron Configuration: A Julia Exploration
Learning Objectives
By the end of this notebook, you will:
Understand the fundamental structure of atoms and quantum mechanical principles
Calculate and visualize hydrogen atom energy levels using the Bohr model
Explore periodic trends using Julia's computational capabilities
Apply quantum numbers to describe electron configurations
Prerequisites
Basic chemistry knowledge
Familiarity with Julia syntax
Understanding of energy and basic physics concepts
Historical Context: From Democritus to Quantum Mechanics
The concept of atoms dates back to ancient Greek philosopher Democritus (460-370 BCE), who proposed that matter consisted of indivisible particles called "atomos." However, modern atomic theory began with John Dalton in 1803, followed by crucial discoveries:
1897: J.J. Thomson discovered electrons using cathode ray tubes
1909: Ernest Rutherford's gold foil experiment revealed the atomic nucleus
1913: Niels Bohr proposed his planetary model with quantized energy levels
1926: Erwin Schrödinger developed wave mechanics, founding modern quantum theory
Today's atomic model combines these insights into a probabilistic quantum mechanical framework essential for understanding chemistry, physics, and materials science.
Resolving package versions...
No Changes to `~/.julia/environment/v1.11/Project.toml`
No Changes to `~/.julia/environment/v1.11/Manifest.toml`
The Bohr Model: Quantized Energy Levels
In 1913, Niels Bohr revolutionized atomic physics by proposing that electrons orbit the nucleus in discrete energy levels. For hydrogen, the energy of an electron in the nth orbit is:
Where:
= energy of the electron in the nth energy level (in electron volts)
= principal quantum number (1, 2, 3, ...)
13.6 eV = Rydberg constant for hydrogen
This equation explains hydrogen's discrete emission spectrum, a phenomenon classical physics couldn't explain.
Electron Transitions and Spectral Lines
When an electron transitions between energy levels, it absorbs or emits a photon with energy equal to the difference between levels:
Where:
= Planck's constant (6.626 × 10⁻³⁴ J·s)
= frequency of the photon
= speed of light (3 × 10⁸ m/s)
= wavelength of the photon
This explains the characteristic line spectra of elements, used in spectroscopy for chemical analysis.
Quantum Numbers and Electron Configuration
Modern quantum mechanics describes electrons using four quantum numbers:
Principal quantum number (n): Energy level (1, 2, 3, ...)
Azimuthal quantum number (ℓ): Orbital shape (0 to n-1)
ℓ = 0 (s orbital): spherical
ℓ = 1 (p orbital): dumbbell-shaped
ℓ = 2 (d orbital): cloverleaf
ℓ = 3 (f orbital): complex shapes
Magnetic quantum number (mₗ): Orbital orientation (-ℓ to +ℓ)
Spin quantum number (mₛ): Electron spin (+½ or -½)
These quantum numbers arise from solving the Schrödinger wave equation and explain the periodic table's structure.
Periodic Trends: Understanding Chemical Properties
The periodic table's structure reflects electron configurations, leading to predictable trends:
Atomic Radius: Decreases across periods (increasing nuclear charge), increases down groups (additional electron shells)
Ionization Energy: Energy required to remove an electron; increases across periods, decreases down groups
Electronegativity: Atom's ability to attract electrons; follows ionization energy trend
These trends explain chemical reactivity and bonding behavior.
Interactive Exploration: Orbital Visualization
While we can't fully visualize 3D orbitals here, we can understand their shapes mathematically. The s, p, d, and f orbitals have distinct angular dependencies that determine molecular geometry and chemical bonding.
Applications in CoCalc
This notebook demonstrates how CoCalc's Julia environment enables:
Real-time collaboration: Multiple users can explore atomic structure concepts together
Integrated visualization: Plots update immediately as parameters change
Educational flexibility: Modify code to explore different elements or energy levels
No setup required: Julia and all packages pre-installed in CoCalc
Exercises for Further Exploration
Calculate the wavelengths for the Lyman series (transitions to n=1)
Plot the periodic trend for electronegativity
Calculate the energy required to ionize hydrogen from n=2
Explore the radial distribution of 3s and 3p orbitals
Summary
We've explored atomic structure from historical development through modern quantum mechanics, using Julia to:
Calculate and visualize hydrogen energy levels
Understand electron transitions and spectral lines
Generate electron configurations
Analyze periodic trends
These concepts form the foundation for understanding chemical bonding, molecular structure, and materials properties.