Created At: [[2025-02-11]]
> [!info]
> I am trying to practice the Feynman technique for learning here, and try to explain the core concepts covered in this chapter using my own words.
# Chapter 01 - Events and Probability
This chapter covers several interesting applications of how probability can be applied to some real-world applications, and drastically improve the time complexity of such problems. Namely, it covers the following examples:
1. How we can utilise randomness to verify the expansion of polynomial multiplications
2. How we can utilise randomness to verify matrix multiplications
3. How the naive bayesian classifier works
4. How we can devise a randomised min-cut algorithm (that's surprisingly simple yet works quite well).
## 1. Verifying Polynomials
### 1.1. Problem Setup
Say that we are given a polynomial in the factorised form:
$
p^{(n)}(x) := \prod_{i=1}^{n}(a_ix+b_i),
$
where $a_i