Skip over navigation
Cambridge University Faculty of Mathematics NRich logo
menu search
  • Teachers expand_more
    • Early years
    • Primary
    • Secondary
    • Post-16
    • Events
    • Professional development
  • Students expand_more
    • Primary
    • Secondary
    • Post-16
  • Parents expand_more
    • Early Years
    • Primary
    • Secondary
    • Post-16
  • Problem-Solving Schools
  • About NRICH expand_more
    • About us
    • Impact stories
    • Support us
    • Our funders
    • Contact us
  • search

Or search by topic

Number and algebra

  • The Number System and Place Value
  • Calculations and Numerical Methods
  • Fractions, Decimals, Percentages, Ratio and Proportion
  • Properties of Numbers
  • Patterns, Sequences and Structure
  • Algebraic expressions, equations and formulae
  • Coordinates, Functions and Graphs

Geometry and measure

  • Angles, Polygons, and Geometrical Proof
  • 3D Geometry, Shape and Space
  • Measuring and calculating with units
  • Transformations and constructions
  • Pythagoras and Trigonometry
  • Vectors and Matrices

Probability and statistics

  • Handling, Processing and Representing Data
  • Probability

Working mathematically

  • Thinking mathematically
  • Developing positive attitudes
  • Cross-curricular contexts

Advanced mathematics

  • Decision Mathematics and Combinatorics
  • Advanced Probability and Statistics
  • Mechanics
  • Calculus

For younger learners

  • Early Years Foundation Stage

Swapping Sweets

Age 14 to 16
ShortChallenge Level Yellow star
Secondary curriculum
  • Problem
  • Solutions
Using a tree diagram
There are two stages here - the sweet that Kate removes, and the sweet that Anna removes - and so a two-stage tree diagram will be helpful.

When Kate takes a sweet out of her bag, there are 4 to choose from, and they are all different colours - so the probability of choosing each colour is $\frac{1}{4}$.

When Anna takes a sweet out of her bag, there are 5 to choose from. If Kate put a red sweet into Anna's bag, then there are two red sweets, so the probability that Anna chooses a red sweet is $\frac{2}{5}$. There is still only one blue sweet, one green sweet and one yellow sweet, so the probability that she chooses each of the other colours is $\frac{1}{5}$. Similarly, if Kate put a blue sweet into Anna's bag, then the probability that Anna chooses a blue sweet is $\frac{2}{5}$, and the probability that she chooses each of the other colours is $\frac{1}{5}$ - and so on.

This is shown on the tree diagram below.

 

The two bags will each end up with one sweet of each colour if the sweet that Anna puts into Kate's bag is the same colour as the sweet that Kate has put into Anna's bag. Those possibilities are highlighted on the tree diagram below.

 

The probability of going along the red path is $\frac{1}{4}\times\frac{2}{5}=\frac{1}{10}$. The probability of going along each of the other paths is also $\frac{1}{10}$, so the probability that both bags end up containing one sweet of each colour will be $\frac{1}{10}+\frac{1}{10}+\frac{1}{10}+\frac{1}{10}=\frac{4}{10}=\frac{2}{5}$ .


Thinking carefully about probability
The two bags will each end up with one sweet of each colour if the sweet that Anna puts into Kate's bag is the same colour as the sweet that Kate has put into Anna's bag.

After Kate has put a sweet into Anna's bag, there will be 5 sweets in Anna's bag. 2 of them will be the same colour - and they are also the same colour as the sweet that Kate has just chosen. So, in order to end up with one sweet of each colour in her bag, Anna needs to remove one of these 2.

Since there are 5 sweets in the bag and 2 to choose from of the required colour, the probability that Anna chooses one of those is $\frac{2}{5}$.
You can find more short problems, arranged by curriculum topic, in our short problems collection.

You may also like

Gambling at Monte Carlo

A man went to Monte Carlo to try and make his fortune. Is his strategy a winning one?

Marbles and Bags

Two bags contain different numbers of red and blue marbles. A marble is removed from one of the bags. The marble is blue. What is the probability that it was removed from bag A?

Coin Tossing Games

You and I play a game involving successive throws of a fair coin. Suppose I pick HH and you pick TH. The coin is thrown repeatedly until we see either two heads in a row (I win) or a tail followed by a head (you win). What is the probability that you win?

  • Tech help
  • Accessibility Statement
  • Sign up to our newsletter
  • Twitter X logo

The NRICH Project aims to enrich the mathematical experiences of all learners. To support this aim, members of the NRICH team work in a wide range of capacities, including providing professional development for teachers wishing to embed rich mathematical tasks into everyday classroom practice.

NRICH is part of the family of activities in the Millennium Mathematics Project.

University of Cambridge logo NRICH logo