David has a certain number of distinct candies, and he wants to pick 2 of them to give to his friend Michael. If he can pick the candies in 210 ways, how many candies does he have?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
The anser I got was 15 because for the first pick, he will have x options. For the second pick he will have x minus 1 options. Doing the algebra gets 15. (15 times 14 is 210)
Log in to reply
Me too.....
Even I did.........can anyone explain why 15 is a wrong answer?
Very nice solution !
Thanks!
Let us say there are x distinct candies.
Number of ways in which David can pick 2 out of x candies are 2 x C .
Hence, 2 x C = 2 1 0
2 ! × ( x − 2 ) ! x ! = 2 1 0
2 ! × ( x − 2 ) ! x × ( x − 1 ) × ( x − 2 ) ! = 2 1 0
2 ! x × ( x − 1 ) = 2 1 0
x 2 − x = 4 2 0
x 2 − x − 4 2 0 = 0
Solving this, we get
x = 2 1 and x = − 2 0
Since x has to be positive, x = 2 1 is the answer!
Really nice.
Let the number of candies be n . Then we have, \begin{align} {n \choose 2} &= 210 \\ \frac{n(n-1)}{2} &= 210 \\ n^2-n-420 &= 0 \\ (n-21)(n+20) &=0 \\ &\Rightarrow n = 21 \quad \text{or} \quad n = -20 \end{align} However you cannot have − 2 0 candies so the final answer is 2 1
n.C.2 = 210 ---> n! / (n-2)!.2! = 210 ---> n! / (n-2)! = 420 ----> n.(n-1).(n-2)! /(n-2)! = 420 ---> n.(n-1) = 420 ----> 420 = 21.20 = n(n-1). So, n = 21. Answer : 21
( 2 x ) = 2 1 0 → 2 ! ( x − 2 ) ! x ! = 2 1 0 → 2 ! ( x − 2 ) ! x ( x − 1 ) ( x − 2 ) ! = 2 1 0 → 2 x 2 − x = 2 1 0
Solving x 2 − x − 4 2 0 = 0 we find x = − 2 0 or x = 2 1 but since x ≥ 0 the answer is 2 1
according to the question , he selected 2 candies out of n candies
then, nC2 = 210
on solving this we get n = 21
n
let total no . of candies be n. then no. of ways of selecting 2 candies= c =210
2
nc2=n!/(n-2)!/2! which is equal to n(n-1)/2 that implies, n square - n =210x2=420.
we will get quadratic equation. on factorising we get n=21 only because in nc2, 'n' must be +ve integer
We can use the formula n(n-1)/2 = 210
Just take for example that David has 3 candies with different colors Red, Green and Blue. There will be 3 ways in which he can give his candies to his friend, namely, Red and Green, Green and Blue, and Red and Blue.
Calculated as: 3(3-1)/2 = 3
Thus in the problem above, n(n-1)/2 = 210 n(n-1) = 420 n^2 - n - 420 = 0
by getting the roots of 420, we can have a result of n = -20 and n = 21.
The final answer is 21.
because david has some distinct type of candies, Simply we can made to :
( 2 x ) = 2 1 0
( x − 2 ) ! 2 ! x ! = 2 1 0
( x − 2 ) ! x ! = 4 2 0 ⇒ cause 4 2 0 = 2 1 × 2 0 , so x = 2 1
And david has 2 1 candies.
He wants to select 2 candies out of n and he can do it nC2 number of ways which is given as 210. nC2 = 210 n!/((n-2)!2!) = 210 n (n-1) = 420 n (n-1) = 21*20 By comparing we see that n = 21.
suppose there are n candies the no. of ways to select any 2 of them will be nc2 which will be equal to 210 form quardatic equation the value of n comes out to be 21
Problem Loading...
Note Loading...
Set Loading...
Let the number of candies David has be n . He can choose 2 candies in ( 2 n ) ways. Thus we have the equation ( 2 n ) = 2 1 0 If you are familiar with combinations, you may recognize the answer from here; however, we can solve it algebraically using the expansion of ( 2 n ) , 2 n ( n − 1 ) . So the equation we had is really 2 n ( n − 1 ) = 2 1 0 ⇒ 0 = n 2 − n − 4 2 0 = ( n − 2 1 ) ( n + 2 0 ) David must have a positive number of candies, so we choose the positive root, n = 2 1 , as our answer.