Let $G = (V, E)$ be a graph on n vertices constructed in the following way:
Each vertex $v \in V$ is positioned uniform randomly in $[0, 1] × [0, 1]$.
Connect two vertices $u, v \in V$ if $d(v,u) ≤ r$ where $d$ is the Euclidean distance on a Torus.
I would like to prove that for $r = 3\cdot\sqrt{\frac{2log(n)}{n}}$ the graph is connected with probability at least $1-\frac{1}{log(n)}$
I'm not even sure how to formulate the probability $Pr[\text{graph is connected}]$. If I knew this I would probably be able to apply a union bound and go with an Azuma/Janson or similar bound.