HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Space Science and Astronomy
  • Earth and Environmental Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
Galaxies, Distances and Redshift
  1. 1The kinds of galaxy and our neighbours
  2. 2Measuring the distance to galaxies
  3. 3Redshift and Hubble's law
  1. Space Science and Astronomy
  2. /Galaxies, Distances and Redshift
  3. /The kinds of galaxy and our neighbours

Course 9.2·Lesson 1 of 3

The kinds of galaxy and our neighbours

Galaxies come in families: smooth elliptical galaxies, spirals with arms, lenticular galaxies and irregular galaxies. The Milky Way belongs to the Local Group of more than 808080 galaxies, with the Andromeda Galaxy, 2.52.52.5 million light-years away, as its largest neighbour. Groups join into clusters and superclusters.

about 30 min
Lesson 1 of 3Show all lessonsHide
Galaxies, Distances and Redshift
  1. 1The kinds of galaxy and our neighbours
  2. 2Measuring the distance to galaxies
  3. 3Redshift and Hubble's law

Try the code and the simulations beside the lesson.

A smudge in the autumn sky

On a dark autumn night in the north, look for a faint, long smudge of light near the constellation Cassiopeia. It is the Andromeda Galaxy. A Persian astronomer, al-Sufi, described it as a small cloud over a thousand years ago. From the southern hemisphere it can be seen low in the northern sky.

For centuries, astronomers called such smudges nebulae, the word for clouds. Some turned out to be glowing gas inside the Milky Way. Others had a spiral shape, and nobody knew whether they were inside our Galaxy or outside it. In 1924 Edwin Hubble settled the matter, as we see in lesson 2. The spirals are galaxies of their own, far away, and the Universe holds a huge number of them, at least hundreds of billions.

The families of galaxy

Hubble sorted galaxies by their shape. The main families are these.

  • Elliptical galaxies. Smooth ovals with no arms. Their stars are old and red, and they hold very little gas, so few new stars are born. They range from dwarfs with a few million stars to giants with a trillion or more.
  • Spiral galaxies. A flat disc with arms, a bulge and a halo, like the Milky Way. The disc has gas and dust, so new stars are born in the arms, and the young hot stars make the arms look blue. In a barred spiral the arms start at the ends of a bar of stars.
  • Lenticular galaxies. A disc and a bulge but no arms and little gas. They sit between the ellipticals and the spirals.
  • Irregular galaxies. No regular shape. They are often small and rich in gas, with many young stars. The Large and Small Magellanic Clouds, easy to see with the naked eye from the south, are irregular galaxies.
TypeShapeStars
Ellipticalsmooth ovalold and red
Spiraldisc with armsyoung and old
Irregularno patternmany young
A drawing of Hubble's tuning fork diagram for the shapes of galaxies. On the left is a handle with a round galaxy E0, then ovals that get flatter, E3 and E7, in a row. The handle splits into two prongs on the right. The upper prong has three spiral galaxies, Sa, Sb and Sc, with the arms getting looser along it. The lower prong has three barred spirals, SBa, SBb and SBc, each with a bar of stars across the middle. A small group marked irregular sits off to one side.

The E number

Hubble described an elliptical galaxy by how flat it looks. If the long axis is aaa and the short axis is bbb, its number is

n=10(1−ba)\displaystyle n = 10\left(1 - \dfrac{b}{a}\right)n=10(1−ab​)

and the galaxy is called Ennn. A round galaxy has b=ab = ab=a, so n=0n = 0n=0 and it is E0. A very flat one has n=7n = 7n=7. This describes only the shape that we see on the sky. A galaxy that looks round to us may be an oval seen end on.

Worked example. A galaxy has a long axis of 242424 kpc and a short axis of 16.816.816.8 kpc.

  1. The ratio. b/a=16.8/24=0.70b/a = 16.8/24 = 0.70b/a=16.8/24=0.70.
  2. The number. n=10×(1−0.70)=3n = 10 \times (1 - 0.70) = 3n=10×(1−0.70)=3.
  3. The class. It is an E3 galaxy.

How big does a galaxy look?

A galaxy of diameter DDD at distance ddd covers an angle θ=D/d\theta = D/dθ=D/d radians, when θ\thetaθ is small. One radian is 57.3∘57.3^\circ57.3∘.

