There are n sweets in a bag. 6 are orange. A random sweet gets eaten, and then a second one. The probability that both sweets are orange is 1/3. Find n.

The probability that the first sweet is orange is 6/n, as 6 of the n number of sweets are orange. After an orange sweet is eaten, there are 5 orange sweets left and n-1 total sweets in the bag. This means the probability that the second sweet is orange is 5/(n-1). The probability of both sweets being orange is therefore 6/n * 5/(n-1). This can be simplified to 30/(n^2 - n), which is equal to 1/3 (from the question). The next step is to set n^2 - n to be equal to something. This can be done by manipulating 1/3. The value of this cannot be changed, as this would change the equation. However, it can be multiplied by one and the value remains the same. To match the 30 on the top of or other equation, 1 must be multiplied by 30. However we must multiply by 30/30 as this is equal to one. This gives us 1/3 * 30/30 = 30/90, which is also equal to 30/(n^2 -2).As the numerators for both fractions are equal to each other, the denominators must also be the same. Therefore we can derive the equation n^2 - n = 90. The only thing left to do now is to rearrange the equation to find n. 90 can be subtracted from both sides to give n^2 - n - 90 = 0. This should be relatively easy to factorise into (n-10)(n+9) = 0. This gives values for n of 10 and -9. However there cannot be -9 sweets in the bag, so n must be equal to 10.

JG
Answered by Josh G. Maths tutor

3497 Views

See similar Maths GCSE tutors

Related Maths GCSE answers

All answers ▸

How do I solve inequalities when they're not linear?


5 White Socks and 3 Black socks are in a drawer. I take out two socks. What is the probability the socks are the same colour?


n is an integer such that 6-3n>18 and (-5n)/(n^2-6)>1. Find all the possible values of n.


Simplify 8x-3+6x


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