Virginia Research Institute
Virginia Research Institute
Virtual Laboratory  ·  Built by E2 Innovations
← Back to Virtual Labs | Galaxies, Hubble's Law, and Cosmology
Astronomy

Galaxies, Hubble's Law, and Cosmology

Beyond the Milky Way lie billions of other galaxies, and they are nearly all rushing away from us. That simple fact, captured in Hubble’s law, tells us the universe is expanding and lets us estimate its age. In this lab you will classify galaxies and use the link between distance and recession speed to measure the Hubble constant and the age of the universe.

Theory — Galaxies, Hubble’s Law, and Cosmology

Galaxies are vast systems of stars, gas, dust, and dark matter. Studying how they are built and how they move reveals the history of the whole universe.

1. Types of galaxies

Galaxies come in three broad kinds: spirals with a disk and arms like our own; ellipticals, smooth round balls of mostly old stars; and irregulars with no clear shape. Some galaxies have blazing centres powered by supermassive black holes; the most extreme are quasars.

2. Hubble’s law

In the 1920s it was found that a galaxy’s recession speed is proportional to its distance:

Hubble’s law v = H0 × d
  v in km/s, d in megaparsecs (Mpc), H0 in km/s per Mpc
So H0 = v / d, and the more distant a galaxy, the faster it recedes.

The recession is measured from the redshift of the galaxy’s spectral lines. The relation is not because we are at a special centre; space itself is expanding, carrying the galaxies apart.

3. The age of the universe

Running the expansion backward, all galaxies were together at one moment. The time since then is roughly the inverse of the Hubble constant:

Hubble time age ≈ 1 / H0 ≈ 978 / H0 billion years
  (with H0 in km/s per Mpc)
For H0 ≈ 70, the age is about 14 billion years.

4. The expanding universe

This expansion began in the hot, dense Big Bang about 13.8 billion years ago, whose afterglow we still detect as the cosmic microwave background. The universe also contains dark matter and dark energy, which together shape its expansion and fate.

Apparatus

Studying galaxies uses tools for imaging shapes and measuring redshifts. In the simulation these are modelled, but the readings match what each instrument would give.

Spiral galaxy
A galaxy with a central bulge and a flat disk wound into spiral arms.
Elliptical galaxy
A smooth, round or oval galaxy of mostly old stars.
Irregular galaxy
A galaxy with no regular shape, often rich in gas and new stars.
Quasar
The brilliant core of an active galaxy powered by a supermassive black hole.
Redshift spectrum
A galaxy’s spectral lines shifted toward the red, revealing its recession speed.
Hubble diagram
A plot of recession velocity against distance whose slope is the Hubble constant.

Instructions

Work through both tabs. Calculate first by hand, then press the button to compare.

Part A — Hubble’s law and the age of the universe

Part B — Classify galaxies

Part C — 3D Hubble flow and recession velocity

Simulation

Cosmology BenchCalculate first, then check against the simulation.

In an expanding universe every galaxy recedes from every other at a speed proportional to its distance: v = H₀ d. Here the Milky Way sits at the centre of the view only because that is where we put the camera — in a uniform expansion there is no real centre. Drag to orbit the field of galaxies. Set H₀ and pick a galaxy distance, predict its recession velocity, then Check. Press Run expansion to watch the galaxies drift apart — the farther ones move faster.

Drag to orbit · scroll to zoom. Galaxies scattered in 3D, each with a red recession arrow whose length grows with distance; the gold galaxy is the one you are predicting.

Set H₀ and a galaxy distance, predict the recession velocity, then Check.
Table C — your Hubble-flow record
d (Mpc)H₀Predicted v (km/s)Computed v (km/s)

This immersive 3D flow is the main version; the accessible copy delivers the same set-values / predict / check exercise with native controls and screen-reader announcements.

Team Questions

1. Hubble’s law says a galaxy’s recession speed is proportional to its:
2. A galaxy’s recession is measured from the:
3. The age of the universe is estimated from H0 as roughly:

Example Report

Worked example: the Hubble constant and the age of the universe

A galaxy recedes at v = 7000 km/s at a distance d = 100 Mpc.

H0 = v / d = 7000 / 100 = 70 km/s per Mpc.

The implied age is 978 / H0 = 978 / 70 ≈ 14 billion years, close to the accepted 13.8 billion years. Measuring the slope of the velocity-distance relation and inverting it is the calculate-then-compare core of the lab.

3D Hubble flow (Table C)

In a uniform expansion the recession velocity is v = H0 d. Representative values:

d (Mpc)H0v (km/s)
100707000
2007014000
100505000
3007321900

Doubling the distance doubles the recession velocity, which is Hubble’s law; inverting H0 gives the Hubble age of the universe.

Practice Questions

1. A galaxy at 200 Mpc recedes at 14,000 km/s. The Hubble constant is:
2. A smooth, round galaxy of mostly old stars is classified as:
3. The expansion of the universe means that galaxies are:
© 2026 E2 Innovations LLC / Virginia Research Institute. All rights reserved. Licensed for use on E2 Innovations and VRI sites only — not for redistribution or reuse in other courses. Contact info@e2innovations.ai.