There are n sweets in a bag. Six of the sweets are orange, the rest are yellow. One sweet is removed from the bag without replacement, then another is removed without replacement. Show that n²-n-90=0

Firstly, you need to consider the type of problem we are dealing with. This is actually just a tree diagram type question. note that the sweets are not replaced.

Letting n = number of sweets in the bag. 6 are orange and n-6 are yellow. In the first selection, there are two possibilities, either yellow or orange, this is the same in the second selection. We are told that the probability of choosing two orange sweets in a row is 1/3.

From this we can set up an equation:

The probability of choosing an orange sweet on the first go is 6/n , as we have 6 orange sweets out of a total of n to pick from. This means that there are 5 orange sweets and n-1 sweets in total. 

The probability of choosing another orange sweet the second time around will be 5/(n-1). Now, in a tree diagram, when considering two selections for an overall outcome, the probabilities of the outcomes are multiplied for the final probability, as we are already given this, we can set up the quadratic equation.

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

30/(n2-n)=1/3

90=n2-n

n2-n-90=0

factorising:

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

n=10, n=-9

The  number of sweets cant be negative, n>0 therefore the value for n is 10

JR
Answered by Joel R. Maths tutor

4873 Views

See similar Maths GCSE tutors

Related Maths GCSE answers

All answers ▸

Jason and Mary leave their houses at the same time. They travel towards each other, Mary at 20km/h and Jason at 15km/h. They pass each other after an hour and a half. What was the original distance between them when they started?


Solve the following fractional quadratic equation 14/(x^2-9)+1/(3-x)+(4-x)/(x+3)=7/(x+3), assuming x=/=+-3.


Natasha has two bags of fruit. both bags have the same number of fruit in total. 1/3rd of the fruit in bag 1 are apples and 15% of the fruit in bag 2 are apples. There are 20 apples in bag 1, how many apples are in bag 2?


Expand and simplify (2x + 5) (3x - 2)


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