Free · Open · Based on MIT OpenCourseWare
Learn how the universe began, expanded, and came to look the way it does.
Open Cosmology is a free, complete programme in physics: four undergraduate years from classical mechanics and electromagnetism through relativity, quantum and statistical physics to the early universe, with the calculus, differential equations and linear algebra they rest on, and a fifth, graduate year for dark matter, the growth of structure and general relativity. A High School course comes first, for anyone starting from scratch. The university years are rewritten from MIT lectures as clear explanations, interactive graphs and worked examples. Cosmology is the destination: the expanding universe, the Big Bang, the cosmic microwave background, inflation, dark matter and dark energy.

The destination: cosmology
Year IV of the path. Each theme follows MIT 8.286 The Early Universe, with extra pages where a topic needs more room; the dark matter and structure formation pages come from the graduate course 8.902 in Year V.
The expanding universe
Hubble's law, the scale factor, comoving coordinates and cosmological redshift: what it means for space itself to expand.
- The Doppler effect and special relativity
- Problem Set 1: the Doppler shift
- The homogeneous expanding universe
- Cosmological redshift
Dynamics of expansion
How gravity and the matter content decide the fate of the universe: the Friedmann equation, critical density and the age of the universe.
- The expanding sphere and the equation for a(t)
- The Friedmann equation
- Open, closed and flat universes
- Problem Set 3: a cylindrical universe and the energy behind the Friedmann equation
Geometry of space and spacetime
Closed, open and flat universes, the spacetime metric and the paths light and matter follow through curved space.
- The open universe and the age of any matter universe
- Non-Euclidean geometry
- Problem Set 4: closed and open universes
- The metric of a sphere and of a closed universe
The Big Bang and the cosmic microwave background
Black-body radiation, the thermal history of the early universe and the afterglow released when atoms first formed.
- Mass, energy and the dilution of radiation
- Matter–radiation equality and the pressure of light
- The radiation-dominated universe
- Black-body radiation
Dark energy
The cosmological constant, vacuum energy and the Type Ia supernova evidence that the expansion is accelerating.
- The age of the universe with vacuum energy
- How bright is a distant supernova?
- The supernova evidence for acceleration
- The puzzle of the vacuum energy, and Einstein's mistake about Friedmann
Inflation
The flatness, horizon and monopole problems of the conventional Big Bang, and the rapid early expansion that solves them.
- The Big Bang and its prequel: an overview of inflation
- Eternal inflation, dark energy and the landscape
- The anthropic argument and the multiverse, and where the course begins
- The horizon problem
Dark matter
Rotation curves, galaxy clusters, gravitational lensing and the CMB all point to matter we cannot see. Extra pages beyond MIT's lecture list; sources assigned per page.
- The dark matter problem: weighing the sky with gravity
- Rotation curves: the flat signature of dark matter
- Galaxy clusters: Zwicky's missing mass
- Gravitational lensing: weighing mass by bending light
Structure formation
How tiny density ripples grew by gravity into galaxies and the cosmic web. Extra pages beyond MIT's lecture list; sources assigned per page.
- How small ripples grow: linear perturbation theory
- Why structure formation needs cold dark matter
- Measuring structure: the power spectrum and the correlation function
- When ripples collapse: the spherical collapse model
Galaxies
What galaxies look like, how stars move in them, and how they evolve chemically.
- Observing galaxies: magnitudes, types, luminosities and velocities
- The virial theorem: what keeps a galaxy in balance
- Problem Set 1: Light profiles, redshifts, luminosities and the mass of two galaxies
- Why stars do not collide: relaxation times in galaxies
Cosmology
The cosmological principle, the expanding universe and inflation, from the astrophysicist's side.
- The cosmological principle and the expanding universe
- The Friedmann equations from general relativity, and the density parameters
- Observational cosmology: redshift and cosmic distances
- Problem Set 4: distances between quasar absorbers, counting absorbers along a line of sight, and sizes on the recombination surface
The CMB and the early universe
CMB anisotropies, the thermal history of dark matter, nucleosynthesis and the Lyman-alpha forest.
- Ripples in the CMB: anisotropies and the acoustic peaks
- Reading the universe from the CMB peaks
- Where dark matter comes from: freeze-out, hot and cold
- Big Bang nucleosynthesis: the first nuclei
The evidence
Why we think dark matter exists: how stars and gas move in galaxies, how galaxies move in clusters, and how mass bends light.
- The dark matter problem: weighing the sky with gravity
- Rotation curves: the flat signature of dark matter
- Galaxy clusters: Zwicky's missing mass
- Counting the ordinary matter: stars, gas, and systems without dark matter
Dark matter halos
The invisible halos that surround galaxies: their density profiles, how ordinary matter reshapes them, and the puzzles of cores and satellites.
- Dark matter halos: mass, profile, concentration, shape and spin
- Problem Set 2: Halo sizes and profiles, spin and adiabatic contraction
- Cores or cusps? How baryons reshape dark matter halos
- Substructure: the missing satellites and "too big to fail"
Simulations
How computers follow dark matter and gas from the early universe to galaxies, and how galaxies are matched to halos.
- Simulating galaxy formation: gravity, gas and "subgrid" physics
- Galaxies in halos: mass functions, halo occupation and abundance matching
- Problem Set 3: Particles in a simulated universe, the multipole error, puffed-up galaxies and galaxy bias
What is it made of?
Neutrinos, WIMPs and axions, and the experiments that look for them.
- What could dark matter be made of? Hot, warm and cold (and neutrinos)
- WIMPs and axions: the leading cold candidates
- Detecting dark matter: direct, indirect and at colliders
Alternatives and dark energy
Modified Newtonian dynamics as an alternative to dark matter, and the even darker puzzle of dark energy.
- MOND: changing gravity instead of adding matter
- Testing MOND: accelerations, lensing and relativistic theories
- Quintessence, and is dark energy connected to dark matter?
- Problem Set 5: Dark matter particles, MOND and a w-fluid
Tensors and special relativity
The geometric view: four-vectors, one-forms, tensors, conservation laws and the stress-energy tensor.
- Spacetime and the geometric viewpoint
- Basis vectors, the metric and 4-momentum
- Tensors, one-forms and raising and lowering indices
- Dust, volume elements and conservation laws
Curved spacetime
The equivalence principle, covariant derivatives, parallel transport, Killing vectors, geodesics and curvature.
- The covariant derivative, and why gravity spoils global inertial frames
- Problem Set 2: Dust, stress-energy tensors, conservation laws, the vector potential and an accelerated observer
- The equivalence principle and local Lorentz frames
- Parallel transport, the Lie derivative and Killing vectors
The field equation and gravitational waves
Einstein's equation, its action, the weak-field limit and the waves it predicts.
- The Einstein field equation
- The field equation from an action
- Linearized gravity: principles and the static limit
- Problem Set 6: Constraint equations, an action for the cosmological constant, Nordström's theory of gravity, weighing a moving body, and geometrized units
Cosmology in general relativity
The Robertson-Walker metric and the Friedmann equations derived from Einstein's field equation; redshift and distances.
- Cosmology from symmetry: the Robertson–Walker metric and the Friedmann equations
- Observing an FRW universe: redshift, distances, flatness and horizons
- Problem Set 9: The time scale of microlensing, the proper-motion distance, particle horizons, inflation and the flatness problem
Stars and black holes
The Schwarzschild solution, relativistic stars, horizons and orbits around black holes.
- Spherical stars: the Schwarzschild metric, Birkhoff's theorem and the TOV equations
- Constant-density stars, Buchdahl's limit, and the puzzles of the Schwarzschild spacetime
- Problem Set 10: Isotropic coordinates for the Schwarzschild metric, neutron stars from the TOV equations, and the most massive stable star
- Black holes: infinite redshift, the event horizon, Kruskal coordinates and the Kerr family
The programme, read backwards
Cosmology stands on the rest of physics. Read the path backwards to see what each step needs, or start at Year 1 and walk forward.
- Year VGraduate year: astrophysics and general relativity
- Year IVCosmology8.286 The Early Universe548.07 Electromagnetism II318.08 Statistical Physics II388.09 Classical Mechanics III48
The CMB power spectrum is an expansion of the sky's temperature in spherical harmonics, so the multipoles and Y_lm of this course are what the C_l of 8.286 and 8.902 are built on. Radiation from accelerated charges and the scattering of light by charges lead to Thomson scattering, which kept the early universe opaque until recombination. Index notation, the Kronecker delta, the Levi-Civita symbol and rotations of tensors are the language 8.962 (general relativity) assumes from its first lecture. The thermal history of the universe is statistical physics in an expanding box: the Bose-Einstein and Fermi-Dirac distributions give the energy density and number density of photons, neutrinos and electrons at each temperature, the grand canonical ensemble with a chemical potential describes how particles stay in or fall out of equilibrium, and the degenerate Fermi gas holds up white dwarfs and neutron stars. Mean free paths and transport describe when photons stop scattering off electrons, which is when the CMB was released. The inflaton is a field obeying Hamilton's equations, and the slow-roll and Hubble-friction arguments of 8.286 are Lagrangian mechanics with a time-dependent damping term. The fluid equations (continuity, Euler, sound waves) are the starting point of the Jeans analysis and of linear structure formation in 8.902, and the sound waves of the photon-baryon fluid leave the acoustic peaks in the CMB. Perturbation theory and secular effects underlie the perihelion precession that general relativity explains.
- Year IIIStatistical and advanced quantum physics
The hot early universe is a gas in thermal equilibrium: blackbody radiation, the Boltzmann factor and entropy explain the CMB spectrum and the thermal history after the Big Bang. Quantum fields and their fluctuations are the seeds of all cosmic structure in inflationary cosmology; spin and identical particles decide how many particle species filled the early universe. Reaction rates and scattering cross sections decide when particles fell out of equilibrium in the early universe: the basis of Big Bang nucleosynthesis and of dark-matter relic abundances.
- Year IIWaves, relativity, the quantum, and the mathematics behind them8.03SC Physics III: Vibrations and Waves3318.03 Differential Equations418.033 Relativity3318.06 Linear Algebra418.04 Quantum Physics I36
Redshift starts as a wave phenomenon (the Doppler effect), and the sound waves of the early plasma left the acoustic peaks we see in the CMB. The Friedmann equation is a differential equation for a(t); oscillators, waves and the growth of small density ripples into galaxies are all described by differential equations. Light travel time, the relativistic Doppler effect and E = mc² are used throughout cosmology, and the spacetime metric is the starting point for curved, expanding space. Quantum mechanics is written in linear algebra, a spacetime metric is a matrix, and rotations, like the one that proves a closed universe is the same everywhere, are orthogonal matrices. Photon energies and the hydrogen atom explain recombination, when the universe became transparent and the CMB was released, and the spectral lines used to measure redshift.
- Year IMechanics, electromagnetism and calculus8.01SC Classical Mechanics5118.01 Single Variable Calculus398.02T Electricity and Magnetism3318.02 Multivariable Calculus43
Cosmology describes the whole universe with the tools of mechanics: vectors and rates of change (Hubble's law is a velocity proportional to a position vector), Newton's gravity (the Friedmann equation can be derived from a Newtonian expanding sphere), and energy conservation (which decides whether the universe expands forever). Every rate of change in cosmology is a derivative (the Hubble rate ȧ/a, the deceleration ä), and ages, horizon distances and volumes of the universe are integrals. Almost everything we know about the universe arrives as electromagnetic radiation. Maxwell's equations explain light, its spectrum and energy flux, the basis of the cosmic microwave background and of measuring distances with standard candles. Gauss's law, Poisson's equation and flux integrals, the tools behind Maxwell's equations and the Newtonian model of the expanding universe, are multivariable calculus.
- High SchoolPhysics and maths before universityBlock 0 Math toolkit12Block 1 Motion12Block 2 Forces and gravity14Block 3 Energy and momentum13Block 4 Matter and heat11Block 5 Waves, sound and light14Block 6 Electricity and magnetism14Block 7 Atoms and radiation12Block 8 Modern physics, Big Bang, CMB, dark matter20
18.01 starts with derivatives as slopes and 8.01 with vectors; both assume you can rearrange formulas, read graphs, use sine and cosine and work in powers of ten. 8.01 begins with one- and two-dimensional kinematics, written with calculus; this block gives the ideas and the graphs first. Newton's laws and gravitation are the backbone of 8.01 and of every Newtonian argument in cosmology, from orbits to the expanding sphere. Energy conservation for an expanding ball of matter is how 8.286 first derives the Friedmann equation. Temperature, pressure and entropy return in 8.044 and in the thermal history of the early universe. Waves and the Doppler shift lead to 8.03 and to the cosmological redshift. 8.02 rebuilds this block with vector calculus, ending with Maxwell's equations and light. Blackbody radiation and spectra are how cosmology reads the universe: the CMB is a blackbody, and redshifts are measured from spectral lines. This block previews the whole university programme: 8.033 relativity, 8.04 quantum physics, and the cosmology of 8.286 and 8.902.
How each page works
- Prerequisites first. Every page lists what you need before it, and where it leads in cosmology.
- Live graphs. Plots are computed from the formulas, with sliders to change the parameters.
- Every formula cited. Each equation links to the MIT lecture or notes it comes from.
- Practice. Step-by-step worked examples, a quiz and flashcards on every page.
- Listen. A read-aloud button speaks the page, maths included.