In a Euclidean plane, the length of a curve can be measured by approximation using multiple linear segments that interconnects the through a curve. The total approximated length of the curve can then be determined by adding all these linear segments. The reason why we use linear segments in the approximation is that lines are easy to measure using Pythagorean Theorem. Better approximations to the curve can be obtained by following the shape of the curve increasingly more closely. The approach is to use an increasingly larger number of segments of smaller lengths.
Consider the figure at the right. As you see, the curve (in black) is interconnected by straight line segments (in violet). Now, to measure the length of the curve, we will add all the lengths of each line segment. Before that, let us first determine the length of the line segments by considering one line segment first. As seen in the figure. the length of the first segment is determined using Pythagorean Theorem.
Since we mentioned before that better approximations are obtained by making the line segments very small, then we let the infinitesimal length ds be the length of the first line segment, then according to the Pythagorean Theorem, with the assumption that {$f(x)$) represents the curve in the plane,

(ds)^2 = (dx)^2 + (dy)^2

we then divide by (dx)^2,

\frac{(ds)^2}{(dx)^2 } = 1 + \frac{(dy)^2}{(dx)^2 }

taking the square root, we obtain

\frac{ds}{dx } = \sqrt{1 + \frac{(dy)^2}{(dx)^2 }}

ds = \left (\sqrt{1 + \frac{(dy)^2}{(dx)^2 }}\right )dx

So, we now have the length of the first line segment. If we add up all these line segments that interconnects the curve from point x_1 to x_2, we end up doing the Reimann sum which is just the integral shown below.

s = \int_{x_1}^{x_2} \sqrt{1 + \frac{(dy)^2}{(dx)^2 }}dx

And since \frac{dy}{dx} = f'(x) then,

s = \int_{x_1}^{x_2} \sqrt{1 + \left [ f'(x) \right ]^2 }dx

So, this is it. The length of the curve is just the quantity s given that the curve is defined by the function f on the interval x_1 to x_2. Now, consider a curve defined by y = x^{\frac{2}{3}}. Let us find the length of this curve from point x=1 to x=8 using the above formula. First, let is find f'(x).