text stringlengths 0 66.2k |
|---|
Starting from the original equation: |
\( E_n = 1 + \frac{n}{2019} E_{n-1} + \frac{2019 - n}{2019} E_{n+1} \) |
Let me rearrange terms to group E_{n+1} and E_{n-1}: |
\( \frac{2019 - n}{2019} E_{n+1} = E_n - 1 - \frac{n}{2019} E_{n-1} \) |
Multiply both sides by 2019: |
\( (2019 - n) E_{n+1} = 2019 E_n - 2019 - n E_{n-1} \) |
Hmm, perhaps rearranged: |
\( (2019 - n) E_{n+1} - 2019 E_n + n E_{n-1} = -2019 \) |
Not sure if that helps. Maybe another approach. |
Alternatively, let's consider the difference between E_{n} and E_{n+1}: |
Let D_n = E_n - E_{n+1} |
Then, perhaps express D_{n} in terms of D_{n-1} or something else. |
Wait, let me try to write the equation for E_{n} and E_{n+1}: |
For E_n: |
\( E_n = 1 + \frac{n}{2019} E_{n-1} + \frac{2019 - n}{2019} E_{n+1} \) |
For E_{n+1}: |
\( E_{n+1} = 1 + \frac{n+1}{2019} E_{n} + \frac{2019 - (n+1)}{2019} E_{n+2} \) |
Hmm, but this might get too complicated. Maybe instead, let's consider the difference between consecutive equations. |
Alternatively, let me think of the problem in terms of potential theory or expected values. |
Alternatively, maybe we can use the concept of "balance equations" for the expected values. |
Alternatively, let me consider that in such a symmetric-like setup, perhaps the expectation can be written as a quadratic function? Let me test with small cases. |
Suppose instead of 2019 frogs, we have a smaller number, like 3 frogs (so 2 in the pool and 1 on the shore initially). Let me see if I can compute the expectation for a small N and see a pattern. |
Let me try N = 2 (total frogs). Wait, if N=2, starting with 1 on shore and 1 in pool. Wait, but in the original problem, starting with 1 on shore and N-1 in pool, where N=2019. Let me try with N=2 (so 1 on shore, 1 in pool). Let me compute E_1 here. |
Wait, in N=2 case, starting with 1 on shore, we want to reach 0. Let's compute E_1. |
The possible transitions: |
At state 1 (1 on shore, 1 in pool): |
With probability 1/2, a shore frog is chosen, moves to pool, so state 0 (done). |
With probability 1/2, a pool frog is chosen, moves to shore, so state 2. |
So E_1 = 1 + (1/2)(0) + (1/2) E_2 |
But E_2 is the expected time from state 2 (both frogs on shore). Wait, but from state 2, since all frogs are on the shore, how do we get back? Wait, actually, in N=2, state 2 would mean both frogs are on the shore. Then, in the next step, a random frog is chosen (either of the two on shore), so both will jump to the po... |
Wait, so substituting back: |
E_1 = 1 + (1/2)(0) + (1/2)(1) = 1 + 0 + 0.5 = 1.5 |
So for N=2, starting at 1, the expectation is 1.5. |
Hmm, interesting. Let me see if that matches a formula. |
Suppose in general, for N frogs, starting at 1, the expectation E_1. Let me see if there's a pattern here. |
Alternatively, maybe for N frogs, the expected time E_k starting from k frogs on the shore is something like k*(N - k) or similar? Wait, in N=2, starting at k=1, E_1 = 1.5, which is 3/2. Hmm, 1*(2 -1) =1, which is not 1.5. Alternatively, (N choose 2) or something? Not sure yet. |
Alternatively, let me try N=3. Let's see. |
N=3: starting with 1 on shore, 2 in pool. Let's compute E_1. |
First, E_0 =0. |
We need E_1, E_2, E_3. |
Starting with E_3: If all 3 are on shore, then next step, one is chosen to jump to pool, so E_3 =1 + E_2. |
Wait, let me write equations: |
For N=3: |
E_0 =0 |
E_1 =1 + (1/3) E_0 + (2/3) E_2 |
E_2 =1 + (2/3) E_1 + (1/3) E_3 |
E_3 =1 + (3/3) E_2 =1 + E_2 |
So we have: |
From E_3: E_3 =1 + E_2 |
From E_2: E_2 =1 + (2/3) E_1 + (1/3)(1 + E_2 ) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.