九州大学 システム情報科学府 情報理工学専攻・電気電子工学専攻 2023年8月実施 確率・統計
Author
Casablanca, 祭音Myyura
Description
箱の中に N 1 N_1 N 1 個の白いボールと N 2 N_2 N 2 個の黒いボールがあり, その総数を N = N 1 + N 2 N = N_1 + N_2 N = N 1 + N 2 とする。この箱から 2 2 2 つのボールをランダムに選び, 両方が白いボールである確率は 1 / 2 1/2 1/2 であるとする。
(1) N 2 N_2 N 2 が奇数のとき N 1 N_1 N 1 の最小値を求めよ。
(2) N 2 N_2 N 2 が偶数のとき N 1 N_1 N 1 の最小値を求めよ。
(3) N N N を値の小さい順に 3 3 3 つ求めよ。
A box contains N 1 N_1 N 1 white and N 2 N_2 N 2 black balls, and the total number of balls is N = N 1 + N 2 N = N_1 + N_2 N = N 1 + N 2 .
When two balls are randomly drawn from the box, the probability that both balls are white is 1 / 2 1/2 1/2 .
(1) Find the minimum value of N 1 N_1 N 1 when N 2 N_2 N 2 is an odd number.
(2) Find the minimum value of N 1 N_1 N 1 when N 2 N_2 N 2 is an even number.
(3) Find the three smallest values of N N N .
题目描述
盒中有 N 1 N_1 N 1 个白球和 N 2 N_2 N 2 个黑球,总数为 N = N 1 + N 2 N=N_1+N_2 N = N 1 + N 2 。从盒中随机抽取两个球,已知两球均为白球的概率为 1 / 2 1/2 1/2 。
当 N 2 N_2 N 2 为奇数时,求 N 1 N_1 N 1 的最小值。
当 N 2 N_2 N 2 为偶数时,求 N 1 N_1 N 1 的最小值。
按从小到大的顺序,求 N N N 最小的三个可能值。
Kai
Let A A A denote the event "both balls are white", then we have
P ( A ) = ( N 1 2 ) ( N 1 + N 2 2 ) = N 1 ( N 1 − 1 ) ( N 1 + N 2 ) ( N 1 + N 2 − 1 ) P(A) = \frac{\binom{N_1}{2}}{\binom{N_1+N_2}{2}} = \frac{N_1(N_1 - 1)}{(N_1 + N_2)(N_1 + N_2 - 1)} P ( A ) = ( 2 N 1 + N 2 ) ( 2 N 1 ) = ( N 1 + N 2 ) ( N 1 + N 2 − 1 ) N 1 ( N 1 − 1 )
Since P ( A ) = 1 2 P(A) = \frac{1}{2} P ( A ) = 2 1 , we have
N 1 2 − N 1 − 2 N 1 N 2 − N 2 2 + N 2 = 0 N_1^2 - N_1 - 2N_1N_2 - N_2^2 + N_2 = 0 N 1 2 − N 1 − 2 N 1 N 2 − N 2 2 + N 2 = 0
(1)
Let N 2 = 2 k + 1 N_2 = 2k + 1 N 2 = 2 k + 1 . Then we have
N 1 2 − ( 4 k + 3 ) N 1 + ( 2 k + 1 ) − ( 2 k + 1 ) 2 = 0 N_1^2 - (4k + 3)N_1 + (2k + 1) - (2k + 1)^2 = 0 N 1 2 − ( 4 k + 3 ) N 1 + ( 2 k + 1 ) − ( 2 k + 1 ) 2 = 0
from which we have
N 1 = 4 k + 3 ± 8 ( 2 k + 1 ) 2 + 1 2 (i) N_1 = \frac{4k + 3 \pm \sqrt{8(2k + 1)^2 + 1}}{2} \tag{i} N 1 = 2 4 k + 3 ± 8 ( 2 k + 1 ) 2 + 1 ( i )
Only the plus sign gives a positive N 1 N_1 N 1 . For k = 0 k=0 k = 0 it gives N 1 = 3 N_1=3 N 1 = 3 , while for k ≥ 1 k\geq1 k ≥ 1 it is greater than ( 4 k + 3 ) / 2 ≥ 7 / 2 (4k+3)/2\geq7/2 ( 4 k + 3 ) /2 ≥ 7/2 . Hence the minimum is 3 3 3 .
(2)
Let N 2 = 2 k N_2 = 2k N 2 = 2 k . Then we have
N 1 2 − ( 4 k + 1 ) N 1 + 2 k − 4 k 2 = 0 N_1^2 - (4k + 1)N_1 + 2k - 4k^2 = 0 N 1 2 − ( 4 k + 1 ) N 1 + 2 k − 4 k 2 = 0
from which we get
N 1 = 4 k + 1 ± 32 k 2 + 1 2 (ii) N_1 = \frac{4k + 1 \pm \sqrt{32k^2 + 1}}{2} \tag{ii} N 1 = 2 4 k + 1 ± 32 k 2 + 1 ( ii )
For an admissible solution k ≥ 1 k\geq1 k ≥ 1 , and only the plus sign gives a positive N 1 N_1 N 1 . For k = 1 , 2 k=1,2 k = 1 , 2 , the discriminants 33 , 129 33,129 33 , 129 are not squares; for k = 3 k=3 k = 3 , it is 17 2 17^2 1 7 2 and N 1 = 15 N_1=15 N 1 = 15 . If k ≥ 4 k\geq4 k ≥ 4 , then N 1 > 4 k + 1 / 2 > 15 N_1>4k+1/2>15 N 1 > 4 k + 1/2 > 15 . Hence the minimum is 15 15 15 .
(3)
By (i) and (ii), an integer solution requires 8 N 2 2 + 1 8N_2^2+1 8 N 2 2 + 1 to be a perfect square.
Let 8 N 2 2 + 1 = K 2 8N_2^2 + 1 = K^2 8 N 2 2 + 1 = K 2 , we have 8 N 2 2 = ( K − 1 ) ( K + 1 ) 8N_2^2 = (K - 1)(K + 1) 8 N 2 2 = ( K − 1 ) ( K + 1 ) , which implies that K K K is odd.
Let K = 2 p + 1 K = 2p + 1 K = 2 p + 1 . Then we have 2 N 2 2 = p ( p + 1 ) 2N_2^2 = p(p+1) 2 N 2 2 = p ( p + 1 ) .
The positive solutions of K 2 − 8 N 2 2 = 1 K^2-8N_2^2=1 K 2 − 8 N 2 2 = 1 are generated by
K + 8 N 2 = ( 3 + 8 ) m ( m ≥ 1 ) . K+\sqrt{8}N_2=(3+\sqrt{8})^m \qquad (m\geq 1). K + 8 N 2 = ( 3 + 8 ) m ( m ≥ 1 ) .
The first three are ( K , N 2 ) = ( 3 , 1 ) , ( 17 , 6 ) , ( 99 , 35 ) (K,N_2)=(3,1),(17,6),(99,35) ( K , N 2 ) = ( 3 , 1 ) , ( 17 , 6 ) , ( 99 , 35 ) . Since
N 1 = 2 N 2 + 1 + K 2 , N_1=\frac{2N_2+1+K}{2}, N 1 = 2 2 N 2 + 1 + K ,
the corresponding values of N = N 1 + N 2 N=N_1+N_2 N = N 1 + N 2 are 4 , 21 , 120 4,21,120 4 , 21 , 120 . Both coordinates increase with m m m , so these are the three smallest values.