<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://tcs.nju.edu.cn/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Zhe</id>
	<title>TCS Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://tcs.nju.edu.cn/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Zhe"/>
	<link rel="alternate" type="text/html" href="https://tcs.nju.edu.cn/wiki/index.php?title=Special:Contributions/Zhe"/>
	<updated>2026-04-27T03:41:26Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://tcs.nju.edu.cn/wiki/index.php?title=%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1_(Spring_2026)&amp;diff=13699</id>
		<title>概率论与数理统计 (Spring 2026)</title>
		<link rel="alternate" type="text/html" href="https://tcs.nju.edu.cn/wiki/index.php?title=%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1_(Spring_2026)&amp;diff=13699"/>
		<updated>2026-04-23T08:47:16Z</updated>

		<summary type="html">&lt;p&gt;Zhe: /* Assignments */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox&lt;br /&gt;
|name         = Infobox&lt;br /&gt;
|bodystyle    = &lt;br /&gt;
|title        = &amp;lt;font size=3&amp;gt;&#039;&#039;&#039;概率论与数理统计&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Probability Theory&#039;&#039;&#039; &amp;lt;br&amp;gt; &amp;amp; &#039;&#039;&#039;Mathematical Statistics&#039;&#039;&#039;&amp;lt;/font&amp;gt;&lt;br /&gt;
|titlestyle   = &lt;br /&gt;
&lt;br /&gt;
|image        = &lt;br /&gt;
|imagestyle   = &lt;br /&gt;
|caption      = &lt;br /&gt;
|captionstyle = &lt;br /&gt;
|headerstyle  = background:#ccf;&lt;br /&gt;
|labelstyle   = background:#ddf;&lt;br /&gt;
|datastyle    = &lt;br /&gt;
&lt;br /&gt;
|header1 =Instructor&lt;br /&gt;
|label1  = &lt;br /&gt;
|data1   = &lt;br /&gt;
|header2 = &lt;br /&gt;
|label2  = &lt;br /&gt;
|data2   = &#039;&#039;&#039;尹一通&#039;&#039;&#039;&lt;br /&gt;
|header3 = &lt;br /&gt;
|label3  = Email&lt;br /&gt;
|data3   = yinyt@nju.edu.cn  &lt;br /&gt;
|header4 =&lt;br /&gt;
|label4  = office&lt;br /&gt;
|data4   = 计算机系 804&lt;br /&gt;
|header5 = &lt;br /&gt;
|label5  = &lt;br /&gt;
|data5   = &#039;&#039;&#039;刘景铖&#039;&#039;&#039;&lt;br /&gt;
|header6 = &lt;br /&gt;
|label6  = Email&lt;br /&gt;
|data6   = liu@nju.edu.cn  &lt;br /&gt;
|header7 =&lt;br /&gt;
|label7  = office&lt;br /&gt;
|data7   = 计算机系 516&lt;br /&gt;
|header8 = Class&lt;br /&gt;
|label8  = &lt;br /&gt;
|data8   = &lt;br /&gt;
|header9 =&lt;br /&gt;
|label9  = Class meeting&lt;br /&gt;
|data9   = Wednesday, 9am-12am&amp;lt;br&amp;gt;&lt;br /&gt;
仙Ⅱ-212&lt;br /&gt;
|header10=&lt;br /&gt;
|label10 = Office hour&lt;br /&gt;
|data10  = TBA &amp;lt;br&amp;gt;计算机系 804（尹一通）&amp;lt;br&amp;gt;计算机系 516（刘景铖）&lt;br /&gt;
|header11= Textbook&lt;br /&gt;
|label11 = &lt;br /&gt;
|data11  = &lt;br /&gt;
|header12=&lt;br /&gt;
|label12 = &lt;br /&gt;
|data12  = [[File:概率导论.jpeg|border|100px]]&lt;br /&gt;
|header13=&lt;br /&gt;
|label13 = &lt;br /&gt;
|data13  = &#039;&#039;&#039;概率导论&#039;&#039;&#039;（第2版·修订版）&amp;lt;br&amp;gt; Dimitri P. Bertsekas and John N. Tsitsiklis&amp;lt;br&amp;gt; 郑忠国 童行伟 译；人民邮电出版社 (2022)&lt;br /&gt;
|header14=&lt;br /&gt;
|label14 = &lt;br /&gt;
|data14  = [[File:Grimmett_probability.jpg|border|100px]]&lt;br /&gt;
|header15=&lt;br /&gt;
|label15 = &lt;br /&gt;
|data15  = &#039;&#039;&#039;Probability and Random Processes&#039;&#039;&#039; (4E) &amp;lt;br&amp;gt; Geoffrey Grimmett and David Stirzaker &amp;lt;br&amp;gt;  Oxford University Press (2020)&lt;br /&gt;
|header16=&lt;br /&gt;
|label16 = &lt;br /&gt;
|data16  = [[File:Probability_and_Computing_2ed.jpg|border|100px]]&lt;br /&gt;
|header17=&lt;br /&gt;
|label17 = &lt;br /&gt;
|data17  = &#039;&#039;&#039;Probability and Computing&#039;&#039;&#039; (2E) &amp;lt;br&amp;gt; Michael Mitzenmacher and Eli Upfal &amp;lt;br&amp;gt;   Cambridge University Press (2017)&lt;br /&gt;
|belowstyle = background:#ddf;&lt;br /&gt;
|below = &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This is the webpage for the &#039;&#039;Probability Theory and Mathematical Statistics&#039;&#039; (概率论与数理统计) class of Spring 2026. Students who take this class should check this page periodically for content updates and new announcements. &lt;br /&gt;
&lt;br /&gt;
= Announcement =&lt;br /&gt;
* TBA&lt;br /&gt;
&lt;br /&gt;
= Course info =&lt;br /&gt;
* &#039;&#039;&#039;Instructor &#039;&#039;&#039;: &lt;br /&gt;
:* [http://tcs.nju.edu.cn/yinyt/ 尹一通]：[mailto:yinyt@nju.edu.cn &amp;lt;yinyt@nju.edu.cn&amp;gt;]，计算机系 804 &lt;br /&gt;
:* [https://liuexp.github.io 刘景铖]：[mailto:liu@nju.edu.cn &amp;lt;liu@nju.edu.cn&amp;gt;]，计算机系 516 &lt;br /&gt;
* &#039;&#039;&#039;Teaching assistant&#039;&#039;&#039;:&lt;br /&gt;
** 鞠哲：[mailto:juzhe@smail.nju.edu.cn &amp;lt;juzhe@smail.nju.edu.cn&amp;gt;]，计算机系 426&lt;br /&gt;
** 祝永祺：[mailto:652025330045@smail.nju.edu.cn &amp;lt;652025330045@smail.nju.edu.cn&amp;gt;]，计算机系 426&lt;br /&gt;
* &#039;&#039;&#039;Class meeting&#039;&#039;&#039;:&lt;br /&gt;
** 周三：9am-12am，仙Ⅱ-212&lt;br /&gt;
* &#039;&#039;&#039;Office hour&#039;&#039;&#039;: &lt;br /&gt;
:* TBA, 计算机系 804（尹一通）&lt;br /&gt;
:* TBA, 计算机系 516（刘景铖）&lt;br /&gt;
:* &#039;&#039;&#039;QQ群&#039;&#039;&#039;: 1090092561（申请加入需提供姓名、院系、学号）&lt;br /&gt;
&lt;br /&gt;
= Syllabus =&lt;br /&gt;
课程内容分为三大部分：&lt;br /&gt;
* &#039;&#039;&#039;经典概率论&#039;&#039;&#039;：概率空间、随机变量及其数字特征、多维与连续随机变量、极限定理等内容&lt;br /&gt;
* &#039;&#039;&#039;概率与计算&#039;&#039;&#039;：测度集中现象 (concentration of measure)、概率法 (the probabilistic method)、离散随机过程的相关专题&lt;br /&gt;
* &#039;&#039;&#039;数理统计&#039;&#039;&#039;：参数估计、假设检验、贝叶斯估计、线性回归等统计推断等概念&lt;br /&gt;
&lt;br /&gt;
对于第一和第二部分，要求清楚掌握基本概念，深刻理解关键的现象与规律以及背后的原理，并可以灵活运用所学方法求解相关问题。对于第三部分，要求熟悉数理统计的若干基本概念，以及典型的统计模型和统计推断问题。&lt;br /&gt;
&lt;br /&gt;
经过本课程的训练，力求使学生能够熟悉掌握概率的语言，并会利用概率思维来理解客观世界并对其建模，以及驾驭概率的数学工具来分析和求解专业问题。&lt;br /&gt;
&lt;br /&gt;
=== 教材与参考书 Course Materials ===&lt;br /&gt;
* &#039;&#039;&#039;[BT]&#039;&#039;&#039; 概率导论（第2版·修订版），[美]伯特瑟卡斯（Dimitri P.Bertsekas）[美]齐齐克利斯（John N.Tsitsiklis）著，郑忠国 童行伟 译，人民邮电出版社（2022）。&lt;br /&gt;
* &#039;&#039;&#039;[GS]&#039;&#039;&#039; &#039;&#039;Probability and Random Processes&#039;&#039;, by Geoffrey Grimmett and David Stirzaker; Oxford University Press; 4th edition (2020).&lt;br /&gt;
* &#039;&#039;&#039;[MU]&#039;&#039;&#039; &#039;&#039;Probability and Computing: Randomization and Probabilistic Techniques in Algorithms and Data Analysis&#039;&#039;, by Michael Mitzenmacher, Eli Upfal; Cambridge University Press; 2nd edition (2017).&lt;br /&gt;
&lt;br /&gt;
=== 成绩 Grading Policy ===&lt;br /&gt;
* 课程成绩：本课程将会有若干次作业和一次期末考试。最终成绩将由平时作业成绩和期末考试成绩综合得出。&lt;br /&gt;
* 迟交：如果有特殊的理由，无法按时完成作业，请提前联系授课老师，给出正当理由。否则迟交的作业将不被接受。&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;font color=red&amp;gt; 学术诚信 Academic Integrity &amp;lt;/font&amp;gt;===&lt;br /&gt;
学术诚信是所有从事学术活动的学生和学者最基本的职业道德底线，本课程将不遗余力的维护学术诚信规范，违反这一底线的行为将不会被容忍。&lt;br /&gt;
&lt;br /&gt;
作业完成的原则：署你名字的工作必须是你个人的贡献。在完成作业的过程中，允许讨论，前提是讨论的所有参与者均处于同等完成度。但关键想法的执行、以及作业文本的写作必须独立完成，并在作业中致谢（acknowledge）所有参与讨论的人。符合规则的讨论与致谢将不会影响得分。不允许其他任何形式的合作——尤其是与已经完成作业的同学“讨论”。&lt;br /&gt;
&lt;br /&gt;
本课程将对剽窃行为采取零容忍的态度。在完成作业过程中，对他人工作（出版物、互联网资料、其他人的作业等）直接的文本抄袭和对关键思想、关键元素的抄袭，按照 [http://www.acm.org/publications/policies/plagiarism_policy ACM Policy on Plagiarism]的解释，都将视为剽窃。剽窃者成绩将被取消。如果发现互相抄袭行为，&amp;lt;font color=red&amp;gt; 抄袭和被抄袭双方的成绩都将被取消&amp;lt;/font&amp;gt;。因此请主动防止自己的作业被他人抄袭。&lt;br /&gt;
&lt;br /&gt;
学术诚信影响学生个人的品行，也关乎整个教育系统的正常运转。为了一点分数而做出学术不端的行为，不仅使自己沦为一个欺骗者，也使他人的诚实努力失去意义。让我们一起努力维护一个诚信的环境。&lt;br /&gt;
&lt;br /&gt;
= Assignments =&lt;br /&gt;
*[[概率论与数理统计 (Spring 2026)/Problem Set 1|Problem Set 1]]  请在 2026/4/1 上课之前(9am UTC+8)提交到 [mailto:pr2026_nju@163.com pr2026_nju@163.com] (文件名为&#039;&amp;lt;font color=red &amp;gt;学号_姓名_A1.pdf&amp;lt;/font&amp;gt;&#039;).&lt;br /&gt;
** [[概率论与数理统计 (Spring 2026)/第一次作业提交名单|第一次作业提交名单]]&lt;br /&gt;
&lt;br /&gt;
*[[概率论与数理统计 (Spring 2026)/Problem Set 2|Problem Set 2]]  请在 2026/4/22 上课之前(9am UTC+8)提交到 [mailto:pr2026_nju@163.com pr2026_nju@163.com] (文件名为&#039;&amp;lt;font color=red &amp;gt;学号_姓名_A2.pdf&amp;lt;/font&amp;gt;&#039;).&lt;br /&gt;
** [[概率论与数理统计 (Spring 2026)/第二次作业提交名单|第二次作业提交名单]]&lt;br /&gt;
&lt;br /&gt;
*[[概率论与数理统计 (Spring 2026)/Problem Set 3|Problem Set 3]]  请在 TBA 上课之前(9am UTC+8)提交到 [mailto:pr2026_nju@163.com pr2026_nju@163.com] (文件名为&#039;&amp;lt;font color=red &amp;gt;学号_姓名_A3.pdf&amp;lt;/font&amp;gt;&#039;).&lt;br /&gt;
&lt;br /&gt;
= Lectures =&lt;br /&gt;
# [http://tcs.nju.edu.cn/slides/prob2026/Intro.pdf 课程简介]&lt;br /&gt;
# [http://tcs.nju.edu.cn/slides/prob2026/ProbSpace.pdf 概率空间]&lt;br /&gt;
#* 阅读：&#039;&#039;&#039;[BT] 第1章&#039;&#039;&#039; 或 &#039;&#039;&#039;[GS] Chapter 1&#039;&#039;&#039;&lt;br /&gt;
#* [[概率论与数理统计 (Spring 2026)/Entropy and volume of Hamming balls|Entropy and volume of Hamming balls]]&lt;br /&gt;
#* [[概率论与数理统计 (Spring 2026)/Karger&#039;s min-cut algorithm| Karger&#039;s min-cut algorithm]]&lt;br /&gt;
# [http://tcs.nju.edu.cn/slides/prob2026/RandVar.pdf 随机变量]&lt;br /&gt;
#* 阅读：&#039;&#039;&#039;[BT] 第2章&#039;&#039;&#039; 或 &#039;&#039;&#039;[GS] Chapter 2, Sections 3.1~3.5, 3.7&#039;&#039;&#039;&lt;br /&gt;
#* 阅读：&#039;&#039;&#039;[MU] Chapter 2&#039;&#039;&#039;&lt;br /&gt;
#* [[概率论与数理统计 (Spring 2026)/Average-case analysis of QuickSort|Average-case analysis of &#039;&#039;&#039;&#039;&#039;QuickSort&#039;&#039;&#039;&#039;&#039;]]&lt;br /&gt;
# [http://tcs.nju.edu.cn/slides/prob2026/Deviation.pdf 矩与偏差]&lt;br /&gt;
#* 阅读：&#039;&#039;&#039;[MU] Chapter 3&#039;&#039;&#039;&lt;br /&gt;
#* 阅读：&#039;&#039;&#039;[BT] 章节 2.4, 4.2, 4.3, 5.1&#039;&#039;&#039; 或 &#039;&#039;&#039;[GS] Sections 3.3, 3.6, 7.3&#039;&#039;&#039;&lt;br /&gt;
#* [[概率论与数理统计 (Spring 2026)/Threshold of k-clique in random graph|Threshold of &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;-clique in random graph]]&lt;br /&gt;
#* [[概率论与数理统计 (Spring 2026)/Weierstrass Approximation Theorem|Weierstrass approximation]]&lt;br /&gt;
&lt;br /&gt;
= Concepts =&lt;br /&gt;
* [https://plato.stanford.edu/entries/probability-interpret/ Interpretations of probability]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/History_of_probability History of probability]&lt;br /&gt;
* Example problems:&lt;br /&gt;
** [https://dornsifecms.usc.edu/assets/sites/520/docs/VonNeumann-ams12p36-38.pdf von Neumann&#039;s Bernoulli factory] and other [https://peteroupc.github.io/bernoulli.html Bernoulli factory algorithms]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Boy_or_Girl_paradox Boy or Girl paradox]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Monty_Hall_problem Monty Hall problem]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Bertrand_paradox_(probability) Bertrand paradox]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Hard_spheres Hard spheres model] and [https://en.wikipedia.org/wiki/Ising_model Ising model]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/PageRank &#039;&#039;PageRank&#039;&#039;] and stationary [https://en.wikipedia.org/wiki/Random_walk random walk]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Diffusion_process Diffusion process] and [https://en.wikipedia.org/wiki/Diffusion_model diffusion model]&lt;br /&gt;
*[https://en.wikipedia.org/wiki/Probability_space Probability space]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Sample_space Sample space]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Event_(probability_theory) Event] and [https://en.wikipedia.org/wiki/Σ-algebra &amp;lt;math&amp;gt;\sigma&amp;lt;/math&amp;gt;-algebra]&lt;br /&gt;
** Kolmogorov&#039;s [https://en.wikipedia.org/wiki/Probability_axioms axioms of probability]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Discrete_uniform_distribution Classical] and [https://en.wikipedia.org/wiki/Geometric_probability goemetric probability]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Boole%27s_inequality Union bound]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Inclusion%E2%80%93exclusion_principle Inclusion-Exclusion principle]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Boole%27s_inequality#Bonferroni_inequalities Bonferroni inequalities]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Conditional_probability Conditional probability]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Chain_rule_(probability) Chain rule]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Law_of_total_probability Law of total probability]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Bayes%27_theorem Bayes&#039; law]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Independence_(probability_theory) Independence] &lt;br /&gt;
** [https://en.wikipedia.org/wiki/Pairwise_independence Pairwise independence]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Random_variable Random variable]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Cumulative_distribution_function Cumulative distribution function]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Probability_mass_function Probability mass function]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Probability_density_function Probability density function]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Multivariate_random_variable Random vector]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Joint_probability_distribution Joint probability distribution]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Conditional_probability_distribution Conditional probability distribution]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Marginal_distribution Marginal distribution]&lt;br /&gt;
* Some &#039;&#039;&#039;discrete&#039;&#039;&#039; probability distributions&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Bernoulli_trial Bernoulli trial] and [https://en.wikipedia.org/wiki/Bernoulli_distribution Bernoulli distribution]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Discrete_uniform_distribution Discrete uniform distribution]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Binomial_distribution Binomial distribution]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Geometric_distribution Geometric distribution]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Negative_binomial_distribution Negative binomial distribution]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Hypergeometric_distribution Hypergeometric distribution]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Poisson_distribution Poisson distribution]&lt;br /&gt;
** and [https://en.wikipedia.org/wiki/List_of_probability_distributions#Discrete_distributions others]&lt;br /&gt;
* Balls into bins model&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Multinomial_distribution Multinomial distribution]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Birthday_problem Birthday problem]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Coupon_collector%27s_problem Coupon collector]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Balls_into_bins_problem Occupancy problem]&lt;br /&gt;
* Random graphs&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Erd%C5%91s%E2%80%93R%C3%A9nyi_model Erdős–Rényi random graph model]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Galton%E2%80%93Watson_process Galton–Watson branching process]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Expected_value Expectation]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Law_of_the_unconscious_statistician Law of the unconscious statistician, &#039;&#039;LOTUS&#039;&#039;]&lt;br /&gt;
** [https://dlsun.github.io/probability/linearity.html Linearity of expectation]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Conditional_expectation Conditional expectation]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Law_of_total_expectation Law of total expectation]&lt;/div&gt;</summary>
		<author><name>Zhe</name></author>
	</entry>
	<entry>
		<id>https://tcs.nju.edu.cn/wiki/index.php?title=%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1_(Spring_2026)/%E7%AC%AC%E4%BA%8C%E6%AC%A1%E4%BD%9C%E4%B8%9A%E6%8F%90%E4%BA%A4%E5%90%8D%E5%8D%95&amp;diff=13698</id>
		<title>概率论与数理统计 (Spring 2026)/第二次作业提交名单</title>
		<link rel="alternate" type="text/html" href="https://tcs.nju.edu.cn/wiki/index.php?title=%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1_(Spring_2026)/%E7%AC%AC%E4%BA%8C%E6%AC%A1%E4%BD%9C%E4%B8%9A%E6%8F%90%E4%BA%A4%E5%90%8D%E5%8D%95&amp;diff=13698"/>
		<updated>2026-04-23T08:45:53Z</updated>

		<summary type="html">&lt;p&gt;Zhe: Created page with &amp;quot;如有错漏邮件请及时联系助教。 &amp;lt;center&amp;gt; {| class=&amp;quot;wikitable&amp;quot; |- ! 学号 !! 姓名 |- | 221180155 || 许云鹏 |- | 221830067 || 张笑 |- | 221840103 || 曹南 |- | 231250084 || 谢钦煌 |- | 241098114 || 于静涵 |- | 241180041 || 赵瀚清 |- | 241220002 || 张瑞珉 |- | 241220003 || 沈琪皓 |- | 241220004 || 张宸源 |- | 241220095 || 王天祥 |- | 241220136 || 祁书轩 |- | 241240001 || 董清扬 |- | 241240004 || 陈仝 |- | 241240007 || 杨煦...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;如有错漏邮件请及时联系助教。&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! 学号 !! 姓名&lt;br /&gt;
|-&lt;br /&gt;
| 221180155 || 许云鹏&lt;br /&gt;
|-&lt;br /&gt;
| 221830067 || 张笑&lt;br /&gt;
|-&lt;br /&gt;
| 221840103 || 曹南&lt;br /&gt;
|-&lt;br /&gt;
| 231250084 || 谢钦煌&lt;br /&gt;
|-&lt;br /&gt;
| 241098114 || 于静涵&lt;br /&gt;
|-&lt;br /&gt;
| 241180041 || 赵瀚清&lt;br /&gt;
|-&lt;br /&gt;
| 241220002 || 张瑞珉&lt;br /&gt;
|-&lt;br /&gt;
| 241220003 || 沈琪皓&lt;br /&gt;
|-&lt;br /&gt;
| 241220004 || 张宸源&lt;br /&gt;
|-&lt;br /&gt;
| 241220095 || 王天祥&lt;br /&gt;
|-&lt;br /&gt;
| 241220136 || 祁书轩&lt;br /&gt;
|-&lt;br /&gt;
| 241240001 || 董清扬&lt;br /&gt;
|-&lt;br /&gt;
| 241240004 || 陈仝&lt;br /&gt;
|-&lt;br /&gt;
| 241240007 || 杨煦天&lt;br /&gt;
|-&lt;br /&gt;
| 241240008 || 张恒畅&lt;br /&gt;
|-&lt;br /&gt;
| 241240017 || 江子林&lt;br /&gt;
|-&lt;br /&gt;
| 241240019 || 王祎泽&lt;br /&gt;
|-&lt;br /&gt;
| 241240022 || 潘诚懿&lt;br /&gt;
|-&lt;br /&gt;
| 241240028 || 冯时&lt;br /&gt;
|-&lt;br /&gt;
| 241240029 || 谢骐泽&lt;br /&gt;
|-&lt;br /&gt;
| 241240032 || 崔佳雪&lt;br /&gt;
|-&lt;br /&gt;
| 241240033 || 付雨彤&lt;br /&gt;
|-&lt;br /&gt;
| 241240035 || 周玟序&lt;br /&gt;
|-&lt;br /&gt;
| 241240036 || 唐愉兵&lt;br /&gt;
|-&lt;br /&gt;
| 241240038 || 胡彦腾&lt;br /&gt;
|-&lt;br /&gt;
| 241240041 || 李东泽&lt;br /&gt;
|-&lt;br /&gt;
| 241240046 ||  黄嘉诚&lt;br /&gt;
|-&lt;br /&gt;
| 241240048 || 康子凯&lt;br /&gt;
|-&lt;br /&gt;
| 241240049 || 罗嘉恒&lt;br /&gt;
|-&lt;br /&gt;
| 241240050 || 李柱锃&lt;br /&gt;
|-&lt;br /&gt;
| 241240051 || 何明航&lt;br /&gt;
|-&lt;br /&gt;
| 241240053 || 张家奇&lt;br /&gt;
|-&lt;br /&gt;
| 241240061 || 周泽钰&lt;br /&gt;
|-&lt;br /&gt;
| 241240066 || 贺子铭&lt;br /&gt;
|-&lt;br /&gt;
| 241240068 || 郑飞阳&lt;br /&gt;
|-&lt;br /&gt;
| 241240069 || 陈姝婷&lt;br /&gt;
|-&lt;br /&gt;
| 241240070 || 刘梦溪&lt;br /&gt;
|-&lt;br /&gt;
| 241276007 || 胡博&lt;br /&gt;
|-&lt;br /&gt;
| 241276008 || 袁颀沣&lt;br /&gt;
|-&lt;br /&gt;
| 241820122 || 商世雄&lt;br /&gt;
|-&lt;br /&gt;
| 241840052 || 李彦均&lt;br /&gt;
|-&lt;br /&gt;
| 241840065 || 荣恒嬉&lt;br /&gt;
|-&lt;br /&gt;
| 241840067 || 赵思景&lt;br /&gt;
|-&lt;br /&gt;
| 241840078 || 张惠泽&lt;br /&gt;
|-&lt;br /&gt;
| 241840087 || 朱枻&lt;br /&gt;
|-&lt;br /&gt;
| 241840113 || 曾睿鸣&lt;br /&gt;
|-&lt;br /&gt;
| 241840173 || 刘明俊&lt;br /&gt;
|-&lt;br /&gt;
| 241840199 || 陈诣涵&lt;br /&gt;
|-&lt;br /&gt;
| 241840240 || 李味鸿&lt;br /&gt;
|-&lt;br /&gt;
| 241850002 || 张子腾&lt;br /&gt;
|-&lt;br /&gt;
| 241870025 || 张科杰&lt;br /&gt;
|-&lt;br /&gt;
| 241870032 || 赵益&lt;br /&gt;
|-&lt;br /&gt;
| 241870040 || 陆子一&lt;br /&gt;
|-&lt;br /&gt;
| 241870077 || 张辰曦&lt;br /&gt;
|-&lt;br /&gt;
| 241870097 || 丁瀚铭&lt;br /&gt;
|-&lt;br /&gt;
| 241870230 || 闵文楷&lt;br /&gt;
|-&lt;br /&gt;
| 241870240 || 杨学舟&lt;br /&gt;
|-&lt;br /&gt;
| 241880173 || 陆知渔&lt;br /&gt;
|-&lt;br /&gt;
| 241880325 || 刘孟阳&lt;br /&gt;
|-&lt;br /&gt;
| 241880488 || 扶嘉年&lt;br /&gt;
|-&lt;br /&gt;
| 241880503 || 郑一鸣&lt;br /&gt;
|-&lt;br /&gt;
| 251275003 || 翟悦凯&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
共 62 人。&lt;/div&gt;</summary>
		<author><name>Zhe</name></author>
	</entry>
	<entry>
		<id>https://tcs.nju.edu.cn/wiki/index.php?title=%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1_(Spring_2026)&amp;diff=13624</id>
		<title>概率论与数理统计 (Spring 2026)</title>
		<link rel="alternate" type="text/html" href="https://tcs.nju.edu.cn/wiki/index.php?title=%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1_(Spring_2026)&amp;diff=13624"/>
		<updated>2026-04-14T04:10:25Z</updated>

		<summary type="html">&lt;p&gt;Zhe: /* Assignments */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox&lt;br /&gt;
|name         = Infobox&lt;br /&gt;
|bodystyle    = &lt;br /&gt;
|title        = &amp;lt;font size=3&amp;gt;&#039;&#039;&#039;概率论与数理统计&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Probability Theory&#039;&#039;&#039; &amp;lt;br&amp;gt; &amp;amp; &#039;&#039;&#039;Mathematical Statistics&#039;&#039;&#039;&amp;lt;/font&amp;gt;&lt;br /&gt;
|titlestyle   = &lt;br /&gt;
&lt;br /&gt;
|image        = &lt;br /&gt;
|imagestyle   = &lt;br /&gt;
|caption      = &lt;br /&gt;
|captionstyle = &lt;br /&gt;
|headerstyle  = background:#ccf;&lt;br /&gt;
|labelstyle   = background:#ddf;&lt;br /&gt;
|datastyle    = &lt;br /&gt;
&lt;br /&gt;
|header1 =Instructor&lt;br /&gt;
|label1  = &lt;br /&gt;
|data1   = &lt;br /&gt;
|header2 = &lt;br /&gt;
|label2  = &lt;br /&gt;
|data2   = &#039;&#039;&#039;尹一通&#039;&#039;&#039;&lt;br /&gt;
|header3 = &lt;br /&gt;
|label3  = Email&lt;br /&gt;
|data3   = yinyt@nju.edu.cn  &lt;br /&gt;
|header4 =&lt;br /&gt;
|label4  = office&lt;br /&gt;
|data4   = 计算机系 804&lt;br /&gt;
|header5 = &lt;br /&gt;
|label5  = &lt;br /&gt;
|data5   = &#039;&#039;&#039;刘景铖&#039;&#039;&#039;&lt;br /&gt;
|header6 = &lt;br /&gt;
|label6  = Email&lt;br /&gt;
|data6   = liu@nju.edu.cn  &lt;br /&gt;
|header7 =&lt;br /&gt;
|label7  = office&lt;br /&gt;
|data7   = 计算机系 516&lt;br /&gt;
|header8 = Class&lt;br /&gt;
|label8  = &lt;br /&gt;
|data8   = &lt;br /&gt;
|header9 =&lt;br /&gt;
|label9  = Class meeting&lt;br /&gt;
|data9   = Wednesday, 9am-12am&amp;lt;br&amp;gt;&lt;br /&gt;
仙Ⅱ-212&lt;br /&gt;
|header10=&lt;br /&gt;
|label10 = Office hour&lt;br /&gt;
|data10  = TBA &amp;lt;br&amp;gt;计算机系 804（尹一通）&amp;lt;br&amp;gt;计算机系 516（刘景铖）&lt;br /&gt;
|header11= Textbook&lt;br /&gt;
|label11 = &lt;br /&gt;
|data11  = &lt;br /&gt;
|header12=&lt;br /&gt;
|label12 = &lt;br /&gt;
|data12  = [[File:概率导论.jpeg|border|100px]]&lt;br /&gt;
|header13=&lt;br /&gt;
|label13 = &lt;br /&gt;
|data13  = &#039;&#039;&#039;概率导论&#039;&#039;&#039;（第2版·修订版）&amp;lt;br&amp;gt; Dimitri P. Bertsekas and John N. Tsitsiklis&amp;lt;br&amp;gt; 郑忠国 童行伟 译；人民邮电出版社 (2022)&lt;br /&gt;
|header14=&lt;br /&gt;
|label14 = &lt;br /&gt;
|data14  = [[File:Grimmett_probability.jpg|border|100px]]&lt;br /&gt;
|header15=&lt;br /&gt;
|label15 = &lt;br /&gt;
|data15  = &#039;&#039;&#039;Probability and Random Processes&#039;&#039;&#039; (4E) &amp;lt;br&amp;gt; Geoffrey Grimmett and David Stirzaker &amp;lt;br&amp;gt;  Oxford University Press (2020)&lt;br /&gt;
|header16=&lt;br /&gt;
|label16 = &lt;br /&gt;
|data16  = [[File:Probability_and_Computing_2ed.jpg|border|100px]]&lt;br /&gt;
|header17=&lt;br /&gt;
|label17 = &lt;br /&gt;
|data17  = &#039;&#039;&#039;Probability and Computing&#039;&#039;&#039; (2E) &amp;lt;br&amp;gt; Michael Mitzenmacher and Eli Upfal &amp;lt;br&amp;gt;   Cambridge University Press (2017)&lt;br /&gt;
|belowstyle = background:#ddf;&lt;br /&gt;
|below = &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This is the webpage for the &#039;&#039;Probability Theory and Mathematical Statistics&#039;&#039; (概率论与数理统计) class of Spring 2026. Students who take this class should check this page periodically for content updates and new announcements. &lt;br /&gt;
&lt;br /&gt;
= Announcement =&lt;br /&gt;
* TBA&lt;br /&gt;
&lt;br /&gt;
= Course info =&lt;br /&gt;
* &#039;&#039;&#039;Instructor &#039;&#039;&#039;: &lt;br /&gt;
:* [http://tcs.nju.edu.cn/yinyt/ 尹一通]：[mailto:yinyt@nju.edu.cn &amp;lt;yinyt@nju.edu.cn&amp;gt;]，计算机系 804 &lt;br /&gt;
:* [https://liuexp.github.io 刘景铖]：[mailto:liu@nju.edu.cn &amp;lt;liu@nju.edu.cn&amp;gt;]，计算机系 516 &lt;br /&gt;
* &#039;&#039;&#039;Teaching assistant&#039;&#039;&#039;:&lt;br /&gt;
** 鞠哲：[mailto:juzhe@smail.nju.edu.cn &amp;lt;juzhe@smail.nju.edu.cn&amp;gt;]，计算机系 426&lt;br /&gt;
** 祝永祺：[mailto:652025330045@smail.nju.edu.cn &amp;lt;652025330045@smail.nju.edu.cn&amp;gt;]，计算机系 426&lt;br /&gt;
* &#039;&#039;&#039;Class meeting&#039;&#039;&#039;:&lt;br /&gt;
** 周三：9am-12am，仙Ⅱ-212&lt;br /&gt;
* &#039;&#039;&#039;Office hour&#039;&#039;&#039;: &lt;br /&gt;
:* TBA, 计算机系 804（尹一通）&lt;br /&gt;
:* TBA, 计算机系 516（刘景铖）&lt;br /&gt;
:* &#039;&#039;&#039;QQ群&#039;&#039;&#039;: 1090092561（申请加入需提供姓名、院系、学号）&lt;br /&gt;
&lt;br /&gt;
= Syllabus =&lt;br /&gt;
课程内容分为三大部分：&lt;br /&gt;
* &#039;&#039;&#039;经典概率论&#039;&#039;&#039;：概率空间、随机变量及其数字特征、多维与连续随机变量、极限定理等内容&lt;br /&gt;
* &#039;&#039;&#039;概率与计算&#039;&#039;&#039;：测度集中现象 (concentration of measure)、概率法 (the probabilistic method)、离散随机过程的相关专题&lt;br /&gt;
* &#039;&#039;&#039;数理统计&#039;&#039;&#039;：参数估计、假设检验、贝叶斯估计、线性回归等统计推断等概念&lt;br /&gt;
&lt;br /&gt;
对于第一和第二部分，要求清楚掌握基本概念，深刻理解关键的现象与规律以及背后的原理，并可以灵活运用所学方法求解相关问题。对于第三部分，要求熟悉数理统计的若干基本概念，以及典型的统计模型和统计推断问题。&lt;br /&gt;
&lt;br /&gt;
经过本课程的训练，力求使学生能够熟悉掌握概率的语言，并会利用概率思维来理解客观世界并对其建模，以及驾驭概率的数学工具来分析和求解专业问题。&lt;br /&gt;
&lt;br /&gt;
=== 教材与参考书 Course Materials ===&lt;br /&gt;
* &#039;&#039;&#039;[BT]&#039;&#039;&#039; 概率导论（第2版·修订版），[美]伯特瑟卡斯（Dimitri P.Bertsekas）[美]齐齐克利斯（John N.Tsitsiklis）著，郑忠国 童行伟 译，人民邮电出版社（2022）。&lt;br /&gt;
* &#039;&#039;&#039;[GS]&#039;&#039;&#039; &#039;&#039;Probability and Random Processes&#039;&#039;, by Geoffrey Grimmett and David Stirzaker; Oxford University Press; 4th edition (2020).&lt;br /&gt;
* &#039;&#039;&#039;[MU]&#039;&#039;&#039; &#039;&#039;Probability and Computing: Randomization and Probabilistic Techniques in Algorithms and Data Analysis&#039;&#039;, by Michael Mitzenmacher, Eli Upfal; Cambridge University Press; 2nd edition (2017).&lt;br /&gt;
&lt;br /&gt;
=== 成绩 Grading Policy ===&lt;br /&gt;
* 课程成绩：本课程将会有若干次作业和一次期末考试。最终成绩将由平时作业成绩和期末考试成绩综合得出。&lt;br /&gt;
* 迟交：如果有特殊的理由，无法按时完成作业，请提前联系授课老师，给出正当理由。否则迟交的作业将不被接受。&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;font color=red&amp;gt; 学术诚信 Academic Integrity &amp;lt;/font&amp;gt;===&lt;br /&gt;
学术诚信是所有从事学术活动的学生和学者最基本的职业道德底线，本课程将不遗余力的维护学术诚信规范，违反这一底线的行为将不会被容忍。&lt;br /&gt;
&lt;br /&gt;
作业完成的原则：署你名字的工作必须是你个人的贡献。在完成作业的过程中，允许讨论，前提是讨论的所有参与者均处于同等完成度。但关键想法的执行、以及作业文本的写作必须独立完成，并在作业中致谢（acknowledge）所有参与讨论的人。符合规则的讨论与致谢将不会影响得分。不允许其他任何形式的合作——尤其是与已经完成作业的同学“讨论”。&lt;br /&gt;
&lt;br /&gt;
本课程将对剽窃行为采取零容忍的态度。在完成作业过程中，对他人工作（出版物、互联网资料、其他人的作业等）直接的文本抄袭和对关键思想、关键元素的抄袭，按照 [http://www.acm.org/publications/policies/plagiarism_policy ACM Policy on Plagiarism]的解释，都将视为剽窃。剽窃者成绩将被取消。如果发现互相抄袭行为，&amp;lt;font color=red&amp;gt; 抄袭和被抄袭双方的成绩都将被取消&amp;lt;/font&amp;gt;。因此请主动防止自己的作业被他人抄袭。&lt;br /&gt;
&lt;br /&gt;
学术诚信影响学生个人的品行，也关乎整个教育系统的正常运转。为了一点分数而做出学术不端的行为，不仅使自己沦为一个欺骗者，也使他人的诚实努力失去意义。让我们一起努力维护一个诚信的环境。&lt;br /&gt;
&lt;br /&gt;
= Assignments =&lt;br /&gt;
*[[概率论与数理统计 (Spring 2026)/Problem Set 1|Problem Set 1]]  请在 2026/4/1 上课之前(9am UTC+8)提交到 [mailto:pr2026_nju@163.com pr2026_nju@163.com] (文件名为&#039;&amp;lt;font color=red &amp;gt;学号_姓名_A1.pdf&amp;lt;/font&amp;gt;&#039;).&lt;br /&gt;
** [[概率论与数理统计 (Spring 2026)/第一次作业提交名单|第一次作业提交名单]]&lt;br /&gt;
&lt;br /&gt;
*[[概率论与数理统计 (Spring 2026)/Problem Set 2|Problem Set 2]]  请在 2026/4/22 上课之前(9am UTC+8)提交到 [mailto:pr2026_nju@163.com pr2026_nju@163.com] (文件名为&#039;&amp;lt;font color=red &amp;gt;学号_姓名_A2.pdf&amp;lt;/font&amp;gt;&#039;).&lt;br /&gt;
&lt;br /&gt;
= Lectures =&lt;br /&gt;
# [http://tcs.nju.edu.cn/slides/prob2026/Intro.pdf 课程简介]&lt;br /&gt;
# [http://tcs.nju.edu.cn/slides/prob2026/ProbSpace.pdf 概率空间]&lt;br /&gt;
#* 阅读：&#039;&#039;&#039;[BT] 第1章&#039;&#039;&#039; 或 &#039;&#039;&#039;[GS] Chapter 1&#039;&#039;&#039;&lt;br /&gt;
#* [[概率论与数理统计 (Spring 2026)/Entropy and volume of Hamming balls|Entropy and volume of Hamming balls]]&lt;br /&gt;
#* [[概率论与数理统计 (Spring 2026)/Karger&#039;s min-cut algorithm| Karger&#039;s min-cut algorithm]]&lt;br /&gt;
# [http://tcs.nju.edu.cn/slides/prob2026/RandVar.pdf 随机变量]&lt;br /&gt;
#* 阅读：&#039;&#039;&#039;[BT] 第2章&#039;&#039;&#039; 或 &#039;&#039;&#039;[GS] Chapter 2, Sections 3.1~3.5, 3.7&#039;&#039;&#039;&lt;br /&gt;
#* 阅读：&#039;&#039;&#039;[MU] Chapter 2&#039;&#039;&#039;&lt;br /&gt;
#* [[概率论与数理统计 (Spring 2026)/Average-case analysis of QuickSort|Average-case analysis of &#039;&#039;&#039;&#039;&#039;QuickSort&#039;&#039;&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
= Concepts =&lt;br /&gt;
* [https://plato.stanford.edu/entries/probability-interpret/ Interpretations of probability]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/History_of_probability History of probability]&lt;br /&gt;
* Example problems:&lt;br /&gt;
** [https://dornsifecms.usc.edu/assets/sites/520/docs/VonNeumann-ams12p36-38.pdf von Neumann&#039;s Bernoulli factory] and other [https://peteroupc.github.io/bernoulli.html Bernoulli factory algorithms]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Boy_or_Girl_paradox Boy or Girl paradox]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Monty_Hall_problem Monty Hall problem]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Bertrand_paradox_(probability) Bertrand paradox]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Hard_spheres Hard spheres model] and [https://en.wikipedia.org/wiki/Ising_model Ising model]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/PageRank &#039;&#039;PageRank&#039;&#039;] and stationary [https://en.wikipedia.org/wiki/Random_walk random walk]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Diffusion_process Diffusion process] and [https://en.wikipedia.org/wiki/Diffusion_model diffusion model]&lt;br /&gt;
*[https://en.wikipedia.org/wiki/Probability_space Probability space]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Sample_space Sample space]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Event_(probability_theory) Event] and [https://en.wikipedia.org/wiki/Σ-algebra &amp;lt;math&amp;gt;\sigma&amp;lt;/math&amp;gt;-algebra]&lt;br /&gt;
** Kolmogorov&#039;s [https://en.wikipedia.org/wiki/Probability_axioms axioms of probability]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Discrete_uniform_distribution Classical] and [https://en.wikipedia.org/wiki/Geometric_probability goemetric probability]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Boole%27s_inequality Union bound]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Inclusion%E2%80%93exclusion_principle Inclusion-Exclusion principle]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Boole%27s_inequality#Bonferroni_inequalities Bonferroni inequalities]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Conditional_probability Conditional probability]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Chain_rule_(probability) Chain rule]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Law_of_total_probability Law of total probability]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Bayes%27_theorem Bayes&#039; law]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Independence_(probability_theory) Independence] &lt;br /&gt;
** [https://en.wikipedia.org/wiki/Pairwise_independence Pairwise independence]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Random_variable Random variable]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Cumulative_distribution_function Cumulative distribution function]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Probability_mass_function Probability mass function]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Probability_density_function Probability density function]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Multivariate_random_variable Random vector]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Joint_probability_distribution Joint probability distribution]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Conditional_probability_distribution Conditional probability distribution]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Marginal_distribution Marginal distribution]&lt;br /&gt;
* Some &#039;&#039;&#039;discrete&#039;&#039;&#039; probability distributions&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Bernoulli_trial Bernoulli trial] and [https://en.wikipedia.org/wiki/Bernoulli_distribution Bernoulli distribution]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Discrete_uniform_distribution Discrete uniform distribution]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Binomial_distribution Binomial distribution]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Geometric_distribution Geometric distribution]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Negative_binomial_distribution Negative binomial distribution]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Hypergeometric_distribution Hypergeometric distribution]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Poisson_distribution Poisson distribution]&lt;br /&gt;
** and [https://en.wikipedia.org/wiki/List_of_probability_distributions#Discrete_distributions others]&lt;br /&gt;
* Balls into bins model&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Multinomial_distribution Multinomial distribution]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Birthday_problem Birthday problem]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Coupon_collector%27s_problem Coupon collector]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Balls_into_bins_problem Occupancy problem]&lt;br /&gt;
* Random graphs&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Erd%C5%91s%E2%80%93R%C3%A9nyi_model Erdős–Rényi random graph model]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Galton%E2%80%93Watson_process Galton–Watson branching process]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Expected_value Expectation]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Law_of_the_unconscious_statistician Law of the unconscious statistician, &#039;&#039;LOTUS&#039;&#039;]&lt;br /&gt;
** [https://dlsun.github.io/probability/linearity.html Linearity of expectation]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Conditional_expectation Conditional expectation]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Law_of_total_expectation Law of total expectation]&lt;/div&gt;</summary>
		<author><name>Zhe</name></author>
	</entry>
	<entry>
		<id>https://tcs.nju.edu.cn/wiki/index.php?title=%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1_(Spring_2026)&amp;diff=13615</id>
		<title>概率论与数理统计 (Spring 2026)</title>
		<link rel="alternate" type="text/html" href="https://tcs.nju.edu.cn/wiki/index.php?title=%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1_(Spring_2026)&amp;diff=13615"/>
		<updated>2026-04-08T06:11:27Z</updated>

		<summary type="html">&lt;p&gt;Zhe: /* Concepts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox&lt;br /&gt;
|name         = Infobox&lt;br /&gt;
|bodystyle    = &lt;br /&gt;
|title        = &amp;lt;font size=3&amp;gt;&#039;&#039;&#039;概率论与数理统计&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Probability Theory&#039;&#039;&#039; &amp;lt;br&amp;gt; &amp;amp; &#039;&#039;&#039;Mathematical Statistics&#039;&#039;&#039;&amp;lt;/font&amp;gt;&lt;br /&gt;
|titlestyle   = &lt;br /&gt;
&lt;br /&gt;
|image        = &lt;br /&gt;
|imagestyle   = &lt;br /&gt;
|caption      = &lt;br /&gt;
|captionstyle = &lt;br /&gt;
|headerstyle  = background:#ccf;&lt;br /&gt;
|labelstyle   = background:#ddf;&lt;br /&gt;
|datastyle    = &lt;br /&gt;
&lt;br /&gt;
|header1 =Instructor&lt;br /&gt;
|label1  = &lt;br /&gt;
|data1   = &lt;br /&gt;
|header2 = &lt;br /&gt;
|label2  = &lt;br /&gt;
|data2   = &#039;&#039;&#039;尹一通&#039;&#039;&#039;&lt;br /&gt;
|header3 = &lt;br /&gt;
|label3  = Email&lt;br /&gt;
|data3   = yinyt@nju.edu.cn  &lt;br /&gt;
|header4 =&lt;br /&gt;
|label4  = office&lt;br /&gt;
|data4   = 计算机系 804&lt;br /&gt;
|header5 = &lt;br /&gt;
|label5  = &lt;br /&gt;
|data5   = &#039;&#039;&#039;刘景铖&#039;&#039;&#039;&lt;br /&gt;
|header6 = &lt;br /&gt;
|label6  = Email&lt;br /&gt;
|data6   = liu@nju.edu.cn  &lt;br /&gt;
|header7 =&lt;br /&gt;
|label7  = office&lt;br /&gt;
|data7   = 计算机系 516&lt;br /&gt;
|header8 = Class&lt;br /&gt;
|label8  = &lt;br /&gt;
|data8   = &lt;br /&gt;
|header9 =&lt;br /&gt;
|label9  = Class meeting&lt;br /&gt;
|data9   = Wednesday, 9am-12am&amp;lt;br&amp;gt;&lt;br /&gt;
仙Ⅱ-212&lt;br /&gt;
|header10=&lt;br /&gt;
|label10 = Office hour&lt;br /&gt;
|data10  = TBA &amp;lt;br&amp;gt;计算机系 804（尹一通）&amp;lt;br&amp;gt;计算机系 516（刘景铖）&lt;br /&gt;
|header11= Textbook&lt;br /&gt;
|label11 = &lt;br /&gt;
|data11  = &lt;br /&gt;
|header12=&lt;br /&gt;
|label12 = &lt;br /&gt;
|data12  = [[File:概率导论.jpeg|border|100px]]&lt;br /&gt;
|header13=&lt;br /&gt;
|label13 = &lt;br /&gt;
|data13  = &#039;&#039;&#039;概率导论&#039;&#039;&#039;（第2版·修订版）&amp;lt;br&amp;gt; Dimitri P. Bertsekas and John N. Tsitsiklis&amp;lt;br&amp;gt; 郑忠国 童行伟 译；人民邮电出版社 (2022)&lt;br /&gt;
|header14=&lt;br /&gt;
|label14 = &lt;br /&gt;
|data14  = [[File:Grimmett_probability.jpg|border|100px]]&lt;br /&gt;
|header15=&lt;br /&gt;
|label15 = &lt;br /&gt;
|data15  = &#039;&#039;&#039;Probability and Random Processes&#039;&#039;&#039; (4E) &amp;lt;br&amp;gt; Geoffrey Grimmett and David Stirzaker &amp;lt;br&amp;gt;  Oxford University Press (2020)&lt;br /&gt;
|header16=&lt;br /&gt;
|label16 = &lt;br /&gt;
|data16  = [[File:Probability_and_Computing_2ed.jpg|border|100px]]&lt;br /&gt;
|header17=&lt;br /&gt;
|label17 = &lt;br /&gt;
|data17  = &#039;&#039;&#039;Probability and Computing&#039;&#039;&#039; (2E) &amp;lt;br&amp;gt; Michael Mitzenmacher and Eli Upfal &amp;lt;br&amp;gt;   Cambridge University Press (2017)&lt;br /&gt;
|belowstyle = background:#ddf;&lt;br /&gt;
|below = &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This is the webpage for the &#039;&#039;Probability Theory and Mathematical Statistics&#039;&#039; (概率论与数理统计) class of Spring 2026. Students who take this class should check this page periodically for content updates and new announcements. &lt;br /&gt;
&lt;br /&gt;
= Announcement =&lt;br /&gt;
* TBA&lt;br /&gt;
&lt;br /&gt;
= Course info =&lt;br /&gt;
* &#039;&#039;&#039;Instructor &#039;&#039;&#039;: &lt;br /&gt;
:* [http://tcs.nju.edu.cn/yinyt/ 尹一通]：[mailto:yinyt@nju.edu.cn &amp;lt;yinyt@nju.edu.cn&amp;gt;]，计算机系 804 &lt;br /&gt;
:* [https://liuexp.github.io 刘景铖]：[mailto:liu@nju.edu.cn &amp;lt;liu@nju.edu.cn&amp;gt;]，计算机系 516 &lt;br /&gt;
* &#039;&#039;&#039;Teaching assistant&#039;&#039;&#039;:&lt;br /&gt;
** 鞠哲：[mailto:juzhe@smail.nju.edu.cn &amp;lt;juzhe@smail.nju.edu.cn&amp;gt;]，计算机系 426&lt;br /&gt;
** 祝永祺：[mailto:652025330045@smail.nju.edu.cn &amp;lt;652025330045@smail.nju.edu.cn&amp;gt;]，计算机系 426&lt;br /&gt;
* &#039;&#039;&#039;Class meeting&#039;&#039;&#039;:&lt;br /&gt;
** 周三：9am-12am，仙Ⅱ-212&lt;br /&gt;
* &#039;&#039;&#039;Office hour&#039;&#039;&#039;: &lt;br /&gt;
:* TBA, 计算机系 804（尹一通）&lt;br /&gt;
:* TBA, 计算机系 516（刘景铖）&lt;br /&gt;
:* &#039;&#039;&#039;QQ群&#039;&#039;&#039;: 1090092561（申请加入需提供姓名、院系、学号）&lt;br /&gt;
&lt;br /&gt;
= Syllabus =&lt;br /&gt;
课程内容分为三大部分：&lt;br /&gt;
* &#039;&#039;&#039;经典概率论&#039;&#039;&#039;：概率空间、随机变量及其数字特征、多维与连续随机变量、极限定理等内容&lt;br /&gt;
* &#039;&#039;&#039;概率与计算&#039;&#039;&#039;：测度集中现象 (concentration of measure)、概率法 (the probabilistic method)、离散随机过程的相关专题&lt;br /&gt;
* &#039;&#039;&#039;数理统计&#039;&#039;&#039;：参数估计、假设检验、贝叶斯估计、线性回归等统计推断等概念&lt;br /&gt;
&lt;br /&gt;
对于第一和第二部分，要求清楚掌握基本概念，深刻理解关键的现象与规律以及背后的原理，并可以灵活运用所学方法求解相关问题。对于第三部分，要求熟悉数理统计的若干基本概念，以及典型的统计模型和统计推断问题。&lt;br /&gt;
&lt;br /&gt;
经过本课程的训练，力求使学生能够熟悉掌握概率的语言，并会利用概率思维来理解客观世界并对其建模，以及驾驭概率的数学工具来分析和求解专业问题。&lt;br /&gt;
&lt;br /&gt;
=== 教材与参考书 Course Materials ===&lt;br /&gt;
* &#039;&#039;&#039;[BT]&#039;&#039;&#039; 概率导论（第2版·修订版），[美]伯特瑟卡斯（Dimitri P.Bertsekas）[美]齐齐克利斯（John N.Tsitsiklis）著，郑忠国 童行伟 译，人民邮电出版社（2022）。&lt;br /&gt;
* &#039;&#039;&#039;[GS]&#039;&#039;&#039; &#039;&#039;Probability and Random Processes&#039;&#039;, by Geoffrey Grimmett and David Stirzaker; Oxford University Press; 4th edition (2020).&lt;br /&gt;
* &#039;&#039;&#039;[MU]&#039;&#039;&#039; &#039;&#039;Probability and Computing: Randomization and Probabilistic Techniques in Algorithms and Data Analysis&#039;&#039;, by Michael Mitzenmacher, Eli Upfal; Cambridge University Press; 2nd edition (2017).&lt;br /&gt;
&lt;br /&gt;
=== 成绩 Grading Policy ===&lt;br /&gt;
* 课程成绩：本课程将会有若干次作业和一次期末考试。最终成绩将由平时作业成绩和期末考试成绩综合得出。&lt;br /&gt;
* 迟交：如果有特殊的理由，无法按时完成作业，请提前联系授课老师，给出正当理由。否则迟交的作业将不被接受。&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;font color=red&amp;gt; 学术诚信 Academic Integrity &amp;lt;/font&amp;gt;===&lt;br /&gt;
学术诚信是所有从事学术活动的学生和学者最基本的职业道德底线，本课程将不遗余力的维护学术诚信规范，违反这一底线的行为将不会被容忍。&lt;br /&gt;
&lt;br /&gt;
作业完成的原则：署你名字的工作必须是你个人的贡献。在完成作业的过程中，允许讨论，前提是讨论的所有参与者均处于同等完成度。但关键想法的执行、以及作业文本的写作必须独立完成，并在作业中致谢（acknowledge）所有参与讨论的人。符合规则的讨论与致谢将不会影响得分。不允许其他任何形式的合作——尤其是与已经完成作业的同学“讨论”。&lt;br /&gt;
&lt;br /&gt;
本课程将对剽窃行为采取零容忍的态度。在完成作业过程中，对他人工作（出版物、互联网资料、其他人的作业等）直接的文本抄袭和对关键思想、关键元素的抄袭，按照 [http://www.acm.org/publications/policies/plagiarism_policy ACM Policy on Plagiarism]的解释，都将视为剽窃。剽窃者成绩将被取消。如果发现互相抄袭行为，&amp;lt;font color=red&amp;gt; 抄袭和被抄袭双方的成绩都将被取消&amp;lt;/font&amp;gt;。因此请主动防止自己的作业被他人抄袭。&lt;br /&gt;
&lt;br /&gt;
学术诚信影响学生个人的品行，也关乎整个教育系统的正常运转。为了一点分数而做出学术不端的行为，不仅使自己沦为一个欺骗者，也使他人的诚实努力失去意义。让我们一起努力维护一个诚信的环境。&lt;br /&gt;
&lt;br /&gt;
= Assignments =&lt;br /&gt;
*[[概率论与数理统计 (Spring 2026)/Problem Set 1|Problem Set 1]]  请在 2026/4/1 上课之前(9am UTC+8)提交到 [mailto:pr2026_nju@163.com pr2026_nju@163.com] (文件名为&#039;&amp;lt;font color=red &amp;gt;学号_姓名_A1.pdf&amp;lt;/font&amp;gt;&#039;).&lt;br /&gt;
** [[概率论与数理统计 (Spring 2026)/第一次作业提交名单|第一次作业提交名单]]&lt;br /&gt;
&lt;br /&gt;
*[[概率论与数理统计 (Spring 2026)/Problem Set 2|Problem Set 2]]  请在 2026/4/&amp;lt;font color=red&amp;gt;TBA&amp;lt;/font&amp;gt; 上课之前(9am UTC+8)提交到 [mailto:pr2026_nju@163.com pr2026_nju@163.com] (文件名为&#039;&amp;lt;font color=red &amp;gt;学号_姓名_A2.pdf&amp;lt;/font&amp;gt;&#039;).&lt;br /&gt;
&lt;br /&gt;
= Lectures =&lt;br /&gt;
# [http://tcs.nju.edu.cn/slides/prob2026/Intro.pdf 课程简介]&lt;br /&gt;
# [http://tcs.nju.edu.cn/slides/prob2026/ProbSpace.pdf 概率空间]&lt;br /&gt;
#* 阅读：&#039;&#039;&#039;[BT] 第1章&#039;&#039;&#039; 或 &#039;&#039;&#039;[GS] Chapter 1&#039;&#039;&#039;&lt;br /&gt;
#* [[概率论与数理统计 (Spring 2026)/Entropy and volume of Hamming balls|Entropy and volume of Hamming balls]]&lt;br /&gt;
#* [[概率论与数理统计 (Spring 2026)/Karger&#039;s min-cut algorithm| Karger&#039;s min-cut algorithm]]&lt;br /&gt;
# [http://tcs.nju.edu.cn/slides/prob2026/RandVar.pdf 随机变量]&lt;br /&gt;
#* 阅读：&#039;&#039;&#039;[BT] 第2章&#039;&#039;&#039; 或 &#039;&#039;&#039;[GS] Chapter 2, Sections 3.1~3.5, 3.7&#039;&#039;&#039;&lt;br /&gt;
#* 阅读：&#039;&#039;&#039;[MU] Chapter 2&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Concepts =&lt;br /&gt;
* [https://plato.stanford.edu/entries/probability-interpret/ Interpretations of probability]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/History_of_probability History of probability]&lt;br /&gt;
* Example problems:&lt;br /&gt;
** [https://dornsifecms.usc.edu/assets/sites/520/docs/VonNeumann-ams12p36-38.pdf von Neumann&#039;s Bernoulli factory] and other [https://peteroupc.github.io/bernoulli.html Bernoulli factory algorithms]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Boy_or_Girl_paradox Boy or Girl paradox]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Monty_Hall_problem Monty Hall problem]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Bertrand_paradox_(probability) Bertrand paradox]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Hard_spheres Hard spheres model] and [https://en.wikipedia.org/wiki/Ising_model Ising model]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/PageRank &#039;&#039;PageRank&#039;&#039;] and stationary [https://en.wikipedia.org/wiki/Random_walk random walk]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Diffusion_process Diffusion process] and [https://en.wikipedia.org/wiki/Diffusion_model diffusion model]&lt;br /&gt;
*[https://en.wikipedia.org/wiki/Probability_space Probability space]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Sample_space Sample space]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Event_(probability_theory) Event] and [https://en.wikipedia.org/wiki/Σ-algebra &amp;lt;math&amp;gt;\sigma&amp;lt;/math&amp;gt;-algebra]&lt;br /&gt;
** Kolmogorov&#039;s [https://en.wikipedia.org/wiki/Probability_axioms axioms of probability]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Discrete_uniform_distribution Classical] and [https://en.wikipedia.org/wiki/Geometric_probability goemetric probability]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Boole%27s_inequality Union bound]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Inclusion%E2%80%93exclusion_principle Inclusion-Exclusion principle]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Boole%27s_inequality#Bonferroni_inequalities Bonferroni inequalities]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Conditional_probability Conditional probability]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Chain_rule_(probability) Chain rule]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Law_of_total_probability Law of total probability]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Bayes%27_theorem Bayes&#039; law]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Independence_(probability_theory) Independence] &lt;br /&gt;
** [https://en.wikipedia.org/wiki/Pairwise_independence Pairwise independence]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Random_variable Random variable]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Cumulative_distribution_function Cumulative distribution function]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Probability_mass_function Probability mass function]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Probability_density_function Probability density function]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Multivariate_random_variable Random vector]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Joint_probability_distribution Joint probability distribution]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Conditional_probability_distribution Conditional probability distribution]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Marginal_distribution Marginal distribution]&lt;br /&gt;
* Some &#039;&#039;&#039;discrete&#039;&#039;&#039; probability distributions&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Bernoulli_trial Bernoulli trial] and [https://en.wikipedia.org/wiki/Bernoulli_distribution Bernoulli distribution]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Discrete_uniform_distribution Discrete uniform distribution]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Binomial_distribution Binomial distribution]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Geometric_distribution Geometric distribution]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Negative_binomial_distribution Negative binomial distribution]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Hypergeometric_distribution Hypergeometric distribution]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Poisson_distribution Poisson distribution]&lt;br /&gt;
** and [https://en.wikipedia.org/wiki/List_of_probability_distributions#Discrete_distributions others]&lt;br /&gt;
* Balls into bins model&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Multinomial_distribution Multinomial distribution]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Birthday_problem Birthday problem]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Coupon_collector%27s_problem Coupon collector]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Balls_into_bins_problem Occupancy problem]&lt;br /&gt;
* Random graphs&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Erd%C5%91s%E2%80%93R%C3%A9nyi_model Erdős–Rényi random graph model]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Galton%E2%80%93Watson_process Galton–Watson branching process]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Expected_value Expectation]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Law_of_the_unconscious_statistician Law of the unconscious statistician, &#039;&#039;LOTUS&#039;&#039;]&lt;br /&gt;
** [https://dlsun.github.io/probability/linearity.html Linearity of expectation]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Conditional_expectation Conditional expectation]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Law_of_total_expectation Law of total expectation]&lt;/div&gt;</summary>
		<author><name>Zhe</name></author>
	</entry>
	<entry>
		<id>https://tcs.nju.edu.cn/wiki/index.php?title=%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1_(Spring_2026)&amp;diff=13612</id>
		<title>概率论与数理统计 (Spring 2026)</title>
		<link rel="alternate" type="text/html" href="https://tcs.nju.edu.cn/wiki/index.php?title=%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1_(Spring_2026)&amp;diff=13612"/>
		<updated>2026-04-08T01:59:38Z</updated>

		<summary type="html">&lt;p&gt;Zhe: /* Assignments */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox&lt;br /&gt;
|name         = Infobox&lt;br /&gt;
|bodystyle    = &lt;br /&gt;
|title        = &amp;lt;font size=3&amp;gt;&#039;&#039;&#039;概率论与数理统计&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Probability Theory&#039;&#039;&#039; &amp;lt;br&amp;gt; &amp;amp; &#039;&#039;&#039;Mathematical Statistics&#039;&#039;&#039;&amp;lt;/font&amp;gt;&lt;br /&gt;
|titlestyle   = &lt;br /&gt;
&lt;br /&gt;
|image        = &lt;br /&gt;
|imagestyle   = &lt;br /&gt;
|caption      = &lt;br /&gt;
|captionstyle = &lt;br /&gt;
|headerstyle  = background:#ccf;&lt;br /&gt;
|labelstyle   = background:#ddf;&lt;br /&gt;
|datastyle    = &lt;br /&gt;
&lt;br /&gt;
|header1 =Instructor&lt;br /&gt;
|label1  = &lt;br /&gt;
|data1   = &lt;br /&gt;
|header2 = &lt;br /&gt;
|label2  = &lt;br /&gt;
|data2   = &#039;&#039;&#039;尹一通&#039;&#039;&#039;&lt;br /&gt;
|header3 = &lt;br /&gt;
|label3  = Email&lt;br /&gt;
|data3   = yinyt@nju.edu.cn  &lt;br /&gt;
|header4 =&lt;br /&gt;
|label4  = office&lt;br /&gt;
|data4   = 计算机系 804&lt;br /&gt;
|header5 = &lt;br /&gt;
|label5  = &lt;br /&gt;
|data5   = &#039;&#039;&#039;刘景铖&#039;&#039;&#039;&lt;br /&gt;
|header6 = &lt;br /&gt;
|label6  = Email&lt;br /&gt;
|data6   = liu@nju.edu.cn  &lt;br /&gt;
|header7 =&lt;br /&gt;
|label7  = office&lt;br /&gt;
|data7   = 计算机系 516&lt;br /&gt;
|header8 = Class&lt;br /&gt;
|label8  = &lt;br /&gt;
|data8   = &lt;br /&gt;
|header9 =&lt;br /&gt;
|label9  = Class meeting&lt;br /&gt;
|data9   = Wednesday, 9am-12am&amp;lt;br&amp;gt;&lt;br /&gt;
仙Ⅱ-212&lt;br /&gt;
|header10=&lt;br /&gt;
|label10 = Office hour&lt;br /&gt;
|data10  = TBA &amp;lt;br&amp;gt;计算机系 804（尹一通）&amp;lt;br&amp;gt;计算机系 516（刘景铖）&lt;br /&gt;
|header11= Textbook&lt;br /&gt;
|label11 = &lt;br /&gt;
|data11  = &lt;br /&gt;
|header12=&lt;br /&gt;
|label12 = &lt;br /&gt;
|data12  = [[File:概率导论.jpeg|border|100px]]&lt;br /&gt;
|header13=&lt;br /&gt;
|label13 = &lt;br /&gt;
|data13  = &#039;&#039;&#039;概率导论&#039;&#039;&#039;（第2版·修订版）&amp;lt;br&amp;gt; Dimitri P. Bertsekas and John N. Tsitsiklis&amp;lt;br&amp;gt; 郑忠国 童行伟 译；人民邮电出版社 (2022)&lt;br /&gt;
|header14=&lt;br /&gt;
|label14 = &lt;br /&gt;
|data14  = [[File:Grimmett_probability.jpg|border|100px]]&lt;br /&gt;
|header15=&lt;br /&gt;
|label15 = &lt;br /&gt;
|data15  = &#039;&#039;&#039;Probability and Random Processes&#039;&#039;&#039; (4E) &amp;lt;br&amp;gt; Geoffrey Grimmett and David Stirzaker &amp;lt;br&amp;gt;  Oxford University Press (2020)&lt;br /&gt;
|header16=&lt;br /&gt;
|label16 = &lt;br /&gt;
|data16  = [[File:Probability_and_Computing_2ed.jpg|border|100px]]&lt;br /&gt;
|header17=&lt;br /&gt;
|label17 = &lt;br /&gt;
|data17  = &#039;&#039;&#039;Probability and Computing&#039;&#039;&#039; (2E) &amp;lt;br&amp;gt; Michael Mitzenmacher and Eli Upfal &amp;lt;br&amp;gt;   Cambridge University Press (2017)&lt;br /&gt;
|belowstyle = background:#ddf;&lt;br /&gt;
|below = &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This is the webpage for the &#039;&#039;Probability Theory and Mathematical Statistics&#039;&#039; (概率论与数理统计) class of Spring 2026. Students who take this class should check this page periodically for content updates and new announcements. &lt;br /&gt;
&lt;br /&gt;
= Announcement =&lt;br /&gt;
* TBA&lt;br /&gt;
&lt;br /&gt;
= Course info =&lt;br /&gt;
* &#039;&#039;&#039;Instructor &#039;&#039;&#039;: &lt;br /&gt;
:* [http://tcs.nju.edu.cn/yinyt/ 尹一通]：[mailto:yinyt@nju.edu.cn &amp;lt;yinyt@nju.edu.cn&amp;gt;]，计算机系 804 &lt;br /&gt;
:* [https://liuexp.github.io 刘景铖]：[mailto:liu@nju.edu.cn &amp;lt;liu@nju.edu.cn&amp;gt;]，计算机系 516 &lt;br /&gt;
* &#039;&#039;&#039;Teaching assistant&#039;&#039;&#039;:&lt;br /&gt;
** 鞠哲：[mailto:juzhe@smail.nju.edu.cn &amp;lt;juzhe@smail.nju.edu.cn&amp;gt;]，计算机系 426&lt;br /&gt;
** 祝永祺：[mailto:652025330045@smail.nju.edu.cn &amp;lt;652025330045@smail.nju.edu.cn&amp;gt;]，计算机系 426&lt;br /&gt;
* &#039;&#039;&#039;Class meeting&#039;&#039;&#039;:&lt;br /&gt;
** 周三：9am-12am，仙Ⅱ-212&lt;br /&gt;
* &#039;&#039;&#039;Office hour&#039;&#039;&#039;: &lt;br /&gt;
:* TBA, 计算机系 804（尹一通）&lt;br /&gt;
:* TBA, 计算机系 516（刘景铖）&lt;br /&gt;
:* &#039;&#039;&#039;QQ群&#039;&#039;&#039;: 1090092561（申请加入需提供姓名、院系、学号）&lt;br /&gt;
&lt;br /&gt;
= Syllabus =&lt;br /&gt;
课程内容分为三大部分：&lt;br /&gt;
* &#039;&#039;&#039;经典概率论&#039;&#039;&#039;：概率空间、随机变量及其数字特征、多维与连续随机变量、极限定理等内容&lt;br /&gt;
* &#039;&#039;&#039;概率与计算&#039;&#039;&#039;：测度集中现象 (concentration of measure)、概率法 (the probabilistic method)、离散随机过程的相关专题&lt;br /&gt;
* &#039;&#039;&#039;数理统计&#039;&#039;&#039;：参数估计、假设检验、贝叶斯估计、线性回归等统计推断等概念&lt;br /&gt;
&lt;br /&gt;
对于第一和第二部分，要求清楚掌握基本概念，深刻理解关键的现象与规律以及背后的原理，并可以灵活运用所学方法求解相关问题。对于第三部分，要求熟悉数理统计的若干基本概念，以及典型的统计模型和统计推断问题。&lt;br /&gt;
&lt;br /&gt;
经过本课程的训练，力求使学生能够熟悉掌握概率的语言，并会利用概率思维来理解客观世界并对其建模，以及驾驭概率的数学工具来分析和求解专业问题。&lt;br /&gt;
&lt;br /&gt;
=== 教材与参考书 Course Materials ===&lt;br /&gt;
* &#039;&#039;&#039;[BT]&#039;&#039;&#039; 概率导论（第2版·修订版），[美]伯特瑟卡斯（Dimitri P.Bertsekas）[美]齐齐克利斯（John N.Tsitsiklis）著，郑忠国 童行伟 译，人民邮电出版社（2022）。&lt;br /&gt;
* &#039;&#039;&#039;[GS]&#039;&#039;&#039; &#039;&#039;Probability and Random Processes&#039;&#039;, by Geoffrey Grimmett and David Stirzaker; Oxford University Press; 4th edition (2020).&lt;br /&gt;
* &#039;&#039;&#039;[MU]&#039;&#039;&#039; &#039;&#039;Probability and Computing: Randomization and Probabilistic Techniques in Algorithms and Data Analysis&#039;&#039;, by Michael Mitzenmacher, Eli Upfal; Cambridge University Press; 2nd edition (2017).&lt;br /&gt;
&lt;br /&gt;
=== 成绩 Grading Policy ===&lt;br /&gt;
* 课程成绩：本课程将会有若干次作业和一次期末考试。最终成绩将由平时作业成绩和期末考试成绩综合得出。&lt;br /&gt;
* 迟交：如果有特殊的理由，无法按时完成作业，请提前联系授课老师，给出正当理由。否则迟交的作业将不被接受。&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;font color=red&amp;gt; 学术诚信 Academic Integrity &amp;lt;/font&amp;gt;===&lt;br /&gt;
学术诚信是所有从事学术活动的学生和学者最基本的职业道德底线，本课程将不遗余力的维护学术诚信规范，违反这一底线的行为将不会被容忍。&lt;br /&gt;
&lt;br /&gt;
作业完成的原则：署你名字的工作必须是你个人的贡献。在完成作业的过程中，允许讨论，前提是讨论的所有参与者均处于同等完成度。但关键想法的执行、以及作业文本的写作必须独立完成，并在作业中致谢（acknowledge）所有参与讨论的人。符合规则的讨论与致谢将不会影响得分。不允许其他任何形式的合作——尤其是与已经完成作业的同学“讨论”。&lt;br /&gt;
&lt;br /&gt;
本课程将对剽窃行为采取零容忍的态度。在完成作业过程中，对他人工作（出版物、互联网资料、其他人的作业等）直接的文本抄袭和对关键思想、关键元素的抄袭，按照 [http://www.acm.org/publications/policies/plagiarism_policy ACM Policy on Plagiarism]的解释，都将视为剽窃。剽窃者成绩将被取消。如果发现互相抄袭行为，&amp;lt;font color=red&amp;gt; 抄袭和被抄袭双方的成绩都将被取消&amp;lt;/font&amp;gt;。因此请主动防止自己的作业被他人抄袭。&lt;br /&gt;
&lt;br /&gt;
学术诚信影响学生个人的品行，也关乎整个教育系统的正常运转。为了一点分数而做出学术不端的行为，不仅使自己沦为一个欺骗者，也使他人的诚实努力失去意义。让我们一起努力维护一个诚信的环境。&lt;br /&gt;
&lt;br /&gt;
= Assignments =&lt;br /&gt;
*[[概率论与数理统计 (Spring 2026)/Problem Set 1|Problem Set 1]]  请在 2026/4/1 上课之前(9am UTC+8)提交到 [mailto:pr2026_nju@163.com pr2026_nju@163.com] (文件名为&#039;&amp;lt;font color=red &amp;gt;学号_姓名_A1.pdf&amp;lt;/font&amp;gt;&#039;).&lt;br /&gt;
** [[概率论与数理统计 (Spring 2026)/第一次作业提交名单|第一次作业提交名单]]&lt;br /&gt;
&lt;br /&gt;
*[[概率论与数理统计 (Spring 2026)/Problem Set 2|Problem Set 2]]  请在 2026/4/&amp;lt;font color=red&amp;gt;TBA&amp;lt;/font&amp;gt; 上课之前(9am UTC+8)提交到 [mailto:pr2026_nju@163.com pr2026_nju@163.com] (文件名为&#039;&amp;lt;font color=red &amp;gt;学号_姓名_A2.pdf&amp;lt;/font&amp;gt;&#039;).&lt;br /&gt;
&lt;br /&gt;
= Lectures =&lt;br /&gt;
# [http://tcs.nju.edu.cn/slides/prob2026/Intro.pdf 课程简介]&lt;br /&gt;
# [http://tcs.nju.edu.cn/slides/prob2026/ProbSpace.pdf 概率空间]&lt;br /&gt;
#* 阅读：&#039;&#039;&#039;[BT] 第1章&#039;&#039;&#039; 或 &#039;&#039;&#039;[GS] Chapter 1&#039;&#039;&#039;&lt;br /&gt;
#* [[概率论与数理统计 (Spring 2026)/Entropy and volume of Hamming balls|Entropy and volume of Hamming balls]]&lt;br /&gt;
#* [[概率论与数理统计 (Spring 2026)/Karger&#039;s min-cut algorithm| Karger&#039;s min-cut algorithm]]&lt;br /&gt;
# [http://tcs.nju.edu.cn/slides/prob2026/RandVar.pdf 随机变量]&lt;br /&gt;
#* 阅读：&#039;&#039;&#039;[BT] 第2章&#039;&#039;&#039; 或 &#039;&#039;&#039;[GS] Chapter 2, Sections 3.1~3.5, 3.7&#039;&#039;&#039;&lt;br /&gt;
#* 阅读：&#039;&#039;&#039;[MU] Chapter 2&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Concepts =&lt;br /&gt;
* [https://plato.stanford.edu/entries/probability-interpret/ Interpretations of probability]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/History_of_probability History of probability]&lt;br /&gt;
* Example problems:&lt;br /&gt;
** [https://dornsifecms.usc.edu/assets/sites/520/docs/VonNeumann-ams12p36-38.pdf von Neumann&#039;s Bernoulli factory] and other [https://peteroupc.github.io/bernoulli.html Bernoulli factory algorithms]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Boy_or_Girl_paradox Boy or Girl paradox]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Monty_Hall_problem Monty Hall problem]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Bertrand_paradox_(probability) Bertrand paradox]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Hard_spheres Hard spheres model] and [https://en.wikipedia.org/wiki/Ising_model Ising model]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/PageRank &#039;&#039;PageRank&#039;&#039;] and stationary [https://en.wikipedia.org/wiki/Random_walk random walk]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Diffusion_process Diffusion process] and [https://en.wikipedia.org/wiki/Diffusion_model diffusion model]&lt;br /&gt;
*[https://en.wikipedia.org/wiki/Probability_space Probability space]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Sample_space Sample space]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Event_(probability_theory) Event] and [https://en.wikipedia.org/wiki/Σ-algebra &amp;lt;math&amp;gt;\sigma&amp;lt;/math&amp;gt;-algebra]&lt;br /&gt;
** Kolmogorov&#039;s [https://en.wikipedia.org/wiki/Probability_axioms axioms of probability]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Discrete_uniform_distribution Classical] and [https://en.wikipedia.org/wiki/Geometric_probability goemetric probability]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Boole%27s_inequality Union bound]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Inclusion%E2%80%93exclusion_principle Inclusion-Exclusion principle]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Boole%27s_inequality#Bonferroni_inequalities Bonferroni inequalities]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Conditional_probability Conditional probability]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Chain_rule_(probability) Chain rule]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Law_of_total_probability Law of total probability]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Bayes%27_theorem Bayes&#039; law]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Independence_(probability_theory) Independence] &lt;br /&gt;
** [https://en.wikipedia.org/wiki/Pairwise_independence Pairwise independence]&lt;/div&gt;</summary>
		<author><name>Zhe</name></author>
	</entry>
	<entry>
		<id>https://tcs.nju.edu.cn/wiki/index.php?title=%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1_(Spring_2026)/Problem_Set_2&amp;diff=13611</id>
		<title>概率论与数理统计 (Spring 2026)/Problem Set 2</title>
		<link rel="alternate" type="text/html" href="https://tcs.nju.edu.cn/wiki/index.php?title=%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1_(Spring_2026)/Problem_Set_2&amp;diff=13611"/>
		<updated>2026-04-08T01:58:36Z</updated>

		<summary type="html">&lt;p&gt;Zhe: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*每道题目的解答都要有完整的解题过程，中英文不限。&lt;br /&gt;
&lt;br /&gt;
*我们推荐大家使用LaTeX, markdown等对作业进行排版。&lt;br /&gt;
&lt;br /&gt;
*为督促大家认真完成平时作业、扎实掌握课程内容，本课程期末考试将从作业题目中&amp;lt;font color=red&amp;gt;随机抽取部分题目&amp;lt;/font&amp;gt;进行考查。请大家务必重视每一次作业，认真理解解题思路。&lt;br /&gt;
&lt;br /&gt;
*若考试中被抽取到的作业题目答错、答不完整或无法作答，将按照相关标准对作业进行&amp;lt;font color=red&amp;gt;扣分处理&amp;lt;/font&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
== Assumption throughout Problem Set 2==&lt;br /&gt;
&amp;lt;p&amp;gt;Without further notice, we are working on probability space &amp;lt;math&amp;gt;(\Omega,\mathcal{F},\mathbf{Pr})&amp;lt;/math&amp;gt;.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Without further notice, we assume that the expectation of random variables are well-defined.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;The term &amp;lt;math&amp;gt;\log&amp;lt;/math&amp;gt; used in this context refers to the natural logarithm.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 1 (Warm-up problems, 14 points) ==&lt;br /&gt;
* [&#039;&#039;&#039;Function of random variable&#039;&#039;&#039;] Let [math]X[/math] be a random variable and [math]g:\mathbb{R} \to \mathbb{R}[/math] be a continuous and strictly increasing function. Show that [math]Y = g(X)[/math] is a random variable.&amp;lt;/li&amp;gt;&lt;br /&gt;
* [&#039;&#039;&#039;Cumulative distribution function (CDF)&#039;&#039;&#039;] Express the distribution functions of [math]X^+ = \max\{0,X\}[/math], [math]X^- = -\min\{0,X\}[/math], [math]|X|=X^+ + X^-[/math], and [math]-X[/math], in terms of the distribution function [math]F[/math] of the random variable [math]X[/math].&lt;br /&gt;
* [&#039;&#039;&#039;Independence&#039;&#039;&#039;] Let &amp;lt;math&amp;gt;X_r&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;1\leq r\leq n&amp;lt;/math&amp;gt; be independent random variables which are symmetric about &amp;lt;math&amp;gt;0&amp;lt;/math&amp;gt;; that is, &amp;lt;math&amp;gt;X_r&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;-X_r&amp;lt;/math&amp;gt; have the same distributions. Show that, for all &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\mathbf{Pr}[S_n \geq x] = \mathbf{Pr}[S_n \leq -x]&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;S_n = \sum_{r=1}^n X_r&amp;lt;/math&amp;gt;. Is the conclusion true without the assumption of independence?&lt;br /&gt;
* [&#039;&#039;&#039;Expectation&#039;&#039;&#039;] Provide specific examples of a random variable &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; and a function &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt; for each of the following three scenarios. For each case, clearly define the probability distribution of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;, define the function &amp;lt;math&amp;gt;f(x)&amp;lt;/math&amp;gt;, and show the calculations for both &amp;lt;math&amp;gt;\mathbf{E}[f(X)]&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;f(\mathbf{E}[X])&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;math&amp;gt;\mathbf{E}[f(X)] = f(\mathbf{E}[X])&amp;lt;/math&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;math&amp;gt;\mathbf{E}[f(X)] &amp;gt; f(\mathbf{E}[X])&amp;lt;/math&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;math&amp;gt;\mathbf{E}[f(X)] &amp;lt; f(\mathbf{E}[X])&amp;lt;/math&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
* [&amp;lt;strong&amp;gt;Law of total expectation&amp;lt;/strong&amp;gt;] Let [math]X \sim \mathrm{Geom}(p)[/math] for some parameter [math]p \in (0,1)[/math]. Calculate [math]\mathbf{E}[X][/math] using the law of total expectation.&lt;br /&gt;
* [&amp;lt;strong&amp;gt;Random number of random variables&amp;lt;/strong&amp;gt;] Let &amp;lt;math&amp;gt;\{X_n\}_{n \ge 1}&amp;lt;/math&amp;gt; be identically distributed random variables and &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; be a random variable taking values in the non-negative integers and independent of the &amp;lt;math&amp;gt;X_n&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n \ge 1&amp;lt;/math&amp;gt;. Prove that &amp;lt;math&amp;gt;\mathbf{E}\left[\sum_{i=1}^N X_i\right] = \mathbf{E}[N] \mathbf{E}[X_1]&amp;lt;/math&amp;gt;.&lt;br /&gt;
* [&amp;lt;strong&amp;gt;Entropy of discrete random variable&amp;lt;/strong&amp;gt;] Let [math]X[/math] be a discrete random variable with range of values [math][N] = \{1,2,\ldots,N\}[/math] and probability mass function [math]p[/math]. Define [math]H(X) = -\sum_{n \in [N]} p(n) \log p(n)[/math] with convention [math]0\log 0 = 0[/math]. Prove that [math]H(X) \le \log N[/math] using Jensen&#039;s inequality.&lt;br /&gt;
&lt;br /&gt;
== Problem 2 (Discrete random variable, 14 points) ==&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Geometric distribution (I)&amp;lt;/strong&amp;gt;] Every package of some intrinsically dull commodity includes a small and exciting plastic object. There are [math]c[/math] different types of object, and each package is equally likely to contain any given type. You buy one package each day.&amp;lt;/p&amp;gt;&lt;br /&gt;
    &amp;lt;ol&amp;gt;&lt;br /&gt;
        &amp;lt;li&amp;gt;Find the expected number of days which elapse between the acquisitions of the [math]j[/math]-th new type of object and the [math](j + 1)[/math]-th new type.&amp;lt;/li&amp;gt;&lt;br /&gt;
        &amp;lt;li&amp;gt;Find the expected number of days which elapse before you have a full set of objects.&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Geometric distribution (II)&amp;lt;/strong&amp;gt;] Prove that geometric distribution is the only discrete memoryless distribution with range values &amp;lt;math&amp;gt;\mathbb{N}_+&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Binomial distribution&amp;lt;/strong&amp;gt;] Let &amp;lt;math&amp;gt;n_1,n_2 \in \mathbb{N}_+&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;0 \le p \le 1&amp;lt;/math&amp;gt; be parameters, and &amp;lt;math&amp;gt;X \sim \mathrm{Bin}(n_1,p),Y \sim \mathrm{Bin}(n_2,p)&amp;lt;/math&amp;gt; be independent random variables. Prove that &amp;lt;math&amp;gt;X+Y \sim \mathrm{Bin}(n_1+n_2,p)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Negative binomial distribution&amp;lt;/strong&amp;gt;] Let &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; follows the negative binomial distribution with parameter &amp;lt;math&amp;gt;r \in \mathbb{N}_+&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;p \in (0,1)&amp;lt;/math&amp;gt;. Calculate &amp;lt;math&amp;gt;\mathbf{Var}[X] = \mathbf{E}[X^2] - \left(\mathbf{E}[X]\right)^2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Hypergeometric distribution&amp;lt;/strong&amp;gt;] An urn contains [math]N[/math] balls, [math]b[/math] of which are blue and [math]r = N -b[/math] of which are red. A random sample of [math]n[/math] balls is drawn &amp;lt;strong&amp;gt;without replacement&amp;lt;/strong&amp;gt; (无放回) from the urn. Let [math]B[/math] the number of blue balls in this sample. Show that if [math]N, b[/math], and [math]r[/math] approach [math]+\infty[/math] in such a way that [math]b/N \rightarrow  p[/math] and [math]r/N \rightarrow 1 - p[/math], then [math]\mathbf{Pr}(B = k) \rightarrow {n\choose k}p^k(1-p)^{n-k}[/math] for [math]0\leq k \leq n[/math].&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Poisson distribution&amp;lt;/strong&amp;gt;] In your pocket is a random number &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; of coins, where &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; has the Poisson distribution with parameter &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;. You toss each coin once, with heads showing with probability &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; each time. Let &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; be the (random) number of heads outcomes and &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; be the (also random) number of tails.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Find the joint mass function of &amp;lt;math&amp;gt;(X,Y)&amp;lt;/math&amp;gt;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Find PDF of the marginal distribution of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;(X,Y)&amp;lt;/math&amp;gt;. Are &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; independent?&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Conditional distribution&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Let &amp;lt;math&amp;gt;\lambda,\mu &amp;gt; 0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n \in \mathbb{N}&amp;lt;/math&amp;gt; be parameters, and &amp;lt;math&amp;gt;X \sim \mathrm{Pois}(\lambda), Y \sim \mathrm{Pois}(\mu)&amp;lt;/math&amp;gt; be independent random variables. Find out the conditional distribution of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;, given &amp;lt;math&amp;gt;X+Y = n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 3 (Linearity of Expectation, 10 points) ==&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Streak&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Suppose we flip a fair coin &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; times independently to obtain a sequence of flips &amp;lt;math&amp;gt;X_1, X_2, \ldots , X_n&amp;lt;/math&amp;gt;. A streak of flips is a consecutive subsequence of flips that are all the same. For example, if &amp;lt;math&amp;gt;X_3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;X_4&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;X_5&amp;lt;/math&amp;gt; are all heads, there is a streak of length &amp;lt;math&amp;gt;3&amp;lt;/math&amp;gt; starting at the third flip. (If &amp;lt;math&amp;gt;X_6&amp;lt;/math&amp;gt; is also heads, then there is also a streak of length &amp;lt;math&amp;gt;4&amp;lt;/math&amp;gt; starting at the third lip.) Find the expected number of streaks of length &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; for some integer &amp;lt;math&amp;gt;k \ge 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Number of cycles&amp;lt;/strong&amp;gt;] &lt;br /&gt;
At a banquet, there are &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; people who shake hands according to the following process: In each round, two idle hands are randomly selected and shaken (&amp;lt;strong&amp;gt;these two hands are no longer idle&amp;lt;/strong&amp;gt;). After &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; rounds, there will be no idle hands left, and the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; people will form several cycles. For example, when &amp;lt;math&amp;gt;n=3&amp;lt;/math&amp;gt;, the following situation may occur: the left and right hands of the first person are held together, the left hand of the second person and the right hand of the third person are held together, and the right hand of the second person and the left hand of the third person are held together. In this case, three people form two cycles. How many cycles are expected to be formed after &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; rounds?&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Card shuffling&amp;lt;/strong&amp;gt;]&lt;br /&gt;
A deck of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; cards, numbered &amp;lt;math&amp;gt;1&amp;lt;/math&amp;gt; through &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, is initially laid out in order so that card &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; is in position &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt;. At each step, a pair of distinct positions is chosen uniformly at random, and the two cards in those positions are swapped. This operation is repeated &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; times. Let &amp;lt;math&amp;gt;R_k&amp;lt;/math&amp;gt; be the random variable representing the number of cards that are in their original starting positions after &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; swaps. Calculate the expectation &amp;lt;math&amp;gt;\mathbf{E}[R_k]&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 4 (Probability meets graph theory, 14 points) ==&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Random social networks&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Let &amp;lt;math&amp;gt;G = (V, E)&amp;lt;/math&amp;gt; be a &amp;lt;strong&amp;gt;fixed&amp;lt;/strong&amp;gt; undirected graph without isolated vertex. &lt;br /&gt;
Let &amp;lt;math&amp;gt;d_v&amp;lt;/math&amp;gt; be the degree of vertex &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; be a uniformly chosen vertex, and &amp;lt;math&amp;gt;Z&amp;lt;/math&amp;gt; a uniformly chosen neighbor of &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Show that &amp;lt;math&amp;gt;\mathbf{E}[d_Z] \geq \mathbf{E}[d_Y]&amp;lt;/math&amp;gt;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Interpret this inequality in the context of social networks, in which the vertices represent people, and the edges represent friendship.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Erdős–Rényi random graph&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Consider &amp;lt;math&amp;gt;G\sim G(n,p)&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;G(n,p)&amp;lt;/math&amp;gt; is the Erdős–Rényi random graph model. Let &amp;lt;math&amp;gt;\ell \ge 3&amp;lt;/math&amp;gt; be a fixed integer, and let &amp;lt;math&amp;gt;N_{\ell}&amp;lt;/math&amp;gt; be the random variable representing the number of cycles of length exactly &amp;lt;math&amp;gt;\ell&amp;lt;/math&amp;gt; in graph &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt;. Find the expected value &amp;lt;math&amp;gt;\mathbf{E}[N_{\ell}]&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Turán&#039;s Theorem&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Let &amp;lt;math&amp;gt;G=(V,E)&amp;lt;/math&amp;gt; be a &amp;lt;strong&amp;gt;fixed&amp;lt;/strong&amp;gt; undirected graph, and write &amp;lt;math&amp;gt;d_v&amp;lt;/math&amp;gt; for the degree of the vertex &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt;. Use probabilistic method to prove that &amp;lt;math&amp;gt;\alpha(G) \ge \sum_{v \in V} \frac{1}{d_v + 1}&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\alpha(G)&amp;lt;/math&amp;gt; is the size of a maximum independent set. (Hint: Consider the following random procedure for generating an independent set &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; from a graph with vertex set &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt;: First, generate a random permutation of the vertices, denoted as &amp;lt;math&amp;gt;v_1,v_2,\ldots,v_n&amp;lt;/math&amp;gt;. Then, construct the independent set &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; as follows: For each vertex &amp;lt;math&amp;gt;v_i \in V&amp;lt;/math&amp;gt;, add &amp;lt;math&amp;gt;v_i&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; if and only if none of its predecessors in the permutation, i.e., &amp;lt;math&amp;gt;v_1,\ldots,v_{i-1}&amp;lt;/math&amp;gt;, are neighbors of &amp;lt;math&amp;gt;v_i&amp;lt;/math&amp;gt;.)&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Dominating set&amp;lt;/strong&amp;gt;]&lt;br /&gt;
A &#039;&#039;dominating set&#039;&#039; of vertices in an undirected graph &amp;lt;math&amp;gt;G = (V, E)&amp;lt;/math&amp;gt; is a set &amp;lt;math&amp;gt;S \subseteq V&amp;lt;/math&amp;gt; such that every vertex of&lt;br /&gt;
&amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; belongs to &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt; or has a neighbor in &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;G = (V, E)&amp;lt;/math&amp;gt; be an &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-vertex graph with minimum degree &amp;lt;math&amp;gt;d &amp;gt; 1&amp;lt;/math&amp;gt;. Prove that &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; has a dominating set with at most &amp;lt;math&amp;gt;\frac{n\left(1+\log(d+1)\right)}{d+1}&amp;lt;/math&amp;gt; vertices. (Hint: Consider a random vertex subset &amp;lt;math&amp;gt;S \subseteq V&amp;lt;/math&amp;gt; by including each vertex independently with&lt;br /&gt;
probability &amp;lt;math&amp;gt;p := \log(d + 1)/(d + 1)&amp;lt;/math&amp;gt;.)&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 5 (1D random walk, 8 points) ==&lt;br /&gt;
Let &amp;lt;math&amp;gt;p \in (0,1)&amp;lt;/math&amp;gt; be a constant, and &amp;lt;math&amp;gt;\{X_n\}_{n \ge 1}&amp;lt;/math&amp;gt; be independent Bernoulli trials with successful probability &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;.&lt;br /&gt;
Define &amp;lt;math&amp;gt;S_n = 2\sum_{i=1}^n X_i - n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;S_0 = 0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
[&amp;lt;strong&amp;gt;Range of random walk&amp;lt;/strong&amp;gt;] The range &amp;lt;math&amp;gt;R_n&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;S_0, S_1, \ldots, S_n&amp;lt;/math&amp;gt; is defined as the number of distinct values taken by the sequence. Show that &amp;lt;math&amp;gt;\mathbf{Pr}\left(R_n = R_{n-1}+1\right) = \mathbf{Pr}\left(\forall 1 \le i \le n, S_i \neq 0\right)&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;, and deduce that &amp;lt;math&amp;gt;n^{-1} \mathbf{E}[R_n]\to \mathbf{Pr}(\forall i \ge 1, S_i \neq 0)&amp;lt;/math&amp;gt;. Hence show that &amp;lt;math&amp;gt;n^{-1} \mathbf{E}[R_n] \to |2p-1|&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
[&amp;lt;strong&amp;gt;Symmetric 1D random walk&amp;lt;/strong&amp;gt;] Suppose &amp;lt;math&amp;gt;p = \frac{1}{2}&amp;lt;/math&amp;gt;. Prove that &amp;lt;math&amp;gt;\mathbf{E}[|S_n|] = \Theta(\sqrt{n})&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;/div&gt;</summary>
		<author><name>Zhe</name></author>
	</entry>
	<entry>
		<id>https://tcs.nju.edu.cn/wiki/index.php?title=%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1_(Spring_2026)/Problem_Set_2&amp;diff=13610</id>
		<title>概率论与数理统计 (Spring 2026)/Problem Set 2</title>
		<link rel="alternate" type="text/html" href="https://tcs.nju.edu.cn/wiki/index.php?title=%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1_(Spring_2026)/Problem_Set_2&amp;diff=13610"/>
		<updated>2026-04-08T01:57:12Z</updated>

		<summary type="html">&lt;p&gt;Zhe: /* Problem 4 (Probability meets graph theory, 14 points) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;font color=red&amp;gt;NOT FINISHED YET&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*每道题目的解答都要有完整的解题过程，中英文不限。&lt;br /&gt;
&lt;br /&gt;
*我们推荐大家使用LaTeX, markdown等对作业进行排版。&lt;br /&gt;
&lt;br /&gt;
*为督促大家认真完成平时作业、扎实掌握课程内容，本课程期末考试将从作业题目中&amp;lt;font color=red&amp;gt;随机抽取部分题目&amp;lt;/font&amp;gt;进行考查。请大家务必重视每一次作业，认真理解解题思路。&lt;br /&gt;
&lt;br /&gt;
*若考试中被抽取到的作业题目答错、答不完整或无法作答，将按照相关标准对作业进行&amp;lt;font color=red&amp;gt;扣分处理&amp;lt;/font&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
== Assumption throughout Problem Set 2==&lt;br /&gt;
&amp;lt;p&amp;gt;Without further notice, we are working on probability space &amp;lt;math&amp;gt;(\Omega,\mathcal{F},\mathbf{Pr})&amp;lt;/math&amp;gt;.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Without further notice, we assume that the expectation of random variables are well-defined.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;The term &amp;lt;math&amp;gt;\log&amp;lt;/math&amp;gt; used in this context refers to the natural logarithm.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 1 (Warm-up problems, 14 points) ==&lt;br /&gt;
* [&#039;&#039;&#039;Function of random variable&#039;&#039;&#039;] Let [math]X[/math] be a random variable and [math]g:\mathbb{R} \to \mathbb{R}[/math] be a continuous and strictly increasing function. Show that [math]Y = g(X)[/math] is a random variable.&amp;lt;/li&amp;gt;&lt;br /&gt;
* [&#039;&#039;&#039;Cumulative distribution function (CDF)&#039;&#039;&#039;] Express the distribution functions of [math]X^+ = \max\{0,X\}[/math], [math]X^- = -\min\{0,X\}[/math], [math]|X|=X^+ + X^-[/math], and [math]-X[/math], in terms of the distribution function [math]F[/math] of the random variable [math]X[/math].&lt;br /&gt;
* [&#039;&#039;&#039;Independence&#039;&#039;&#039;] Let &amp;lt;math&amp;gt;X_r&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;1\leq r\leq n&amp;lt;/math&amp;gt; be independent random variables which are symmetric about &amp;lt;math&amp;gt;0&amp;lt;/math&amp;gt;; that is, &amp;lt;math&amp;gt;X_r&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;-X_r&amp;lt;/math&amp;gt; have the same distributions. Show that, for all &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\mathbf{Pr}[S_n \geq x] = \mathbf{Pr}[S_n \leq -x]&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;S_n = \sum_{r=1}^n X_r&amp;lt;/math&amp;gt;. Is the conclusion true without the assumption of independence?&lt;br /&gt;
* [&#039;&#039;&#039;Expectation&#039;&#039;&#039;] Provide specific examples of a random variable &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; and a function &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt; for each of the following three scenarios. For each case, clearly define the probability distribution of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;, define the function &amp;lt;math&amp;gt;f(x)&amp;lt;/math&amp;gt;, and show the calculations for both &amp;lt;math&amp;gt;\mathbf{E}[f(X)]&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;f(\mathbf{E}[X])&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;math&amp;gt;\mathbf{E}[f(X)] = f(\mathbf{E}[X])&amp;lt;/math&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;math&amp;gt;\mathbf{E}[f(X)] &amp;gt; f(\mathbf{E}[X])&amp;lt;/math&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;math&amp;gt;\mathbf{E}[f(X)] &amp;lt; f(\mathbf{E}[X])&amp;lt;/math&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
* [&amp;lt;strong&amp;gt;Law of total expectation&amp;lt;/strong&amp;gt;] Let [math]X \sim \mathrm{Geom}(p)[/math] for some parameter [math]p \in (0,1)[/math]. Calculate [math]\mathbf{E}[X][/math] using the law of total expectation.&lt;br /&gt;
* [&amp;lt;strong&amp;gt;Random number of random variables&amp;lt;/strong&amp;gt;] Let &amp;lt;math&amp;gt;\{X_n\}_{n \ge 1}&amp;lt;/math&amp;gt; be identically distributed random variables and &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; be a random variable taking values in the non-negative integers and independent of the &amp;lt;math&amp;gt;X_n&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n \ge 1&amp;lt;/math&amp;gt;. Prove that &amp;lt;math&amp;gt;\mathbf{E}\left[\sum_{i=1}^N X_i\right] = \mathbf{E}[N] \mathbf{E}[X_1]&amp;lt;/math&amp;gt;.&lt;br /&gt;
* [&amp;lt;strong&amp;gt;Entropy of discrete random variable&amp;lt;/strong&amp;gt;] Let [math]X[/math] be a discrete random variable with range of values [math][N] = \{1,2,\ldots,N\}[/math] and probability mass function [math]p[/math]. Define [math]H(X) = -\sum_{n \in [N]} p(n) \log p(n)[/math] with convention [math]0\log 0 = 0[/math]. Prove that [math]H(X) \le \log N[/math] using Jensen&#039;s inequality.&lt;br /&gt;
&lt;br /&gt;
== Problem 2 (Discrete random variable, 14 points) ==&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Geometric distribution (I)&amp;lt;/strong&amp;gt;] Every package of some intrinsically dull commodity includes a small and exciting plastic object. There are [math]c[/math] different types of object, and each package is equally likely to contain any given type. You buy one package each day.&amp;lt;/p&amp;gt;&lt;br /&gt;
    &amp;lt;ol&amp;gt;&lt;br /&gt;
        &amp;lt;li&amp;gt;Find the expected number of days which elapse between the acquisitions of the [math]j[/math]-th new type of object and the [math](j + 1)[/math]-th new type.&amp;lt;/li&amp;gt;&lt;br /&gt;
        &amp;lt;li&amp;gt;Find the expected number of days which elapse before you have a full set of objects.&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Geometric distribution (II)&amp;lt;/strong&amp;gt;] Prove that geometric distribution is the only discrete memoryless distribution with range values &amp;lt;math&amp;gt;\mathbb{N}_+&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Binomial distribution&amp;lt;/strong&amp;gt;] Let &amp;lt;math&amp;gt;n_1,n_2 \in \mathbb{N}_+&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;0 \le p \le 1&amp;lt;/math&amp;gt; be parameters, and &amp;lt;math&amp;gt;X \sim \mathrm{Bin}(n_1,p),Y \sim \mathrm{Bin}(n_2,p)&amp;lt;/math&amp;gt; be independent random variables. Prove that &amp;lt;math&amp;gt;X+Y \sim \mathrm{Bin}(n_1+n_2,p)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Negative binomial distribution&amp;lt;/strong&amp;gt;] Let &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; follows the negative binomial distribution with parameter &amp;lt;math&amp;gt;r \in \mathbb{N}_+&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;p \in (0,1)&amp;lt;/math&amp;gt;. Calculate &amp;lt;math&amp;gt;\mathbf{Var}[X] = \mathbf{E}[X^2] - \left(\mathbf{E}[X]\right)^2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Hypergeometric distribution&amp;lt;/strong&amp;gt;] An urn contains [math]N[/math] balls, [math]b[/math] of which are blue and [math]r = N -b[/math] of which are red. A random sample of [math]n[/math] balls is drawn &amp;lt;strong&amp;gt;without replacement&amp;lt;/strong&amp;gt; (无放回) from the urn. Let [math]B[/math] the number of blue balls in this sample. Show that if [math]N, b[/math], and [math]r[/math] approach [math]+\infty[/math] in such a way that [math]b/N \rightarrow  p[/math] and [math]r/N \rightarrow 1 - p[/math], then [math]\mathbf{Pr}(B = k) \rightarrow {n\choose k}p^k(1-p)^{n-k}[/math] for [math]0\leq k \leq n[/math].&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Poisson distribution&amp;lt;/strong&amp;gt;] In your pocket is a random number &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; of coins, where &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; has the Poisson distribution with parameter &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;. You toss each coin once, with heads showing with probability &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; each time. Let &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; be the (random) number of heads outcomes and &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; be the (also random) number of tails.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Find the joint mass function of &amp;lt;math&amp;gt;(X,Y)&amp;lt;/math&amp;gt;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Find PDF of the marginal distribution of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;(X,Y)&amp;lt;/math&amp;gt;. Are &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; independent?&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Conditional distribution&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Let &amp;lt;math&amp;gt;\lambda,\mu &amp;gt; 0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n \in \mathbb{N}&amp;lt;/math&amp;gt; be parameters, and &amp;lt;math&amp;gt;X \sim \mathrm{Pois}(\lambda), Y \sim \mathrm{Pois}(\mu)&amp;lt;/math&amp;gt; be independent random variables. Find out the conditional distribution of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;, given &amp;lt;math&amp;gt;X+Y = n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 3 (Linearity of Expectation, 10 points) ==&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Streak&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Suppose we flip a fair coin &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; times independently to obtain a sequence of flips &amp;lt;math&amp;gt;X_1, X_2, \ldots , X_n&amp;lt;/math&amp;gt;. A streak of flips is a consecutive subsequence of flips that are all the same. For example, if &amp;lt;math&amp;gt;X_3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;X_4&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;X_5&amp;lt;/math&amp;gt; are all heads, there is a streak of length &amp;lt;math&amp;gt;3&amp;lt;/math&amp;gt; starting at the third flip. (If &amp;lt;math&amp;gt;X_6&amp;lt;/math&amp;gt; is also heads, then there is also a streak of length &amp;lt;math&amp;gt;4&amp;lt;/math&amp;gt; starting at the third lip.) Find the expected number of streaks of length &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; for some integer &amp;lt;math&amp;gt;k \ge 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Number of cycles&amp;lt;/strong&amp;gt;] &lt;br /&gt;
At a banquet, there are &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; people who shake hands according to the following process: In each round, two idle hands are randomly selected and shaken (&amp;lt;strong&amp;gt;these two hands are no longer idle&amp;lt;/strong&amp;gt;). After &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; rounds, there will be no idle hands left, and the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; people will form several cycles. For example, when &amp;lt;math&amp;gt;n=3&amp;lt;/math&amp;gt;, the following situation may occur: the left and right hands of the first person are held together, the left hand of the second person and the right hand of the third person are held together, and the right hand of the second person and the left hand of the third person are held together. In this case, three people form two cycles. How many cycles are expected to be formed after &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; rounds?&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Card shuffling&amp;lt;/strong&amp;gt;]&lt;br /&gt;
A deck of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; cards, numbered &amp;lt;math&amp;gt;1&amp;lt;/math&amp;gt; through &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, is initially laid out in order so that card &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; is in position &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt;. At each step, a pair of distinct positions is chosen uniformly at random, and the two cards in those positions are swapped. This operation is repeated &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; times. Let &amp;lt;math&amp;gt;R_k&amp;lt;/math&amp;gt; be the random variable representing the number of cards that are in their original starting positions after &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; swaps. Calculate the expectation &amp;lt;math&amp;gt;\mathbf{E}[R_k]&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 4 (Probability meets graph theory, 14 points) ==&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Random social networks&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Let &amp;lt;math&amp;gt;G = (V, E)&amp;lt;/math&amp;gt; be a &amp;lt;strong&amp;gt;fixed&amp;lt;/strong&amp;gt; undirected graph without isolated vertex. &lt;br /&gt;
Let &amp;lt;math&amp;gt;d_v&amp;lt;/math&amp;gt; be the degree of vertex &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; be a uniformly chosen vertex, and &amp;lt;math&amp;gt;Z&amp;lt;/math&amp;gt; a uniformly chosen neighbor of &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Show that &amp;lt;math&amp;gt;\mathbf{E}[d_Z] \geq \mathbf{E}[d_Y]&amp;lt;/math&amp;gt;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Interpret this inequality in the context of social networks, in which the vertices represent people, and the edges represent friendship.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Erdős–Rényi random graph&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Consider &amp;lt;math&amp;gt;G\sim G(n,p)&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;G(n,p)&amp;lt;/math&amp;gt; is the Erdős–Rényi random graph model. Let &amp;lt;math&amp;gt;\ell \ge 3&amp;lt;/math&amp;gt; be a fixed integer, and let &amp;lt;math&amp;gt;N_{\ell}&amp;lt;/math&amp;gt; be the random variable representing the number of cycles of length exactly &amp;lt;math&amp;gt;\ell&amp;lt;/math&amp;gt; in graph &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt;. Find the expected value &amp;lt;math&amp;gt;\mathbf{E}[N_{\ell}]&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Turán&#039;s Theorem&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Let &amp;lt;math&amp;gt;G=(V,E)&amp;lt;/math&amp;gt; be a &amp;lt;strong&amp;gt;fixed&amp;lt;/strong&amp;gt; undirected graph, and write &amp;lt;math&amp;gt;d_v&amp;lt;/math&amp;gt; for the degree of the vertex &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt;. Use probabilistic method to prove that &amp;lt;math&amp;gt;\alpha(G) \ge \sum_{v \in V} \frac{1}{d_v + 1}&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\alpha(G)&amp;lt;/math&amp;gt; is the size of a maximum independent set. (Hint: Consider the following random procedure for generating an independent set &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; from a graph with vertex set &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt;: First, generate a random permutation of the vertices, denoted as &amp;lt;math&amp;gt;v_1,v_2,\ldots,v_n&amp;lt;/math&amp;gt;. Then, construct the independent set &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; as follows: For each vertex &amp;lt;math&amp;gt;v_i \in V&amp;lt;/math&amp;gt;, add &amp;lt;math&amp;gt;v_i&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; if and only if none of its predecessors in the permutation, i.e., &amp;lt;math&amp;gt;v_1,\ldots,v_{i-1}&amp;lt;/math&amp;gt;, are neighbors of &amp;lt;math&amp;gt;v_i&amp;lt;/math&amp;gt;.)&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Dominating set&amp;lt;/strong&amp;gt;]&lt;br /&gt;
A &#039;&#039;dominating set&#039;&#039; of vertices in an undirected graph &amp;lt;math&amp;gt;G = (V, E)&amp;lt;/math&amp;gt; is a set &amp;lt;math&amp;gt;S \subseteq V&amp;lt;/math&amp;gt; such that every vertex of&lt;br /&gt;
&amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; belongs to &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt; or has a neighbor in &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;G = (V, E)&amp;lt;/math&amp;gt; be an &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-vertex graph with minimum degree &amp;lt;math&amp;gt;d &amp;gt; 1&amp;lt;/math&amp;gt;. Prove that &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; has a dominating set with at most &amp;lt;math&amp;gt;\frac{n\left(1+\log(d+1)\right)}{d+1}&amp;lt;/math&amp;gt; vertices. (Hint: Consider a random vertex subset &amp;lt;math&amp;gt;S \subseteq V&amp;lt;/math&amp;gt; by including each vertex independently with&lt;br /&gt;
probability &amp;lt;math&amp;gt;p := \log(d + 1)/(d + 1)&amp;lt;/math&amp;gt;.)&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 5 (1D random walk, 8 points) ==&lt;br /&gt;
Let &amp;lt;math&amp;gt;p \in (0,1)&amp;lt;/math&amp;gt; be a constant, and &amp;lt;math&amp;gt;\{X_n\}_{n \ge 1}&amp;lt;/math&amp;gt; be independent Bernoulli trials with successful probability &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;.&lt;br /&gt;
Define &amp;lt;math&amp;gt;S_n = 2\sum_{i=1}^n X_i - n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;S_0 = 0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
[&amp;lt;strong&amp;gt;Range of random walk&amp;lt;/strong&amp;gt;] The range &amp;lt;math&amp;gt;R_n&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;S_0, S_1, \ldots, S_n&amp;lt;/math&amp;gt; is defined as the number of distinct values taken by the sequence. Show that &amp;lt;math&amp;gt;\mathbf{Pr}\left(R_n = R_{n-1}+1\right) = \mathbf{Pr}\left(\forall 1 \le i \le n, S_i \neq 0\right)&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;, and deduce that &amp;lt;math&amp;gt;n^{-1} \mathbf{E}[R_n]\to \mathbf{Pr}(\forall i \ge 1, S_i \neq 0)&amp;lt;/math&amp;gt;. Hence show that &amp;lt;math&amp;gt;n^{-1} \mathbf{E}[R_n] \to |2p-1|&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
[&amp;lt;strong&amp;gt;Symmetric 1D random walk&amp;lt;/strong&amp;gt;] Suppose &amp;lt;math&amp;gt;p = \frac{1}{2}&amp;lt;/math&amp;gt;. Prove that &amp;lt;math&amp;gt;\mathbf{E}[|S_n|] = \Theta(\sqrt{n})&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;/div&gt;</summary>
		<author><name>Zhe</name></author>
	</entry>
	<entry>
		<id>https://tcs.nju.edu.cn/wiki/index.php?title=%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1_(Spring_2026)/Problem_Set_2&amp;diff=13609</id>
		<title>概率论与数理统计 (Spring 2026)/Problem Set 2</title>
		<link rel="alternate" type="text/html" href="https://tcs.nju.edu.cn/wiki/index.php?title=%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1_(Spring_2026)/Problem_Set_2&amp;diff=13609"/>
		<updated>2026-04-08T01:54:20Z</updated>

		<summary type="html">&lt;p&gt;Zhe: /* Problem 3 (Linearity of Expectation, 10 points) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;font color=red&amp;gt;NOT FINISHED YET&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*每道题目的解答都要有完整的解题过程，中英文不限。&lt;br /&gt;
&lt;br /&gt;
*我们推荐大家使用LaTeX, markdown等对作业进行排版。&lt;br /&gt;
&lt;br /&gt;
*为督促大家认真完成平时作业、扎实掌握课程内容，本课程期末考试将从作业题目中&amp;lt;font color=red&amp;gt;随机抽取部分题目&amp;lt;/font&amp;gt;进行考查。请大家务必重视每一次作业，认真理解解题思路。&lt;br /&gt;
&lt;br /&gt;
*若考试中被抽取到的作业题目答错、答不完整或无法作答，将按照相关标准对作业进行&amp;lt;font color=red&amp;gt;扣分处理&amp;lt;/font&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
== Assumption throughout Problem Set 2==&lt;br /&gt;
&amp;lt;p&amp;gt;Without further notice, we are working on probability space &amp;lt;math&amp;gt;(\Omega,\mathcal{F},\mathbf{Pr})&amp;lt;/math&amp;gt;.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Without further notice, we assume that the expectation of random variables are well-defined.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;The term &amp;lt;math&amp;gt;\log&amp;lt;/math&amp;gt; used in this context refers to the natural logarithm.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 1 (Warm-up problems, 14 points) ==&lt;br /&gt;
* [&#039;&#039;&#039;Function of random variable&#039;&#039;&#039;] Let [math]X[/math] be a random variable and [math]g:\mathbb{R} \to \mathbb{R}[/math] be a continuous and strictly increasing function. Show that [math]Y = g(X)[/math] is a random variable.&amp;lt;/li&amp;gt;&lt;br /&gt;
* [&#039;&#039;&#039;Cumulative distribution function (CDF)&#039;&#039;&#039;] Express the distribution functions of [math]X^+ = \max\{0,X\}[/math], [math]X^- = -\min\{0,X\}[/math], [math]|X|=X^+ + X^-[/math], and [math]-X[/math], in terms of the distribution function [math]F[/math] of the random variable [math]X[/math].&lt;br /&gt;
* [&#039;&#039;&#039;Independence&#039;&#039;&#039;] Let &amp;lt;math&amp;gt;X_r&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;1\leq r\leq n&amp;lt;/math&amp;gt; be independent random variables which are symmetric about &amp;lt;math&amp;gt;0&amp;lt;/math&amp;gt;; that is, &amp;lt;math&amp;gt;X_r&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;-X_r&amp;lt;/math&amp;gt; have the same distributions. Show that, for all &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\mathbf{Pr}[S_n \geq x] = \mathbf{Pr}[S_n \leq -x]&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;S_n = \sum_{r=1}^n X_r&amp;lt;/math&amp;gt;. Is the conclusion true without the assumption of independence?&lt;br /&gt;
* [&#039;&#039;&#039;Expectation&#039;&#039;&#039;] Provide specific examples of a random variable &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; and a function &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt; for each of the following three scenarios. For each case, clearly define the probability distribution of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;, define the function &amp;lt;math&amp;gt;f(x)&amp;lt;/math&amp;gt;, and show the calculations for both &amp;lt;math&amp;gt;\mathbf{E}[f(X)]&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;f(\mathbf{E}[X])&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;math&amp;gt;\mathbf{E}[f(X)] = f(\mathbf{E}[X])&amp;lt;/math&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;math&amp;gt;\mathbf{E}[f(X)] &amp;gt; f(\mathbf{E}[X])&amp;lt;/math&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;math&amp;gt;\mathbf{E}[f(X)] &amp;lt; f(\mathbf{E}[X])&amp;lt;/math&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
* [&amp;lt;strong&amp;gt;Law of total expectation&amp;lt;/strong&amp;gt;] Let [math]X \sim \mathrm{Geom}(p)[/math] for some parameter [math]p \in (0,1)[/math]. Calculate [math]\mathbf{E}[X][/math] using the law of total expectation.&lt;br /&gt;
* [&amp;lt;strong&amp;gt;Random number of random variables&amp;lt;/strong&amp;gt;] Let &amp;lt;math&amp;gt;\{X_n\}_{n \ge 1}&amp;lt;/math&amp;gt; be identically distributed random variables and &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; be a random variable taking values in the non-negative integers and independent of the &amp;lt;math&amp;gt;X_n&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n \ge 1&amp;lt;/math&amp;gt;. Prove that &amp;lt;math&amp;gt;\mathbf{E}\left[\sum_{i=1}^N X_i\right] = \mathbf{E}[N] \mathbf{E}[X_1]&amp;lt;/math&amp;gt;.&lt;br /&gt;
* [&amp;lt;strong&amp;gt;Entropy of discrete random variable&amp;lt;/strong&amp;gt;] Let [math]X[/math] be a discrete random variable with range of values [math][N] = \{1,2,\ldots,N\}[/math] and probability mass function [math]p[/math]. Define [math]H(X) = -\sum_{n \in [N]} p(n) \log p(n)[/math] with convention [math]0\log 0 = 0[/math]. Prove that [math]H(X) \le \log N[/math] using Jensen&#039;s inequality.&lt;br /&gt;
&lt;br /&gt;
== Problem 2 (Discrete random variable, 14 points) ==&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Geometric distribution (I)&amp;lt;/strong&amp;gt;] Every package of some intrinsically dull commodity includes a small and exciting plastic object. There are [math]c[/math] different types of object, and each package is equally likely to contain any given type. You buy one package each day.&amp;lt;/p&amp;gt;&lt;br /&gt;
    &amp;lt;ol&amp;gt;&lt;br /&gt;
        &amp;lt;li&amp;gt;Find the expected number of days which elapse between the acquisitions of the [math]j[/math]-th new type of object and the [math](j + 1)[/math]-th new type.&amp;lt;/li&amp;gt;&lt;br /&gt;
        &amp;lt;li&amp;gt;Find the expected number of days which elapse before you have a full set of objects.&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Geometric distribution (II)&amp;lt;/strong&amp;gt;] Prove that geometric distribution is the only discrete memoryless distribution with range values &amp;lt;math&amp;gt;\mathbb{N}_+&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Binomial distribution&amp;lt;/strong&amp;gt;] Let &amp;lt;math&amp;gt;n_1,n_2 \in \mathbb{N}_+&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;0 \le p \le 1&amp;lt;/math&amp;gt; be parameters, and &amp;lt;math&amp;gt;X \sim \mathrm{Bin}(n_1,p),Y \sim \mathrm{Bin}(n_2,p)&amp;lt;/math&amp;gt; be independent random variables. Prove that &amp;lt;math&amp;gt;X+Y \sim \mathrm{Bin}(n_1+n_2,p)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Negative binomial distribution&amp;lt;/strong&amp;gt;] Let &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; follows the negative binomial distribution with parameter &amp;lt;math&amp;gt;r \in \mathbb{N}_+&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;p \in (0,1)&amp;lt;/math&amp;gt;. Calculate &amp;lt;math&amp;gt;\mathbf{Var}[X] = \mathbf{E}[X^2] - \left(\mathbf{E}[X]\right)^2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Hypergeometric distribution&amp;lt;/strong&amp;gt;] An urn contains [math]N[/math] balls, [math]b[/math] of which are blue and [math]r = N -b[/math] of which are red. A random sample of [math]n[/math] balls is drawn &amp;lt;strong&amp;gt;without replacement&amp;lt;/strong&amp;gt; (无放回) from the urn. Let [math]B[/math] the number of blue balls in this sample. Show that if [math]N, b[/math], and [math]r[/math] approach [math]+\infty[/math] in such a way that [math]b/N \rightarrow  p[/math] and [math]r/N \rightarrow 1 - p[/math], then [math]\mathbf{Pr}(B = k) \rightarrow {n\choose k}p^k(1-p)^{n-k}[/math] for [math]0\leq k \leq n[/math].&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Poisson distribution&amp;lt;/strong&amp;gt;] In your pocket is a random number &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; of coins, where &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; has the Poisson distribution with parameter &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;. You toss each coin once, with heads showing with probability &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; each time. Let &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; be the (random) number of heads outcomes and &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; be the (also random) number of tails.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Find the joint mass function of &amp;lt;math&amp;gt;(X,Y)&amp;lt;/math&amp;gt;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Find PDF of the marginal distribution of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;(X,Y)&amp;lt;/math&amp;gt;. Are &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; independent?&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Conditional distribution&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Let &amp;lt;math&amp;gt;\lambda,\mu &amp;gt; 0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n \in \mathbb{N}&amp;lt;/math&amp;gt; be parameters, and &amp;lt;math&amp;gt;X \sim \mathrm{Pois}(\lambda), Y \sim \mathrm{Pois}(\mu)&amp;lt;/math&amp;gt; be independent random variables. Find out the conditional distribution of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;, given &amp;lt;math&amp;gt;X+Y = n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 3 (Linearity of Expectation, 10 points) ==&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Streak&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Suppose we flip a fair coin &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; times independently to obtain a sequence of flips &amp;lt;math&amp;gt;X_1, X_2, \ldots , X_n&amp;lt;/math&amp;gt;. A streak of flips is a consecutive subsequence of flips that are all the same. For example, if &amp;lt;math&amp;gt;X_3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;X_4&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;X_5&amp;lt;/math&amp;gt; are all heads, there is a streak of length &amp;lt;math&amp;gt;3&amp;lt;/math&amp;gt; starting at the third flip. (If &amp;lt;math&amp;gt;X_6&amp;lt;/math&amp;gt; is also heads, then there is also a streak of length &amp;lt;math&amp;gt;4&amp;lt;/math&amp;gt; starting at the third lip.) Find the expected number of streaks of length &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; for some integer &amp;lt;math&amp;gt;k \ge 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Number of cycles&amp;lt;/strong&amp;gt;] &lt;br /&gt;
At a banquet, there are &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; people who shake hands according to the following process: In each round, two idle hands are randomly selected and shaken (&amp;lt;strong&amp;gt;these two hands are no longer idle&amp;lt;/strong&amp;gt;). After &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; rounds, there will be no idle hands left, and the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; people will form several cycles. For example, when &amp;lt;math&amp;gt;n=3&amp;lt;/math&amp;gt;, the following situation may occur: the left and right hands of the first person are held together, the left hand of the second person and the right hand of the third person are held together, and the right hand of the second person and the left hand of the third person are held together. In this case, three people form two cycles. How many cycles are expected to be formed after &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; rounds?&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Card shuffling&amp;lt;/strong&amp;gt;]&lt;br /&gt;
A deck of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; cards, numbered &amp;lt;math&amp;gt;1&amp;lt;/math&amp;gt; through &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, is initially laid out in order so that card &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; is in position &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt;. At each step, a pair of distinct positions is chosen uniformly at random, and the two cards in those positions are swapped. This operation is repeated &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; times. Let &amp;lt;math&amp;gt;R_k&amp;lt;/math&amp;gt; be the random variable representing the number of cards that are in their original starting positions after &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; swaps. Calculate the expectation &amp;lt;math&amp;gt;\mathbf{E}[R_k]&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 4 (Probability meets graph theory, 14 points) ==&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Random social networks&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Let &amp;lt;math&amp;gt;G = (V, E)&amp;lt;/math&amp;gt; be a &amp;lt;strong&amp;gt;fixed&amp;lt;/strong&amp;gt; undirected graph without isolating vertex. &lt;br /&gt;
Let &amp;lt;math&amp;gt;d_v&amp;lt;/math&amp;gt; be the degree of vertex &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; be a uniformly chosen vertex, and &amp;lt;math&amp;gt;Z&amp;lt;/math&amp;gt; a uniformly chosen neighbor of &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Show that &amp;lt;math&amp;gt;\mathbf{E}[d_Z] \geq \mathbf{E}[d_Y]&amp;lt;/math&amp;gt;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Interpret this inequality in the context of social networks, in which the vertices represent people, and the edges represent friendship.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Erdős–Rényi random graph&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Consider &amp;lt;math&amp;gt;G\sim G(n,p)&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;G(n,p)&amp;lt;/math&amp;gt; is the Erdős–Rényi random graph model. Let &amp;lt;math&amp;gt;\ell \ge 3&amp;lt;/math&amp;gt; be a fixed integer, and let &amp;lt;math&amp;gt;N_{\ell}&amp;lt;/math&amp;gt; be the random variable representing the number of cycles of length exactly &amp;lt;math&amp;gt;\ell&amp;lt;/math&amp;gt; in graph &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt;. Find the expected value &amp;lt;math&amp;gt;\mathbf{E}[N_{\ell}]&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Turán&#039;s Theorem&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Let &amp;lt;math&amp;gt;G=(V,E)&amp;lt;/math&amp;gt; be a &amp;lt;strong&amp;gt;fixed&amp;lt;/strong&amp;gt; undirected graph, and write &amp;lt;math&amp;gt;d_v&amp;lt;/math&amp;gt; for the degree of the vertex &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt;. Use probablistic method to prove that &amp;lt;math&amp;gt;\alpha(G) \ge \sum_{v \in V} \frac{1}{d_v + 1}&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\alpha(G)&amp;lt;/math&amp;gt; is the size of a maximum independent set. (Hint: Consider the following random procedure for generating an independent set &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; from a graph with vertex set &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt;: First, generate a random permutation of the vertices, denoted as &amp;lt;math&amp;gt;v_1,v_2,\ldots,v_n&amp;lt;/math&amp;gt;. Then, construct the independent set &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; as follows: For each vertex &amp;lt;math&amp;gt;v_i \in V&amp;lt;/math&amp;gt;, add &amp;lt;math&amp;gt;v_i&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; if and only if none of its predecessors in the permutation, i.e., &amp;lt;math&amp;gt;v_1,\ldots,v_{i-1}&amp;lt;/math&amp;gt;, are neighbors of &amp;lt;math&amp;gt;v_i&amp;lt;/math&amp;gt;.)&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Dominating set&amp;lt;/strong&amp;gt;]&lt;br /&gt;
A &#039;&#039;dominating set&#039;&#039; of vertices in an undirected graph &amp;lt;math&amp;gt;G = (V, E)&amp;lt;/math&amp;gt; is a set &amp;lt;math&amp;gt;S \subseteq V&amp;lt;/math&amp;gt; such that every vertex of&lt;br /&gt;
&amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; belongs to &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt; or has a neighbor in &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;G = (V, E)&amp;lt;/math&amp;gt; be an &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-vertex graph with minimum degree &amp;lt;math&amp;gt;d &amp;gt; 1&amp;lt;/math&amp;gt;. Prove that &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; has a dominating set with at most &amp;lt;math&amp;gt;\frac{n\left(1+\log(d+1)\right)}{d+1}&amp;lt;/math&amp;gt; vertices. (Hint: Consider a random vertex subset &amp;lt;math&amp;gt;S \subseteq V&amp;lt;/math&amp;gt; by including each vertex independently with&lt;br /&gt;
probability &amp;lt;math&amp;gt;p := \log(d + 1)/(d + 1)&amp;lt;/math&amp;gt;.)&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 5 (1D random walk, 8 points) ==&lt;br /&gt;
Let &amp;lt;math&amp;gt;p \in (0,1)&amp;lt;/math&amp;gt; be a constant, and &amp;lt;math&amp;gt;\{X_n\}_{n \ge 1}&amp;lt;/math&amp;gt; be independent Bernoulli trials with successful probability &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;.&lt;br /&gt;
Define &amp;lt;math&amp;gt;S_n = 2\sum_{i=1}^n X_i - n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;S_0 = 0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
[&amp;lt;strong&amp;gt;Range of random walk&amp;lt;/strong&amp;gt;] The range &amp;lt;math&amp;gt;R_n&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;S_0, S_1, \ldots, S_n&amp;lt;/math&amp;gt; is defined as the number of distinct values taken by the sequence. Show that &amp;lt;math&amp;gt;\mathbf{Pr}\left(R_n = R_{n-1}+1\right) = \mathbf{Pr}\left(\forall 1 \le i \le n, S_i \neq 0\right)&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;, and deduce that &amp;lt;math&amp;gt;n^{-1} \mathbf{E}[R_n]\to \mathbf{Pr}(\forall i \ge 1, S_i \neq 0)&amp;lt;/math&amp;gt;. Hence show that &amp;lt;math&amp;gt;n^{-1} \mathbf{E}[R_n] \to |2p-1|&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
[&amp;lt;strong&amp;gt;Symmetric 1D random walk&amp;lt;/strong&amp;gt;] Suppose &amp;lt;math&amp;gt;p = \frac{1}{2}&amp;lt;/math&amp;gt;. Prove that &amp;lt;math&amp;gt;\mathbf{E}[|S_n|] = \Theta(\sqrt{n})&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;/div&gt;</summary>
		<author><name>Zhe</name></author>
	</entry>
	<entry>
		<id>https://tcs.nju.edu.cn/wiki/index.php?title=%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1_(Spring_2026)/Problem_Set_2&amp;diff=13608</id>
		<title>概率论与数理统计 (Spring 2026)/Problem Set 2</title>
		<link rel="alternate" type="text/html" href="https://tcs.nju.edu.cn/wiki/index.php?title=%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1_(Spring_2026)/Problem_Set_2&amp;diff=13608"/>
		<updated>2026-04-08T01:52:19Z</updated>

		<summary type="html">&lt;p&gt;Zhe: /* Problem 1 (Warm-up problems, 14 points) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;font color=red&amp;gt;NOT FINISHED YET&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*每道题目的解答都要有完整的解题过程，中英文不限。&lt;br /&gt;
&lt;br /&gt;
*我们推荐大家使用LaTeX, markdown等对作业进行排版。&lt;br /&gt;
&lt;br /&gt;
*为督促大家认真完成平时作业、扎实掌握课程内容，本课程期末考试将从作业题目中&amp;lt;font color=red&amp;gt;随机抽取部分题目&amp;lt;/font&amp;gt;进行考查。请大家务必重视每一次作业，认真理解解题思路。&lt;br /&gt;
&lt;br /&gt;
*若考试中被抽取到的作业题目答错、答不完整或无法作答，将按照相关标准对作业进行&amp;lt;font color=red&amp;gt;扣分处理&amp;lt;/font&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
== Assumption throughout Problem Set 2==&lt;br /&gt;
&amp;lt;p&amp;gt;Without further notice, we are working on probability space &amp;lt;math&amp;gt;(\Omega,\mathcal{F},\mathbf{Pr})&amp;lt;/math&amp;gt;.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Without further notice, we assume that the expectation of random variables are well-defined.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;The term &amp;lt;math&amp;gt;\log&amp;lt;/math&amp;gt; used in this context refers to the natural logarithm.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 1 (Warm-up problems, 14 points) ==&lt;br /&gt;
* [&#039;&#039;&#039;Function of random variable&#039;&#039;&#039;] Let [math]X[/math] be a random variable and [math]g:\mathbb{R} \to \mathbb{R}[/math] be a continuous and strictly increasing function. Show that [math]Y = g(X)[/math] is a random variable.&amp;lt;/li&amp;gt;&lt;br /&gt;
* [&#039;&#039;&#039;Cumulative distribution function (CDF)&#039;&#039;&#039;] Express the distribution functions of [math]X^+ = \max\{0,X\}[/math], [math]X^- = -\min\{0,X\}[/math], [math]|X|=X^+ + X^-[/math], and [math]-X[/math], in terms of the distribution function [math]F[/math] of the random variable [math]X[/math].&lt;br /&gt;
* [&#039;&#039;&#039;Independence&#039;&#039;&#039;] Let &amp;lt;math&amp;gt;X_r&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;1\leq r\leq n&amp;lt;/math&amp;gt; be independent random variables which are symmetric about &amp;lt;math&amp;gt;0&amp;lt;/math&amp;gt;; that is, &amp;lt;math&amp;gt;X_r&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;-X_r&amp;lt;/math&amp;gt; have the same distributions. Show that, for all &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\mathbf{Pr}[S_n \geq x] = \mathbf{Pr}[S_n \leq -x]&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;S_n = \sum_{r=1}^n X_r&amp;lt;/math&amp;gt;. Is the conclusion true without the assumption of independence?&lt;br /&gt;
* [&#039;&#039;&#039;Expectation&#039;&#039;&#039;] Provide specific examples of a random variable &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; and a function &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt; for each of the following three scenarios. For each case, clearly define the probability distribution of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;, define the function &amp;lt;math&amp;gt;f(x)&amp;lt;/math&amp;gt;, and show the calculations for both &amp;lt;math&amp;gt;\mathbf{E}[f(X)]&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;f(\mathbf{E}[X])&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;math&amp;gt;\mathbf{E}[f(X)] = f(\mathbf{E}[X])&amp;lt;/math&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;math&amp;gt;\mathbf{E}[f(X)] &amp;gt; f(\mathbf{E}[X])&amp;lt;/math&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;math&amp;gt;\mathbf{E}[f(X)] &amp;lt; f(\mathbf{E}[X])&amp;lt;/math&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
* [&amp;lt;strong&amp;gt;Law of total expectation&amp;lt;/strong&amp;gt;] Let [math]X \sim \mathrm{Geom}(p)[/math] for some parameter [math]p \in (0,1)[/math]. Calculate [math]\mathbf{E}[X][/math] using the law of total expectation.&lt;br /&gt;
* [&amp;lt;strong&amp;gt;Random number of random variables&amp;lt;/strong&amp;gt;] Let &amp;lt;math&amp;gt;\{X_n\}_{n \ge 1}&amp;lt;/math&amp;gt; be identically distributed random variables and &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; be a random variable taking values in the non-negative integers and independent of the &amp;lt;math&amp;gt;X_n&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n \ge 1&amp;lt;/math&amp;gt;. Prove that &amp;lt;math&amp;gt;\mathbf{E}\left[\sum_{i=1}^N X_i\right] = \mathbf{E}[N] \mathbf{E}[X_1]&amp;lt;/math&amp;gt;.&lt;br /&gt;
* [&amp;lt;strong&amp;gt;Entropy of discrete random variable&amp;lt;/strong&amp;gt;] Let [math]X[/math] be a discrete random variable with range of values [math][N] = \{1,2,\ldots,N\}[/math] and probability mass function [math]p[/math]. Define [math]H(X) = -\sum_{n \in [N]} p(n) \log p(n)[/math] with convention [math]0\log 0 = 0[/math]. Prove that [math]H(X) \le \log N[/math] using Jensen&#039;s inequality.&lt;br /&gt;
&lt;br /&gt;
== Problem 2 (Discrete random variable, 14 points) ==&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Geometric distribution (I)&amp;lt;/strong&amp;gt;] Every package of some intrinsically dull commodity includes a small and exciting plastic object. There are [math]c[/math] different types of object, and each package is equally likely to contain any given type. You buy one package each day.&amp;lt;/p&amp;gt;&lt;br /&gt;
    &amp;lt;ol&amp;gt;&lt;br /&gt;
        &amp;lt;li&amp;gt;Find the expected number of days which elapse between the acquisitions of the [math]j[/math]-th new type of object and the [math](j + 1)[/math]-th new type.&amp;lt;/li&amp;gt;&lt;br /&gt;
        &amp;lt;li&amp;gt;Find the expected number of days which elapse before you have a full set of objects.&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Geometric distribution (II)&amp;lt;/strong&amp;gt;] Prove that geometric distribution is the only discrete memoryless distribution with range values &amp;lt;math&amp;gt;\mathbb{N}_+&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Binomial distribution&amp;lt;/strong&amp;gt;] Let &amp;lt;math&amp;gt;n_1,n_2 \in \mathbb{N}_+&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;0 \le p \le 1&amp;lt;/math&amp;gt; be parameters, and &amp;lt;math&amp;gt;X \sim \mathrm{Bin}(n_1,p),Y \sim \mathrm{Bin}(n_2,p)&amp;lt;/math&amp;gt; be independent random variables. Prove that &amp;lt;math&amp;gt;X+Y \sim \mathrm{Bin}(n_1+n_2,p)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Negative binomial distribution&amp;lt;/strong&amp;gt;] Let &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; follows the negative binomial distribution with parameter &amp;lt;math&amp;gt;r \in \mathbb{N}_+&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;p \in (0,1)&amp;lt;/math&amp;gt;. Calculate &amp;lt;math&amp;gt;\mathbf{Var}[X] = \mathbf{E}[X^2] - \left(\mathbf{E}[X]\right)^2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Hypergeometric distribution&amp;lt;/strong&amp;gt;] An urn contains [math]N[/math] balls, [math]b[/math] of which are blue and [math]r = N -b[/math] of which are red. A random sample of [math]n[/math] balls is drawn &amp;lt;strong&amp;gt;without replacement&amp;lt;/strong&amp;gt; (无放回) from the urn. Let [math]B[/math] the number of blue balls in this sample. Show that if [math]N, b[/math], and [math]r[/math] approach [math]+\infty[/math] in such a way that [math]b/N \rightarrow  p[/math] and [math]r/N \rightarrow 1 - p[/math], then [math]\mathbf{Pr}(B = k) \rightarrow {n\choose k}p^k(1-p)^{n-k}[/math] for [math]0\leq k \leq n[/math].&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Poisson distribution&amp;lt;/strong&amp;gt;] In your pocket is a random number &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; of coins, where &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; has the Poisson distribution with parameter &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;. You toss each coin once, with heads showing with probability &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; each time. Let &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; be the (random) number of heads outcomes and &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; be the (also random) number of tails.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Find the joint mass function of &amp;lt;math&amp;gt;(X,Y)&amp;lt;/math&amp;gt;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Find PDF of the marginal distribution of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;(X,Y)&amp;lt;/math&amp;gt;. Are &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; independent?&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Conditional distribution&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Let &amp;lt;math&amp;gt;\lambda,\mu &amp;gt; 0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n \in \mathbb{N}&amp;lt;/math&amp;gt; be parameters, and &amp;lt;math&amp;gt;X \sim \mathrm{Pois}(\lambda), Y \sim \mathrm{Pois}(\mu)&amp;lt;/math&amp;gt; be independent random variables. Find out the conditional distribution of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;, given &amp;lt;math&amp;gt;X+Y = n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 3 (Linearity of Expectation, 10 points) ==&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Streak&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Suppose we flip a fair coin &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; times independently to obtain a sequence of flips &amp;lt;math&amp;gt;X_1, X_2, \ldots , X_n&amp;lt;/math&amp;gt;. A streak of flips is a consecutive subsequence of flips that are all the same. For example, if &amp;lt;math&amp;gt;X_3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;X_4&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;X_5&amp;lt;/math&amp;gt; are all heads, there is a streak of length &amp;lt;math&amp;gt;3&amp;lt;/math&amp;gt; starting at the third lip. (If &amp;lt;math&amp;gt;X_6&amp;lt;/math&amp;gt; is also heads, then there is also a streak of length &amp;lt;math&amp;gt;4&amp;lt;/math&amp;gt; starting at the third lip.) Find the expected number of streaks of length &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; for some integer &amp;lt;math&amp;gt;k \ge 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Number of cycles&amp;lt;/strong&amp;gt;] &lt;br /&gt;
At a banquet, there are &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; people who shake hands according to the following process: In each round, two idle hands are randomly selected and shaken (&amp;lt;strong&amp;gt;these two hands are no longer idle&amp;lt;/strong&amp;gt;). After &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; rounds, there will be no idle hands left, and the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; people will form several cycles. For example, when &amp;lt;math&amp;gt;n=3&amp;lt;/math&amp;gt;, the following situation may occur: the left and right hands of the first person are held together, the left hand of the second person and the right hand of the third person are held together, and the right hand of the second person and the left hand of the third person are held together. In this case, three people form two cycles. How many cycles are expected to be formed after &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; rounds?&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Card shuffling&amp;lt;/strong&amp;gt;]&lt;br /&gt;
A deck of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; cards, numbered &amp;lt;math&amp;gt;1&amp;lt;/math&amp;gt; through &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, is initially laid out in order so that card &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; is in position &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt;. At each step, a pair of distinct positions is chosen uniformly at random, and the two cards in those positions are swapped. This operation is repeated &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; times. Let &amp;lt;math&amp;gt;R_k&amp;lt;/math&amp;gt; be the random variable representing the number of cards that are in their original starting positions after &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; swaps. Calculate the expectation &amp;lt;math&amp;gt;\mathbf{E}[R_k]&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 4 (Probability meets graph theory, 14 points) ==&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Random social networks&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Let &amp;lt;math&amp;gt;G = (V, E)&amp;lt;/math&amp;gt; be a &amp;lt;strong&amp;gt;fixed&amp;lt;/strong&amp;gt; undirected graph without isolating vertex. &lt;br /&gt;
Let &amp;lt;math&amp;gt;d_v&amp;lt;/math&amp;gt; be the degree of vertex &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; be a uniformly chosen vertex, and &amp;lt;math&amp;gt;Z&amp;lt;/math&amp;gt; a uniformly chosen neighbor of &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Show that &amp;lt;math&amp;gt;\mathbf{E}[d_Z] \geq \mathbf{E}[d_Y]&amp;lt;/math&amp;gt;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Interpret this inequality in the context of social networks, in which the vertices represent people, and the edges represent friendship.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Erdős–Rényi random graph&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Consider &amp;lt;math&amp;gt;G\sim G(n,p)&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;G(n,p)&amp;lt;/math&amp;gt; is the Erdős–Rényi random graph model. Let &amp;lt;math&amp;gt;\ell \ge 3&amp;lt;/math&amp;gt; be a fixed integer, and let &amp;lt;math&amp;gt;N_{\ell}&amp;lt;/math&amp;gt; be the random variable representing the number of cycles of length exactly &amp;lt;math&amp;gt;\ell&amp;lt;/math&amp;gt; in graph &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt;. Find the expected value &amp;lt;math&amp;gt;\mathbf{E}[N_{\ell}]&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Turán&#039;s Theorem&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Let &amp;lt;math&amp;gt;G=(V,E)&amp;lt;/math&amp;gt; be a &amp;lt;strong&amp;gt;fixed&amp;lt;/strong&amp;gt; undirected graph, and write &amp;lt;math&amp;gt;d_v&amp;lt;/math&amp;gt; for the degree of the vertex &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt;. Use probablistic method to prove that &amp;lt;math&amp;gt;\alpha(G) \ge \sum_{v \in V} \frac{1}{d_v + 1}&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\alpha(G)&amp;lt;/math&amp;gt; is the size of a maximum independent set. (Hint: Consider the following random procedure for generating an independent set &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; from a graph with vertex set &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt;: First, generate a random permutation of the vertices, denoted as &amp;lt;math&amp;gt;v_1,v_2,\ldots,v_n&amp;lt;/math&amp;gt;. Then, construct the independent set &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; as follows: For each vertex &amp;lt;math&amp;gt;v_i \in V&amp;lt;/math&amp;gt;, add &amp;lt;math&amp;gt;v_i&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; if and only if none of its predecessors in the permutation, i.e., &amp;lt;math&amp;gt;v_1,\ldots,v_{i-1}&amp;lt;/math&amp;gt;, are neighbors of &amp;lt;math&amp;gt;v_i&amp;lt;/math&amp;gt;.)&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Dominating set&amp;lt;/strong&amp;gt;]&lt;br /&gt;
A &#039;&#039;dominating set&#039;&#039; of vertices in an undirected graph &amp;lt;math&amp;gt;G = (V, E)&amp;lt;/math&amp;gt; is a set &amp;lt;math&amp;gt;S \subseteq V&amp;lt;/math&amp;gt; such that every vertex of&lt;br /&gt;
&amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; belongs to &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt; or has a neighbor in &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;G = (V, E)&amp;lt;/math&amp;gt; be an &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-vertex graph with minimum degree &amp;lt;math&amp;gt;d &amp;gt; 1&amp;lt;/math&amp;gt;. Prove that &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; has a dominating set with at most &amp;lt;math&amp;gt;\frac{n\left(1+\log(d+1)\right)}{d+1}&amp;lt;/math&amp;gt; vertices. (Hint: Consider a random vertex subset &amp;lt;math&amp;gt;S \subseteq V&amp;lt;/math&amp;gt; by including each vertex independently with&lt;br /&gt;
probability &amp;lt;math&amp;gt;p := \log(d + 1)/(d + 1)&amp;lt;/math&amp;gt;.)&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 5 (1D random walk, 8 points) ==&lt;br /&gt;
Let &amp;lt;math&amp;gt;p \in (0,1)&amp;lt;/math&amp;gt; be a constant, and &amp;lt;math&amp;gt;\{X_n\}_{n \ge 1}&amp;lt;/math&amp;gt; be independent Bernoulli trials with successful probability &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;.&lt;br /&gt;
Define &amp;lt;math&amp;gt;S_n = 2\sum_{i=1}^n X_i - n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;S_0 = 0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
[&amp;lt;strong&amp;gt;Range of random walk&amp;lt;/strong&amp;gt;] The range &amp;lt;math&amp;gt;R_n&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;S_0, S_1, \ldots, S_n&amp;lt;/math&amp;gt; is defined as the number of distinct values taken by the sequence. Show that &amp;lt;math&amp;gt;\mathbf{Pr}\left(R_n = R_{n-1}+1\right) = \mathbf{Pr}\left(\forall 1 \le i \le n, S_i \neq 0\right)&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;, and deduce that &amp;lt;math&amp;gt;n^{-1} \mathbf{E}[R_n]\to \mathbf{Pr}(\forall i \ge 1, S_i \neq 0)&amp;lt;/math&amp;gt;. Hence show that &amp;lt;math&amp;gt;n^{-1} \mathbf{E}[R_n] \to |2p-1|&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
[&amp;lt;strong&amp;gt;Symmetric 1D random walk&amp;lt;/strong&amp;gt;] Suppose &amp;lt;math&amp;gt;p = \frac{1}{2}&amp;lt;/math&amp;gt;. Prove that &amp;lt;math&amp;gt;\mathbf{E}[|S_n|] = \Theta(\sqrt{n})&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;/div&gt;</summary>
		<author><name>Zhe</name></author>
	</entry>
	<entry>
		<id>https://tcs.nju.edu.cn/wiki/index.php?title=%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1_(Spring_2026)/Problem_Set_2&amp;diff=13607</id>
		<title>概率论与数理统计 (Spring 2026)/Problem Set 2</title>
		<link rel="alternate" type="text/html" href="https://tcs.nju.edu.cn/wiki/index.php?title=%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1_(Spring_2026)/Problem_Set_2&amp;diff=13607"/>
		<updated>2026-04-08T01:48:11Z</updated>

		<summary type="html">&lt;p&gt;Zhe: /* Problem 1 (Warm-up problems, 14 points) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;font color=red&amp;gt;NOT FINISHED YET&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*每道题目的解答都要有完整的解题过程，中英文不限。&lt;br /&gt;
&lt;br /&gt;
*我们推荐大家使用LaTeX, markdown等对作业进行排版。&lt;br /&gt;
&lt;br /&gt;
*为督促大家认真完成平时作业、扎实掌握课程内容，本课程期末考试将从作业题目中&amp;lt;font color=red&amp;gt;随机抽取部分题目&amp;lt;/font&amp;gt;进行考查。请大家务必重视每一次作业，认真理解解题思路。&lt;br /&gt;
&lt;br /&gt;
*若考试中被抽取到的作业题目答错、答不完整或无法作答，将按照相关标准对作业进行&amp;lt;font color=red&amp;gt;扣分处理&amp;lt;/font&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
== Assumption throughout Problem Set 2==&lt;br /&gt;
&amp;lt;p&amp;gt;Without further notice, we are working on probability space &amp;lt;math&amp;gt;(\Omega,\mathcal{F},\mathbf{Pr})&amp;lt;/math&amp;gt;.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Without further notice, we assume that the expectation of random variables are well-defined.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;The term &amp;lt;math&amp;gt;\log&amp;lt;/math&amp;gt; used in this context refers to the natural logarithm.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 1 (Warm-up problems, 14 points) ==&lt;br /&gt;
* [&#039;&#039;&#039;Function of random variable&#039;&#039;&#039;] Let [math]X[/math] be a random variable and [math]g:\mathbb{R} \to \mathbb{R}[/math] be a continuous and strictly increasing function. Show that [math]Y = g(X)[/math] is a random variable.&amp;lt;/li&amp;gt;&lt;br /&gt;
* [&#039;&#039;&#039;Cumulative distribution function (CDF)&#039;&#039;&#039;] Express the distribution functions of [math]X^+ = \max\{0,X\}[/math], [math]X^- = -\min\{0,X\}[/math], [math]|X|=X^+ + X^-[/math], and [math]-X[/math], in terms of the distribution function [math]F[/math] of the random variable [math]X[/math].&lt;br /&gt;
* [&#039;&#039;&#039;Independence&#039;&#039;&#039;] Let &amp;lt;math&amp;gt;X_r&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;1\leq r\leq n&amp;lt;/math&amp;gt; be independent random variables which are symmetric about &amp;lt;math&amp;gt;0&amp;lt;/math&amp;gt;; that is, &amp;lt;math&amp;gt;X_r&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;-X_r&amp;lt;/math&amp;gt; have the same distributions. Show that, for all &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\mathbf{Pr}[S_n \geq x] = \mathbf{Pr}[S_n \leq -x]&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;S_n = \sum_{r=1}^n X_r&amp;lt;/math&amp;gt;. Is the conclusion true without the assumption of independence?&lt;br /&gt;
* [&#039;&#039;&#039;Expectation&#039;&#039;&#039;] Provide specific examples of a random variable &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; and a function &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt; for each of the following three scenarios. For each case, clearly define the probability distribution of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;, define the function &amp;lt;math&amp;gt;f(x)&amp;lt;/math&amp;gt;, and show the calculations for both &amp;lt;math&amp;gt;\mathbf{E}[f(X)]&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;f(\mathbf{E}[X])&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;math&amp;gt;\mathbf{E}[f(X)] = f(\mathbf{E}[X])&amp;lt;/math&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;math&amp;gt;\mathbf{E}[f(X)] &amp;gt; f(\mathbf{E}[X])&amp;lt;/math&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;math&amp;gt;\mathbf{E}[f(X)] &amp;lt; f(\mathbf{E}[X])&amp;lt;/math&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
* [&amp;lt;strong&amp;gt;Law of total expectation&amp;lt;/strong&amp;gt;] Let [math]X \sim \mathrm{Geom}(p)[/math] for some parameter [math]p \in (0,1)[/math]. Calculate [math]\mathbf{E}[X][/math] using the law of total expectation.&lt;br /&gt;
* [&amp;lt;strong&amp;gt;Random number of random variables&amp;lt;/strong&amp;gt;] Let &amp;lt;math&amp;gt;\{X_n\}_{n \ge 1}&amp;lt;/math&amp;gt; be identically distributed random variables and &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; be a random variable taking values in the non-negative integers and independent of the &amp;lt;math&amp;gt;X_n&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n \ge 1&amp;lt;/math&amp;gt;. Prove that &amp;lt;math&amp;gt;\mathbf{E}\left[\sum_{i=1}^N X_i\right] = \mathbf{E}[N] \mathbf{E}[X_1]&amp;lt;/math&amp;gt;.&lt;br /&gt;
* [&amp;lt;strong&amp;gt;Entropy of discrete random variable&amp;lt;/strong&amp;gt;] Let [math]X[/math] be a discrete random variable with range of values [math][N] = \{1,2,\ldots,N\}[/math] and probability mass function [math]p[/math]. Define [math]H(X) = -\sum_{n \ge 1} p(n) \log p(n)[/math] with convention [math]0\log 0 = 0[/math]. Prove that [math]H(X) \le \log N[/math] using Jensen&#039;s inequality.&lt;br /&gt;
&lt;br /&gt;
== Problem 2 (Discrete random variable, 14 points) ==&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Geometric distribution (I)&amp;lt;/strong&amp;gt;] Every package of some intrinsically dull commodity includes a small and exciting plastic object. There are [math]c[/math] different types of object, and each package is equally likely to contain any given type. You buy one package each day.&amp;lt;/p&amp;gt;&lt;br /&gt;
    &amp;lt;ol&amp;gt;&lt;br /&gt;
        &amp;lt;li&amp;gt;Find the expected number of days which elapse between the acquisitions of the [math]j[/math]-th new type of object and the [math](j + 1)[/math]-th new type.&amp;lt;/li&amp;gt;&lt;br /&gt;
        &amp;lt;li&amp;gt;Find the expected number of days which elapse before you have a full set of objects.&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Geometric distribution (II)&amp;lt;/strong&amp;gt;] Prove that geometric distribution is the only discrete memoryless distribution with range values &amp;lt;math&amp;gt;\mathbb{N}_+&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Binomial distribution&amp;lt;/strong&amp;gt;] Let &amp;lt;math&amp;gt;n_1,n_2 \in \mathbb{N}_+&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;0 \le p \le 1&amp;lt;/math&amp;gt; be parameters, and &amp;lt;math&amp;gt;X \sim \mathrm{Bin}(n_1,p),Y \sim \mathrm{Bin}(n_2,p)&amp;lt;/math&amp;gt; be independent random variables. Prove that &amp;lt;math&amp;gt;X+Y \sim \mathrm{Bin}(n_1+n_2,p)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Negative binomial distribution&amp;lt;/strong&amp;gt;] Let &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; follows the negative binomial distribution with parameter &amp;lt;math&amp;gt;r \in \mathbb{N}_+&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;p \in (0,1)&amp;lt;/math&amp;gt;. Calculate &amp;lt;math&amp;gt;\mathbf{Var}[X] = \mathbf{E}[X^2] - \left(\mathbf{E}[X]\right)^2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Hypergeometric distribution&amp;lt;/strong&amp;gt;] An urn contains [math]N[/math] balls, [math]b[/math] of which are blue and [math]r = N -b[/math] of which are red. A random sample of [math]n[/math] balls is drawn &amp;lt;strong&amp;gt;without replacement&amp;lt;/strong&amp;gt; (无放回) from the urn. Let [math]B[/math] the number of blue balls in this sample. Show that if [math]N, b[/math], and [math]r[/math] approach [math]+\infty[/math] in such a way that [math]b/N \rightarrow  p[/math] and [math]r/N \rightarrow 1 - p[/math], then [math]\mathbf{Pr}(B = k) \rightarrow {n\choose k}p^k(1-p)^{n-k}[/math] for [math]0\leq k \leq n[/math].&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Poisson distribution&amp;lt;/strong&amp;gt;] In your pocket is a random number &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; of coins, where &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; has the Poisson distribution with parameter &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;. You toss each coin once, with heads showing with probability &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; each time. Let &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; be the (random) number of heads outcomes and &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; be the (also random) number of tails.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Find the joint mass function of &amp;lt;math&amp;gt;(X,Y)&amp;lt;/math&amp;gt;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Find PDF of the marginal distribution of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;(X,Y)&amp;lt;/math&amp;gt;. Are &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; independent?&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Conditional distribution&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Let &amp;lt;math&amp;gt;\lambda,\mu &amp;gt; 0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n \in \mathbb{N}&amp;lt;/math&amp;gt; be parameters, and &amp;lt;math&amp;gt;X \sim \mathrm{Pois}(\lambda), Y \sim \mathrm{Pois}(\mu)&amp;lt;/math&amp;gt; be independent random variables. Find out the conditional distribution of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;, given &amp;lt;math&amp;gt;X+Y = n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 3 (Linearity of Expectation, 10 points) ==&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Streak&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Suppose we flip a fair coin &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; times independently to obtain a sequence of flips &amp;lt;math&amp;gt;X_1, X_2, \ldots , X_n&amp;lt;/math&amp;gt;. A streak of flips is a consecutive subsequence of flips that are all the same. For example, if &amp;lt;math&amp;gt;X_3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;X_4&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;X_5&amp;lt;/math&amp;gt; are all heads, there is a streak of length &amp;lt;math&amp;gt;3&amp;lt;/math&amp;gt; starting at the third lip. (If &amp;lt;math&amp;gt;X_6&amp;lt;/math&amp;gt; is also heads, then there is also a streak of length &amp;lt;math&amp;gt;4&amp;lt;/math&amp;gt; starting at the third lip.) Find the expected number of streaks of length &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; for some integer &amp;lt;math&amp;gt;k \ge 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Number of cycles&amp;lt;/strong&amp;gt;] &lt;br /&gt;
At a banquet, there are &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; people who shake hands according to the following process: In each round, two idle hands are randomly selected and shaken (&amp;lt;strong&amp;gt;these two hands are no longer idle&amp;lt;/strong&amp;gt;). After &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; rounds, there will be no idle hands left, and the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; people will form several cycles. For example, when &amp;lt;math&amp;gt;n=3&amp;lt;/math&amp;gt;, the following situation may occur: the left and right hands of the first person are held together, the left hand of the second person and the right hand of the third person are held together, and the right hand of the second person and the left hand of the third person are held together. In this case, three people form two cycles. How many cycles are expected to be formed after &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; rounds?&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Card shuffling&amp;lt;/strong&amp;gt;]&lt;br /&gt;
A deck of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; cards, numbered &amp;lt;math&amp;gt;1&amp;lt;/math&amp;gt; through &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, is initially laid out in order so that card &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; is in position &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt;. At each step, a pair of distinct positions is chosen uniformly at random, and the two cards in those positions are swapped. This operation is repeated &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; times. Let &amp;lt;math&amp;gt;R_k&amp;lt;/math&amp;gt; be the random variable representing the number of cards that are in their original starting positions after &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; swaps. Calculate the expectation &amp;lt;math&amp;gt;\mathbf{E}[R_k]&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 4 (Probability meets graph theory, 14 points) ==&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Random social networks&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Let &amp;lt;math&amp;gt;G = (V, E)&amp;lt;/math&amp;gt; be a &amp;lt;strong&amp;gt;fixed&amp;lt;/strong&amp;gt; undirected graph without isolating vertex. &lt;br /&gt;
Let &amp;lt;math&amp;gt;d_v&amp;lt;/math&amp;gt; be the degree of vertex &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; be a uniformly chosen vertex, and &amp;lt;math&amp;gt;Z&amp;lt;/math&amp;gt; a uniformly chosen neighbor of &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Show that &amp;lt;math&amp;gt;\mathbf{E}[d_Z] \geq \mathbf{E}[d_Y]&amp;lt;/math&amp;gt;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Interpret this inequality in the context of social networks, in which the vertices represent people, and the edges represent friendship.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Erdős–Rényi random graph&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Consider &amp;lt;math&amp;gt;G\sim G(n,p)&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;G(n,p)&amp;lt;/math&amp;gt; is the Erdős–Rényi random graph model. Let &amp;lt;math&amp;gt;\ell \ge 3&amp;lt;/math&amp;gt; be a fixed integer, and let &amp;lt;math&amp;gt;N_{\ell}&amp;lt;/math&amp;gt; be the random variable representing the number of cycles of length exactly &amp;lt;math&amp;gt;\ell&amp;lt;/math&amp;gt; in graph &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt;. Find the expected value &amp;lt;math&amp;gt;\mathbf{E}[N_{\ell}]&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Turán&#039;s Theorem&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Let &amp;lt;math&amp;gt;G=(V,E)&amp;lt;/math&amp;gt; be a &amp;lt;strong&amp;gt;fixed&amp;lt;/strong&amp;gt; undirected graph, and write &amp;lt;math&amp;gt;d_v&amp;lt;/math&amp;gt; for the degree of the vertex &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt;. Use probablistic method to prove that &amp;lt;math&amp;gt;\alpha(G) \ge \sum_{v \in V} \frac{1}{d_v + 1}&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\alpha(G)&amp;lt;/math&amp;gt; is the size of a maximum independent set. (Hint: Consider the following random procedure for generating an independent set &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; from a graph with vertex set &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt;: First, generate a random permutation of the vertices, denoted as &amp;lt;math&amp;gt;v_1,v_2,\ldots,v_n&amp;lt;/math&amp;gt;. Then, construct the independent set &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; as follows: For each vertex &amp;lt;math&amp;gt;v_i \in V&amp;lt;/math&amp;gt;, add &amp;lt;math&amp;gt;v_i&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; if and only if none of its predecessors in the permutation, i.e., &amp;lt;math&amp;gt;v_1,\ldots,v_{i-1}&amp;lt;/math&amp;gt;, are neighbors of &amp;lt;math&amp;gt;v_i&amp;lt;/math&amp;gt;.)&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Dominating set&amp;lt;/strong&amp;gt;]&lt;br /&gt;
A &#039;&#039;dominating set&#039;&#039; of vertices in an undirected graph &amp;lt;math&amp;gt;G = (V, E)&amp;lt;/math&amp;gt; is a set &amp;lt;math&amp;gt;S \subseteq V&amp;lt;/math&amp;gt; such that every vertex of&lt;br /&gt;
&amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; belongs to &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt; or has a neighbor in &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;G = (V, E)&amp;lt;/math&amp;gt; be an &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-vertex graph with minimum degree &amp;lt;math&amp;gt;d &amp;gt; 1&amp;lt;/math&amp;gt;. Prove that &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; has a dominating set with at most &amp;lt;math&amp;gt;\frac{n\left(1+\log(d+1)\right)}{d+1}&amp;lt;/math&amp;gt; vertices. (Hint: Consider a random vertex subset &amp;lt;math&amp;gt;S \subseteq V&amp;lt;/math&amp;gt; by including each vertex independently with&lt;br /&gt;
probability &amp;lt;math&amp;gt;p := \log(d + 1)/(d + 1)&amp;lt;/math&amp;gt;.)&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 5 (1D random walk, 8 points) ==&lt;br /&gt;
Let &amp;lt;math&amp;gt;p \in (0,1)&amp;lt;/math&amp;gt; be a constant, and &amp;lt;math&amp;gt;\{X_n\}_{n \ge 1}&amp;lt;/math&amp;gt; be independent Bernoulli trials with successful probability &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;.&lt;br /&gt;
Define &amp;lt;math&amp;gt;S_n = 2\sum_{i=1}^n X_i - n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;S_0 = 0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
[&amp;lt;strong&amp;gt;Range of random walk&amp;lt;/strong&amp;gt;] The range &amp;lt;math&amp;gt;R_n&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;S_0, S_1, \ldots, S_n&amp;lt;/math&amp;gt; is defined as the number of distinct values taken by the sequence. Show that &amp;lt;math&amp;gt;\mathbf{Pr}\left(R_n = R_{n-1}+1\right) = \mathbf{Pr}\left(\forall 1 \le i \le n, S_i \neq 0\right)&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;, and deduce that &amp;lt;math&amp;gt;n^{-1} \mathbf{E}[R_n]\to \mathbf{Pr}(\forall i \ge 1, S_i \neq 0)&amp;lt;/math&amp;gt;. Hence show that &amp;lt;math&amp;gt;n^{-1} \mathbf{E}[R_n] \to |2p-1|&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
[&amp;lt;strong&amp;gt;Symmetric 1D random walk&amp;lt;/strong&amp;gt;] Suppose &amp;lt;math&amp;gt;p = \frac{1}{2}&amp;lt;/math&amp;gt;. Prove that &amp;lt;math&amp;gt;\mathbf{E}[|S_n|] = \Theta(\sqrt{n})&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;/div&gt;</summary>
		<author><name>Zhe</name></author>
	</entry>
	<entry>
		<id>https://tcs.nju.edu.cn/wiki/index.php?title=%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1_(Spring_2026)/Problem_Set_2&amp;diff=13606</id>
		<title>概率论与数理统计 (Spring 2026)/Problem Set 2</title>
		<link rel="alternate" type="text/html" href="https://tcs.nju.edu.cn/wiki/index.php?title=%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1_(Spring_2026)/Problem_Set_2&amp;diff=13606"/>
		<updated>2026-04-08T01:41:09Z</updated>

		<summary type="html">&lt;p&gt;Zhe: /* Problem 1 (Warm-up problems, 14 points) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;font color=red&amp;gt;NOT FINISHED YET&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*每道题目的解答都要有完整的解题过程，中英文不限。&lt;br /&gt;
&lt;br /&gt;
*我们推荐大家使用LaTeX, markdown等对作业进行排版。&lt;br /&gt;
&lt;br /&gt;
*为督促大家认真完成平时作业、扎实掌握课程内容，本课程期末考试将从作业题目中&amp;lt;font color=red&amp;gt;随机抽取部分题目&amp;lt;/font&amp;gt;进行考查。请大家务必重视每一次作业，认真理解解题思路。&lt;br /&gt;
&lt;br /&gt;
*若考试中被抽取到的作业题目答错、答不完整或无法作答，将按照相关标准对作业进行&amp;lt;font color=red&amp;gt;扣分处理&amp;lt;/font&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
== Assumption throughout Problem Set 2==&lt;br /&gt;
&amp;lt;p&amp;gt;Without further notice, we are working on probability space &amp;lt;math&amp;gt;(\Omega,\mathcal{F},\mathbf{Pr})&amp;lt;/math&amp;gt;.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Without further notice, we assume that the expectation of random variables are well-defined.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;The term &amp;lt;math&amp;gt;\log&amp;lt;/math&amp;gt; used in this context refers to the natural logarithm.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 1 (Warm-up problems, 14 points) ==&lt;br /&gt;
* [&#039;&#039;&#039;Function of random variable&#039;&#039;&#039;] Let [math]X[/math] be a random variable and [math]g:\mathbb{R} \to \mathbb{R}[/math] be a continuous and strictly increasing function. Show that [math]Y = g(X)[/math] is a random variable.&amp;lt;/li&amp;gt;&lt;br /&gt;
* [&#039;&#039;&#039;Cumulative distribution function (CDF)&#039;&#039;&#039;] Express the distribution functions of [math]X^+ = \max\{0,X\}[/math], [math]X^- = -\min\{0,X\}[/math], [math]|X|=X^+ + X^-[/math], and [math]-X[/math], in terms of the distribution function [math]F[/math] of the random variable [math]X[/math].&lt;br /&gt;
* [&#039;&#039;&#039;Independence&#039;&#039;&#039;] Let &amp;lt;math&amp;gt;X_r&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;1\leq r\leq n&amp;lt;/math&amp;gt; be independent random variables which are symmetric about &amp;lt;math&amp;gt;0&amp;lt;/math&amp;gt;; that is, &amp;lt;math&amp;gt;X_r&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;-X_r&amp;lt;/math&amp;gt; have the same distributions. Show that, for all &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\mathbf{Pr}[S_n \geq x] = \mathbf{Pr}[S_n \leq -x]&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;S_n = \sum_{r=1}^n X_r&amp;lt;/math&amp;gt;. Is the conclusion true without the assumtion of independence?&lt;br /&gt;
* [&#039;&#039;&#039;Expectation&#039;&#039;&#039;] Provide specific examples of a random variable &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; and a function &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt; for each of the following three scenarios. For each case, clearly define the probability distribution of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;, define the function &amp;lt;math&amp;gt;f(x)&amp;lt;/math&amp;gt;, and show the calculations for both &amp;lt;math&amp;gt;\mathbf{E}[f(X)]&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;f(\mathbf{E}[X])&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;math&amp;gt;\mathbf{E}[f(X)] = f(\mathbf{E}[X])&amp;lt;/math&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;math&amp;gt;\mathbf{E}[f(X)] &amp;gt; f(\mathbf{E}[X])&amp;lt;/math&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;math&amp;gt;\mathbf{E}[f(X)] &amp;lt; f(\mathbf{E}[X])&amp;lt;/math&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
* [&amp;lt;strong&amp;gt;Law of total expectation&amp;lt;/strong&amp;gt;] Let [math]X \sim \mathrm{Geom}(p)[/math] for some parameter [math]p \in (0,1)[/math]. Calculate [math]\mathbf{E}[X][/math] using the law of total expectation.&lt;br /&gt;
* [&amp;lt;strong&amp;gt;Random number of random variables&amp;lt;/strong&amp;gt;] Let &amp;lt;math&amp;gt;\{X_n\}_{n \ge 1}&amp;lt;/math&amp;gt; be identically distributed random variable and &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; be a random variable taking values in the non-negative integers and independent of the &amp;lt;math&amp;gt;X_n&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n \ge 1&amp;lt;/math&amp;gt;. Prove that &amp;lt;math&amp;gt;\mathbf{E}\left[\sum_{i=1}^N X_i\right] = \mathbf{E}[N] \mathbf{E}[X_1]&amp;lt;/math&amp;gt;.&lt;br /&gt;
* [&amp;lt;strong&amp;gt;Entropy of discrete random variable&amp;lt;/strong&amp;gt;] Let [math]X[/math] be a discrete random variable with range of values [math][N] = \{1,2,\ldots,N\}[/math] and probability mass function [math]p[/math]. Define [math]H(X) = -\sum_{n \ge 1} p(n) \log p(n)[/math] with convention [math]0\log 0 = 0[/math]. Prove that [math]H(X) \le \log N[/math] using Jensen&#039;s inequality.&lt;br /&gt;
&lt;br /&gt;
== Problem 2 (Discrete random variable, 14 points) ==&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Geometric distribution (I)&amp;lt;/strong&amp;gt;] Every package of some intrinsically dull commodity includes a small and exciting plastic object. There are [math]c[/math] different types of object, and each package is equally likely to contain any given type. You buy one package each day.&amp;lt;/p&amp;gt;&lt;br /&gt;
    &amp;lt;ol&amp;gt;&lt;br /&gt;
        &amp;lt;li&amp;gt;Find the expected number of days which elapse between the acquisitions of the [math]j[/math]-th new type of object and the [math](j + 1)[/math]-th new type.&amp;lt;/li&amp;gt;&lt;br /&gt;
        &amp;lt;li&amp;gt;Find the expected number of days which elapse before you have a full set of objects.&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Geometric distribution (II)&amp;lt;/strong&amp;gt;] Prove that geometric distribution is the only discrete memoryless distribution with range values &amp;lt;math&amp;gt;\mathbb{N}_+&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Binomial distribution&amp;lt;/strong&amp;gt;] Let &amp;lt;math&amp;gt;n_1,n_2 \in \mathbb{N}_+&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;0 \le p \le 1&amp;lt;/math&amp;gt; be parameters, and &amp;lt;math&amp;gt;X \sim \mathrm{Bin}(n_1,p),Y \sim \mathrm{Bin}(n_2,p)&amp;lt;/math&amp;gt; be independent random variables. Prove that &amp;lt;math&amp;gt;X+Y \sim \mathrm{Bin}(n_1+n_2,p)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Negative binomial distribution&amp;lt;/strong&amp;gt;] Let &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; follows the negative binomial distribution with parameter &amp;lt;math&amp;gt;r \in \mathbb{N}_+&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;p \in (0,1)&amp;lt;/math&amp;gt;. Calculate &amp;lt;math&amp;gt;\mathbf{Var}[X] = \mathbf{E}[X^2] - \left(\mathbf{E}[X]\right)^2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Hypergeometric distribution&amp;lt;/strong&amp;gt;] An urn contains [math]N[/math] balls, [math]b[/math] of which are blue and [math]r = N -b[/math] of which are red. A random sample of [math]n[/math] balls is drawn &amp;lt;strong&amp;gt;without replacement&amp;lt;/strong&amp;gt; (无放回) from the urn. Let [math]B[/math] the number of blue balls in this sample. Show that if [math]N, b[/math], and [math]r[/math] approach [math]+\infty[/math] in such a way that [math]b/N \rightarrow  p[/math] and [math]r/N \rightarrow 1 - p[/math], then [math]\mathbf{Pr}(B = k) \rightarrow {n\choose k}p^k(1-p)^{n-k}[/math] for [math]0\leq k \leq n[/math].&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Poisson distribution&amp;lt;/strong&amp;gt;] In your pocket is a random number &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; of coins, where &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; has the Poisson distribution with parameter &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;. You toss each coin once, with heads showing with probability &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; each time. Let &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; be the (random) number of heads outcomes and &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; be the (also random) number of tails.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Find the joint mass function of &amp;lt;math&amp;gt;(X,Y)&amp;lt;/math&amp;gt;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Find PDF of the marginal distribution of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;(X,Y)&amp;lt;/math&amp;gt;. Are &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; independent?&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Conditional distribution&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Let &amp;lt;math&amp;gt;\lambda,\mu &amp;gt; 0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n \in \mathbb{N}&amp;lt;/math&amp;gt; be parameters, and &amp;lt;math&amp;gt;X \sim \mathrm{Pois}(\lambda), Y \sim \mathrm{Pois}(\mu)&amp;lt;/math&amp;gt; be independent random variables. Find out the conditional distribution of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;, given &amp;lt;math&amp;gt;X+Y = n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 3 (Linearity of Expectation, 10 points) ==&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Streak&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Suppose we flip a fair coin &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; times independently to obtain a sequence of flips &amp;lt;math&amp;gt;X_1, X_2, \ldots , X_n&amp;lt;/math&amp;gt;. A streak of flips is a consecutive subsequence of flips that are all the same. For example, if &amp;lt;math&amp;gt;X_3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;X_4&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;X_5&amp;lt;/math&amp;gt; are all heads, there is a streak of length &amp;lt;math&amp;gt;3&amp;lt;/math&amp;gt; starting at the third lip. (If &amp;lt;math&amp;gt;X_6&amp;lt;/math&amp;gt; is also heads, then there is also a streak of length &amp;lt;math&amp;gt;4&amp;lt;/math&amp;gt; starting at the third lip.) Find the expected number of streaks of length &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; for some integer &amp;lt;math&amp;gt;k \ge 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Number of cycles&amp;lt;/strong&amp;gt;] &lt;br /&gt;
At a banquet, there are &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; people who shake hands according to the following process: In each round, two idle hands are randomly selected and shaken (&amp;lt;strong&amp;gt;these two hands are no longer idle&amp;lt;/strong&amp;gt;). After &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; rounds, there will be no idle hands left, and the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; people will form several cycles. For example, when &amp;lt;math&amp;gt;n=3&amp;lt;/math&amp;gt;, the following situation may occur: the left and right hands of the first person are held together, the left hand of the second person and the right hand of the third person are held together, and the right hand of the second person and the left hand of the third person are held together. In this case, three people form two cycles. How many cycles are expected to be formed after &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; rounds?&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Card shuffling&amp;lt;/strong&amp;gt;]&lt;br /&gt;
A deck of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; cards, numbered &amp;lt;math&amp;gt;1&amp;lt;/math&amp;gt; through &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, is initially laid out in order so that card &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; is in position &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt;. At each step, a pair of distinct positions is chosen uniformly at random, and the two cards in those positions are swapped. This operation is repeated &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; times. Let &amp;lt;math&amp;gt;R_k&amp;lt;/math&amp;gt; be the random variable representing the number of cards that are in their original starting positions after &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; swaps. Calculate the expectation &amp;lt;math&amp;gt;\mathbf{E}[R_k]&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 4 (Probability meets graph theory, 14 points) ==&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Random social networks&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Let &amp;lt;math&amp;gt;G = (V, E)&amp;lt;/math&amp;gt; be a &amp;lt;strong&amp;gt;fixed&amp;lt;/strong&amp;gt; undirected graph without isolating vertex. &lt;br /&gt;
Let &amp;lt;math&amp;gt;d_v&amp;lt;/math&amp;gt; be the degree of vertex &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; be a uniformly chosen vertex, and &amp;lt;math&amp;gt;Z&amp;lt;/math&amp;gt; a uniformly chosen neighbor of &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Show that &amp;lt;math&amp;gt;\mathbf{E}[d_Z] \geq \mathbf{E}[d_Y]&amp;lt;/math&amp;gt;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Interpret this inequality in the context of social networks, in which the vertices represent people, and the edges represent friendship.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Erdős–Rényi random graph&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Consider &amp;lt;math&amp;gt;G\sim G(n,p)&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;G(n,p)&amp;lt;/math&amp;gt; is the Erdős–Rényi random graph model. Let &amp;lt;math&amp;gt;\ell \ge 3&amp;lt;/math&amp;gt; be a fixed integer, and let &amp;lt;math&amp;gt;N_{\ell}&amp;lt;/math&amp;gt; be the random variable representing the number of cycles of length exactly &amp;lt;math&amp;gt;\ell&amp;lt;/math&amp;gt; in graph &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt;. Find the expected value &amp;lt;math&amp;gt;\mathbf{E}[N_{\ell}]&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Turán&#039;s Theorem&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Let &amp;lt;math&amp;gt;G=(V,E)&amp;lt;/math&amp;gt; be a &amp;lt;strong&amp;gt;fixed&amp;lt;/strong&amp;gt; undirected graph, and write &amp;lt;math&amp;gt;d_v&amp;lt;/math&amp;gt; for the degree of the vertex &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt;. Use probablistic method to prove that &amp;lt;math&amp;gt;\alpha(G) \ge \sum_{v \in V} \frac{1}{d_v + 1}&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\alpha(G)&amp;lt;/math&amp;gt; is the size of a maximum independent set. (Hint: Consider the following random procedure for generating an independent set &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; from a graph with vertex set &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt;: First, generate a random permutation of the vertices, denoted as &amp;lt;math&amp;gt;v_1,v_2,\ldots,v_n&amp;lt;/math&amp;gt;. Then, construct the independent set &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; as follows: For each vertex &amp;lt;math&amp;gt;v_i \in V&amp;lt;/math&amp;gt;, add &amp;lt;math&amp;gt;v_i&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; if and only if none of its predecessors in the permutation, i.e., &amp;lt;math&amp;gt;v_1,\ldots,v_{i-1}&amp;lt;/math&amp;gt;, are neighbors of &amp;lt;math&amp;gt;v_i&amp;lt;/math&amp;gt;.)&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Dominating set&amp;lt;/strong&amp;gt;]&lt;br /&gt;
A &#039;&#039;dominating set&#039;&#039; of vertices in an undirected graph &amp;lt;math&amp;gt;G = (V, E)&amp;lt;/math&amp;gt; is a set &amp;lt;math&amp;gt;S \subseteq V&amp;lt;/math&amp;gt; such that every vertex of&lt;br /&gt;
&amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; belongs to &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt; or has a neighbor in &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;G = (V, E)&amp;lt;/math&amp;gt; be an &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-vertex graph with minimum degree &amp;lt;math&amp;gt;d &amp;gt; 1&amp;lt;/math&amp;gt;. Prove that &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; has a dominating set with at most &amp;lt;math&amp;gt;\frac{n\left(1+\log(d+1)\right)}{d+1}&amp;lt;/math&amp;gt; vertices. (Hint: Consider a random vertex subset &amp;lt;math&amp;gt;S \subseteq V&amp;lt;/math&amp;gt; by including each vertex independently with&lt;br /&gt;
probability &amp;lt;math&amp;gt;p := \log(d + 1)/(d + 1)&amp;lt;/math&amp;gt;.)&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 5 (1D random walk, 8 points) ==&lt;br /&gt;
Let &amp;lt;math&amp;gt;p \in (0,1)&amp;lt;/math&amp;gt; be a constant, and &amp;lt;math&amp;gt;\{X_n\}_{n \ge 1}&amp;lt;/math&amp;gt; be independent Bernoulli trials with successful probability &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;.&lt;br /&gt;
Define &amp;lt;math&amp;gt;S_n = 2\sum_{i=1}^n X_i - n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;S_0 = 0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
[&amp;lt;strong&amp;gt;Range of random walk&amp;lt;/strong&amp;gt;] The range &amp;lt;math&amp;gt;R_n&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;S_0, S_1, \ldots, S_n&amp;lt;/math&amp;gt; is defined as the number of distinct values taken by the sequence. Show that &amp;lt;math&amp;gt;\mathbf{Pr}\left(R_n = R_{n-1}+1\right) = \mathbf{Pr}\left(\forall 1 \le i \le n, S_i \neq 0\right)&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;, and deduce that &amp;lt;math&amp;gt;n^{-1} \mathbf{E}[R_n]\to \mathbf{Pr}(\forall i \ge 1, S_i \neq 0)&amp;lt;/math&amp;gt;. Hence show that &amp;lt;math&amp;gt;n^{-1} \mathbf{E}[R_n] \to |2p-1|&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
[&amp;lt;strong&amp;gt;Symmetric 1D random walk&amp;lt;/strong&amp;gt;] Suppose &amp;lt;math&amp;gt;p = \frac{1}{2}&amp;lt;/math&amp;gt;. Prove that &amp;lt;math&amp;gt;\mathbf{E}[|S_n|] = \Theta(\sqrt{n})&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;/div&gt;</summary>
		<author><name>Zhe</name></author>
	</entry>
	<entry>
		<id>https://tcs.nju.edu.cn/wiki/index.php?title=%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1_(Spring_2026)/Problem_Set_2&amp;diff=13605</id>
		<title>概率论与数理统计 (Spring 2026)/Problem Set 2</title>
		<link rel="alternate" type="text/html" href="https://tcs.nju.edu.cn/wiki/index.php?title=%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1_(Spring_2026)/Problem_Set_2&amp;diff=13605"/>
		<updated>2026-04-07T16:10:50Z</updated>

		<summary type="html">&lt;p&gt;Zhe: /* Problem 1 (Warm-up problems, 16 points) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;font color=red&amp;gt;NOT FINISHED YET&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*每道题目的解答都要有完整的解题过程，中英文不限。&lt;br /&gt;
&lt;br /&gt;
*我们推荐大家使用LaTeX, markdown等对作业进行排版。&lt;br /&gt;
&lt;br /&gt;
*为督促大家认真完成平时作业、扎实掌握课程内容，本课程期末考试将从作业题目中&amp;lt;font color=red&amp;gt;随机抽取部分题目&amp;lt;/font&amp;gt;进行考查。请大家务必重视每一次作业，认真理解解题思路。&lt;br /&gt;
&lt;br /&gt;
*若考试中被抽取到的作业题目答错、答不完整或无法作答，将按照相关标准对作业进行&amp;lt;font color=red&amp;gt;扣分处理&amp;lt;/font&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
== Assumption throughout Problem Set 2==&lt;br /&gt;
&amp;lt;p&amp;gt;Without further notice, we are working on probability space &amp;lt;math&amp;gt;(\Omega,\mathcal{F},\mathbf{Pr})&amp;lt;/math&amp;gt;.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Without further notice, we assume that the expectation of random variables are well-defined.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;The term &amp;lt;math&amp;gt;\log&amp;lt;/math&amp;gt; used in this context refers to the natural logarithm.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 1 (Warm-up problems, 14 points) ==&lt;br /&gt;
* [&#039;&#039;&#039;Function of random variable&#039;&#039;&#039;] Let [math]X[/math] be a random variable and [math]g:\mathbb{R} \to \mathbb{R}[/math] be a continuous and strictly increasing function. Show that [math]Y = g(X)[/math] is a random variable.&amp;lt;/li&amp;gt;&lt;br /&gt;
* [&#039;&#039;&#039;Cumulative distribution function (CDF)&#039;&#039;&#039;] Express the distribution functions of [math]X^+ = \max\{0,X\}[/math], [math]X^- = -\min\{0,X\}[/math], [math]|X|=X^+ + X^-[/math], [math]-X[/math], in terms of the distribution function [math]F[/math] of the random variable [math]X[/math].&lt;br /&gt;
* [&#039;&#039;&#039;Independence&#039;&#039;&#039;] Let &amp;lt;math&amp;gt;X_r&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;1\leq r\leq n&amp;lt;/math&amp;gt; be independent random variables which are symmetric about &amp;lt;math&amp;gt;0&amp;lt;/math&amp;gt;; that is, &amp;lt;math&amp;gt;X_r&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;-X_r&amp;lt;/math&amp;gt; have the same distributions. Show that, for all &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\mathbf{Pr}[S_n \geq x] = \mathbf{Pr}[S_n \leq -x]&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;S_n = \sum_{r=1}^n X_r&amp;lt;/math&amp;gt;. Is the conclusion true without the assumtion of independence?&lt;br /&gt;
* [&#039;&#039;&#039;Expectation&#039;&#039;&#039;] Provide specific examples of a random variable &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; and a function &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt; for each of the following three scenarios. For each case, clearly define the probability distribution of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;, define the function &amp;lt;math&amp;gt;f(x)&amp;lt;/math&amp;gt;, and show the calculations for both &amp;lt;math&amp;gt;\mathbf{E}[f(X)]&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;f(\mathbf{E}[X])&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;math&amp;gt;\mathbf{E}[f(X)] = f(\mathbf{E}[X])&amp;lt;/math&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;math&amp;gt;\mathbf{E}[f(X)] &amp;gt; f(\mathbf{E}[X])&amp;lt;/math&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;math&amp;gt;\mathbf{E}[f(X)] &amp;lt; f(\mathbf{E}[X])&amp;lt;/math&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
* [&amp;lt;strong&amp;gt;Law of total expectation&amp;lt;/strong&amp;gt;] Let [math]X \sim \mathrm{Geom}(p)[/math] for some parameter [math]p \in (0,1)[/math]. Calculate [math]\mathbf{E}[X][/math] using the law of total expectation.&lt;br /&gt;
* [&amp;lt;strong&amp;gt;Random number of random variables&amp;lt;/strong&amp;gt;] Let &amp;lt;math&amp;gt;\{X_n\}_{n \ge 1}&amp;lt;/math&amp;gt; be identically distributed random variable and &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; be a random variable taking values in the non-negative integers and independent of the &amp;lt;math&amp;gt;X_n&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n \ge 1&amp;lt;/math&amp;gt;. Prove that &amp;lt;math&amp;gt;\mathbf{E}\left[\sum_{i=1}^N X_i\right] = \mathbf{E}[N] \mathbf{E}[X_1]&amp;lt;/math&amp;gt;.&lt;br /&gt;
* [&amp;lt;strong&amp;gt;Entropy of discrete random variable&amp;lt;/strong&amp;gt;] Let [math]X[/math] be a discrete random variable with range of values [math][N] = \{1,2,\ldots,N\}[/math] and probability mass function [math]p[/math]. Define [math]H(X) = -\sum_{n \ge 1} p(n) \log p(n)[/math] with convention [math]0\log 0 = 0[/math]. Prove that [math]H(X) \le \log N[/math] using Jensen&#039;s inequality.&lt;br /&gt;
&lt;br /&gt;
== Problem 2 (Discrete random variable, 14 points) ==&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Geometric distribution (I)&amp;lt;/strong&amp;gt;] Every package of some intrinsically dull commodity includes a small and exciting plastic object. There are [math]c[/math] different types of object, and each package is equally likely to contain any given type. You buy one package each day.&amp;lt;/p&amp;gt;&lt;br /&gt;
    &amp;lt;ol&amp;gt;&lt;br /&gt;
        &amp;lt;li&amp;gt;Find the expected number of days which elapse between the acquisitions of the [math]j[/math]-th new type of object and the [math](j + 1)[/math]-th new type.&amp;lt;/li&amp;gt;&lt;br /&gt;
        &amp;lt;li&amp;gt;Find the expected number of days which elapse before you have a full set of objects.&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Geometric distribution (II)&amp;lt;/strong&amp;gt;] Prove that geometric distribution is the only discrete memoryless distribution with range values &amp;lt;math&amp;gt;\mathbb{N}_+&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Binomial distribution&amp;lt;/strong&amp;gt;] Let &amp;lt;math&amp;gt;n_1,n_2 \in \mathbb{N}_+&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;0 \le p \le 1&amp;lt;/math&amp;gt; be parameters, and &amp;lt;math&amp;gt;X \sim \mathrm{Bin}(n_1,p),Y \sim \mathrm{Bin}(n_2,p)&amp;lt;/math&amp;gt; be independent random variables. Prove that &amp;lt;math&amp;gt;X+Y \sim \mathrm{Bin}(n_1+n_2,p)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Negative binomial distribution&amp;lt;/strong&amp;gt;] Let &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; follows the negative binomial distribution with parameter &amp;lt;math&amp;gt;r \in \mathbb{N}_+&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;p \in (0,1)&amp;lt;/math&amp;gt;. Calculate &amp;lt;math&amp;gt;\mathbf{Var}[X] = \mathbf{E}[X^2] - \left(\mathbf{E}[X]\right)^2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Hypergeometric distribution&amp;lt;/strong&amp;gt;] An urn contains [math]N[/math] balls, [math]b[/math] of which are blue and [math]r = N -b[/math] of which are red. A random sample of [math]n[/math] balls is drawn &amp;lt;strong&amp;gt;without replacement&amp;lt;/strong&amp;gt; (无放回) from the urn. Let [math]B[/math] the number of blue balls in this sample. Show that if [math]N, b[/math], and [math]r[/math] approach [math]+\infty[/math] in such a way that [math]b/N \rightarrow  p[/math] and [math]r/N \rightarrow 1 - p[/math], then [math]\mathbf{Pr}(B = k) \rightarrow {n\choose k}p^k(1-p)^{n-k}[/math] for [math]0\leq k \leq n[/math].&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Poisson distribution&amp;lt;/strong&amp;gt;] In your pocket is a random number &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; of coins, where &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; has the Poisson distribution with parameter &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;. You toss each coin once, with heads showing with probability &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; each time. Let &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; be the (random) number of heads outcomes and &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; be the (also random) number of tails.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Find the joint mass function of &amp;lt;math&amp;gt;(X,Y)&amp;lt;/math&amp;gt;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Find PDF of the marginal distribution of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;(X,Y)&amp;lt;/math&amp;gt;. Are &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; independent?&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Conditional distribution&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Let &amp;lt;math&amp;gt;\lambda,\mu &amp;gt; 0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n \in \mathbb{N}&amp;lt;/math&amp;gt; be parameters, and &amp;lt;math&amp;gt;X \sim \mathrm{Pois}(\lambda), Y \sim \mathrm{Pois}(\mu)&amp;lt;/math&amp;gt; be independent random variables. Find out the conditional distribution of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;, given &amp;lt;math&amp;gt;X+Y = n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 3 (Linearity of Expectation, 10 points) ==&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Streak&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Suppose we flip a fair coin &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; times independently to obtain a sequence of flips &amp;lt;math&amp;gt;X_1, X_2, \ldots , X_n&amp;lt;/math&amp;gt;. A streak of flips is a consecutive subsequence of flips that are all the same. For example, if &amp;lt;math&amp;gt;X_3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;X_4&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;X_5&amp;lt;/math&amp;gt; are all heads, there is a streak of length &amp;lt;math&amp;gt;3&amp;lt;/math&amp;gt; starting at the third lip. (If &amp;lt;math&amp;gt;X_6&amp;lt;/math&amp;gt; is also heads, then there is also a streak of length &amp;lt;math&amp;gt;4&amp;lt;/math&amp;gt; starting at the third lip.) Find the expected number of streaks of length &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; for some integer &amp;lt;math&amp;gt;k \ge 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Number of cycles&amp;lt;/strong&amp;gt;] &lt;br /&gt;
At a banquet, there are &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; people who shake hands according to the following process: In each round, two idle hands are randomly selected and shaken (&amp;lt;strong&amp;gt;these two hands are no longer idle&amp;lt;/strong&amp;gt;). After &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; rounds, there will be no idle hands left, and the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; people will form several cycles. For example, when &amp;lt;math&amp;gt;n=3&amp;lt;/math&amp;gt;, the following situation may occur: the left and right hands of the first person are held together, the left hand of the second person and the right hand of the third person are held together, and the right hand of the second person and the left hand of the third person are held together. In this case, three people form two cycles. How many cycles are expected to be formed after &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; rounds?&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Card shuffling&amp;lt;/strong&amp;gt;]&lt;br /&gt;
A deck of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; cards, numbered &amp;lt;math&amp;gt;1&amp;lt;/math&amp;gt; through &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, is initially laid out in order so that card &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; is in position &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt;. At each step, a pair of distinct positions is chosen uniformly at random, and the two cards in those positions are swapped. This operation is repeated &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; times. Let &amp;lt;math&amp;gt;R_k&amp;lt;/math&amp;gt; be the random variable representing the number of cards that are in their original starting positions after &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; swaps. Calculate the expectation &amp;lt;math&amp;gt;\mathbf{E}[R_k]&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 4 (Probability meets graph theory, 14 points) ==&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Random social networks&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Let &amp;lt;math&amp;gt;G = (V, E)&amp;lt;/math&amp;gt; be a &amp;lt;strong&amp;gt;fixed&amp;lt;/strong&amp;gt; undirected graph without isolating vertex. &lt;br /&gt;
Let &amp;lt;math&amp;gt;d_v&amp;lt;/math&amp;gt; be the degree of vertex &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; be a uniformly chosen vertex, and &amp;lt;math&amp;gt;Z&amp;lt;/math&amp;gt; a uniformly chosen neighbor of &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Show that &amp;lt;math&amp;gt;\mathbf{E}[d_Z] \geq \mathbf{E}[d_Y]&amp;lt;/math&amp;gt;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Interpret this inequality in the context of social networks, in which the vertices represent people, and the edges represent friendship.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Erdős–Rényi random graph&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Consider &amp;lt;math&amp;gt;G\sim G(n,p)&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;G(n,p)&amp;lt;/math&amp;gt; is the Erdős–Rényi random graph model. Let &amp;lt;math&amp;gt;\ell \ge 3&amp;lt;/math&amp;gt; be a fixed integer, and let &amp;lt;math&amp;gt;N_{\ell}&amp;lt;/math&amp;gt; be the random variable representing the number of cycles of length exactly &amp;lt;math&amp;gt;\ell&amp;lt;/math&amp;gt; in graph &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt;. Find the expected value &amp;lt;math&amp;gt;\mathbf{E}[N_{\ell}]&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Turán&#039;s Theorem&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Let &amp;lt;math&amp;gt;G=(V,E)&amp;lt;/math&amp;gt; be a &amp;lt;strong&amp;gt;fixed&amp;lt;/strong&amp;gt; undirected graph, and write &amp;lt;math&amp;gt;d_v&amp;lt;/math&amp;gt; for the degree of the vertex &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt;. Use probablistic method to prove that &amp;lt;math&amp;gt;\alpha(G) \ge \sum_{v \in V} \frac{1}{d_v + 1}&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\alpha(G)&amp;lt;/math&amp;gt; is the size of a maximum independent set. (Hint: Consider the following random procedure for generating an independent set &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; from a graph with vertex set &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt;: First, generate a random permutation of the vertices, denoted as &amp;lt;math&amp;gt;v_1,v_2,\ldots,v_n&amp;lt;/math&amp;gt;. Then, construct the independent set &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; as follows: For each vertex &amp;lt;math&amp;gt;v_i \in V&amp;lt;/math&amp;gt;, add &amp;lt;math&amp;gt;v_i&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; if and only if none of its predecessors in the permutation, i.e., &amp;lt;math&amp;gt;v_1,\ldots,v_{i-1}&amp;lt;/math&amp;gt;, are neighbors of &amp;lt;math&amp;gt;v_i&amp;lt;/math&amp;gt;.)&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Dominating set&amp;lt;/strong&amp;gt;]&lt;br /&gt;
A &#039;&#039;dominating set&#039;&#039; of vertices in an undirected graph &amp;lt;math&amp;gt;G = (V, E)&amp;lt;/math&amp;gt; is a set &amp;lt;math&amp;gt;S \subseteq V&amp;lt;/math&amp;gt; such that every vertex of&lt;br /&gt;
&amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; belongs to &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt; or has a neighbor in &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;G = (V, E)&amp;lt;/math&amp;gt; be an &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-vertex graph with minimum degree &amp;lt;math&amp;gt;d &amp;gt; 1&amp;lt;/math&amp;gt;. Prove that &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; has a dominating set with at most &amp;lt;math&amp;gt;\frac{n\left(1+\log(d+1)\right)}{d+1}&amp;lt;/math&amp;gt; vertices. (Hint: Consider a random vertex subset &amp;lt;math&amp;gt;S \subseteq V&amp;lt;/math&amp;gt; by including each vertex independently with&lt;br /&gt;
probability &amp;lt;math&amp;gt;p := \log(d + 1)/(d + 1)&amp;lt;/math&amp;gt;.)&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 5 (1D random walk, 8 points) ==&lt;br /&gt;
Let &amp;lt;math&amp;gt;p \in (0,1)&amp;lt;/math&amp;gt; be a constant, and &amp;lt;math&amp;gt;\{X_n\}_{n \ge 1}&amp;lt;/math&amp;gt; be independent Bernoulli trials with successful probability &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;.&lt;br /&gt;
Define &amp;lt;math&amp;gt;S_n = 2\sum_{i=1}^n X_i - n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;S_0 = 0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
[&amp;lt;strong&amp;gt;Range of random walk&amp;lt;/strong&amp;gt;] The range &amp;lt;math&amp;gt;R_n&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;S_0, S_1, \ldots, S_n&amp;lt;/math&amp;gt; is defined as the number of distinct values taken by the sequence. Show that &amp;lt;math&amp;gt;\mathbf{Pr}\left(R_n = R_{n-1}+1\right) = \mathbf{Pr}\left(\forall 1 \le i \le n, S_i \neq 0\right)&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;, and deduce that &amp;lt;math&amp;gt;n^{-1} \mathbf{E}[R_n]\to \mathbf{Pr}(\forall i \ge 1, S_i \neq 0)&amp;lt;/math&amp;gt;. Hence show that &amp;lt;math&amp;gt;n^{-1} \mathbf{E}[R_n] \to |2p-1|&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
[&amp;lt;strong&amp;gt;Symmetric 1D random walk&amp;lt;/strong&amp;gt;] Suppose &amp;lt;math&amp;gt;p = \frac{1}{2}&amp;lt;/math&amp;gt;. Prove that &amp;lt;math&amp;gt;\mathbf{E}[|S_n|] = \Theta(\sqrt{n})&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;/div&gt;</summary>
		<author><name>Zhe</name></author>
	</entry>
	<entry>
		<id>https://tcs.nju.edu.cn/wiki/index.php?title=%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1_(Spring_2026)/Problem_Set_2&amp;diff=13604</id>
		<title>概率论与数理统计 (Spring 2026)/Problem Set 2</title>
		<link rel="alternate" type="text/html" href="https://tcs.nju.edu.cn/wiki/index.php?title=%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1_(Spring_2026)/Problem_Set_2&amp;diff=13604"/>
		<updated>2026-04-07T15:50:02Z</updated>

		<summary type="html">&lt;p&gt;Zhe: /* Problem 3 (Linearity of Expectation, 12 points) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;font color=red&amp;gt;NOT FINISHED YET&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*每道题目的解答都要有完整的解题过程，中英文不限。&lt;br /&gt;
&lt;br /&gt;
*我们推荐大家使用LaTeX, markdown等对作业进行排版。&lt;br /&gt;
&lt;br /&gt;
*为督促大家认真完成平时作业、扎实掌握课程内容，本课程期末考试将从作业题目中&amp;lt;font color=red&amp;gt;随机抽取部分题目&amp;lt;/font&amp;gt;进行考查。请大家务必重视每一次作业，认真理解解题思路。&lt;br /&gt;
&lt;br /&gt;
*若考试中被抽取到的作业题目答错、答不完整或无法作答，将按照相关标准对作业进行&amp;lt;font color=red&amp;gt;扣分处理&amp;lt;/font&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
== Assumption throughout Problem Set 2==&lt;br /&gt;
&amp;lt;p&amp;gt;Without further notice, we are working on probability space &amp;lt;math&amp;gt;(\Omega,\mathcal{F},\mathbf{Pr})&amp;lt;/math&amp;gt;.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Without further notice, we assume that the expectation of random variables are well-defined.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;The term &amp;lt;math&amp;gt;\log&amp;lt;/math&amp;gt; used in this context refers to the natural logarithm.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 1 (Warm-up problems, 16 points) ==&lt;br /&gt;
* [&#039;&#039;&#039;Cumulative distribution function (CDF) (I)&#039;&#039;&#039;] Express the distribution functions of [math]X^+ = \max\{0,X\}[/math], [math]X^- = -\min\{0,X\}[/math], [math]|X|=X^+ + X^-[/math], [math]-X[/math], in terms of the distribution function [math]F[/math] of the random variable [math]X[/math].&lt;br /&gt;
* [&#039;&#039;&#039;Cumulative distribution function (CDF) (II)&#039;&#039;&#039;] Let [math]X[/math] be a random variable with distribution function [math]\max(0,\min(1,x))[/math]. Let [math]F[/math] be a distribution function which is continuous and strictly increasing. Show that [math]Y=F^{-1}(X)[/math] is a random variable with distribution function [math]F[/math].&lt;br /&gt;
* [&#039;&#039;&#039;Probability density function (PDF)&#039;&#039;&#039;] We toss &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; coins, and each one shows heads with probability &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, independently of each of the others. Each coin which shows head is tossed again. (If the coin shows tail, it won&#039;t be tossed again.) Let &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; be the number of heads resulting from the &amp;lt;strong&amp;gt;second&amp;lt;/strong&amp;gt; round of tosses, and &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; be the number of heads resulting from &amp;lt;strong&amp;gt;all&amp;lt;/strong&amp;gt; tosses, which includes the first and (possible) second round of each toss.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Find the PDF of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Find &amp;lt;math&amp;gt;\mathbf{E}[X]&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\mathbf{E}[Y]&amp;lt;/math&amp;gt;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Let &amp;lt;math&amp;gt;p_X&amp;lt;/math&amp;gt; be the PDF of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;, show that [math]p_X(k-1)p_X(k+1)\leq [p_X(k)]^2[/math] for &amp;lt;math&amp;gt;1\leq k \leq n-1&amp;lt;/math&amp;gt;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
* [&#039;&#039;&#039;Independence&#039;&#039;&#039;] Let &amp;lt;math&amp;gt;X_r&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;1\leq r\leq n&amp;lt;/math&amp;gt; be independent random variables which are symmetric about &amp;lt;math&amp;gt;0&amp;lt;/math&amp;gt;; that is, &amp;lt;math&amp;gt;X_r&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;-X_r&amp;lt;/math&amp;gt; have the same distributions. Show that, for all &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\mathbf{Pr}[S_n \geq x] = \mathbf{Pr}[S_n \leq -x]&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;S_n = \sum_{r=1}^n X_r&amp;lt;/math&amp;gt;. Is the conclusion true without the assumtion of independence?&lt;br /&gt;
* [&#039;&#039;&#039;Dependence&#039;&#039;&#039;] Let &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; be discrete random variables with joint mass function &amp;lt;math&amp;gt;f(x,y) = \frac{C}{(x+y-1)(x+y)(x+y+1)}&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;x,y \in \mathbb{N}_+&amp;lt;/math&amp;gt; (in other words, &amp;lt;math&amp;gt;x,y = 1,2,3,\cdots&amp;lt;/math&amp;gt;). Find (1) the value of &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt;, (2) marginal mass function of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; and (3) &amp;lt;math&amp;gt;\mathbf{E}[X]&amp;lt;/math&amp;gt;.&lt;br /&gt;
* [&#039;&#039;&#039;Expectation&#039;&#039;&#039;] It is required to place in order &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; books &amp;lt;math&amp;gt;B_1, B_2, \cdots, B_n&amp;lt;/math&amp;gt; on a library shelf in such way that readers searching from left to right waste as little time as possible on average. Assuming that a random reader requires book &amp;lt;math&amp;gt;B_i&amp;lt;/math&amp;gt; with probability &amp;lt;math&amp;gt;p_i&amp;lt;/math&amp;gt;, find the ordering of the books which minimizes the expected number of titles examined by a random reader before discovery of the required book.&lt;br /&gt;
* [&amp;lt;strong&amp;gt;Law of total expectation&amp;lt;/strong&amp;gt;] Let [math]X \sim \mathrm{Geom}(p)[/math] for some parameter [math]p \in (0,1)[/math]. Calculate [math]\mathbf{E}[X][/math] using the law of total expectation.&lt;br /&gt;
&lt;br /&gt;
* [&amp;lt;strong&amp;gt;Entropy of discrete random variable&amp;lt;/strong&amp;gt;] Let [math]X[/math] be a discrete random variable with range of values [math][N] = \{1,2,\ldots,N\}[/math] and probability mass function [math]p[/math]. Define [math]H(X) = -\sum_{n \ge 1} p(n) \log p(n)[/math] with convention [math]0\log 0 = 0[/math]. Prove that [math]H(X) \le \log N[/math] using Jensen&#039;s inequality.&lt;br /&gt;
&lt;br /&gt;
== Problem 2 (Discrete random variable, 14 points) ==&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Geometric distribution (I)&amp;lt;/strong&amp;gt;] Every package of some intrinsically dull commodity includes a small and exciting plastic object. There are [math]c[/math] different types of object, and each package is equally likely to contain any given type. You buy one package each day.&amp;lt;/p&amp;gt;&lt;br /&gt;
    &amp;lt;ol&amp;gt;&lt;br /&gt;
        &amp;lt;li&amp;gt;Find the expected number of days which elapse between the acquisitions of the [math]j[/math]-th new type of object and the [math](j + 1)[/math]-th new type.&amp;lt;/li&amp;gt;&lt;br /&gt;
        &amp;lt;li&amp;gt;Find the expected number of days which elapse before you have a full set of objects.&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Geometric distribution (II)&amp;lt;/strong&amp;gt;] Prove that geometric distribution is the only discrete memoryless distribution with range values &amp;lt;math&amp;gt;\mathbb{N}_+&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Binomial distribution&amp;lt;/strong&amp;gt;] Let &amp;lt;math&amp;gt;n_1,n_2 \in \mathbb{N}_+&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;0 \le p \le 1&amp;lt;/math&amp;gt; be parameters, and &amp;lt;math&amp;gt;X \sim \mathrm{Bin}(n_1,p),Y \sim \mathrm{Bin}(n_2,p)&amp;lt;/math&amp;gt; be independent random variables. Prove that &amp;lt;math&amp;gt;X+Y \sim \mathrm{Bin}(n_1+n_2,p)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Negative binomial distribution&amp;lt;/strong&amp;gt;] Let &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; follows the negative binomial distribution with parameter &amp;lt;math&amp;gt;r \in \mathbb{N}_+&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;p \in (0,1)&amp;lt;/math&amp;gt;. Calculate &amp;lt;math&amp;gt;\mathbf{Var}[X] = \mathbf{E}[X^2] - \left(\mathbf{E}[X]\right)^2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Hypergeometric distribution&amp;lt;/strong&amp;gt;] An urn contains [math]N[/math] balls, [math]b[/math] of which are blue and [math]r = N -b[/math] of which are red. A random sample of [math]n[/math] balls is drawn &amp;lt;strong&amp;gt;without replacement&amp;lt;/strong&amp;gt; (无放回) from the urn. Let [math]B[/math] the number of blue balls in this sample. Show that if [math]N, b[/math], and [math]r[/math] approach [math]+\infty[/math] in such a way that [math]b/N \rightarrow  p[/math] and [math]r/N \rightarrow 1 - p[/math], then [math]\mathbf{Pr}(B = k) \rightarrow {n\choose k}p^k(1-p)^{n-k}[/math] for [math]0\leq k \leq n[/math].&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Poisson distribution&amp;lt;/strong&amp;gt;] In your pocket is a random number &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; of coins, where &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; has the Poisson distribution with parameter &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;. You toss each coin once, with heads showing with probability &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; each time. Let &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; be the (random) number of heads outcomes and &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; be the (also random) number of tails.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Find the joint mass function of &amp;lt;math&amp;gt;(X,Y)&amp;lt;/math&amp;gt;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Find PDF of the marginal distribution of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;(X,Y)&amp;lt;/math&amp;gt;. Are &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; independent?&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Conditional distribution&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Let &amp;lt;math&amp;gt;\lambda,\mu &amp;gt; 0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n \in \mathbb{N}&amp;lt;/math&amp;gt; be parameters, and &amp;lt;math&amp;gt;X \sim \mathrm{Pois}(\lambda), Y \sim \mathrm{Pois}(\mu)&amp;lt;/math&amp;gt; be independent random variables. Find out the conditional distribution of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;, given &amp;lt;math&amp;gt;X+Y = n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 3 (Linearity of Expectation, 10 points) ==&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Streak&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Suppose we flip a fair coin &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; times independently to obtain a sequence of flips &amp;lt;math&amp;gt;X_1, X_2, \ldots , X_n&amp;lt;/math&amp;gt;. A streak of flips is a consecutive subsequence of flips that are all the same. For example, if &amp;lt;math&amp;gt;X_3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;X_4&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;X_5&amp;lt;/math&amp;gt; are all heads, there is a streak of length &amp;lt;math&amp;gt;3&amp;lt;/math&amp;gt; starting at the third lip. (If &amp;lt;math&amp;gt;X_6&amp;lt;/math&amp;gt; is also heads, then there is also a streak of length &amp;lt;math&amp;gt;4&amp;lt;/math&amp;gt; starting at the third lip.) Find the expected number of streaks of length &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; for some integer &amp;lt;math&amp;gt;k \ge 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Number of cycles&amp;lt;/strong&amp;gt;] &lt;br /&gt;
At a banquet, there are &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; people who shake hands according to the following process: In each round, two idle hands are randomly selected and shaken (&amp;lt;strong&amp;gt;these two hands are no longer idle&amp;lt;/strong&amp;gt;). After &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; rounds, there will be no idle hands left, and the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; people will form several cycles. For example, when &amp;lt;math&amp;gt;n=3&amp;lt;/math&amp;gt;, the following situation may occur: the left and right hands of the first person are held together, the left hand of the second person and the right hand of the third person are held together, and the right hand of the second person and the left hand of the third person are held together. In this case, three people form two cycles. How many cycles are expected to be formed after &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; rounds?&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Card shuffling&amp;lt;/strong&amp;gt;]&lt;br /&gt;
A deck of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; cards, numbered &amp;lt;math&amp;gt;1&amp;lt;/math&amp;gt; through &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, is initially laid out in order so that card &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; is in position &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt;. At each step, a pair of distinct positions is chosen uniformly at random, and the two cards in those positions are swapped. This operation is repeated &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; times. Let &amp;lt;math&amp;gt;R_k&amp;lt;/math&amp;gt; be the random variable representing the number of cards that are in their original starting positions after &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; swaps. Calculate the expectation &amp;lt;math&amp;gt;\mathbf{E}[R_k]&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 4 (Probability meets graph theory, 14 points) ==&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Random social networks&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Let &amp;lt;math&amp;gt;G = (V, E)&amp;lt;/math&amp;gt; be a &amp;lt;strong&amp;gt;fixed&amp;lt;/strong&amp;gt; undirected graph without isolating vertex. &lt;br /&gt;
Let &amp;lt;math&amp;gt;d_v&amp;lt;/math&amp;gt; be the degree of vertex &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; be a uniformly chosen vertex, and &amp;lt;math&amp;gt;Z&amp;lt;/math&amp;gt; a uniformly chosen neighbor of &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Show that &amp;lt;math&amp;gt;\mathbf{E}[d_Z] \geq \mathbf{E}[d_Y]&amp;lt;/math&amp;gt;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Interpret this inequality in the context of social networks, in which the vertices represent people, and the edges represent friendship.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Erdős–Rényi random graph&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Consider &amp;lt;math&amp;gt;G\sim G(n,p)&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;G(n,p)&amp;lt;/math&amp;gt; is the Erdős–Rényi random graph model. Let &amp;lt;math&amp;gt;\ell \ge 3&amp;lt;/math&amp;gt; be a fixed integer, and let &amp;lt;math&amp;gt;N_{\ell}&amp;lt;/math&amp;gt; be the random variable representing the number of cycles of length exactly &amp;lt;math&amp;gt;\ell&amp;lt;/math&amp;gt; in graph &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt;. Find the expected value &amp;lt;math&amp;gt;\mathbf{E}[N_{\ell}]&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Turán&#039;s Theorem&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Let &amp;lt;math&amp;gt;G=(V,E)&amp;lt;/math&amp;gt; be a &amp;lt;strong&amp;gt;fixed&amp;lt;/strong&amp;gt; undirected graph, and write &amp;lt;math&amp;gt;d_v&amp;lt;/math&amp;gt; for the degree of the vertex &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt;. Use probablistic method to prove that &amp;lt;math&amp;gt;\alpha(G) \ge \sum_{v \in V} \frac{1}{d_v + 1}&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\alpha(G)&amp;lt;/math&amp;gt; is the size of a maximum independent set. (Hint: Consider the following random procedure for generating an independent set &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; from a graph with vertex set &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt;: First, generate a random permutation of the vertices, denoted as &amp;lt;math&amp;gt;v_1,v_2,\ldots,v_n&amp;lt;/math&amp;gt;. Then, construct the independent set &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; as follows: For each vertex &amp;lt;math&amp;gt;v_i \in V&amp;lt;/math&amp;gt;, add &amp;lt;math&amp;gt;v_i&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; if and only if none of its predecessors in the permutation, i.e., &amp;lt;math&amp;gt;v_1,\ldots,v_{i-1}&amp;lt;/math&amp;gt;, are neighbors of &amp;lt;math&amp;gt;v_i&amp;lt;/math&amp;gt;.)&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Dominating set&amp;lt;/strong&amp;gt;]&lt;br /&gt;
A &#039;&#039;dominating set&#039;&#039; of vertices in an undirected graph &amp;lt;math&amp;gt;G = (V, E)&amp;lt;/math&amp;gt; is a set &amp;lt;math&amp;gt;S \subseteq V&amp;lt;/math&amp;gt; such that every vertex of&lt;br /&gt;
&amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; belongs to &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt; or has a neighbor in &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;G = (V, E)&amp;lt;/math&amp;gt; be an &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-vertex graph with minimum degree &amp;lt;math&amp;gt;d &amp;gt; 1&amp;lt;/math&amp;gt;. Prove that &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; has a dominating set with at most &amp;lt;math&amp;gt;\frac{n\left(1+\log(d+1)\right)}{d+1}&amp;lt;/math&amp;gt; vertices. (Hint: Consider a random vertex subset &amp;lt;math&amp;gt;S \subseteq V&amp;lt;/math&amp;gt; by including each vertex independently with&lt;br /&gt;
probability &amp;lt;math&amp;gt;p := \log(d + 1)/(d + 1)&amp;lt;/math&amp;gt;.)&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 5 (1D random walk, 8 points) ==&lt;br /&gt;
Let &amp;lt;math&amp;gt;p \in (0,1)&amp;lt;/math&amp;gt; be a constant, and &amp;lt;math&amp;gt;\{X_n\}_{n \ge 1}&amp;lt;/math&amp;gt; be independent Bernoulli trials with successful probability &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;.&lt;br /&gt;
Define &amp;lt;math&amp;gt;S_n = 2\sum_{i=1}^n X_i - n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;S_0 = 0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
[&amp;lt;strong&amp;gt;Range of random walk&amp;lt;/strong&amp;gt;] The range &amp;lt;math&amp;gt;R_n&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;S_0, S_1, \ldots, S_n&amp;lt;/math&amp;gt; is defined as the number of distinct values taken by the sequence. Show that &amp;lt;math&amp;gt;\mathbf{Pr}\left(R_n = R_{n-1}+1\right) = \mathbf{Pr}\left(\forall 1 \le i \le n, S_i \neq 0\right)&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;, and deduce that &amp;lt;math&amp;gt;n^{-1} \mathbf{E}[R_n]\to \mathbf{Pr}(\forall i \ge 1, S_i \neq 0)&amp;lt;/math&amp;gt;. Hence show that &amp;lt;math&amp;gt;n^{-1} \mathbf{E}[R_n] \to |2p-1|&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
[&amp;lt;strong&amp;gt;Symmetric 1D random walk&amp;lt;/strong&amp;gt;] Suppose &amp;lt;math&amp;gt;p = \frac{1}{2}&amp;lt;/math&amp;gt;. Prove that &amp;lt;math&amp;gt;\mathbf{E}[|S_n|] = \Theta(\sqrt{n})&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;/div&gt;</summary>
		<author><name>Zhe</name></author>
	</entry>
	<entry>
		<id>https://tcs.nju.edu.cn/wiki/index.php?title=%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1_(Spring_2026)/Problem_Set_2&amp;diff=13603</id>
		<title>概率论与数理统计 (Spring 2026)/Problem Set 2</title>
		<link rel="alternate" type="text/html" href="https://tcs.nju.edu.cn/wiki/index.php?title=%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1_(Spring_2026)/Problem_Set_2&amp;diff=13603"/>
		<updated>2026-04-07T15:35:52Z</updated>

		<summary type="html">&lt;p&gt;Zhe: /* Problem 4 (Probability meets graph theory) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;font color=red&amp;gt;NOT FINISHED YET&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*每道题目的解答都要有完整的解题过程，中英文不限。&lt;br /&gt;
&lt;br /&gt;
*我们推荐大家使用LaTeX, markdown等对作业进行排版。&lt;br /&gt;
&lt;br /&gt;
*为督促大家认真完成平时作业、扎实掌握课程内容，本课程期末考试将从作业题目中&amp;lt;font color=red&amp;gt;随机抽取部分题目&amp;lt;/font&amp;gt;进行考查。请大家务必重视每一次作业，认真理解解题思路。&lt;br /&gt;
&lt;br /&gt;
*若考试中被抽取到的作业题目答错、答不完整或无法作答，将按照相关标准对作业进行&amp;lt;font color=red&amp;gt;扣分处理&amp;lt;/font&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
== Assumption throughout Problem Set 2==&lt;br /&gt;
&amp;lt;p&amp;gt;Without further notice, we are working on probability space &amp;lt;math&amp;gt;(\Omega,\mathcal{F},\mathbf{Pr})&amp;lt;/math&amp;gt;.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Without further notice, we assume that the expectation of random variables are well-defined.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;The term &amp;lt;math&amp;gt;\log&amp;lt;/math&amp;gt; used in this context refers to the natural logarithm.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 1 (Warm-up problems, 16 points) ==&lt;br /&gt;
* [&#039;&#039;&#039;Cumulative distribution function (CDF) (I)&#039;&#039;&#039;] Express the distribution functions of [math]X^+ = \max\{0,X\}[/math], [math]X^- = -\min\{0,X\}[/math], [math]|X|=X^+ + X^-[/math], [math]-X[/math], in terms of the distribution function [math]F[/math] of the random variable [math]X[/math].&lt;br /&gt;
* [&#039;&#039;&#039;Cumulative distribution function (CDF) (II)&#039;&#039;&#039;] Let [math]X[/math] be a random variable with distribution function [math]\max(0,\min(1,x))[/math]. Let [math]F[/math] be a distribution function which is continuous and strictly increasing. Show that [math]Y=F^{-1}(X)[/math] is a random variable with distribution function [math]F[/math].&lt;br /&gt;
* [&#039;&#039;&#039;Probability density function (PDF)&#039;&#039;&#039;] We toss &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; coins, and each one shows heads with probability &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, independently of each of the others. Each coin which shows head is tossed again. (If the coin shows tail, it won&#039;t be tossed again.) Let &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; be the number of heads resulting from the &amp;lt;strong&amp;gt;second&amp;lt;/strong&amp;gt; round of tosses, and &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; be the number of heads resulting from &amp;lt;strong&amp;gt;all&amp;lt;/strong&amp;gt; tosses, which includes the first and (possible) second round of each toss.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Find the PDF of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Find &amp;lt;math&amp;gt;\mathbf{E}[X]&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\mathbf{E}[Y]&amp;lt;/math&amp;gt;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Let &amp;lt;math&amp;gt;p_X&amp;lt;/math&amp;gt; be the PDF of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;, show that [math]p_X(k-1)p_X(k+1)\leq [p_X(k)]^2[/math] for &amp;lt;math&amp;gt;1\leq k \leq n-1&amp;lt;/math&amp;gt;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
* [&#039;&#039;&#039;Independence&#039;&#039;&#039;] Let &amp;lt;math&amp;gt;X_r&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;1\leq r\leq n&amp;lt;/math&amp;gt; be independent random variables which are symmetric about &amp;lt;math&amp;gt;0&amp;lt;/math&amp;gt;; that is, &amp;lt;math&amp;gt;X_r&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;-X_r&amp;lt;/math&amp;gt; have the same distributions. Show that, for all &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\mathbf{Pr}[S_n \geq x] = \mathbf{Pr}[S_n \leq -x]&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;S_n = \sum_{r=1}^n X_r&amp;lt;/math&amp;gt;. Is the conclusion true without the assumtion of independence?&lt;br /&gt;
* [&#039;&#039;&#039;Dependence&#039;&#039;&#039;] Let &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; be discrete random variables with joint mass function &amp;lt;math&amp;gt;f(x,y) = \frac{C}{(x+y-1)(x+y)(x+y+1)}&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;x,y \in \mathbb{N}_+&amp;lt;/math&amp;gt; (in other words, &amp;lt;math&amp;gt;x,y = 1,2,3,\cdots&amp;lt;/math&amp;gt;). Find (1) the value of &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt;, (2) marginal mass function of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; and (3) &amp;lt;math&amp;gt;\mathbf{E}[X]&amp;lt;/math&amp;gt;.&lt;br /&gt;
* [&#039;&#039;&#039;Expectation&#039;&#039;&#039;] It is required to place in order &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; books &amp;lt;math&amp;gt;B_1, B_2, \cdots, B_n&amp;lt;/math&amp;gt; on a library shelf in such way that readers searching from left to right waste as little time as possible on average. Assuming that a random reader requires book &amp;lt;math&amp;gt;B_i&amp;lt;/math&amp;gt; with probability &amp;lt;math&amp;gt;p_i&amp;lt;/math&amp;gt;, find the ordering of the books which minimizes the expected number of titles examined by a random reader before discovery of the required book.&lt;br /&gt;
* [&amp;lt;strong&amp;gt;Law of total expectation&amp;lt;/strong&amp;gt;] Let [math]X \sim \mathrm{Geom}(p)[/math] for some parameter [math]p \in (0,1)[/math]. Calculate [math]\mathbf{E}[X][/math] using the law of total expectation.&lt;br /&gt;
&lt;br /&gt;
* [&amp;lt;strong&amp;gt;Entropy of discrete random variable&amp;lt;/strong&amp;gt;] Let [math]X[/math] be a discrete random variable with range of values [math][N] = \{1,2,\ldots,N\}[/math] and probability mass function [math]p[/math]. Define [math]H(X) = -\sum_{n \ge 1} p(n) \log p(n)[/math] with convention [math]0\log 0 = 0[/math]. Prove that [math]H(X) \le \log N[/math] using Jensen&#039;s inequality.&lt;br /&gt;
&lt;br /&gt;
== Problem 2 (Discrete random variable, 14 points) ==&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Geometric distribution (I)&amp;lt;/strong&amp;gt;] Every package of some intrinsically dull commodity includes a small and exciting plastic object. There are [math]c[/math] different types of object, and each package is equally likely to contain any given type. You buy one package each day.&amp;lt;/p&amp;gt;&lt;br /&gt;
    &amp;lt;ol&amp;gt;&lt;br /&gt;
        &amp;lt;li&amp;gt;Find the expected number of days which elapse between the acquisitions of the [math]j[/math]-th new type of object and the [math](j + 1)[/math]-th new type.&amp;lt;/li&amp;gt;&lt;br /&gt;
        &amp;lt;li&amp;gt;Find the expected number of days which elapse before you have a full set of objects.&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Geometric distribution (II)&amp;lt;/strong&amp;gt;] Prove that geometric distribution is the only discrete memoryless distribution with range values &amp;lt;math&amp;gt;\mathbb{N}_+&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Binomial distribution&amp;lt;/strong&amp;gt;] Let &amp;lt;math&amp;gt;n_1,n_2 \in \mathbb{N}_+&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;0 \le p \le 1&amp;lt;/math&amp;gt; be parameters, and &amp;lt;math&amp;gt;X \sim \mathrm{Bin}(n_1,p),Y \sim \mathrm{Bin}(n_2,p)&amp;lt;/math&amp;gt; be independent random variables. Prove that &amp;lt;math&amp;gt;X+Y \sim \mathrm{Bin}(n_1+n_2,p)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Negative binomial distribution&amp;lt;/strong&amp;gt;] Let &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; follows the negative binomial distribution with parameter &amp;lt;math&amp;gt;r \in \mathbb{N}_+&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;p \in (0,1)&amp;lt;/math&amp;gt;. Calculate &amp;lt;math&amp;gt;\mathbf{Var}[X] = \mathbf{E}[X^2] - \left(\mathbf{E}[X]\right)^2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Hypergeometric distribution&amp;lt;/strong&amp;gt;] An urn contains [math]N[/math] balls, [math]b[/math] of which are blue and [math]r = N -b[/math] of which are red. A random sample of [math]n[/math] balls is drawn &amp;lt;strong&amp;gt;without replacement&amp;lt;/strong&amp;gt; (无放回) from the urn. Let [math]B[/math] the number of blue balls in this sample. Show that if [math]N, b[/math], and [math]r[/math] approach [math]+\infty[/math] in such a way that [math]b/N \rightarrow  p[/math] and [math]r/N \rightarrow 1 - p[/math], then [math]\mathbf{Pr}(B = k) \rightarrow {n\choose k}p^k(1-p)^{n-k}[/math] for [math]0\leq k \leq n[/math].&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Poisson distribution&amp;lt;/strong&amp;gt;] In your pocket is a random number &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; of coins, where &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; has the Poisson distribution with parameter &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;. You toss each coin once, with heads showing with probability &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; each time. Let &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; be the (random) number of heads outcomes and &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; be the (also random) number of tails.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Find the joint mass function of &amp;lt;math&amp;gt;(X,Y)&amp;lt;/math&amp;gt;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Find PDF of the marginal distribution of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;(X,Y)&amp;lt;/math&amp;gt;. Are &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; independent?&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Conditional distribution&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Let &amp;lt;math&amp;gt;\lambda,\mu &amp;gt; 0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n \in \mathbb{N}&amp;lt;/math&amp;gt; be parameters, and &amp;lt;math&amp;gt;X \sim \mathrm{Pois}(\lambda), Y \sim \mathrm{Pois}(\mu)&amp;lt;/math&amp;gt; be independent random variables. Find out the conditional distribution of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;, given &amp;lt;math&amp;gt;X+Y = n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 3 (Linearity of Expectation, 12 points) ==&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Streak&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Suppose we flip a fair coin &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; times independently to obtain a sequence of flips &amp;lt;math&amp;gt;X_1, X_2, \ldots , X_n&amp;lt;/math&amp;gt;. A streak of flips is a consecutive subsequence of flips that are all the same. For example, if &amp;lt;math&amp;gt;X_3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;X_4&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;X_5&amp;lt;/math&amp;gt; are all heads, there is a streak of length &amp;lt;math&amp;gt;3&amp;lt;/math&amp;gt; starting at the third lip. (If &amp;lt;math&amp;gt;X_6&amp;lt;/math&amp;gt; is also heads, then there is also a streak of length &amp;lt;math&amp;gt;4&amp;lt;/math&amp;gt; starting at the third lip.) Find the expected number of streaks of length &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; for some integer &amp;lt;math&amp;gt;k \ge 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Number of cycles&amp;lt;/strong&amp;gt;] &lt;br /&gt;
At a banquet, there are &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; people who shake hands according to the following process: In each round, two idle hands are randomly selected and shaken (&amp;lt;strong&amp;gt;these two hands are no longer idle&amp;lt;/strong&amp;gt;). After &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; rounds, there will be no idle hands left, and the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; people will form several cycles. For example, when &amp;lt;math&amp;gt;n=3&amp;lt;/math&amp;gt;, the following situation may occur: the left and right hands of the first person are held together, the left hand of the second person and the right hand of the third person are held together, and the right hand of the second person and the left hand of the third person are held together. In this case, three people form two cycles. How many cycles are expected to be formed after &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; rounds?&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Number of operations&amp;lt;/strong&amp;gt;]&lt;br /&gt;
We have a directed graph &amp;lt;math&amp;gt;G=(V,E)&amp;lt;/math&amp;gt; without self-loops and multi-edges.&lt;br /&gt;
&lt;br /&gt;
Until the graph becomes empty, repeat the following operation:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
Choose one (unerased) vertex uniformly at random (independently from the previous choices). Then, erase that vertex and all vertices that are reachable from the chosen vertex by traversing some edges. Erasing a vertex will also erase the edges incident to it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
Let &amp;lt;math&amp;gt;R_v&amp;lt;/math&amp;gt; denotes the number of vertices from which vertex &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt; is reachable. Prove that the expected value of the number of operations equals to &amp;lt;math&amp;gt;\sum_{v \in V} \frac{1}{R_v}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Expected Mex&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Let &amp;lt;math&amp;gt;X_1,X_2,\ldots,X_{100} \sim \mathrm{Geo}(1/2)&amp;lt;/math&amp;gt; be independent random variables. Compute &amp;lt;math&amp;gt;\mathbf{E}[\mathrm{mex}(X_1,X_2,\ldots,X_{100})]&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mathrm{mex}(a_1,a_2,\ldots,a_n)&amp;lt;/math&amp;gt; is the smallest positive integer that does not appear in &amp;lt;math&amp;gt;a_1,a_2,\ldots,a_n&amp;lt;/math&amp;gt;. Your answer is considered correct if the absolute error does not exceed &amp;lt;math&amp;gt;10^{-6}&amp;lt;/math&amp;gt;. (Hint: Although mathematics will help you arrive at elegant and efficient methods, the use of a computer and programming skills will be required.)&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 4 (Probability meets graph theory, 14 points) ==&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Random social networks&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Let &amp;lt;math&amp;gt;G = (V, E)&amp;lt;/math&amp;gt; be a &amp;lt;strong&amp;gt;fixed&amp;lt;/strong&amp;gt; undirected graph without isolating vertex. &lt;br /&gt;
Let &amp;lt;math&amp;gt;d_v&amp;lt;/math&amp;gt; be the degree of vertex &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; be a uniformly chosen vertex, and &amp;lt;math&amp;gt;Z&amp;lt;/math&amp;gt; a uniformly chosen neighbor of &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Show that &amp;lt;math&amp;gt;\mathbf{E}[d_Z] \geq \mathbf{E}[d_Y]&amp;lt;/math&amp;gt;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Interpret this inequality in the context of social networks, in which the vertices represent people, and the edges represent friendship.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Erdős–Rényi random graph&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Consider &amp;lt;math&amp;gt;G\sim G(n,p)&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;G(n,p)&amp;lt;/math&amp;gt; is the Erdős–Rényi random graph model. Let &amp;lt;math&amp;gt;\ell \ge 3&amp;lt;/math&amp;gt; be a fixed integer, and let &amp;lt;math&amp;gt;N_{\ell}&amp;lt;/math&amp;gt; be the random variable representing the number of cycles of length exactly &amp;lt;math&amp;gt;\ell&amp;lt;/math&amp;gt; in graph &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt;. Find the expected value &amp;lt;math&amp;gt;\mathbf{E}[N_{\ell}]&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Turán&#039;s Theorem&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Let &amp;lt;math&amp;gt;G=(V,E)&amp;lt;/math&amp;gt; be a &amp;lt;strong&amp;gt;fixed&amp;lt;/strong&amp;gt; undirected graph, and write &amp;lt;math&amp;gt;d_v&amp;lt;/math&amp;gt; for the degree of the vertex &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt;. Use probablistic method to prove that &amp;lt;math&amp;gt;\alpha(G) \ge \sum_{v \in V} \frac{1}{d_v + 1}&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\alpha(G)&amp;lt;/math&amp;gt; is the size of a maximum independent set. (Hint: Consider the following random procedure for generating an independent set &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; from a graph with vertex set &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt;: First, generate a random permutation of the vertices, denoted as &amp;lt;math&amp;gt;v_1,v_2,\ldots,v_n&amp;lt;/math&amp;gt;. Then, construct the independent set &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; as follows: For each vertex &amp;lt;math&amp;gt;v_i \in V&amp;lt;/math&amp;gt;, add &amp;lt;math&amp;gt;v_i&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; if and only if none of its predecessors in the permutation, i.e., &amp;lt;math&amp;gt;v_1,\ldots,v_{i-1}&amp;lt;/math&amp;gt;, are neighbors of &amp;lt;math&amp;gt;v_i&amp;lt;/math&amp;gt;.)&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Dominating set&amp;lt;/strong&amp;gt;]&lt;br /&gt;
A &#039;&#039;dominating set&#039;&#039; of vertices in an undirected graph &amp;lt;math&amp;gt;G = (V, E)&amp;lt;/math&amp;gt; is a set &amp;lt;math&amp;gt;S \subseteq V&amp;lt;/math&amp;gt; such that every vertex of&lt;br /&gt;
&amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; belongs to &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt; or has a neighbor in &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;G = (V, E)&amp;lt;/math&amp;gt; be an &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-vertex graph with minimum degree &amp;lt;math&amp;gt;d &amp;gt; 1&amp;lt;/math&amp;gt;. Prove that &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; has a dominating set with at most &amp;lt;math&amp;gt;\frac{n\left(1+\log(d+1)\right)}{d+1}&amp;lt;/math&amp;gt; vertices. (Hint: Consider a random vertex subset &amp;lt;math&amp;gt;S \subseteq V&amp;lt;/math&amp;gt; by including each vertex independently with&lt;br /&gt;
probability &amp;lt;math&amp;gt;p := \log(d + 1)/(d + 1)&amp;lt;/math&amp;gt;.)&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 5 (1D random walk, 8 points) ==&lt;br /&gt;
Let &amp;lt;math&amp;gt;p \in (0,1)&amp;lt;/math&amp;gt; be a constant, and &amp;lt;math&amp;gt;\{X_n\}_{n \ge 1}&amp;lt;/math&amp;gt; be independent Bernoulli trials with successful probability &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;.&lt;br /&gt;
Define &amp;lt;math&amp;gt;S_n = 2\sum_{i=1}^n X_i - n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;S_0 = 0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
[&amp;lt;strong&amp;gt;Range of random walk&amp;lt;/strong&amp;gt;] The range &amp;lt;math&amp;gt;R_n&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;S_0, S_1, \ldots, S_n&amp;lt;/math&amp;gt; is defined as the number of distinct values taken by the sequence. Show that &amp;lt;math&amp;gt;\mathbf{Pr}\left(R_n = R_{n-1}+1\right) = \mathbf{Pr}\left(\forall 1 \le i \le n, S_i \neq 0\right)&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;, and deduce that &amp;lt;math&amp;gt;n^{-1} \mathbf{E}[R_n]\to \mathbf{Pr}(\forall i \ge 1, S_i \neq 0)&amp;lt;/math&amp;gt;. Hence show that &amp;lt;math&amp;gt;n^{-1} \mathbf{E}[R_n] \to |2p-1|&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
[&amp;lt;strong&amp;gt;Symmetric 1D random walk&amp;lt;/strong&amp;gt;] Suppose &amp;lt;math&amp;gt;p = \frac{1}{2}&amp;lt;/math&amp;gt;. Prove that &amp;lt;math&amp;gt;\mathbf{E}[|S_n|] = \Theta(\sqrt{n})&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;/div&gt;</summary>
		<author><name>Zhe</name></author>
	</entry>
	<entry>
		<id>https://tcs.nju.edu.cn/wiki/index.php?title=%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1_(Spring_2026)/Problem_Set_2&amp;diff=13602</id>
		<title>概率论与数理统计 (Spring 2026)/Problem Set 2</title>
		<link rel="alternate" type="text/html" href="https://tcs.nju.edu.cn/wiki/index.php?title=%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1_(Spring_2026)/Problem_Set_2&amp;diff=13602"/>
		<updated>2026-04-07T15:19:23Z</updated>

		<summary type="html">&lt;p&gt;Zhe: /* Problem 5 (1D random walk, 8 points) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;font color=red&amp;gt;NOT FINISHED YET&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*每道题目的解答都要有完整的解题过程，中英文不限。&lt;br /&gt;
&lt;br /&gt;
*我们推荐大家使用LaTeX, markdown等对作业进行排版。&lt;br /&gt;
&lt;br /&gt;
*为督促大家认真完成平时作业、扎实掌握课程内容，本课程期末考试将从作业题目中&amp;lt;font color=red&amp;gt;随机抽取部分题目&amp;lt;/font&amp;gt;进行考查。请大家务必重视每一次作业，认真理解解题思路。&lt;br /&gt;
&lt;br /&gt;
*若考试中被抽取到的作业题目答错、答不完整或无法作答，将按照相关标准对作业进行&amp;lt;font color=red&amp;gt;扣分处理&amp;lt;/font&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
== Assumption throughout Problem Set 2==&lt;br /&gt;
&amp;lt;p&amp;gt;Without further notice, we are working on probability space &amp;lt;math&amp;gt;(\Omega,\mathcal{F},\mathbf{Pr})&amp;lt;/math&amp;gt;.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Without further notice, we assume that the expectation of random variables are well-defined.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;The term &amp;lt;math&amp;gt;\log&amp;lt;/math&amp;gt; used in this context refers to the natural logarithm.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 1 (Warm-up problems, 16 points) ==&lt;br /&gt;
* [&#039;&#039;&#039;Cumulative distribution function (CDF) (I)&#039;&#039;&#039;] Express the distribution functions of [math]X^+ = \max\{0,X\}[/math], [math]X^- = -\min\{0,X\}[/math], [math]|X|=X^+ + X^-[/math], [math]-X[/math], in terms of the distribution function [math]F[/math] of the random variable [math]X[/math].&lt;br /&gt;
* [&#039;&#039;&#039;Cumulative distribution function (CDF) (II)&#039;&#039;&#039;] Let [math]X[/math] be a random variable with distribution function [math]\max(0,\min(1,x))[/math]. Let [math]F[/math] be a distribution function which is continuous and strictly increasing. Show that [math]Y=F^{-1}(X)[/math] is a random variable with distribution function [math]F[/math].&lt;br /&gt;
* [&#039;&#039;&#039;Probability density function (PDF)&#039;&#039;&#039;] We toss &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; coins, and each one shows heads with probability &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, independently of each of the others. Each coin which shows head is tossed again. (If the coin shows tail, it won&#039;t be tossed again.) Let &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; be the number of heads resulting from the &amp;lt;strong&amp;gt;second&amp;lt;/strong&amp;gt; round of tosses, and &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; be the number of heads resulting from &amp;lt;strong&amp;gt;all&amp;lt;/strong&amp;gt; tosses, which includes the first and (possible) second round of each toss.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Find the PDF of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Find &amp;lt;math&amp;gt;\mathbf{E}[X]&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\mathbf{E}[Y]&amp;lt;/math&amp;gt;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Let &amp;lt;math&amp;gt;p_X&amp;lt;/math&amp;gt; be the PDF of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;, show that [math]p_X(k-1)p_X(k+1)\leq [p_X(k)]^2[/math] for &amp;lt;math&amp;gt;1\leq k \leq n-1&amp;lt;/math&amp;gt;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
* [&#039;&#039;&#039;Independence&#039;&#039;&#039;] Let &amp;lt;math&amp;gt;X_r&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;1\leq r\leq n&amp;lt;/math&amp;gt; be independent random variables which are symmetric about &amp;lt;math&amp;gt;0&amp;lt;/math&amp;gt;; that is, &amp;lt;math&amp;gt;X_r&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;-X_r&amp;lt;/math&amp;gt; have the same distributions. Show that, for all &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\mathbf{Pr}[S_n \geq x] = \mathbf{Pr}[S_n \leq -x]&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;S_n = \sum_{r=1}^n X_r&amp;lt;/math&amp;gt;. Is the conclusion true without the assumtion of independence?&lt;br /&gt;
* [&#039;&#039;&#039;Dependence&#039;&#039;&#039;] Let &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; be discrete random variables with joint mass function &amp;lt;math&amp;gt;f(x,y) = \frac{C}{(x+y-1)(x+y)(x+y+1)}&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;x,y \in \mathbb{N}_+&amp;lt;/math&amp;gt; (in other words, &amp;lt;math&amp;gt;x,y = 1,2,3,\cdots&amp;lt;/math&amp;gt;). Find (1) the value of &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt;, (2) marginal mass function of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; and (3) &amp;lt;math&amp;gt;\mathbf{E}[X]&amp;lt;/math&amp;gt;.&lt;br /&gt;
* [&#039;&#039;&#039;Expectation&#039;&#039;&#039;] It is required to place in order &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; books &amp;lt;math&amp;gt;B_1, B_2, \cdots, B_n&amp;lt;/math&amp;gt; on a library shelf in such way that readers searching from left to right waste as little time as possible on average. Assuming that a random reader requires book &amp;lt;math&amp;gt;B_i&amp;lt;/math&amp;gt; with probability &amp;lt;math&amp;gt;p_i&amp;lt;/math&amp;gt;, find the ordering of the books which minimizes the expected number of titles examined by a random reader before discovery of the required book.&lt;br /&gt;
* [&amp;lt;strong&amp;gt;Law of total expectation&amp;lt;/strong&amp;gt;] Let [math]X \sim \mathrm{Geom}(p)[/math] for some parameter [math]p \in (0,1)[/math]. Calculate [math]\mathbf{E}[X][/math] using the law of total expectation.&lt;br /&gt;
&lt;br /&gt;
* [&amp;lt;strong&amp;gt;Entropy of discrete random variable&amp;lt;/strong&amp;gt;] Let [math]X[/math] be a discrete random variable with range of values [math][N] = \{1,2,\ldots,N\}[/math] and probability mass function [math]p[/math]. Define [math]H(X) = -\sum_{n \ge 1} p(n) \log p(n)[/math] with convention [math]0\log 0 = 0[/math]. Prove that [math]H(X) \le \log N[/math] using Jensen&#039;s inequality.&lt;br /&gt;
&lt;br /&gt;
== Problem 2 (Discrete random variable, 14 points) ==&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Geometric distribution (I)&amp;lt;/strong&amp;gt;] Every package of some intrinsically dull commodity includes a small and exciting plastic object. There are [math]c[/math] different types of object, and each package is equally likely to contain any given type. You buy one package each day.&amp;lt;/p&amp;gt;&lt;br /&gt;
    &amp;lt;ol&amp;gt;&lt;br /&gt;
        &amp;lt;li&amp;gt;Find the expected number of days which elapse between the acquisitions of the [math]j[/math]-th new type of object and the [math](j + 1)[/math]-th new type.&amp;lt;/li&amp;gt;&lt;br /&gt;
        &amp;lt;li&amp;gt;Find the expected number of days which elapse before you have a full set of objects.&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Geometric distribution (II)&amp;lt;/strong&amp;gt;] Prove that geometric distribution is the only discrete memoryless distribution with range values &amp;lt;math&amp;gt;\mathbb{N}_+&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Binomial distribution&amp;lt;/strong&amp;gt;] Let &amp;lt;math&amp;gt;n_1,n_2 \in \mathbb{N}_+&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;0 \le p \le 1&amp;lt;/math&amp;gt; be parameters, and &amp;lt;math&amp;gt;X \sim \mathrm{Bin}(n_1,p),Y \sim \mathrm{Bin}(n_2,p)&amp;lt;/math&amp;gt; be independent random variables. Prove that &amp;lt;math&amp;gt;X+Y \sim \mathrm{Bin}(n_1+n_2,p)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Negative binomial distribution&amp;lt;/strong&amp;gt;] Let &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; follows the negative binomial distribution with parameter &amp;lt;math&amp;gt;r \in \mathbb{N}_+&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;p \in (0,1)&amp;lt;/math&amp;gt;. Calculate &amp;lt;math&amp;gt;\mathbf{Var}[X] = \mathbf{E}[X^2] - \left(\mathbf{E}[X]\right)^2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Hypergeometric distribution&amp;lt;/strong&amp;gt;] An urn contains [math]N[/math] balls, [math]b[/math] of which are blue and [math]r = N -b[/math] of which are red. A random sample of [math]n[/math] balls is drawn &amp;lt;strong&amp;gt;without replacement&amp;lt;/strong&amp;gt; (无放回) from the urn. Let [math]B[/math] the number of blue balls in this sample. Show that if [math]N, b[/math], and [math]r[/math] approach [math]+\infty[/math] in such a way that [math]b/N \rightarrow  p[/math] and [math]r/N \rightarrow 1 - p[/math], then [math]\mathbf{Pr}(B = k) \rightarrow {n\choose k}p^k(1-p)^{n-k}[/math] for [math]0\leq k \leq n[/math].&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Poisson distribution&amp;lt;/strong&amp;gt;] In your pocket is a random number &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; of coins, where &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; has the Poisson distribution with parameter &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;. You toss each coin once, with heads showing with probability &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; each time. Let &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; be the (random) number of heads outcomes and &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; be the (also random) number of tails.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Find the joint mass function of &amp;lt;math&amp;gt;(X,Y)&amp;lt;/math&amp;gt;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Find PDF of the marginal distribution of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;(X,Y)&amp;lt;/math&amp;gt;. Are &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; independent?&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Conditional distribution&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Let &amp;lt;math&amp;gt;\lambda,\mu &amp;gt; 0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n \in \mathbb{N}&amp;lt;/math&amp;gt; be parameters, and &amp;lt;math&amp;gt;X \sim \mathrm{Pois}(\lambda), Y \sim \mathrm{Pois}(\mu)&amp;lt;/math&amp;gt; be independent random variables. Find out the conditional distribution of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;, given &amp;lt;math&amp;gt;X+Y = n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 3 (Linearity of Expectation, 12 points) ==&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Streak&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Suppose we flip a fair coin &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; times independently to obtain a sequence of flips &amp;lt;math&amp;gt;X_1, X_2, \ldots , X_n&amp;lt;/math&amp;gt;. A streak of flips is a consecutive subsequence of flips that are all the same. For example, if &amp;lt;math&amp;gt;X_3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;X_4&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;X_5&amp;lt;/math&amp;gt; are all heads, there is a streak of length &amp;lt;math&amp;gt;3&amp;lt;/math&amp;gt; starting at the third lip. (If &amp;lt;math&amp;gt;X_6&amp;lt;/math&amp;gt; is also heads, then there is also a streak of length &amp;lt;math&amp;gt;4&amp;lt;/math&amp;gt; starting at the third lip.) Find the expected number of streaks of length &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; for some integer &amp;lt;math&amp;gt;k \ge 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Number of cycles&amp;lt;/strong&amp;gt;] &lt;br /&gt;
At a banquet, there are &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; people who shake hands according to the following process: In each round, two idle hands are randomly selected and shaken (&amp;lt;strong&amp;gt;these two hands are no longer idle&amp;lt;/strong&amp;gt;). After &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; rounds, there will be no idle hands left, and the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; people will form several cycles. For example, when &amp;lt;math&amp;gt;n=3&amp;lt;/math&amp;gt;, the following situation may occur: the left and right hands of the first person are held together, the left hand of the second person and the right hand of the third person are held together, and the right hand of the second person and the left hand of the third person are held together. In this case, three people form two cycles. How many cycles are expected to be formed after &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; rounds?&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Number of operations&amp;lt;/strong&amp;gt;]&lt;br /&gt;
We have a directed graph &amp;lt;math&amp;gt;G=(V,E)&amp;lt;/math&amp;gt; without self-loops and multi-edges.&lt;br /&gt;
&lt;br /&gt;
Until the graph becomes empty, repeat the following operation:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
Choose one (unerased) vertex uniformly at random (independently from the previous choices). Then, erase that vertex and all vertices that are reachable from the chosen vertex by traversing some edges. Erasing a vertex will also erase the edges incident to it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
Let &amp;lt;math&amp;gt;R_v&amp;lt;/math&amp;gt; denotes the number of vertices from which vertex &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt; is reachable. Prove that the expected value of the number of operations equals to &amp;lt;math&amp;gt;\sum_{v \in V} \frac{1}{R_v}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Expected Mex&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Let &amp;lt;math&amp;gt;X_1,X_2,\ldots,X_{100} \sim \mathrm{Geo}(1/2)&amp;lt;/math&amp;gt; be independent random variables. Compute &amp;lt;math&amp;gt;\mathbf{E}[\mathrm{mex}(X_1,X_2,\ldots,X_{100})]&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mathrm{mex}(a_1,a_2,\ldots,a_n)&amp;lt;/math&amp;gt; is the smallest positive integer that does not appear in &amp;lt;math&amp;gt;a_1,a_2,\ldots,a_n&amp;lt;/math&amp;gt;. Your answer is considered correct if the absolute error does not exceed &amp;lt;math&amp;gt;10^{-6}&amp;lt;/math&amp;gt;. (Hint: Although mathematics will help you arrive at elegant and efficient methods, the use of a computer and programming skills will be required.)&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 4 (Probability meets graph theory) ==&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Random social networks&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Let &amp;lt;math&amp;gt;G = (V, E)&amp;lt;/math&amp;gt; be a &amp;lt;strong&amp;gt;fixed&amp;lt;/strong&amp;gt; undirected graph without isolating vertex. &lt;br /&gt;
Let &amp;lt;math&amp;gt;d_v&amp;lt;/math&amp;gt; be the degree of vertex &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; be a uniformly chosen vertex, and &amp;lt;math&amp;gt;Z&amp;lt;/math&amp;gt; a uniformly chosen neighbor of &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Show that &amp;lt;math&amp;gt;\mathbf{E}[d_Z] \geq \mathbf{E}[d_Y]&amp;lt;/math&amp;gt;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Interpret this inequality in the context of social networks, in which the vertices represent people, and the edges represent friendship.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Turán&#039;s Theorem&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Let &amp;lt;math&amp;gt;G=(V,E)&amp;lt;/math&amp;gt; be a &amp;lt;strong&amp;gt;fixed&amp;lt;/strong&amp;gt; undirected graph, and write &amp;lt;math&amp;gt;d_v&amp;lt;/math&amp;gt; for the degree of the vertex &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt;. Use probablistic method to prove that &amp;lt;math&amp;gt;\alpha(G) \ge \sum_{v \in V} \frac{1}{d_v + 1}&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\alpha(G)&amp;lt;/math&amp;gt; is the size of a maximum independent set. (Hint: Consider the following random procedure for generating an independent set &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; from a graph with vertex set &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt;: First, generate a random permutation of the vertices, denoted as &amp;lt;math&amp;gt;v_1,v_2,\ldots,v_n&amp;lt;/math&amp;gt;. Then, construct the independent set &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; as follows: For each vertex &amp;lt;math&amp;gt;v_i \in V&amp;lt;/math&amp;gt;, add &amp;lt;math&amp;gt;v_i&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; if and only if none of its predecessors in the permutation, i.e., &amp;lt;math&amp;gt;v_1,\ldots,v_{i-1}&amp;lt;/math&amp;gt;, are neighbors of &amp;lt;math&amp;gt;v_i&amp;lt;/math&amp;gt;.)&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Tournament&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Prove that there is a [https://en.wikipedia.org/wiki/Tournament_(graph_theory) tournament] &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; players and at least &amp;lt;math&amp;gt;n!/2^{n-1}&amp;lt;/math&amp;gt;Hamiltonian paths.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 5 (1D random walk, 8 points) ==&lt;br /&gt;
Let &amp;lt;math&amp;gt;p \in (0,1)&amp;lt;/math&amp;gt; be a constant, and &amp;lt;math&amp;gt;\{X_n\}_{n \ge 1}&amp;lt;/math&amp;gt; be independent Bernoulli trials with successful probability &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;.&lt;br /&gt;
Define &amp;lt;math&amp;gt;S_n = 2\sum_{i=1}^n X_i - n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;S_0 = 0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
[&amp;lt;strong&amp;gt;Range of random walk&amp;lt;/strong&amp;gt;] The range &amp;lt;math&amp;gt;R_n&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;S_0, S_1, \ldots, S_n&amp;lt;/math&amp;gt; is defined as the number of distinct values taken by the sequence. Show that &amp;lt;math&amp;gt;\mathbf{Pr}\left(R_n = R_{n-1}+1\right) = \mathbf{Pr}\left(\forall 1 \le i \le n, S_i \neq 0\right)&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;, and deduce that &amp;lt;math&amp;gt;n^{-1} \mathbf{E}[R_n]\to \mathbf{Pr}(\forall i \ge 1, S_i \neq 0)&amp;lt;/math&amp;gt;. Hence show that &amp;lt;math&amp;gt;n^{-1} \mathbf{E}[R_n] \to |2p-1|&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
[&amp;lt;strong&amp;gt;Symmetric 1D random walk&amp;lt;/strong&amp;gt;] Suppose &amp;lt;math&amp;gt;p = \frac{1}{2}&amp;lt;/math&amp;gt;. Prove that &amp;lt;math&amp;gt;\mathbf{E}[|S_n|] = \Theta(\sqrt{n})&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;/div&gt;</summary>
		<author><name>Zhe</name></author>
	</entry>
	<entry>
		<id>https://tcs.nju.edu.cn/wiki/index.php?title=%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1_(Spring_2026)/Problem_Set_2&amp;diff=13601</id>
		<title>概率论与数理统计 (Spring 2026)/Problem Set 2</title>
		<link rel="alternate" type="text/html" href="https://tcs.nju.edu.cn/wiki/index.php?title=%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1_(Spring_2026)/Problem_Set_2&amp;diff=13601"/>
		<updated>2026-04-07T15:10:13Z</updated>

		<summary type="html">&lt;p&gt;Zhe: Created page with &amp;quot;&amp;lt;font color=red&amp;gt;NOT FINISHED YET&amp;lt;/font&amp;gt;  *每道题目的解答都要有完整的解题过程，中英文不限。  *我们推荐大家使用LaTeX, markdown等对作业进行排版。  *为督促大家认真完成平时作业、扎实掌握课程内容，本课程期末考试将从作业题目中&amp;lt;font color=red&amp;gt;随机抽取部分题目&amp;lt;/font&amp;gt;进行考查。请大家务必重视每一次作业，认真理解解题思路。  *若考试中被抽取到的作业题目答错...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;font color=red&amp;gt;NOT FINISHED YET&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*每道题目的解答都要有完整的解题过程，中英文不限。&lt;br /&gt;
&lt;br /&gt;
*我们推荐大家使用LaTeX, markdown等对作业进行排版。&lt;br /&gt;
&lt;br /&gt;
*为督促大家认真完成平时作业、扎实掌握课程内容，本课程期末考试将从作业题目中&amp;lt;font color=red&amp;gt;随机抽取部分题目&amp;lt;/font&amp;gt;进行考查。请大家务必重视每一次作业，认真理解解题思路。&lt;br /&gt;
&lt;br /&gt;
*若考试中被抽取到的作业题目答错、答不完整或无法作答，将按照相关标准对作业进行&amp;lt;font color=red&amp;gt;扣分处理&amp;lt;/font&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
== Assumption throughout Problem Set 2==&lt;br /&gt;
&amp;lt;p&amp;gt;Without further notice, we are working on probability space &amp;lt;math&amp;gt;(\Omega,\mathcal{F},\mathbf{Pr})&amp;lt;/math&amp;gt;.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Without further notice, we assume that the expectation of random variables are well-defined.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;The term &amp;lt;math&amp;gt;\log&amp;lt;/math&amp;gt; used in this context refers to the natural logarithm.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 1 (Warm-up problems, 16 points) ==&lt;br /&gt;
* [&#039;&#039;&#039;Cumulative distribution function (CDF) (I)&#039;&#039;&#039;] Express the distribution functions of [math]X^+ = \max\{0,X\}[/math], [math]X^- = -\min\{0,X\}[/math], [math]|X|=X^+ + X^-[/math], [math]-X[/math], in terms of the distribution function [math]F[/math] of the random variable [math]X[/math].&lt;br /&gt;
* [&#039;&#039;&#039;Cumulative distribution function (CDF) (II)&#039;&#039;&#039;] Let [math]X[/math] be a random variable with distribution function [math]\max(0,\min(1,x))[/math]. Let [math]F[/math] be a distribution function which is continuous and strictly increasing. Show that [math]Y=F^{-1}(X)[/math] is a random variable with distribution function [math]F[/math].&lt;br /&gt;
* [&#039;&#039;&#039;Probability density function (PDF)&#039;&#039;&#039;] We toss &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; coins, and each one shows heads with probability &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, independently of each of the others. Each coin which shows head is tossed again. (If the coin shows tail, it won&#039;t be tossed again.) Let &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; be the number of heads resulting from the &amp;lt;strong&amp;gt;second&amp;lt;/strong&amp;gt; round of tosses, and &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; be the number of heads resulting from &amp;lt;strong&amp;gt;all&amp;lt;/strong&amp;gt; tosses, which includes the first and (possible) second round of each toss.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Find the PDF of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Find &amp;lt;math&amp;gt;\mathbf{E}[X]&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\mathbf{E}[Y]&amp;lt;/math&amp;gt;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Let &amp;lt;math&amp;gt;p_X&amp;lt;/math&amp;gt; be the PDF of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;, show that [math]p_X(k-1)p_X(k+1)\leq [p_X(k)]^2[/math] for &amp;lt;math&amp;gt;1\leq k \leq n-1&amp;lt;/math&amp;gt;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
* [&#039;&#039;&#039;Independence&#039;&#039;&#039;] Let &amp;lt;math&amp;gt;X_r&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;1\leq r\leq n&amp;lt;/math&amp;gt; be independent random variables which are symmetric about &amp;lt;math&amp;gt;0&amp;lt;/math&amp;gt;; that is, &amp;lt;math&amp;gt;X_r&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;-X_r&amp;lt;/math&amp;gt; have the same distributions. Show that, for all &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\mathbf{Pr}[S_n \geq x] = \mathbf{Pr}[S_n \leq -x]&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;S_n = \sum_{r=1}^n X_r&amp;lt;/math&amp;gt;. Is the conclusion true without the assumtion of independence?&lt;br /&gt;
* [&#039;&#039;&#039;Dependence&#039;&#039;&#039;] Let &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; be discrete random variables with joint mass function &amp;lt;math&amp;gt;f(x,y) = \frac{C}{(x+y-1)(x+y)(x+y+1)}&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;x,y \in \mathbb{N}_+&amp;lt;/math&amp;gt; (in other words, &amp;lt;math&amp;gt;x,y = 1,2,3,\cdots&amp;lt;/math&amp;gt;). Find (1) the value of &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt;, (2) marginal mass function of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; and (3) &amp;lt;math&amp;gt;\mathbf{E}[X]&amp;lt;/math&amp;gt;.&lt;br /&gt;
* [&#039;&#039;&#039;Expectation&#039;&#039;&#039;] It is required to place in order &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; books &amp;lt;math&amp;gt;B_1, B_2, \cdots, B_n&amp;lt;/math&amp;gt; on a library shelf in such way that readers searching from left to right waste as little time as possible on average. Assuming that a random reader requires book &amp;lt;math&amp;gt;B_i&amp;lt;/math&amp;gt; with probability &amp;lt;math&amp;gt;p_i&amp;lt;/math&amp;gt;, find the ordering of the books which minimizes the expected number of titles examined by a random reader before discovery of the required book.&lt;br /&gt;
* [&amp;lt;strong&amp;gt;Law of total expectation&amp;lt;/strong&amp;gt;] Let [math]X \sim \mathrm{Geom}(p)[/math] for some parameter [math]p \in (0,1)[/math]. Calculate [math]\mathbf{E}[X][/math] using the law of total expectation.&lt;br /&gt;
&lt;br /&gt;
* [&amp;lt;strong&amp;gt;Entropy of discrete random variable&amp;lt;/strong&amp;gt;] Let [math]X[/math] be a discrete random variable with range of values [math][N] = \{1,2,\ldots,N\}[/math] and probability mass function [math]p[/math]. Define [math]H(X) = -\sum_{n \ge 1} p(n) \log p(n)[/math] with convention [math]0\log 0 = 0[/math]. Prove that [math]H(X) \le \log N[/math] using Jensen&#039;s inequality.&lt;br /&gt;
&lt;br /&gt;
== Problem 2 (Discrete random variable, 14 points) ==&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Geometric distribution (I)&amp;lt;/strong&amp;gt;] Every package of some intrinsically dull commodity includes a small and exciting plastic object. There are [math]c[/math] different types of object, and each package is equally likely to contain any given type. You buy one package each day.&amp;lt;/p&amp;gt;&lt;br /&gt;
    &amp;lt;ol&amp;gt;&lt;br /&gt;
        &amp;lt;li&amp;gt;Find the expected number of days which elapse between the acquisitions of the [math]j[/math]-th new type of object and the [math](j + 1)[/math]-th new type.&amp;lt;/li&amp;gt;&lt;br /&gt;
        &amp;lt;li&amp;gt;Find the expected number of days which elapse before you have a full set of objects.&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Geometric distribution (II)&amp;lt;/strong&amp;gt;] Prove that geometric distribution is the only discrete memoryless distribution with range values &amp;lt;math&amp;gt;\mathbb{N}_+&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Binomial distribution&amp;lt;/strong&amp;gt;] Let &amp;lt;math&amp;gt;n_1,n_2 \in \mathbb{N}_+&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;0 \le p \le 1&amp;lt;/math&amp;gt; be parameters, and &amp;lt;math&amp;gt;X \sim \mathrm{Bin}(n_1,p),Y \sim \mathrm{Bin}(n_2,p)&amp;lt;/math&amp;gt; be independent random variables. Prove that &amp;lt;math&amp;gt;X+Y \sim \mathrm{Bin}(n_1+n_2,p)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Negative binomial distribution&amp;lt;/strong&amp;gt;] Let &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; follows the negative binomial distribution with parameter &amp;lt;math&amp;gt;r \in \mathbb{N}_+&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;p \in (0,1)&amp;lt;/math&amp;gt;. Calculate &amp;lt;math&amp;gt;\mathbf{Var}[X] = \mathbf{E}[X^2] - \left(\mathbf{E}[X]\right)^2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Hypergeometric distribution&amp;lt;/strong&amp;gt;] An urn contains [math]N[/math] balls, [math]b[/math] of which are blue and [math]r = N -b[/math] of which are red. A random sample of [math]n[/math] balls is drawn &amp;lt;strong&amp;gt;without replacement&amp;lt;/strong&amp;gt; (无放回) from the urn. Let [math]B[/math] the number of blue balls in this sample. Show that if [math]N, b[/math], and [math]r[/math] approach [math]+\infty[/math] in such a way that [math]b/N \rightarrow  p[/math] and [math]r/N \rightarrow 1 - p[/math], then [math]\mathbf{Pr}(B = k) \rightarrow {n\choose k}p^k(1-p)^{n-k}[/math] for [math]0\leq k \leq n[/math].&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Poisson distribution&amp;lt;/strong&amp;gt;] In your pocket is a random number &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; of coins, where &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; has the Poisson distribution with parameter &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;. You toss each coin once, with heads showing with probability &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; each time. Let &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; be the (random) number of heads outcomes and &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; be the (also random) number of tails.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Find the joint mass function of &amp;lt;math&amp;gt;(X,Y)&amp;lt;/math&amp;gt;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Find PDF of the marginal distribution of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;(X,Y)&amp;lt;/math&amp;gt;. Are &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; independent?&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Conditional distribution&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Let &amp;lt;math&amp;gt;\lambda,\mu &amp;gt; 0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n \in \mathbb{N}&amp;lt;/math&amp;gt; be parameters, and &amp;lt;math&amp;gt;X \sim \mathrm{Pois}(\lambda), Y \sim \mathrm{Pois}(\mu)&amp;lt;/math&amp;gt; be independent random variables. Find out the conditional distribution of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;, given &amp;lt;math&amp;gt;X+Y = n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 3 (Linearity of Expectation, 12 points) ==&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Streak&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Suppose we flip a fair coin &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; times independently to obtain a sequence of flips &amp;lt;math&amp;gt;X_1, X_2, \ldots , X_n&amp;lt;/math&amp;gt;. A streak of flips is a consecutive subsequence of flips that are all the same. For example, if &amp;lt;math&amp;gt;X_3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;X_4&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;X_5&amp;lt;/math&amp;gt; are all heads, there is a streak of length &amp;lt;math&amp;gt;3&amp;lt;/math&amp;gt; starting at the third lip. (If &amp;lt;math&amp;gt;X_6&amp;lt;/math&amp;gt; is also heads, then there is also a streak of length &amp;lt;math&amp;gt;4&amp;lt;/math&amp;gt; starting at the third lip.) Find the expected number of streaks of length &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; for some integer &amp;lt;math&amp;gt;k \ge 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Number of cycles&amp;lt;/strong&amp;gt;] &lt;br /&gt;
At a banquet, there are &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; people who shake hands according to the following process: In each round, two idle hands are randomly selected and shaken (&amp;lt;strong&amp;gt;these two hands are no longer idle&amp;lt;/strong&amp;gt;). After &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; rounds, there will be no idle hands left, and the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; people will form several cycles. For example, when &amp;lt;math&amp;gt;n=3&amp;lt;/math&amp;gt;, the following situation may occur: the left and right hands of the first person are held together, the left hand of the second person and the right hand of the third person are held together, and the right hand of the second person and the left hand of the third person are held together. In this case, three people form two cycles. How many cycles are expected to be formed after &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; rounds?&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt; [&amp;lt;strong&amp;gt;Number of operations&amp;lt;/strong&amp;gt;]&lt;br /&gt;
We have a directed graph &amp;lt;math&amp;gt;G=(V,E)&amp;lt;/math&amp;gt; without self-loops and multi-edges.&lt;br /&gt;
&lt;br /&gt;
Until the graph becomes empty, repeat the following operation:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
Choose one (unerased) vertex uniformly at random (independently from the previous choices). Then, erase that vertex and all vertices that are reachable from the chosen vertex by traversing some edges. Erasing a vertex will also erase the edges incident to it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
Let &amp;lt;math&amp;gt;R_v&amp;lt;/math&amp;gt; denotes the number of vertices from which vertex &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt; is reachable. Prove that the expected value of the number of operations equals to &amp;lt;math&amp;gt;\sum_{v \in V} \frac{1}{R_v}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Expected Mex&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Let &amp;lt;math&amp;gt;X_1,X_2,\ldots,X_{100} \sim \mathrm{Geo}(1/2)&amp;lt;/math&amp;gt; be independent random variables. Compute &amp;lt;math&amp;gt;\mathbf{E}[\mathrm{mex}(X_1,X_2,\ldots,X_{100})]&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mathrm{mex}(a_1,a_2,\ldots,a_n)&amp;lt;/math&amp;gt; is the smallest positive integer that does not appear in &amp;lt;math&amp;gt;a_1,a_2,\ldots,a_n&amp;lt;/math&amp;gt;. Your answer is considered correct if the absolute error does not exceed &amp;lt;math&amp;gt;10^{-6}&amp;lt;/math&amp;gt;. (Hint: Although mathematics will help you arrive at elegant and efficient methods, the use of a computer and programming skills will be required.)&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 4 (Probability meets graph theory) ==&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Random social networks&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Let &amp;lt;math&amp;gt;G = (V, E)&amp;lt;/math&amp;gt; be a &amp;lt;strong&amp;gt;fixed&amp;lt;/strong&amp;gt; undirected graph without isolating vertex. &lt;br /&gt;
Let &amp;lt;math&amp;gt;d_v&amp;lt;/math&amp;gt; be the degree of vertex &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; be a uniformly chosen vertex, and &amp;lt;math&amp;gt;Z&amp;lt;/math&amp;gt; a uniformly chosen neighbor of &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Show that &amp;lt;math&amp;gt;\mathbf{E}[d_Z] \geq \mathbf{E}[d_Y]&amp;lt;/math&amp;gt;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Interpret this inequality in the context of social networks, in which the vertices represent people, and the edges represent friendship.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Turán&#039;s Theorem&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Let &amp;lt;math&amp;gt;G=(V,E)&amp;lt;/math&amp;gt; be a &amp;lt;strong&amp;gt;fixed&amp;lt;/strong&amp;gt; undirected graph, and write &amp;lt;math&amp;gt;d_v&amp;lt;/math&amp;gt; for the degree of the vertex &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt;. Use probablistic method to prove that &amp;lt;math&amp;gt;\alpha(G) \ge \sum_{v \in V} \frac{1}{d_v + 1}&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\alpha(G)&amp;lt;/math&amp;gt; is the size of a maximum independent set. (Hint: Consider the following random procedure for generating an independent set &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; from a graph with vertex set &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt;: First, generate a random permutation of the vertices, denoted as &amp;lt;math&amp;gt;v_1,v_2,\ldots,v_n&amp;lt;/math&amp;gt;. Then, construct the independent set &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; as follows: For each vertex &amp;lt;math&amp;gt;v_i \in V&amp;lt;/math&amp;gt;, add &amp;lt;math&amp;gt;v_i&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; if and only if none of its predecessors in the permutation, i.e., &amp;lt;math&amp;gt;v_1,\ldots,v_{i-1}&amp;lt;/math&amp;gt;, are neighbors of &amp;lt;math&amp;gt;v_i&amp;lt;/math&amp;gt;.)&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;[&amp;lt;strong&amp;gt;Tournament&amp;lt;/strong&amp;gt;]&lt;br /&gt;
Prove that there is a [https://en.wikipedia.org/wiki/Tournament_(graph_theory) tournament] &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; players and at least &amp;lt;math&amp;gt;n!/2^{n-1}&amp;lt;/math&amp;gt;Hamiltonian paths.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Problem 5 (1D random walk, 8 points) ==&lt;br /&gt;
Let &amp;lt;math&amp;gt;p \in (0,1)&amp;lt;/math&amp;gt; be a constant, and &amp;lt;math&amp;gt;\{X_n\}_{n \ge 1}&amp;lt;/math&amp;gt; be independent Bernoulli trials with successful probability &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;.&lt;br /&gt;
Define &amp;lt;math&amp;gt;S_n = 2\sum_{i=1}^n X_i - n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;S_0 = 0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
[&amp;lt;strong&amp;gt;Range of random walk&amp;lt;/strong&amp;gt;] The range &amp;lt;math&amp;gt;R_n&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;S_0, S_1, \ldots, S_n&amp;lt;/math&amp;gt; is defined as the number of distinct values taken by the sequence. Show that &amp;lt;math&amp;gt;\mathbf{Pr}\left(R_n = R_{n-1}+1\right) = \mathbf{Pr}\left(\forall 1 \le i \le n, S_i \neq 0\right)&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;, and deduce that &amp;lt;math&amp;gt;n^{-1} \mathbf{E}[R_n]\to \mathbf{Pr}(\forall i \ge 1, S_i \neq 0)&amp;lt;/math&amp;gt;. Hence show that &amp;lt;math&amp;gt;n^{-1} \mathbf{E}[R_n] \to |2p-1|&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
[&amp;lt;strong&amp;gt;Symmetric 1D random walk (III)&amp;lt;/strong&amp;gt;] Suppose &amp;lt;math&amp;gt;p = \frac{1}{2}&amp;lt;/math&amp;gt;. Prove that &amp;lt;math&amp;gt;\mathbf{E}[|S_n|] = \Theta(\sqrt{n})&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;/div&gt;</summary>
		<author><name>Zhe</name></author>
	</entry>
	<entry>
		<id>https://tcs.nju.edu.cn/wiki/index.php?title=%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1_(Spring_2026)&amp;diff=13497</id>
		<title>概率论与数理统计 (Spring 2026)</title>
		<link rel="alternate" type="text/html" href="https://tcs.nju.edu.cn/wiki/index.php?title=%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1_(Spring_2026)&amp;diff=13497"/>
		<updated>2026-03-10T06:00:27Z</updated>

		<summary type="html">&lt;p&gt;Zhe: update Concepts&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox&lt;br /&gt;
|name         = Infobox&lt;br /&gt;
|bodystyle    = &lt;br /&gt;
|title        = &amp;lt;font size=3&amp;gt;&#039;&#039;&#039;概率论与数理统计&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Probability Theory&#039;&#039;&#039; &amp;lt;br&amp;gt; &amp;amp; &#039;&#039;&#039;Mathematical Statistics&#039;&#039;&#039;&amp;lt;/font&amp;gt;&lt;br /&gt;
|titlestyle   = &lt;br /&gt;
&lt;br /&gt;
|image        = &lt;br /&gt;
|imagestyle   = &lt;br /&gt;
|caption      = &lt;br /&gt;
|captionstyle = &lt;br /&gt;
|headerstyle  = background:#ccf;&lt;br /&gt;
|labelstyle   = background:#ddf;&lt;br /&gt;
|datastyle    = &lt;br /&gt;
&lt;br /&gt;
|header1 =Instructor&lt;br /&gt;
|label1  = &lt;br /&gt;
|data1   = &lt;br /&gt;
|header2 = &lt;br /&gt;
|label2  = &lt;br /&gt;
|data2   = &#039;&#039;&#039;尹一通&#039;&#039;&#039;&lt;br /&gt;
|header3 = &lt;br /&gt;
|label3  = Email&lt;br /&gt;
|data3   = yinyt@nju.edu.cn  &lt;br /&gt;
|header4 =&lt;br /&gt;
|label4  = office&lt;br /&gt;
|data4   = 计算机系 804&lt;br /&gt;
|header5 = &lt;br /&gt;
|label5  = &lt;br /&gt;
|data5   = &#039;&#039;&#039;刘景铖&#039;&#039;&#039;&lt;br /&gt;
|header6 = &lt;br /&gt;
|label6  = Email&lt;br /&gt;
|data6   = liu@nju.edu.cn  &lt;br /&gt;
|header7 =&lt;br /&gt;
|label7  = office&lt;br /&gt;
|data7   = 计算机系 516&lt;br /&gt;
|header8 = Class&lt;br /&gt;
|label8  = &lt;br /&gt;
|data8   = &lt;br /&gt;
|header9 =&lt;br /&gt;
|label9  = Class meeting&lt;br /&gt;
|data9   = Wednesday, 9am-12am&amp;lt;br&amp;gt;&lt;br /&gt;
仙Ⅱ-212&lt;br /&gt;
|header10=&lt;br /&gt;
|label10 = Office hour&lt;br /&gt;
|data10  = TBA &amp;lt;br&amp;gt;计算机系 804（尹一通）&amp;lt;br&amp;gt;计算机系 516（刘景铖）&lt;br /&gt;
|header11= Textbook&lt;br /&gt;
|label11 = &lt;br /&gt;
|data11  = &lt;br /&gt;
|header12=&lt;br /&gt;
|label12 = &lt;br /&gt;
|data12  = [[File:概率导论.jpeg|border|100px]]&lt;br /&gt;
|header13=&lt;br /&gt;
|label13 = &lt;br /&gt;
|data13  = &#039;&#039;&#039;概率导论&#039;&#039;&#039;（第2版·修订版）&amp;lt;br&amp;gt; Dimitri P. Bertsekas and John N. Tsitsiklis&amp;lt;br&amp;gt; 郑忠国 童行伟 译；人民邮电出版社 (2022)&lt;br /&gt;
|header14=&lt;br /&gt;
|label14 = &lt;br /&gt;
|data14  = [[File:Grimmett_probability.jpg|border|100px]]&lt;br /&gt;
|header15=&lt;br /&gt;
|label15 = &lt;br /&gt;
|data15  = &#039;&#039;&#039;Probability and Random Processes&#039;&#039;&#039; (4E) &amp;lt;br&amp;gt; Geoffrey Grimmett and David Stirzaker &amp;lt;br&amp;gt;  Oxford University Press (2020)&lt;br /&gt;
|header16=&lt;br /&gt;
|label16 = &lt;br /&gt;
|data16  = [[File:Probability_and_Computing_2ed.jpg|border|100px]]&lt;br /&gt;
|header17=&lt;br /&gt;
|label17 = &lt;br /&gt;
|data17  = &#039;&#039;&#039;Probability and Computing&#039;&#039;&#039; (2E) &amp;lt;br&amp;gt; Michael Mitzenmacher and Eli Upfal &amp;lt;br&amp;gt;   Cambridge University Press (2017)&lt;br /&gt;
|belowstyle = background:#ddf;&lt;br /&gt;
|below = &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This is the webpage for the &#039;&#039;Probability Theory and Mathematical Statistics&#039;&#039; (概率论与数理统计) class of Spring 2026. Students who take this class should check this page periodically for content updates and new announcements. &lt;br /&gt;
&lt;br /&gt;
= Announcement =&lt;br /&gt;
* TBA&lt;br /&gt;
&lt;br /&gt;
= Course info =&lt;br /&gt;
* &#039;&#039;&#039;Instructor &#039;&#039;&#039;: &lt;br /&gt;
:* [http://tcs.nju.edu.cn/yinyt/ 尹一通]：[mailto:yinyt@nju.edu.cn &amp;lt;yinyt@nju.edu.cn&amp;gt;]，计算机系 804 &lt;br /&gt;
:* [https://liuexp.github.io 刘景铖]：[mailto:liu@nju.edu.cn &amp;lt;liu@nju.edu.cn&amp;gt;]，计算机系 516 &lt;br /&gt;
* &#039;&#039;&#039;Teaching assistant&#039;&#039;&#039;:&lt;br /&gt;
** 鞠哲：[mailto:juzhe@smail.nju.edu.cn &amp;lt;juzhe@smail.nju.edu.cn&amp;gt;]，计算机系 426&lt;br /&gt;
** 祝永祺：[mailto:652025330045@smail.nju.edu.cn &amp;lt;652025330045@smail.nju.edu.cn&amp;gt;]，计算机系 426&lt;br /&gt;
* &#039;&#039;&#039;Class meeting&#039;&#039;&#039;:&lt;br /&gt;
** 周三：9am-12am，仙Ⅱ-212&lt;br /&gt;
* &#039;&#039;&#039;Office hour&#039;&#039;&#039;: &lt;br /&gt;
:* TBA, 计算机系 804（尹一通）&lt;br /&gt;
:* TBA, 计算机系 516（刘景铖）&lt;br /&gt;
:* &#039;&#039;&#039;QQ群&#039;&#039;&#039;: 1090092561（申请加入需提供姓名、院系、学号）&lt;br /&gt;
&lt;br /&gt;
= Syllabus =&lt;br /&gt;
课程内容分为三大部分：&lt;br /&gt;
* &#039;&#039;&#039;经典概率论&#039;&#039;&#039;：概率空间、随机变量及其数字特征、多维与连续随机变量、极限定理等内容&lt;br /&gt;
* &#039;&#039;&#039;概率与计算&#039;&#039;&#039;：测度集中现象 (concentration of measure)、概率法 (the probabilistic method)、离散随机过程的相关专题&lt;br /&gt;
* &#039;&#039;&#039;数理统计&#039;&#039;&#039;：参数估计、假设检验、贝叶斯估计、线性回归等统计推断等概念&lt;br /&gt;
&lt;br /&gt;
对于第一和第二部分，要求清楚掌握基本概念，深刻理解关键的现象与规律以及背后的原理，并可以灵活运用所学方法求解相关问题。对于第三部分，要求熟悉数理统计的若干基本概念，以及典型的统计模型和统计推断问题。&lt;br /&gt;
&lt;br /&gt;
经过本课程的训练，力求使学生能够熟悉掌握概率的语言，并会利用概率思维来理解客观世界并对其建模，以及驾驭概率的数学工具来分析和求解专业问题。&lt;br /&gt;
&lt;br /&gt;
=== 教材与参考书 Course Materials ===&lt;br /&gt;
* &#039;&#039;&#039;[BT]&#039;&#039;&#039; 概率导论（第2版·修订版），[美]伯特瑟卡斯（Dimitri P.Bertsekas）[美]齐齐克利斯（John N.Tsitsiklis）著，郑忠国 童行伟 译，人民邮电出版社（2022）。&lt;br /&gt;
* &#039;&#039;&#039;[GS]&#039;&#039;&#039; &#039;&#039;Probability and Random Processes&#039;&#039;, by Geoffrey Grimmett and David Stirzaker; Oxford University Press; 4th edition (2020).&lt;br /&gt;
* &#039;&#039;&#039;[MU]&#039;&#039;&#039; &#039;&#039;Probability and Computing: Randomization and Probabilistic Techniques in Algorithms and Data Analysis&#039;&#039;, by Michael Mitzenmacher, Eli Upfal; Cambridge University Press; 2nd edition (2017).&lt;br /&gt;
&lt;br /&gt;
=== 成绩 Grading Policy ===&lt;br /&gt;
* 课程成绩：本课程将会有若干次作业和一次期末考试。最终成绩将由平时作业成绩和期末考试成绩综合得出。&lt;br /&gt;
* 迟交：如果有特殊的理由，无法按时完成作业，请提前联系授课老师，给出正当理由。否则迟交的作业将不被接受。&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;font color=red&amp;gt; 学术诚信 Academic Integrity &amp;lt;/font&amp;gt;===&lt;br /&gt;
学术诚信是所有从事学术活动的学生和学者最基本的职业道德底线，本课程将不遗余力的维护学术诚信规范，违反这一底线的行为将不会被容忍。&lt;br /&gt;
&lt;br /&gt;
作业完成的原则：署你名字的工作必须是你个人的贡献。在完成作业的过程中，允许讨论，前提是讨论的所有参与者均处于同等完成度。但关键想法的执行、以及作业文本的写作必须独立完成，并在作业中致谢（acknowledge）所有参与讨论的人。符合规则的讨论与致谢将不会影响得分。不允许其他任何形式的合作——尤其是与已经完成作业的同学“讨论”。&lt;br /&gt;
&lt;br /&gt;
本课程将对剽窃行为采取零容忍的态度。在完成作业过程中，对他人工作（出版物、互联网资料、其他人的作业等）直接的文本抄袭和对关键思想、关键元素的抄袭，按照 [http://www.acm.org/publications/policies/plagiarism_policy ACM Policy on Plagiarism]的解释，都将视为剽窃。剽窃者成绩将被取消。如果发现互相抄袭行为，&amp;lt;font color=red&amp;gt; 抄袭和被抄袭双方的成绩都将被取消&amp;lt;/font&amp;gt;。因此请主动防止自己的作业被他人抄袭。&lt;br /&gt;
&lt;br /&gt;
学术诚信影响学生个人的品行，也关乎整个教育系统的正常运转。为了一点分数而做出学术不端的行为，不仅使自己沦为一个欺骗者，也使他人的诚实努力失去意义。让我们一起努力维护一个诚信的环境。&lt;br /&gt;
&lt;br /&gt;
= Assignments =&lt;br /&gt;
&lt;br /&gt;
= Lectures =&lt;br /&gt;
# [http://tcs.nju.edu.cn/slides/prob2026/Intro.pdf 课程简介]&lt;br /&gt;
# [http://tcs.nju.edu.cn/slides/prob2026/ProbSpace.pdf 概率空间]&lt;br /&gt;
#* 阅读：&#039;&#039;&#039;[BT] 第1章&#039;&#039;&#039; 或 &#039;&#039;&#039;[GS] Chapter 1&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Concepts =&lt;br /&gt;
* [https://plato.stanford.edu/entries/probability-interpret/ Interpretations of probability]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/History_of_probability History of probability]&lt;br /&gt;
* Example problems:&lt;br /&gt;
** [https://dornsifecms.usc.edu/assets/sites/520/docs/VonNeumann-ams12p36-38.pdf von Neumann&#039;s Bernoulli factory] and other [https://peteroupc.github.io/bernoulli.html Bernoulli factory algorithms]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Boy_or_Girl_paradox Boy or Girl paradox]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Monty_Hall_problem Monty Hall problem]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Bertrand_paradox_(probability) Bertrand paradox]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Hard_spheres Hard spheres model] and [https://en.wikipedia.org/wiki/Ising_model Ising model]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/PageRank &#039;&#039;PageRank&#039;&#039;] and stationary [https://en.wikipedia.org/wiki/Random_walk random walk]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Diffusion_process Diffusion process] and [https://en.wikipedia.org/wiki/Diffusion_model diffusion model]&lt;br /&gt;
*[https://en.wikipedia.org/wiki/Probability_space Probability space]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Sample_space Sample space]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Event_(probability_theory) Event] and [https://en.wikipedia.org/wiki/Σ-algebra &amp;lt;math&amp;gt;\sigma&amp;lt;/math&amp;gt;-algebra]&lt;br /&gt;
** Kolmogorov&#039;s [https://en.wikipedia.org/wiki/Probability_axioms axioms of probability]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Discrete_uniform_distribution Classical] and [https://en.wikipedia.org/wiki/Geometric_probability goemetric probability]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Boole%27s_inequality Union bound]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Inclusion%E2%80%93exclusion_principle Inclusion-Exclusion principle]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Boole%27s_inequality#Bonferroni_inequalities Bonferroni inequalities]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Conditional_probability Conditional probability]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Chain_rule_(probability) Chain rule]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Law_of_total_probability Law of total probability]&lt;br /&gt;
** [https://en.wikipedia.org/wiki/Bayes%27_theorem Bayes&#039; law]&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Independence_(probability_theory) Independence] &lt;br /&gt;
** [https://en.wikipedia.org/wiki/Pairwise_independence Pairwise independence]&lt;/div&gt;</summary>
		<author><name>Zhe</name></author>
	</entry>
	<entry>
		<id>https://tcs.nju.edu.cn/wiki/index.php?title=%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1_(Spring_2026)&amp;diff=13469</id>
		<title>概率论与数理统计 (Spring 2026)</title>
		<link rel="alternate" type="text/html" href="https://tcs.nju.edu.cn/wiki/index.php?title=%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1_(Spring_2026)&amp;diff=13469"/>
		<updated>2026-03-01T14:48:50Z</updated>

		<summary type="html">&lt;p&gt;Zhe: update class meeting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox&lt;br /&gt;
|name         = Infobox&lt;br /&gt;
|bodystyle    = &lt;br /&gt;
|title        = &amp;lt;font size=3&amp;gt;&#039;&#039;&#039;概率论与数理统计&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Probability Theory&#039;&#039;&#039; &amp;lt;br&amp;gt; &amp;amp; &#039;&#039;&#039;Mathematical Statistics&#039;&#039;&#039;&amp;lt;/font&amp;gt;&lt;br /&gt;
|titlestyle   = &lt;br /&gt;
&lt;br /&gt;
|image        = &lt;br /&gt;
|imagestyle   = &lt;br /&gt;
|caption      = &lt;br /&gt;
|captionstyle = &lt;br /&gt;
|headerstyle  = background:#ccf;&lt;br /&gt;
|labelstyle   = background:#ddf;&lt;br /&gt;
|datastyle    = &lt;br /&gt;
&lt;br /&gt;
|header1 =Instructor&lt;br /&gt;
|label1  = &lt;br /&gt;
|data1   = &lt;br /&gt;
|header2 = &lt;br /&gt;
|label2  = &lt;br /&gt;
|data2   = &#039;&#039;&#039;尹一通&#039;&#039;&#039;&lt;br /&gt;
|header3 = &lt;br /&gt;
|label3  = Email&lt;br /&gt;
|data3   = yinyt@nju.edu.cn  &lt;br /&gt;
|header4 =&lt;br /&gt;
|label4  = office&lt;br /&gt;
|data4   = 计算机系 804&lt;br /&gt;
|header5 = &lt;br /&gt;
|label5  = &lt;br /&gt;
|data5   = &#039;&#039;&#039;刘景铖&#039;&#039;&#039;&lt;br /&gt;
|header6 = &lt;br /&gt;
|label6  = Email&lt;br /&gt;
|data6   = liu@nju.edu.cn  &lt;br /&gt;
|header7 =&lt;br /&gt;
|label7  = office&lt;br /&gt;
|data7   = 计算机系 516&lt;br /&gt;
|header8 = Class&lt;br /&gt;
|label8  = &lt;br /&gt;
|data8   = &lt;br /&gt;
|header9 =&lt;br /&gt;
|label9  = Class meeting&lt;br /&gt;
|data9   = Wednesday, 9am-12am&amp;lt;br&amp;gt;&lt;br /&gt;
仙Ⅱ-212&lt;br /&gt;
|header10=&lt;br /&gt;
|label10 = Office hour&lt;br /&gt;
|data10  = TBA &amp;lt;br&amp;gt;计算机系 804（尹一通）&amp;lt;br&amp;gt;计算机系 516（刘景铖）&lt;br /&gt;
|header11= Textbook&lt;br /&gt;
|label11 = &lt;br /&gt;
|data11  = &lt;br /&gt;
|header12=&lt;br /&gt;
|label12 = &lt;br /&gt;
|data12  = [[File:概率导论.jpeg|border|100px]]&lt;br /&gt;
|header13=&lt;br /&gt;
|label13 = &lt;br /&gt;
|data13  = &#039;&#039;&#039;概率导论&#039;&#039;&#039;（第2版·修订版）&amp;lt;br&amp;gt; Dimitri P. Bertsekas and John N. Tsitsiklis&amp;lt;br&amp;gt; 郑忠国 童行伟 译；人民邮电出版社 (2022)&lt;br /&gt;
|header14=&lt;br /&gt;
|label14 = &lt;br /&gt;
|data14  = [[File:Grimmett_probability.jpg|border|100px]]&lt;br /&gt;
|header15=&lt;br /&gt;
|label15 = &lt;br /&gt;
|data15  = &#039;&#039;&#039;Probability and Random Processes&#039;&#039;&#039; (4E) &amp;lt;br&amp;gt; Geoffrey Grimmett and David Stirzaker &amp;lt;br&amp;gt;  Oxford University Press (2020)&lt;br /&gt;
|header16=&lt;br /&gt;
|label16 = &lt;br /&gt;
|data16  = [[File:Probability_and_Computing_2ed.jpg|border|100px]]&lt;br /&gt;
|header17=&lt;br /&gt;
|label17 = &lt;br /&gt;
|data17  = &#039;&#039;&#039;Probability and Computing&#039;&#039;&#039; (2E) &amp;lt;br&amp;gt; Michael Mitzenmacher and Eli Upfal &amp;lt;br&amp;gt;   Cambridge University Press (2017)&lt;br /&gt;
|belowstyle = background:#ddf;&lt;br /&gt;
|below = &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This is the webpage for the &#039;&#039;Probability Theory and Mathematical Statistics&#039;&#039; (概率论与数理统计) class of Spring 2026. Students who take this class should check this page periodically for content updates and new announcements. &lt;br /&gt;
&lt;br /&gt;
= Announcement =&lt;br /&gt;
* TBA&lt;br /&gt;
&lt;br /&gt;
= Course info =&lt;br /&gt;
* &#039;&#039;&#039;Instructor &#039;&#039;&#039;: &lt;br /&gt;
:* [http://tcs.nju.edu.cn/yinyt/ 尹一通]：[mailto:yinyt@nju.edu.cn &amp;lt;yinyt@nju.edu.cn&amp;gt;]，计算机系 804 &lt;br /&gt;
:* [https://liuexp.github.io 刘景铖]：[mailto:liu@nju.edu.cn &amp;lt;liu@nju.edu.cn&amp;gt;]，计算机系 516 &lt;br /&gt;
* &#039;&#039;&#039;Teaching assistant&#039;&#039;&#039;:&lt;br /&gt;
** 鞠哲：[mailto:juzhe@smail.nju.edu.cn &amp;lt;juzhe@smail.nju.edu.cn&amp;gt;]，计算机系 426&lt;br /&gt;
** 祝永祺：[mailto:652025330045@smail.nju.edu.cn &amp;lt;652025330045@smail.nju.edu.cn&amp;gt;]，计算机系 426&lt;br /&gt;
* &#039;&#039;&#039;Class meeting&#039;&#039;&#039;:&lt;br /&gt;
** 周三：9am-12am，仙Ⅱ-212&lt;br /&gt;
* &#039;&#039;&#039;Office hour&#039;&#039;&#039;: &lt;br /&gt;
:* TBA, 计算机系 804（尹一通）&lt;br /&gt;
:* TBA, 计算机系 516（刘景铖）&lt;br /&gt;
:* &#039;&#039;&#039;QQ群&#039;&#039;&#039;: 1090092561（申请加入需提供姓名、院系、学号）&lt;br /&gt;
&lt;br /&gt;
= Syllabus =&lt;br /&gt;
课程内容分为三大部分：&lt;br /&gt;
* &#039;&#039;&#039;经典概率论&#039;&#039;&#039;：概率空间、随机变量及其数字特征、多维与连续随机变量、极限定理等内容&lt;br /&gt;
* &#039;&#039;&#039;概率与计算&#039;&#039;&#039;：测度集中现象 (concentration of measure)、概率法 (the probabilistic method)、离散随机过程的相关专题&lt;br /&gt;
* &#039;&#039;&#039;数理统计&#039;&#039;&#039;：参数估计、假设检验、贝叶斯估计、线性回归等统计推断等概念&lt;br /&gt;
&lt;br /&gt;
对于第一和第二部分，要求清楚掌握基本概念，深刻理解关键的现象与规律以及背后的原理，并可以灵活运用所学方法求解相关问题。对于第三部分，要求熟悉数理统计的若干基本概念，以及典型的统计模型和统计推断问题。&lt;br /&gt;
&lt;br /&gt;
经过本课程的训练，力求使学生能够熟悉掌握概率的语言，并会利用概率思维来理解客观世界并对其建模，以及驾驭概率的数学工具来分析和求解专业问题。&lt;br /&gt;
&lt;br /&gt;
=== 教材与参考书 Course Materials ===&lt;br /&gt;
* &#039;&#039;&#039;[BT]&#039;&#039;&#039; 概率导论（第2版·修订版），[美]伯特瑟卡斯（Dimitri P.Bertsekas）[美]齐齐克利斯（John N.Tsitsiklis）著，郑忠国 童行伟 译，人民邮电出版社（2022）。&lt;br /&gt;
* &#039;&#039;&#039;[GS]&#039;&#039;&#039; &#039;&#039;Probability and Random Processes&#039;&#039;, by Geoffrey Grimmett and David Stirzaker; Oxford University Press; 4th edition (2020).&lt;br /&gt;
* &#039;&#039;&#039;[MU]&#039;&#039;&#039; &#039;&#039;Probability and Computing: Randomization and Probabilistic Techniques in Algorithms and Data Analysis&#039;&#039;, by Michael Mitzenmacher, Eli Upfal; Cambridge University Press; 2nd edition (2017).&lt;br /&gt;
&lt;br /&gt;
=== 成绩 Grading Policy ===&lt;br /&gt;
* 课程成绩：本课程将会有若干次作业和一次期末考试。最终成绩将由平时作业成绩和期末考试成绩综合得出。&lt;br /&gt;
* 迟交：如果有特殊的理由，无法按时完成作业，请提前联系授课老师，给出正当理由。否则迟交的作业将不被接受。&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;font color=red&amp;gt; 学术诚信 Academic Integrity &amp;lt;/font&amp;gt;===&lt;br /&gt;
学术诚信是所有从事学术活动的学生和学者最基本的职业道德底线，本课程将不遗余力的维护学术诚信规范，违反这一底线的行为将不会被容忍。&lt;br /&gt;
&lt;br /&gt;
作业完成的原则：署你名字的工作必须是你个人的贡献。在完成作业的过程中，允许讨论，前提是讨论的所有参与者均处于同等完成度。但关键想法的执行、以及作业文本的写作必须独立完成，并在作业中致谢（acknowledge）所有参与讨论的人。符合规则的讨论与致谢将不会影响得分。不允许其他任何形式的合作——尤其是与已经完成作业的同学“讨论”。&lt;br /&gt;
&lt;br /&gt;
本课程将对剽窃行为采取零容忍的态度。在完成作业过程中，对他人工作（出版物、互联网资料、其他人的作业等）直接的文本抄袭和对关键思想、关键元素的抄袭，按照 [http://www.acm.org/publications/policies/plagiarism_policy ACM Policy on Plagiarism]的解释，都将视为剽窃。剽窃者成绩将被取消。如果发现互相抄袭行为，&amp;lt;font color=red&amp;gt; 抄袭和被抄袭双方的成绩都将被取消&amp;lt;/font&amp;gt;。因此请主动防止自己的作业被他人抄袭。&lt;br /&gt;
&lt;br /&gt;
学术诚信影响学生个人的品行，也关乎整个教育系统的正常运转。为了一点分数而做出学术不端的行为，不仅使自己沦为一个欺骗者，也使他人的诚实努力失去意义。让我们一起努力维护一个诚信的环境。&lt;br /&gt;
&lt;br /&gt;
= Assignments =&lt;br /&gt;
&lt;br /&gt;
= Lectures =&lt;br /&gt;
&lt;br /&gt;
= Concepts =&lt;/div&gt;</summary>
		<author><name>Zhe</name></author>
	</entry>
	<entry>
		<id>https://tcs.nju.edu.cn/wiki/index.php?title=%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1_(Spring_2026)&amp;diff=13459</id>
		<title>概率论与数理统计 (Spring 2026)</title>
		<link rel="alternate" type="text/html" href="https://tcs.nju.edu.cn/wiki/index.php?title=%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1_(Spring_2026)&amp;diff=13459"/>
		<updated>2026-02-28T09:38:04Z</updated>

		<summary type="html">&lt;p&gt;Zhe: init page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox&lt;br /&gt;
|name         = Infobox&lt;br /&gt;
|bodystyle    = &lt;br /&gt;
|title        = &amp;lt;font size=3&amp;gt;&#039;&#039;&#039;概率论与数理统计&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Probability Theory&#039;&#039;&#039; &amp;lt;br&amp;gt; &amp;amp; &#039;&#039;&#039;Mathematical Statistics&#039;&#039;&#039;&amp;lt;/font&amp;gt;&lt;br /&gt;
|titlestyle   = &lt;br /&gt;
&lt;br /&gt;
|image        = &lt;br /&gt;
|imagestyle   = &lt;br /&gt;
|caption      = &lt;br /&gt;
|captionstyle = &lt;br /&gt;
|headerstyle  = background:#ccf;&lt;br /&gt;
|labelstyle   = background:#ddf;&lt;br /&gt;
|datastyle    = &lt;br /&gt;
&lt;br /&gt;
|header1 =Instructor&lt;br /&gt;
|label1  = &lt;br /&gt;
|data1   = &lt;br /&gt;
|header2 = &lt;br /&gt;
|label2  = &lt;br /&gt;
|data2   = &#039;&#039;&#039;尹一通&#039;&#039;&#039;&lt;br /&gt;
|header3 = &lt;br /&gt;
|label3  = Email&lt;br /&gt;
|data3   = yinyt@nju.edu.cn  &lt;br /&gt;
|header4 =&lt;br /&gt;
|label4  = office&lt;br /&gt;
|data4   = 计算机系 804&lt;br /&gt;
|header5 = &lt;br /&gt;
|label5  = &lt;br /&gt;
|data5   = &#039;&#039;&#039;刘景铖&#039;&#039;&#039;&lt;br /&gt;
|header6 = &lt;br /&gt;
|label6  = Email&lt;br /&gt;
|data6   = liu@nju.edu.cn  &lt;br /&gt;
|header7 =&lt;br /&gt;
|label7  = office&lt;br /&gt;
|data7   = 计算机系 516&lt;br /&gt;
|header8 = Class&lt;br /&gt;
|label8  = &lt;br /&gt;
|data8   = &lt;br /&gt;
|header9 =&lt;br /&gt;
|label9  = Class meeting&lt;br /&gt;
|data9   = Monday, 10am-12pm&amp;lt;br&amp;gt;&lt;br /&gt;
Wednesday (单), 10am-12pm&amp;lt;br&amp;gt;&lt;br /&gt;
仙Ⅰ-204&lt;br /&gt;
|header10=&lt;br /&gt;
|label10 = Office hour&lt;br /&gt;
|data10  = Friday, 2pm-3pm &amp;lt;br&amp;gt;计算机系 804（尹一通）&amp;lt;br&amp;gt;计算机系 516（刘景铖）&lt;br /&gt;
|header11= Textbook&lt;br /&gt;
|label11 = &lt;br /&gt;
|data11  = &lt;br /&gt;
|header12=&lt;br /&gt;
|label12 = &lt;br /&gt;
|data12  = [[File:概率导论.jpeg|border|100px]]&lt;br /&gt;
|header13=&lt;br /&gt;
|label13 = &lt;br /&gt;
|data13  = &#039;&#039;&#039;概率导论&#039;&#039;&#039;（第2版·修订版）&amp;lt;br&amp;gt; Dimitri P. Bertsekas and John N. Tsitsiklis&amp;lt;br&amp;gt; 郑忠国 童行伟 译；人民邮电出版社 (2022)&lt;br /&gt;
|header14=&lt;br /&gt;
|label14 = &lt;br /&gt;
|data14  = [[File:Grimmett_probability.jpg|border|100px]]&lt;br /&gt;
|header15=&lt;br /&gt;
|label15 = &lt;br /&gt;
|data15  = &#039;&#039;&#039;Probability and Random Processes&#039;&#039;&#039; (4E) &amp;lt;br&amp;gt; Geoffrey Grimmett and David Stirzaker &amp;lt;br&amp;gt;  Oxford University Press (2020)&lt;br /&gt;
|header16=&lt;br /&gt;
|label16 = &lt;br /&gt;
|data16  = [[File:Probability_and_Computing_2ed.jpg|border|100px]]&lt;br /&gt;
|header17=&lt;br /&gt;
|label17 = &lt;br /&gt;
|data17  = &#039;&#039;&#039;Probability and Computing&#039;&#039;&#039; (2E) &amp;lt;br&amp;gt; Michael Mitzenmacher and Eli Upfal &amp;lt;br&amp;gt;   Cambridge University Press (2017)&lt;br /&gt;
|belowstyle = background:#ddf;&lt;br /&gt;
|below = &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This is the webpage for the &#039;&#039;Probability Theory and Mathematical Statistics&#039;&#039; (概率论与数理统计) class of Spring 2026. Students who take this class should check this page periodically for content updates and new announcements. &lt;br /&gt;
&lt;br /&gt;
= Announcement =&lt;br /&gt;
* TBA&lt;br /&gt;
&lt;br /&gt;
= Course info =&lt;br /&gt;
* &#039;&#039;&#039;Instructor &#039;&#039;&#039;: &lt;br /&gt;
:* [http://tcs.nju.edu.cn/yinyt/ 尹一通]：[mailto:yinyt@nju.edu.cn &amp;lt;yinyt@nju.edu.cn&amp;gt;]，计算机系 804 &lt;br /&gt;
:* [https://liuexp.github.io 刘景铖]：[mailto:liu@nju.edu.cn &amp;lt;liu@nju.edu.cn&amp;gt;]，计算机系 516 &lt;br /&gt;
* &#039;&#039;&#039;Teaching assistant&#039;&#039;&#039;:&lt;br /&gt;
** 鞠哲：[mailto:juzhe@smail.nju.edu.cn &amp;lt;juzhe@smail.nju.edu.cn&amp;gt;]，计算机系 426&lt;br /&gt;
** 祝永祺：[mailto:652025330045@smail.nju.edu.cn &amp;lt;652025330045@smail.nju.edu.cn&amp;gt;]，计算机系 426&lt;br /&gt;
* &#039;&#039;&#039;Class meeting&#039;&#039;&#039;:&lt;br /&gt;
** TBA&lt;br /&gt;
* &#039;&#039;&#039;Office hour&#039;&#039;&#039;: &lt;br /&gt;
:* TBA, 计算机系 804（尹一通）&lt;br /&gt;
:* TBA, 计算机系 516（刘景铖）&lt;br /&gt;
:* &#039;&#039;&#039;QQ群&#039;&#039;&#039;: TBA（申请加入需提供姓名、院系、学号）&lt;br /&gt;
&lt;br /&gt;
= Syllabus =&lt;br /&gt;
课程内容分为三大部分：&lt;br /&gt;
* &#039;&#039;&#039;经典概率论&#039;&#039;&#039;：概率空间、随机变量及其数字特征、多维与连续随机变量、极限定理等内容&lt;br /&gt;
* &#039;&#039;&#039;概率与计算&#039;&#039;&#039;：测度集中现象 (concentration of measure)、概率法 (the probabilistic method)、离散随机过程的相关专题&lt;br /&gt;
* &#039;&#039;&#039;数理统计&#039;&#039;&#039;：参数估计、假设检验、贝叶斯估计、线性回归等统计推断等概念&lt;br /&gt;
&lt;br /&gt;
对于第一和第二部分，要求清楚掌握基本概念，深刻理解关键的现象与规律以及背后的原理，并可以灵活运用所学方法求解相关问题。对于第三部分，要求熟悉数理统计的若干基本概念，以及典型的统计模型和统计推断问题。&lt;br /&gt;
&lt;br /&gt;
经过本课程的训练，力求使学生能够熟悉掌握概率的语言，并会利用概率思维来理解客观世界并对其建模，以及驾驭概率的数学工具来分析和求解专业问题。&lt;br /&gt;
&lt;br /&gt;
=== 教材与参考书 Course Materials ===&lt;br /&gt;
* &#039;&#039;&#039;[BT]&#039;&#039;&#039; 概率导论（第2版·修订版），[美]伯特瑟卡斯（Dimitri P.Bertsekas）[美]齐齐克利斯（John N.Tsitsiklis）著，郑忠国 童行伟 译，人民邮电出版社（2022）。&lt;br /&gt;
* &#039;&#039;&#039;[GS]&#039;&#039;&#039; &#039;&#039;Probability and Random Processes&#039;&#039;, by Geoffrey Grimmett and David Stirzaker; Oxford University Press; 4th edition (2020).&lt;br /&gt;
* &#039;&#039;&#039;[MU]&#039;&#039;&#039; &#039;&#039;Probability and Computing: Randomization and Probabilistic Techniques in Algorithms and Data Analysis&#039;&#039;, by Michael Mitzenmacher, Eli Upfal; Cambridge University Press; 2nd edition (2017).&lt;br /&gt;
&lt;br /&gt;
=== 成绩 Grading Policy ===&lt;br /&gt;
* 课程成绩：本课程将会有若干次作业和一次期末考试。最终成绩将由平时作业成绩和期末考试成绩综合得出。&lt;br /&gt;
* 迟交：如果有特殊的理由，无法按时完成作业，请提前联系授课老师，给出正当理由。否则迟交的作业将不被接受。&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;font color=red&amp;gt; 学术诚信 Academic Integrity &amp;lt;/font&amp;gt;===&lt;br /&gt;
学术诚信是所有从事学术活动的学生和学者最基本的职业道德底线，本课程将不遗余力的维护学术诚信规范，违反这一底线的行为将不会被容忍。&lt;br /&gt;
&lt;br /&gt;
作业完成的原则：署你名字的工作必须是你个人的贡献。在完成作业的过程中，允许讨论，前提是讨论的所有参与者均处于同等完成度。但关键想法的执行、以及作业文本的写作必须独立完成，并在作业中致谢（acknowledge）所有参与讨论的人。符合规则的讨论与致谢将不会影响得分。不允许其他任何形式的合作——尤其是与已经完成作业的同学“讨论”。&lt;br /&gt;
&lt;br /&gt;
本课程将对剽窃行为采取零容忍的态度。在完成作业过程中，对他人工作（出版物、互联网资料、其他人的作业等）直接的文本抄袭和对关键思想、关键元素的抄袭，按照 [http://www.acm.org/publications/policies/plagiarism_policy ACM Policy on Plagiarism]的解释，都将视为剽窃。剽窃者成绩将被取消。如果发现互相抄袭行为，&amp;lt;font color=red&amp;gt; 抄袭和被抄袭双方的成绩都将被取消&amp;lt;/font&amp;gt;。因此请主动防止自己的作业被他人抄袭。&lt;br /&gt;
&lt;br /&gt;
学术诚信影响学生个人的品行，也关乎整个教育系统的正常运转。为了一点分数而做出学术不端的行为，不仅使自己沦为一个欺骗者，也使他人的诚实努力失去意义。让我们一起努力维护一个诚信的环境。&lt;br /&gt;
&lt;br /&gt;
= Assignments =&lt;br /&gt;
&lt;br /&gt;
= Lectures =&lt;br /&gt;
&lt;br /&gt;
= Concepts =&lt;/div&gt;</summary>
		<author><name>Zhe</name></author>
	</entry>
	<entry>
		<id>https://tcs.nju.edu.cn/wiki/index.php?title=Main_Page&amp;diff=13458</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://tcs.nju.edu.cn/wiki/index.php?title=Main_Page&amp;diff=13458"/>
		<updated>2026-02-28T09:25:26Z</updated>

		<summary type="html">&lt;p&gt;Zhe: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a course/seminar wiki run by the [http://tcs.nju.edu.cn theory group] in the Department of Computer Science and Technology at Nanjing University.&lt;br /&gt;
&lt;br /&gt;
== Home Pages for Courses and Seminars==&lt;br /&gt;
;Current semester&lt;br /&gt;
* [[高级算法 (Fall 2025)|高级算法 Advanced Algorithms (Fall 2025)]]&lt;br /&gt;
&lt;br /&gt;
* [[高级算法 (Spring 2026)|高级算法 Advanced Algorithms (Spring 2026, Suzhou)]]&lt;br /&gt;
&lt;br /&gt;
* [[概率论与数理统计 (Spring 2026)|概率论与数理统计 Probability Theory (Spring 2026)]]&lt;br /&gt;
&lt;br /&gt;
;Past courses&lt;br /&gt;
&lt;br /&gt;
* Advanced Algorithms: [[高级算法 (Spring 2025)|Spring 2025(Suzhou)]], [[高级算法 (Fall 2024)|Fall 2024]], [[高级算法 (Fall 2023)|Fall 2023]], [[高级算法 (Fall 2022)|Fall 2022]], [[高级算法 (Fall 2021)|Fall 2021]], [[高级算法 (Fall 2020)|Fall 2020]], [[高级算法 (Fall 2019)|Fall 2019]], [[高级算法 (Fall 2018)|Fall 2018]], [[高级算法 (Fall 2017)|Fall 2017]], [[随机算法 \ 高级算法 (Fall 2016)|Fall 2016]].&lt;br /&gt;
&lt;br /&gt;
*Algorithm Design and Analysis: [https://tcs.nju.edu.cn/shili/courses/2024spring-algo/ Spring 2024]&lt;br /&gt;
&lt;br /&gt;
* Combinatorics: [[组合数学 (Spring 2025)|Spring 2025]], [[组合数学 (Spring 2024)|Spring 2024]], [[组合数学 (Spring 2023)|Spring 2023]], [[组合数学 (Fall 2019)|Fall 2019]], [[组合数学 (Fall 2017)|Fall 2017]], [[组合数学 (Fall 2016)|Fall 2016]], [[组合数学 (Fall 2015)|Fall 2015]], [[组合数学 (Spring 2014)|Spring 2014]], [[组合数学 (Spring 2013)|Spring 2013]], [[组合数学 (Fall 2011)|Fall 2011]], [[Combinatorics (Fall 2010)|Fall 2010]].&lt;br /&gt;
&lt;br /&gt;
* Computational Complexity: [[计算复杂性 (Spring 2025)|Spring 2025]], [[计算复杂性 (Spring 2024)|Spring 2024]], [[计算复杂性 (Spring 2023)|Spring 2023]], [[计算复杂性 (Fall 2019)|Fall 2019]], [[计算复杂性 (Fall 2018)|Fall 2018]].&lt;br /&gt;
&lt;br /&gt;
* Foundations of Data Science: [[数据科学基础 (Fall 2025)|Fall 2025]], [[数据科学基础 (Fall 2024)|Fall 2024]]&lt;br /&gt;
&lt;br /&gt;
* Numerical Method: [[计算方法 Numerical method (Spring 2025)|Spring 2025]], [[计算方法 Numerical method (Spring 2024)|Spring 2024]], [[计算方法 Numerical method (Spring 2023)|Spring 2023]], [https://liuexp.github.io/numerical.html Spring 2022].&lt;br /&gt;
&lt;br /&gt;
* Probability Theory: [[概率论与数理统计 (Spring 2025)|Spring 2025]], [[概率论与数理统计 (Spring 2024)|Spring 2024]], [[概率论与数理统计 (Spring 2023)|Spring 2023]].&lt;br /&gt;
&lt;br /&gt;
* Quantum Computation: [[量子计算 (Spring 2022)|Spring 2022]], [[量子计算 (Spring 2021)|Spring 2021]], [[量子计算 (Fall 2019)|Fall 2019]].&lt;br /&gt;
&lt;br /&gt;
* Randomized Algorithms:  [[随机算法 (Fall 2015)|Fall 2015]], [[随机算法 (Spring 2014)|Spring 2014]], [[随机算法 (Spring 2013)|Spring 2013]], [[随机算法 (Fall 2011)|Fall 2011]], [[Randomized Algorithms (Spring 2010)|Spring 2010]].&lt;br /&gt;
&lt;br /&gt;
;Past seminars, workshops and summer schools&lt;br /&gt;
*计算理论之美暑期学校: [[计算理论之美 (Summer 2025)|2025]], [[计算理论之美 (Summer 2024)|2024]], [[计算理论之美 (Summer 2023)|2023]], [[计算理论之美 (Summer 2021)|2021]]&lt;br /&gt;
*[[Theory Seminar|理论计算机科学讨论班]]&lt;br /&gt;
*[[Study Group|理论计算机科学学习小组]]&lt;br /&gt;
*[[TCSPhD2020| 理论计算机科学优秀博士生论坛2020]]&lt;br /&gt;
*[[Quantum|量子算法与物理实现研讨会]]&lt;br /&gt;
*Theory Day: [[Theory@Suzhou 2025 | 2025 (Suzhou)]],  [[Theory@Nanjing 2019|2019]], [[Theory@Nanjing 2018|2018]], [[Theory@Nanjing 2017|2017]]&lt;br /&gt;
*[[\Delta Seminar on Logic, Philosophy, and Computer Science|Δ Seminar on Logic, Philosophy, and Computer Science]]&lt;br /&gt;
*[[近似算法讨论班 (Fall 2011)|近似算法 Approximation Algorithms, Fall 2011.]]&lt;br /&gt;
&lt;br /&gt;
; 其它链接&lt;br /&gt;
* [[General Circulation(Fall 2025)|大气环流 General Circulation of the Atmosphere, Fall 2025]]&lt;br /&gt;
* [[General Circulation(Fall 2024)|大气环流 General Circulation of the Atmosphere, Fall 2024]]&lt;br /&gt;
&lt;br /&gt;
* [[概率论 (Summer 2014)| 概率与计算 (上海交大 Summer 2014)]]&lt;/div&gt;</summary>
		<author><name>Zhe</name></author>
	</entry>
</feed>