How do I solve Hannah’s sweet question?

This refers to a question in the Edexcel GCSE paper this year which took students to Twitter venting their frustration. The question is as follows:

‘There are n sweets in a bag. 6 of the sweets are orange. The rest of the sweets are yellow.

Hannah takes a random sweet from the bag. She eats the sweet.

Hannah then takes at random another sweet from the bag. She eats the sweet.

The probability that Hannah eats two orange sweets is 1/3.

Show that n² – n – 90 = 0’

Seemingly out of nowhere you’re asked to prove that a certain quadratic equation holds using the information provided. The first three lines set up the situation whilst the fourth line provides you with some extra information to use to obtain the answer. Intuition should tell you that you need to calculate the probability that Hannah eats two orange sweet using the first three lines and then apply what you’re given in the fourth line.

So let’s do that. What’s the probability that the first sweet she eats from the bag is orange? There are n sweets in the bag, 6 of which are orange. So the probability is 6/n.

What’s the probability that the second sweet she eats from the bag is orange? Now there are n-1 sweets in the bag, 5 of which are orange (since she has eaten an orange sweet!). So the probability is 5/(n-1).

These two events are separate from one another, so the probability that both happen (i.e. both the sweets are orange) are the two probabilities multiplied together: 6/n × 5/(n-1) = 30/n(n-1)

But you’re told that this probability is 1/3! So all you need to do is set the expression equal to 1/3, rearrange and (hopefully!) obtain the required quadratic equation.

30/n(n-1) = 1/3

⇒ 90/n(n-1) = 1           (multiplying both sides by 3)

⇒ 90 = n(n-1)               (multiplying both sides by n(n-1))

⇒ n(n-1) – 90 = 0         (subtracting 90 from both sides)

⇒ n² – n – 90 = 0         (expanding the brackets)

Tah-dah. We’ve found the required equation and we’re done. This question was only worth three marks; a bit stingy in my opinion!

George B. GCSE Maths tutor, A Level Maths tutor, A Level Further Math...

1 year ago

Answered by George, a GCSE Maths tutor with MyTutor

Still stuck? Get one-to-one help from a personally interviewed subject specialist


Yasmin J. GCSE Biology tutor, 13 plus  Maths tutor, GCSE Maths tutor,...
View profile
£18 /hr

Yasmin J.

Degree: Medicine (Bachelors) - Liverpool University

Subjects offered: Maths, Science+ 2 more

-Medical School Preparation-

“About Me: I am a final year medical student at the University of Liverpool. I have a strongpassion for science and I love to share and inspire others with it. I have beeninvolved in teaching since 2009 and have acquired a range of ski...”

MyTutor guarantee

Samuel H. A Level Maths tutor, A Level Physics tutor, GCSE Maths tuto...
View profile
£20 /hr

Samuel H.

Degree: Mathematics with International Study (Masters) - Exeter University

Subjects offered: Maths, Physics


“I have not only been able to teach AS Level students how to solve mechanics problems; I helped them understand the concepts behind the problems”

PremiumLorna P. GCSE Biology tutor, A Level Biology tutor, GCSE Chemistry tu...
View profile
£18 /hr

Lorna P.

Degree: Veterinary Science (Bachelors) - Bristol University

Subjects offered: Maths, Chemistry+ 1 more


“Hello!  A bit about me.. I'm currently studying Veterinary Science at the University of Bristol, having previously completed a degree in Zoology at the University of Leeds. I'm a patient person and think teaching others is a very rew...”

MyTutor guarantee

About the author

PremiumGeorge B. GCSE Maths tutor, A Level Maths tutor, A Level Further Math...
View profile

George B.

Currently unavailable: for new students

Degree: Mathematics (Masters) - Warwick University

Subjects offered: Maths, Further Mathematics + 1 more

Further Mathematics

“Third year undergraduate at one of the top universities for Maths. Eager to tutor and help improve your grades.”

You may also like...

Posts by George

Given that a and b are distinct positive numbers, find a polynomial P(x) such that the derivative of f(x) = P(x)e^(−x²) is zero for x = 0, x = ±a and x = ±b, but for no other values of x.

How do I solve Hannah’s sweet question?

Let P(z) = z⁴ + az³ + bz² + cz + d be a quartic polynomial with real coefficients. Let two of the roots of P(z) = 0 be 2 – i and -1 + 2i. Find a, b, c and d.

What values of θ between 0 and 2π satisfy the equation cosec(θ) + 5cot(θ) = 3sin(θ)?

Other GCSE Maths questions

The work in an office takes 200 hours to complete every week. Each person in the office works 35 hours a week. What is the smallest number of people needed to complete the work?

Mark has a voucher that gives him 22% off the prices at a hardware store. Estimate how much he will pay for an electric drill that normally costs £87.99. (non-calculator) (3)

How do you expand brackets?

How do I solve fractions with unknowns in the denominators?

View GCSE Maths tutors


We use cookies to improve our service. By continuing to use this website, we'll assume that you're OK with this. Dismiss