SOLUTION: There are 15 green apples and 72 red apples in a basket. We keep extracting the apples randomly, one at a time, until we have extracted all 72red apples. What is the probability th

Algebra.Com
Question 1196181: There are 15 green apples and 72 red apples in a basket. We keep extracting the apples randomly, one at a time, until we have extracted all 72red apples. What is the probability that the basket is empty when we finish?

Found 2 solutions by greenestamps, ikleyn:
Answer by greenestamps(13250)   (Show Source): You can put this solution on YOUR website!


If the basket is empty after we select the last red apple, then the last apple selected is red.

We can represent any sequence of apples selected by a string like "GGRG...RRGR" containing 72 "R"s and 15 "G"s. Then the probability in question is the probability that the last letter in the string is "R".

Since there are 72 red apples and 15 green apples, the probability that the last one selected is red is 72/(72+15) = 72/87.

ANSWER: 72/87

For a more thorough demonstration of why that is the answer, use the basic definition of probability:
         number of favorable outcomes
  P = -----------------------------------
       total number of possible outcomes

In this problem the possible outcomes are all the possible arrangements of the 72 "R"s and 15 "G"s, which is



And, because the favorable outcomes are those with a red apple last, the number of favorable outcomes is the number of ways of arranging 71 of the 72 red apples and all 15 of the green ones, which is



Then the probability in the question is



----------------------------------------------------------------

Note added after seeing the response from tutor @ikleyn....

Her math is nearly always very good; but her English is not. The statement of the problem clearly says that the basket must be empty after removing the 72nd red apple.


Answer by ikleyn(53354)   (Show Source): You can put this solution on YOUR website!
.
There are 15 green apples and 72 red apples in a basket.
We keep extracting the apples randomly, one at a time,
until we have extracted all 72 red apples.
What is the probability that the basket is empty when we finish?
~~~~~~~~~~~~~~


            The solution by @greenestamps does not correspond to the posed question.
            It does not correspond, becouse he considers the strings of the length 72+15 = 87, ONLY.
            Meanwhile, the process can stop at any number of apples extracted between 72 and 87;
            the only two conditions are that all 72 red apples are extracted and the last extracted apple is red.

            The green apples can still remain in the basket when the process stops.

            So, I came to bring another solution.


So, all possible outcomes are the strings of the length between 72 and 87 inclusive,
that contain 72 "R" and such that "R" is in the last position.


Let's consider only distinguishable arrangements.


The number of such strings of the length 72 is 1.

The number of such strings of the length 73 is 72  (a unique green apple is in any position from 1 to 72).

The number of such strings of the length 74 is   (two green apples are in any two positions from 1 to 73).

The number of such strings of the length 75 is   (three green apples are in any three positions from 1 to 74).



By continuing this logical reasoning, the total number of all possible outcomes is the sum

    Total = 1 +  +  +  + . . . +  + .



The favorable outcomes are the strings of the length 87 (that contain all the apples) with the red apple in the last position.

The number of such strings is  Favorable = .



Now we should calculate these numbers.


To make it, I used Excel spreadsheet. It gave me Total = 26322377293583700;  Favorable = 21784036380896900.


Now the ANSWER to the problem's question is this ratio  

    P =  =  = 0.8276  (rounded).

Solved.

--------------

Again, @greenestamps answered other question, different from the posed in the problem, namely
    "What is the probability that last extracted apple is red given that the basket is empty?"

although the real question in the problem is
    "What is the probability that the basket is empty when we extract the 72-th red apple?"

The questions seems to be similar, but in reality they are different, and the logic of solutions is different.

===============

At the finish, I have even more interesting message to you.

When I calculated the probability according to the @greenestamps solution,
I got practically the same decimal rounded number of 0.8276.

The difference is in further decimal places.

So, numerically our answers are very close, but logically the solutions are different.



RELATED QUESTIONS

chris has a basket of apples,40%red, and the rest green apples. there are six red apples... (answered by stanbon)
A basket contains k red and 7 green apples, where k is a constant. Two apples are picked... (answered by ikleyn)
a basket has both red and green apples. the shaded section of the strip diagram... (answered by Fombitz)
In a basket of 50 apples, the probability of it having all at good quality is 0.35, while (answered by Boreal)
there are 12 more apples than oranges in a basket of 36 apples and oranges. How many... (answered by josmiceli)
how would i do this question ? Chris has a basket of apples, 40% of which are red. The... (answered by nyc_function)
Hello: I'm stumped on this question, how do I go about solving it There are 256 red... (answered by Alan3354)
There were 23 apples in Basket A and 4 apples in Basket B. If X amour of apples are moved (answered by josgarithmetic,ikleyn)
3. A fruit basket contains five red apples and three green apples. Without looking, you... (answered by Fombitz)