Recently I was wondering: Why does pi have an irrational value as it is simply the ratio of diameter to circumference of a circle? As the value of diameter is rational then the irrationality must come from the circumference.
Then I used calculus to calculate the arc length of various functions with curved graphs (between two rational points) and found the arc length two be irrational again.
Do all curved paths have irrational lengths?
My logic is that while calculating the arc length (calculus) we assume that the arc is composed of infinitely small line segments and we are never close the real value and unlike the area under a curve, there do not exist an upper and lower limit which converges to the same value.
If yes, are these the reasons irrational values exist in the first place?
Obviously, a straight line between two rational points can have rational length $-$ just take $(0,0)$ and $(1,0)$ as your rational points.
But a curved line can also have rational length. Consider parabolas of the form $y=\lambda x(1-x)$, which all pass through the rational points $(0,0)$ and $(1,0)$. If $\lambda=0$, then we get a straight line, with arc length $1$. And if $\lambda=4$, then the curve passes through $(\frac12,1)$, so the arc length is greater than $2$.
Now let $\lambda$ vary smoothly from $0$ to $4$. The arc length also varies smoothly, from $1$ to some value greater than $2$; so for some value of $\lambda$, the arc length must be $2$, which is a rational number.