Which one is more effective?

In order to cure a certain disease, two new kinds of medicine, A and B, have been developed. We hope to know which one is more effective. Animal experiments have been carried out for this purpose. The experimental scheme is as follows: Two white mice are randomly selected in each round to compare the efficacy. For two white mice, one is randomly given medicine A and the other is given medicine B. After the results of one round of treatment are obtained, the next round of experiment will be arranged. When 4 more mice are cured with one kind of medicine than the other, the experiment is finished and that kind of medicine is considered to be more effective .

For the convenience of describing the problem, for each round of experiment:

  • If the mouse treated with A medicine were cured and the mouse treated with B medicine were not cured, A medicine would get 1 point and B medicine would get -1 point.

  • If the mouse treated with B medicine were cured and the mouse treated with A medicine were not cured, A medicine would get -1 point and B medicine would get 1 point.

  • If both were cured or not cured, both two kinds of medicine would get 0 point.

The cure rates of A and B medicine are represented as α α and β β respectively.

Initially, we give 4 points to both medicine A and B, and for each round of experiment, we record the points of both medicine. Let p i ( i = 0 , 1 , . . . , 8 ) p_{i}\ (i=0,1,...,8) denotes the probability of "A is considered more effective than B under the condition that the current point of A is i i ".

If α = 0.5 α=0.5 , β = 0.8 β=0.8 , the value of p 4 p_{4} can be expressed as a b \dfrac{a}{b} , where a , b a,b are positive coprime integers.

What is the value of b a b-a ?

Note: In the original problem, the author explicitly gave the formula for p i p_{i} , but in fact it can be derived and I think it boring to plug the values into the formula, so I deleted it. Can you recover it?


The answer is 256.

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

Alex Burgess
Jul 9, 2019

Enjoyed the question


Solution:

First note that for each mouse:

P(A increases by 1) = 1 10 = \frac{1}{10} ,

P(A decreases by 1) = 4 10 = \frac{4}{10} ,

P(A stays the same) = 5 10 = \frac{5}{10} .

So, ignoring mice where the results of A and B were the same:

P(A increases by 1) = 1 5 = \frac{1}{5} , P(A decreases by 1) = 4 5 = \frac{4}{5} .


Hence:

For i = 1 , . . . , 7 , p i = 1 5 p i + 1 + 4 5 p i 1 i = 1,...,7, p_i = \frac{1}{5} p_{i+1} + \frac{4}{5} p_{i-1} . Looking for a solution of the form p n = λ n p_n = \lambda^n , we get:

5 λ = λ 2 + 4 5\lambda = \lambda^2 + 4 , so λ = 1 , 4 \lambda = 1, 4 , and p i = A 4 i + B p_i = A 4^i + B .

Boundary conditions:

p 0 = 0 B = A p_0 = 0 \implies B = -A

p 8 = 1 A ( 4 8 1 ) = 1 , p_8 = 1 \implies A(4^8 - 1) = 1, so A = 1 4 8 1 A = \frac{1}{4^8 - 1} .


p 4 = 4 4 1 4 8 1 = 1 4 4 + 1 = a b p_4 = \frac{4^4 - 1}{4^8 - 1} = \frac{1}{4^4 + 1} = \frac{a}{b} .

So b a = 4 4 = 2 8 = 256 b - a = 4^4 = 2^8 = 256 .

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

Indeed any 1D random walk where the ratio between moving up 1 and down 1 is a : b a:b , and p 0 = 0 p_0 = 0 , is of the form p i = A ( a i b i ) p_i = A(a^i - b^i) .

So the boundary condition on the top of p N = 1 p_N = 1 , gives us p i = a i b i a N b N p_i = \frac{a^i - b^i}{a^N - b^N} .

I changed that misspelling. By the way, the original problem says the final point, but I think it should be an initial point instead for I=4.

Alice Smith - 1 year, 11 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...