How do I solve the Hannahs sweets question from the 2015 GCSE paper?

Here is a question from the 2015 edexcel GCSE paper that was considered particulary challenging. 

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.

I will go through how to solve this question step by step. 

Firstly we note that we have 6 orange sweets, and as we have n sweets in total therefore at the start we have a 6/n chance of choosing an orange sweet, because 6/n of the total sweets are orange. 

After Hannah has eaten an orange sweet the probability changes. We now have n-1 sweets left in the bag, 5 of which are orange, since one orange sweet is missing from the bag. therefore the probablity the second sweet is orange, after one orange sweet has already been eaten, is 5/(n-1). 

Therefore by the laws of probability the total probability that Hannah has chosen 2 orange sweets is 6/n x 5/(n-1). This is because when we want the probability that two events happen (in this case event one is that the first sweet is orange, event two is that the second sweet is orange) we multiply together the probability that each event occurs.

Now we know that the probability is equal to 1/3 from the question so now we can set up an equation

6/n x 5/(n-1) = 1/3

times together the denominators and numerators

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

expand through the brackets

30/(n2-n) = 1/3

times both sides by 3

90/(n2-n) = 1 

multiply each side by n2-n

90 = n2-n 

Now simply rearrange to find the solution we are seeking

n-n - 90 = 0

We have now solved part a of the question.

As a bonus, if we wanted to solve this quadratic equation this is how we would do it:

A quadratic fuction is of the form an2+bn+c

In our example a=1 b=-1 and c=-90

We now want to find two numbers y and z such that x+y=b=-1 and xy=c=-90. We can start by listing factor pairs of 90 until we find a pair with a difference of -1

-90 + 1 = -89

-45 +2 = -43

-30 + 3 = -27

-18 +5 = -13

-15 + 6 = -9

-10 + 9 = -1     We have found our pair

Therefore (n-10)(n+9) = n-n - 90 = 0

So if (n-10)(n+9)=0 either (n-10) =0 ie n=10 or (n+9) = 0 ie n=-9. 

So 10 and -9 are our solutions. However in this case we know that we cannot have a negative number of sweets in a bag therefore we deduce that there are 10 sweets in the bag. 

Miranda R. A Level Further Mathematics  tutor, GCSE French tutor, GCS...

2 years ago

Answered by Miranda, a GCSE Maths tutor with MyTutor

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


£22 /hr

Xanthe W.

Degree: Biological Sciences with a Year in Industry/Research (Bachelors) - Imperial College London University

Subjects offered:Maths, Chemistry+ 1 more


“Top tutor from the renowned Russell university group, ready to help you improve your grades.”

£24 /hr

Luke B.

Degree: Mathematics (Masters) - Sheffield University

Subjects offered:Maths, Further Mathematics + 3 more

Further Mathematics
-Personal Statements-

“I am a fun, engaging and qualified tutor. I'd love to help you with whatever you need, giving you the support you need to be the best you can be!”

£30 /hr

Rachel H.

Degree: Physics and Astronomy with a Year Abroad (Bachelors) - Durham University

Subjects offered:Maths, Science+ 3 more


“Hey, I'm Rachel and I'm Physics graduate from Durham University. My best subjects at school were always science and maths but I also loved languages and art”

About the author

£18 /hr

Miranda R.

Degree: Mathematics with year in France (Bachelors) - Birmingham University

Subjects offered:Maths, Further Mathematics + 1 more

Further Mathematics

“Top tutor from the renowned Russell university group, ready to help you improve your grades.”

MyTutor guarantee

You may also like...

Posts by Miranda

How do I form the conditional tense?

How do I solve the Hannahs sweets question from the 2015 GCSE paper?

Other GCSE Maths questions

Find the zeroes of the quadratic polynomial x^2 + 8x + 15.

Finding the length of the side opposite a known angle while having the hypotenuse length known

Can you solve the following 2 simultaneous equations; y=6x-2 and x^2-4x+19=y?

How do i factorise 20 + 10x?

View GCSE Maths tutors

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