I read on Wiki:
Intuitively, smooth infinitesimal analysis can be interpreted as describing a world in which lines are made out of infinitesimally small segments, not out of points.
I tried to find infinitesimally small segments for graph $y = x^2$.
At first I obtained that point $A (dx,dx^2)$ is upon on $X$ axis - $(dx,0)$.
$(dr)^2 = (dx)^2 + ((dx)^2)^2$ (Pythagorean equation)
$(dr)^2 = (dx)^2$
$dr=dx$
In this case $dx$ is nilsquare infinitesimal ($(dx)^2=0$).
Then I tried to find infinitesimally small segment for $[dx,2dx]$ but I can't:
$dy=2xdx$
for $x=dx$: $dy = 2(dx)^2$
And
$(dr)^2 = (dx)^2 + (2(dx)^2)^2$ (Pythagorean equation)
$dr = \sqrt{(dx)^2 + (2(dx)^2)^2}$
$dr = dx\sqrt{(1+4(dx)^2}$
$dr = dx$
Where did I go wrong? How to calculate $dr$?
Thanks.