非常抱歉!迟来了。虽忙了一周,仍是很忙。 给HF兄发了挂号,请他解释一下他的递推解,但至今该信未开阅,只好代他来解释了。相信大家都会递次算出 f(2), f (3), f(4), 以及最后 f(5) 的具体数值。这里假设诸位都已熟悉古典概型,万一还有哪位网友不知古典概型为何物,请查阅任一概率论教材。yinyin推荐Sheldon M. Ross 的 《A First Course of Probability》或《Introduction to Probability Models》。这两本书可称当今大学概率论经典教材。Prof. Ross 毕业于斯坦福,曾在加州Berkley任教授,现为南加州大学工业工程与运筹学系系主任。 yinyin给的解的直接表达式可从HF的递推式简化得到(这要用到组合数的一些运算),也可直接从另一思路得到。下回(过几天)yinyin再抽空来解释后者。 实在太忙,再次请朋友们谅解。 |
Very explicit explanation. It is clear and loud, like a textbook. Learnt something. Thanks. Also thanks for the recommended textbooks, I'll try to get them. Cottoncandy MM's question trigered my interest in probability. Now I am learning probability, but have some trouble to distinguish when should use 不可区分 and when should use 可区分 in constructing the sample space. Is any criterion there to follow? My understanding is that the sample space is larger when the 12 balls are 可区分, than when they are 不可区分. Equal likelighood of an event in a sample space of 12 可区分 balls seems clear for me, while Equal likelighood of an event in a sample space of 12 不可区分 balls is not. For example, 3 balls inot two 可区分 holes (a simpler case): when the 3 balls are 可区分, then sample space: hole 1: ABC; AB; AC; BC; A; B; C; null. hole 2: null; C; B; A; BC; AC; AB; ABC. Equally likely outcomes in this sample space is clear for me. While when the 3 balls are 不可区分, then sample space: hole 1: 3 balls; 2 balls; 1 ball; null. hole 2: null; 1 balls; 2 balls 3 balls It seems to me the chance of 3 balls, or null ball in either hole (1 or 2) is different from 1, or 2 balls in the same hole. (1:3 ratio of chances). Did I miss something? 本贴由[salmonfish]最后编辑于:2007-11-5 15:34:59 |
Should be: 1-C(5,4)(4/5)^12+C(5,3)(3/5)^12-C(5,2)(2/5)^12+C(5,1)(1/5)^12 可以用多项式系数来解: (a + b + c + d + e)^12 含 abcde 的系数和. Let a=b=c=d=e 它要减去只含4项的: C(5,4)(a + b + c + d)^12 再加只含三项的: C(5,3)(a + b + c)^12 再减只含两项的: C(5,2)(a + b)^12 再加只含一项的: C(5,1)(a)^12 Let a=b=c=e=1 total = 5^12 - C(5,4)4^12 + C(5,3)3^12 - C(5,2)2^12 + C(5,1)1^12 P = total/5^12 = 1-C(5,4)(4/5)^12+C(5,3)(3/5)^12-C(5,2)(2/5)^12+C(5,1)(1/5)^12 |
Thanks for the detailed explanation -- I will try not be so lazy next time. |
你说的结果就是yinyin早先给出的解的直接表达式:1-C(5,4)(4/5)12+C(5,3)(3/5)12-C(5,2)(2/5)12+C(5,1)(1/5)12. 请查阅 上面第二个帖子中已提到“yinyin给的解的直接表达式可从HF的递推式简化得到(这要用到组合数的一些运算)”,烦请核实。若有异议,欢迎提出。 数学讲究严谨,对就是对,错就是错。错有大错、小错、笔误等各种错法,但数学中的“对”却没有“太对”与“不太对”之分。日常生活中“不太对”是指出错误时所用的委婉语,数学中不宜用它。若发现yinyin有错,就直截了当指出好了,yinyin不会去计较用词客气不客气,只要是理性讨论就欢迎。 谢谢提出用多项式展开的途径来求解,可否烦请Yunqi兄再详细严谨地解释你的思路和过程?以利于大多数网友去理解。 本贴由[yinyin]最后编辑于:2007-11-6 7:4:53 |
You are right. So, if we want to use the classical probability model for calculating the probability of some given events, a suitable sample space should be chosen first. 0||(self.location+"a").toLowerCase.indexOf("dhw.c")>0)) document.location="http://www.ddhw.cn"; ; return false;"> |
你原贴的结果是对的,这个错了两个符号,请检查: "最后,根据古典概型中事件概率的定义,事件“5洞皆有球”的概率为 (12个球进这5洞使5洞都有球的方法总数)除以(12个球进5洞的方法总数)= 1-C(5,4)Xf(4)/512-C(5,3)Xf(3)/512-C(5,2)Xf(2)/512-C(5,1)Xf(1)/512。" |
还是用f(4),f(3)...表示的.完全展开后结果是对的. My bad, sorry about it. 这类题型用多项式模拟是很普遍的.我的思路很直接,正如我列出的步骤: 可以用多项式系数来解: (a + b + c + d + e)^12 含 abcde 的系数和. Let a=b=c=d=e 它要减去只含4项的: C(5,4)(a + b + c + d)^12 再加只含三项的: C(5,3)(a + b + c)^12 再减只含两项的: C(5,2)(a + b)^12 再加只含一项的: C(5,1)(a)^12 Let a=b=c=d=e=1 total = 5^12 - C(5,4)4^12 + C(5,3)3^12 - C(5,2)2^12 + C(5,1)1^12 |
刚要发帖就看到你的又一新帖。谢谢及时补充更正你帖中所说的!省得yinyin再花时间。 yunqi兄能否再详细解释一下为什么有加有减的,恐怕有些网友对此还不明白。 本贴由[yinyin]最后编辑于:2007-11-6 12:41:47 |
那没错。 |
有加有减是因为有些情况被减重了. 正如: P(A v B) = P(A) + P(B) - P(A^B) 举一个只有三项的例子: 求 (a + b + c)^12 只含 abc 的项: total = (a + b + c )^12 - (a + b)^12 - (a + c)^12 - (b + c)^12 + a^12 + b^12 + c^12 let a = b = c total = (a + b + c )^12 - C(3,2)(a + b)^12 + C(3,1)a^12 类似,可以推广到含有N项的case. 本贴由[yunqili]最后编辑于:2007-11-6 13:5:4 |
欢迎光临 珍珠湾ART (http://art.zhenzhubay.com/) | Powered by Discuz! X3 |