Red Queen and her roses

It's time for Alice to return Wonderland again. Upon reaching the garden, she saw Red Queen planting her roses. To show her royalty, Red Queen only want to see red roses instead of white ones, and she questioned Alice on how to get rid of those.

From Alice's knowledge, she know that roses are diploid and the red and white traits of the roses are controlled by a pair of allele genes on the same homologous chromosome, where red is the dominant gene A A , and white is the recessive gene a a . That means the red roses have the genotype A A AA or A a Aa , while the white ones have the genotype a a aa , and breeding will follow the expected probabilities found by a Punnett square.

Each rose has the possibility of breeding with every other one (including self-crossing), and since it is a sufficiently large population, they will breed at a probability based on the current ratio of the different genotypes. Roses breed only once and then die shortly afterwards. No roses breed across a generation. The fertility and mortality rates of all gametes are proportionally the same.

Initially, on Day 0 0 , Red Queen planted many red roses in the garden. Unfortunately, the roses she planted all have genotype A a Aa , so on Day 1 1 she found many white roses. In order to get pure red roses as quickly as possible, she decided to weed out all white roses at the end of the day, and let the rest of red roses breed with each other. Each generation lasts 1 1 day, which means the n t h n\ th generation is on Day n n .

To Red Queen's desire, she needs to make sure that in the next generation, the portion of white roses produced is less than 1 0 6 10^{-6} . On which Day n n will her wish come true?

Clarification: For example, if on Day 201 201 , the portion of white roses produced is less than 1 0 6 10^{-6} , then we say on Day 200 200 , her wish will come true.


Inspiration: Brilliant Butterflies


The answer is 999.

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.

1 solution

Mark Hennings
Jun 27, 2020

Let x n x_n and y n y_n be the proportions of A A AA and A a Aa red roses present at the end of day n n . Then x 0 = 0 x_0 = 0 and y 0 = 1 y_0 = 1 , and the proportions of A A AA , A a Aa and a a aa roses the next day (before culling) are x ^ n + 1 = x n × x n × 1 + x n × y n × 1 2 + y n × x n × 1 2 + y n × y n × 1 4 = ( x n + 1 2 y n ) 2 = ( 1 1 2 y n ) 2 y ^ n + 1 = x n × x n × 0 + x n × y n × 1 2 + y n × x n × 1 2 + y n × y n × 1 2 = x n y n + 1 2 y n 2 = 1 2 y n ( 2 y n ) z ^ n + 1 = y n × y n × 1 4 = 1 4 y n 2 \begin{aligned} \hat{x}_{n+1} & = \; x_n \times x_n \times 1 + x_n \times y_n \times \tfrac12 + y_n \times x_n \times \tfrac12 + y_n \times y_n \times \tfrac14 \; = \; (x_n + \tfrac12y_n)^2 \; = \; (1 - \tfrac12y_n)^2 \\ \hat{y}_{n+1} & = \; x_n \times x_n \times 0 + x_n \times y_n \times \tfrac12 + y_n \times x_n \times \tfrac12 + y_n \times y_n \times \tfrac12 \; =\; x_ny_n + \tfrac12y_n^2 \; = \; \tfrac12y_n(2 - y_n) \\ \hat{z}_{n+1} & = \; y_n \times y_n \times \tfrac14 \; = \; \tfrac14y_n^2 \end{aligned} so that, after culling the a a aa white roses, we have proportions x n + 1 = ( 1 1 2 y n ) 2 1 1 4 y n 2 = 2 y n 2 + y n y n + 1 = 1 2 y n ( 2 y n ) 1 1 4 y n 2 = 2 y n 2 + y n \begin{aligned} x_{n+1} & = \; \frac{(1 - \frac12y_n)^2}{1 - \frac14y_n^2} \; =\; \frac{2 - y_n}{2 + y_n} \\ y_{n+1} & = \; \frac{\frac12y_n(2 - y_n)}{1 - \frac14y_n^2} \; = \; \frac{2y_n}{2 + y_n} \end{aligned} and the Red Queen's dream will come true on Day n n when first z ^ n + 1 = 1 4 y n 2 < 1 0 6 \hat{z}_{n+1} = \tfrac14y_n^2 < 10^{-6} , and hence when y n < 1 500 y_n < \tfrac{1}{500} .

Since y n + 1 1 = y n 1 + 1 2 y_{n+1}^{-1} = y_n^{-1} + \tfrac12 , we deduce that y n 1 = 1 + 1 2 n y_n^{-1} = 1 + \tfrac12n , so that y n = 2 n + 2 y_n = \frac{2}{n+2} for all n 0 n \ge 0 . Thus the Red Queen's dream will come true on Day n n , when first 2 n + 2 < 1 500 \frac{2}{n+2} < \frac{1}{500} , and hence when first n > 998 n > 998 , and so the Red Queen's dream comes true on day 999 \boxed{999} .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...