While reading some notes, I came across the following statement:
``Chebyshev points have density $\mu(x) = \frac{N}{\pi\sqrt{1-x^2}}$".
I would like to understand where this formula comes from. My current understanding is that the formula is saying that for Chebyshev points $z_j = (\cos(\pi j/N),\sin(\pi j/N))$, with $N$ large, the number of points after projecting onto the x-axis in the interval $[a,b]$ is given by $$ \int_a^b\frac{N}{\pi\sqrt{1-x^2}}{\rm d}x. $$ How is this formula derived?
As a follow up, if I am given some family of polynomials $p_N(x)$ with $N$ distinct real roots, is there some way to compute the number of roots in the interval $[a,b]$ when $N$ is large?
I am aware of the following question and answer, and while it did present a calculation of the above formula, it did not explain why the presented method is used.