Suppose we have a normally distributed random variable $X$ representing some population.
Suppose we draw $n$ samples from the population:
$$
(X_1,X_2,\dots,X_n).
$$
This can be done using the rnorm
function in R.
Suppose we plot the density of the sample (the density can be obtained using the density
function in R). It is clear that as we take larger values of $n$, the more the density of the sample approaches the density of the population $X$.
How is this described mathematically? I'm not so familiar with convergence in probability/statistics setting yet, so roughly speaking, I am looking for something along the lines of $$ |\text{pdf}(X) - \text{pdf}(\text{sample}(n))| \to 0, \quad \quad \text{as} \ n \to \infty. $$
So how does the proper mathematical description go?