Stem-and-Leaf Diagrams, Including Back-to-Back | Cambridge A Level Maths notes

Free preview: Stem-and-Leaf Diagrams, Including Back-to-Back

Drawing a Stem-and-Leaf Diagram

9709 Paper 5: Probability & Statistics 1

Let's start with 15 test marks from class A:

42, 35, 61, 27, 50, 41, 38, 45, 23, 53, 42, 31, 58, 34, 47

  • Quick: what is the middle mark? Were most students in the 30s or the 40s? It's hard to tell from a list like this.
  • A bar chart would show the shape, but you would lose the actual marks.
  • A stem-and-leaf diagram does both: it sorts the values into rows, so you see the shape, and it still shows every single value.

Stems and leaves

  • Each value is split into a stem (the leading digit, here the tens) and a leaf (the last digit, here the units).
  • 42 has stem 4 and leaf 2. 35 has stem 3 and leaf 5.
  • All values with the same stem go in the same row. So the 40s row holds every mark from 40 to 49.

The steps

  1. Write the stems in a column, smallest at the top, with no gaps (include a stem even if it has no leaves). Why: a gap in the data should look like a gap.
  2. Put each leaf in the row of its stem, in the order you meet them. Why: going through the list once means you won't miss or repeat a value.
  3. Rewrite each row with the leaves in order, smallest next to the stem. This is an ordered diagram. Why: now you can count along to find the median.
  4. Add a key, such as "2 | 3 means 23 marks". Without it the reader cannot tell 23 from 2.3 or 230.

👀 Watch me do it: draw an ordered stem-and-leaf diagram for class A

What I writeWhy I do it
Smallest 23, largest 61, so stems 2, 3, 4, 5, 6.Step 1: find the range of stems first.
First pass, in list order: 2 | 7 3; 3 | 5 8 1 4; 4 | 2 1 5 2 7; 5 | 0 3 8; 6 | 1Step 2: 42 goes in row 4 as a 2, 35 in row 3 as a 5, and so on. Cross each value off as you go.
Count the leaves: 2 + 4 + 5 + 3 + 1 = 15.Check: 15 values in the list, 15 leaves. Nothing missed.
Sort each row (shown in the table below).Step 3: smallest leaf next to the stem.
Key: 2 | 3 means 23 marksStep 4: always, with the units (marks).
StemLeaves
23  7
31  4  5  8
41  2  2  5  7
50  3  8
61

Key: 2 | 3 means 23 marks

💡 In plain words

  • Turn the diagram on its side and it looks like a bar chart: the longest row is where most values are. For class A, that is the 40s.
  • Unlike a bar chart, no information is lost: you can read off every original value.
  • Line the leaves up in neat columns, so the row lengths can be compared fairly.

Choosing the stem

  • Two-digit whole numbers: stem = tens, leaf = units.
  • Three-digit numbers such as heights in cm: stem = the first two digits, leaf = the units. 157 is 15 | 7.
  • Decimals such as 4.5 cm: stem = units, leaf = tenths. 4.5 is 4 | 5.
  • A single-digit value such as 9, in data that goes up to the 30s, has stem 0: it is 0 | 9.
  • The key tells the reader which choice you made, so it must match.

📝 Here's the trap

  • Right: one digit per leaf, in neat columns, and a key with units.
  • Wrong: leaves like "12" in one row, uneven spacing, or no key. A diagram without a key cannot be read.

✏️ YOUR TURN 1

Try this first:

The times, in minutes, that 12 people took to walk to work are: 14, 27, 9, 22, 31, 18, 25, 12, 20, 33, 16, 24. Draw an ordered stem-and-leaf diagram with a key.

Answer:

  • Stems 0 to 3 (9 is 0 | 9).
  • StemLeaves
    09
    12  4  6  8
    20  2  4  5  7
    31  3


  • Key: 1 | 4 means 14 minutes.
  • Check: 1 + 4 + 5 + 2 = 12 leaves. Keep this diagram for page 2.

Median and Quartiles from the Diagram

Here is the real reward for ordering the leaves. The values are already in order, so finding the middle is just counting.

The rules

  • The median is the middle value. For n values, it is the n+12th value.
  • The lower quartile Q1 is the median of the values below the median; the upper quartile Q3 is the median of the values above it. (When n is odd, leave the median itself out of both halves.)
  • The interquartile range IQR=Q3−Q1 measures the spread of the middle half of the data. The range is largest minus smallest.

Unlock the full note: start 7 days free.

Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.

Log in · Subscribe · Start free trial

All notes in Representation of data (5.1)

  1. Stem-and-Leaf Diagrams, Including Back-to-Back
  2. Types of Data and the Mean, Median and Mode
  3. Grouped Data: Estimating the Mean, Median, Quartiles and Percentiles
  4. Measuring Spread: Range, Interquartile Range, Variance and Standard Deviation
  5. Cumulative Frequency Diagrams and Box Plots
  6. Histograms, Frequency Density and the Shape of a Distribution
  7. Coded Totals and Combining Two Data Sets
  8. Outliers and Choosing How to Present Data

What's inside for this topic

8 teacher notes, 157 practice questions, 40 flashcards, 2 quizzes.

Get the full notes, every practice question, flashcards, quizzes and mock papers.

Start your free 7-day trial

Questions? Chat with us on WhatsApp · Try one live lesson

Next note: Types of Data and the Mean, Median and Mode

All Cambridge A Level Maths topics · A Level Maths