The lecturer in a class I'm taking defined the empirical quantile function for a sample of $n$ random variables $\{X_i\}_{i = 1}^n$ as follows: $$ \hat{F}_n^{-1}(p) = \left\{\begin{aligned} &X_{(np)} &&, np \in \mathbb{N}\\ &X_{(\lfloor np+1 \rfloor)} &&, np \notin \mathbb{N}, \end{aligned} \right.$$
where $X_{(i)}$ represents the $i^{\text{th}}$ order statistic of the sample.
Based on this definition, I'm trying to understand the following claim: $$ \hat{F}_n^{-1}\left(\frac{i}{n+1}\right) = X_{(i)}. $$
My progress to this point:
- I was able to show that: $n \in \mathbb{N}$ and $i \in [0,n] \cap \mathbb{N} \implies n+1 \nmid ni$. Hence, $\frac{ni}{n+1} \notin \mathbb{N}$ in this situation.
- What then remains to show is that $i \leq \frac{ni}{n+1} + 1 < i+1$. The second inquality is clear, since $\frac{n}{n+1} < 1$.
- Thus, showing this boils down to showing: $i \leq \frac{n}{n+1}\cdot i + 1$ when $n \in \mathbb{N}$, $i \in [1,n]$.


To prove the third bulletpoint, suppose for purpose of establishing a contradiction that for $k \in \{1,...,n\}$:
\begin{equation} \begin{split} k & > \frac{nk}{n+1} + 1\\ \frac{n+1}{n+1}k & > \frac{nk}{n+1} + \frac{n+1}{n+1}\\ nk + k & > nk + n + 1\\ k & > n + 1 \end{split} \end{equation}
Which by assumption is not true.