Probability theory revisit, and proofs
The following exercises are from Appendix 1 of Quantum Computation and Quantum Information by Isaac Chuang & Michael Nielsen. I am currently reading this book.
Conditional probability:
Bayes’ rule:
Proof: From the definition of conditional probability,
, ,
then ,
therefore . QED.
The law of total probability:
Proof: From the definition of conditional probability,
,
summing over from both sides,
. QED.
Expectation: .
Variance: .
Standard deviation: .
Exercise A1.3: Prove that there exists a value of such that .
Proof by contradiction: assume every with must satisfy ,
then ,
which is a contradiction. QED.
Exercise A1.4: Prove that is linear in .
Proof: Additivity:
.
Homogeneity: .
QED.
Exercise A1.5: Prove that for independent random variables and , .
Proof:
. QED.
Chebyshev’s inequality: For any and random variable with finite variance, .
Proof: Consider
,
therefore . QED.