Worked example. The Andromeda Galaxy is about 150 000150\,000150000 ly across, counting only the bright disc, and 2.52.52.5 million ly away.

  1. In radians. 150 000/2 500 000=0.060150\,000 / 2\,500\,000 = 0.060150000/2500000=0.060 rad.
  2. In degrees. 0.060×57.3∘=3.4∘0.060 \times 57.3^\circ = 3.4^\circ0.060×57.3∘=3.4∘.
  3. Compare with the Moon. The Moon is 0.52∘0.52^\circ0.52∘ wide, so the galaxy is 6.66.66.6 Moons wide. We do not see this with the naked eye, because most of the disc is too faint.

Our neighbours: the Local Group

The Milky Way is a member of the Local Group, a cluster of more than 808080 galaxies about 101010 million light-years across. Gravity holds it together.

  • The Milky Way and the Andromeda Galaxy are the two giants. Andromeda is a spiral, about 2.52.52.5 million light-years away.
  • The Triangulum Galaxy is a smaller spiral, the third largest.
  • The Magellanic Clouds are small irregular galaxies that are companions of the Milky Way, about 160 000160\,000160000 and 200 000200\,000200000 light-years away.
  • Dozens of dwarf galaxies make up most of the members.

Andromeda is moving towards us at about 110110110 km/s. The two galaxies may merge. Older estimates said in about 444 to 555 billion years, but newer measurements say that it is only about an even chance within the next 101010 billion years. The stars are so far apart that few of them will collide.

Beyond the Local Group lie other groups and clusters of galaxies. The nearest big cluster, in the constellation Virgo, is about 555555 million light-years away and holds over a thousand galaxies. Clusters gather into superclusters. On the largest scale the galaxies form a web, with long threads and huge empty gaps called voids.

Practise with new numbers

Try it in Python

The program finds the E number of three galaxies and the angular size of a galaxy.

Predict first. Which of the three galaxies A, B and C is the flattest? Then run it. Check with Show the answer.

1. Change galaxy C to ("C", 12, 6). What class is it now?

2. Put the Andromeda Galaxy at 5e6 ly instead of 2.5e6. How wide does it look?

Common mistakes

  • Reading the E number as an age or a size. It only describes the flatness of the oval.
  • Thinking that every spiral has the same arms. The arms are tighter in Sa galaxies and looser in Sc galaxies.
  • Mixing up a galaxy and a nebula. A galaxy has billions of stars. A nebula is one cloud of gas and dust.
  • Thinking that the Local Group is only the Milky Way and Andromeda. It has more than 808080 members, mostly dwarf galaxies.

Remember these

  • Galaxies are elliptical, spiral (barred or not), lenticular or irregular.
  • Elliptical galaxies hold old red stars and little gas. Spiral arms hold young blue stars.
  • The E number is n=10(1−b/a)n = 10(1 - b/a)n=10(1−b/a).
  • The angle covered by a galaxy is θ=D/d\theta = D/dθ=D/d in radians, with 57.3∘57.3^\circ57.3∘ in a radian.
  • The Local Group has more than 808080 galaxies. Andromeda is the nearest giant, about 2.52.52.5 million ly away.

Check yourself

Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.

  1. An elliptical galaxy has a short axis that is half as long as its long axis. What is its E number?
  1. Why are the arms of a spiral galaxy blue, while an elliptical galaxy looks red?
  1. Name two other members of the Local Group, besides the Milky Way.
  1. Why do the galaxies of the Local Group stay together, while far-off clusters of galaxies move apart?

References

  • OpenStax Astronomy 2e, Chapter 26 Galaxies, sections 26.1 The Discovery of Galaxies and 26.2 Types of Galaxies.
  • OpenStax Astronomy 2e, Chapter 28 The Evolution and Distribution of Galaxies, on groups and clusters.

Enroll free in Galaxies, Distances and Redshift

Every lesson is open to read. Enrolling also lets you:

  • Mark lessons done and carry on where you stopped.
  • Take the tests of this lesson and its course.
  • Count the course towards the certificate for its chapter.
No payment. You can leave at any time.

Problems (3)

A survey lists three elliptical galaxies…Easy · High School (9–10) · by StemPy Lab
The Triangulum Galaxy is about 60 000 ly across and 2.7 million ly away…Medium · High School (9–10) · by StemPy Lab
The Andromeda Galaxy is 2.5 million ly away and is moving towards us at 110 km/s…Hard · High School (9–10) · by StemPy Lab
Next: lesson 2Measuring the distance to galaxies
← Galaxies, Distances and Redshift
← PreviousMeasuring the distance to galaxies →

Discussion (0)

Log in to join the discussion.

Loading…

1 simulation
2 practice questions
1 Python program
5 questions to check yourself

This lesson is free to read. Enroll free to keep your place and take the tests.