Some interesting probability problems, some which are possible to solve by hand and some which are harder or near impossible. I will solve them (or at least get estimates) via simulations.
The first 5 problems are simulated and the simulations are provided in the respective Python script. In the last section I have an added bonus part, which is purely mathematical without any simulations. The purpose of this is to showcase a beautiful connection between analysis and the distribution of prime numbers, derived from elementary probability theory, which I think anyone interested in probability should see. It is one of my favorite problems in the subject matter!
Problem: Consider the following recurrence relation in two variables:
Idea: The recurrence can be reformulates as a probability question which we simulate in Problem1.py.
Consider the following process - start with
Stop the process when all the remaining balls in the urn become the same colour. Let’s write
Source: mathoverflow user
Problem:In probability theory, the birthday problem asks for the probability that, in a set of
Idea: Generate
Source: Wikipedia
Problem:In probability theory, Buffon's needle problem is a question first posed in the 18th century by Georges-Louis Leclerc, Comte de Buffon: Suppose we have a floor made of parallel strips of wood, each the same width, and we drop a needle onto the floor. What is the probability that the needle will lie across a line between two strips?
Idea: It can be shown analyticaly that the solution for the sought probability
Source: Wikipedia
Problem:In mathematics, a random walk, sometimes known as a drunkard's walk, is a random process that describes a path that consists of a succession of random steps on some mathematical space. Let
Idea: Straightforward simulation, see code.
Source: Wolfram MathWorld
Problem: In the 1992 Putnam competition the following problem can be found: Four points are chosen independently and at random on the surface of a sphere (using the uniform distribution). What is the probability that the center of the sphere lies inside the resulting tetrahedron?
The Putnam competition is widely considered to be the most prestigious university-level mathematics competition in the world, and its difficulty is such that the median score is often zero (out of 120) despite being attempted by students specializing in mathematics. It is needless to say that this is a hard problem to solve by hand.
Idea: First we need to generate four random points uniformly on a sphere. Deceivingly, it is incorrect to select spherical coordinates
Source: Putnam 1992, Wolfram MathWorld
The Riemann zeta function or Euler-Riemann zeta function, denoted by the Greek letter
It is evident that
For
Let
On the other hand note that the only integer