In the proof of the arc length formula we assume that an element of the arc length is $$\Delta L_i=\sqrt{(\Delta x_i)^2+(\Delta y_i)^2}=\sqrt{1+\left(\frac{\Delta y_i}{\Delta x_i}\right)^2}\space \Delta x_i.$$
Applying the Mean Value Theorem
$$\Delta L_i=\sqrt{1+[f^{\prime}(x_i)]^2}\space \Delta x_i.$$
Then to find the total arc length $$L=\displaystyle \lim_{n \to \infty}\sum_{i=1}^{n}\sqrt{1+[f^{\prime}(x_i)]^2}\space \Delta x_i.$$
Now here it is stated that this will be equal to $$\int^a_b \sqrt{1+[f^{\prime}(x)]^2}\space dx. $$ Why did we assume that as $n$ approaches $\infty$ the value of $\Delta x_i= dx$?