There are n sweets in a bag. 6 are Orange, the rest are Yellow. Hannah takes a sweet out of the bag, and eats it, she does this twice. The Probability of Hannah eating two orange sweets is 1/3. Show that n^2 - n - 90 =0, and solve to find the value of n.

The first thing to recognise about this probability question, is the probability of eating an orange sweet from the bag. When she first puts her hand in the bag, there are a total of n sweets in the bag, and 6 of them are orange. So the probability of eating an orange sweet when chosen at random, is 6/n. Now, there is one less sweet in the bag after Hannah has eaten her first orange sweet. This is important as it changes the chances of picking an orange sweet. Now there are a total of n-1 sweets in the bag, 5 of which are orange. So the probability of choosing an orange sweet at random now, is 5/(n-1). Multiplying these together as independent probabilities, we get that the probability of eating two orange sweets from the bag is: 6/n * 5/(n-1) , in the question, we are told that this is 1/3. So, 30/n(n-1) = 1/3. Multiplying both sides of this equation by 3n(n-1), gives: 90 = n(n-1). Expanding the bracket on the right hand side of the equation and we are left with: 90 = n^2 - n, or, n^2 - n -90 = 0.

That's the first part of the question done with. Now we need to solve this equation to find n. We should try and factorise n^2 - n - 90. Thinking of factors of -90 that have a sum of -1, and you should be able to come up with -10 and 9. So, now we can write: n^2 - n - 90 = (n+9)(n-10) = 0. Usually with an equation like this you get to answers, n=-9 and n=10, as either of these satisfy the equation. But we know that in real life, you can't ever have -9 sweets, so n must be equal to 10.

DD
Answered by Dylan D. Maths tutor

10450 Views

See similar Maths GCSE tutors

Related Maths GCSE answers

All answers ▸

Solve the simultaneous equations 2x + 3y = 6 - 3x and 5x + 6y = 10 - y.


There are 5 white socks and 3 black socks in a draw. Steven takes out 2 at random. Work out the probability that Steven takes out 2 socks of the same colour.


x^2 - 5x - 12 = 2, solve for x


(This was taken from a GCSE past paper)A bag of 24 spoons costs £19.95. A box of 18 forks costs £15.55. Bags and boxes cannot be split. Gregor decides to buy the same number of spoons as forks. He places an order to buy the smallest number of each


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2026 by IXL Learning