The arc length of a smooth curve y = f(x) is the total distance. We measure it along the curve. This is between x = a and x = b. Also, the arc length formula calculus provides this exact distance. It uses a definite integral.
$$L = \int_a^b \sqrt{1 + \left[f'(x)\right]^2} \, dx$$
The term “smooth” means that the derivative function f’ is continuous on [a, b]. This continuity condition guarantees that the integrand function \(\sqrt{1 + [f'(x)]^2}\) remains continuous across the entire domain. As a result, the curve is rectifiable and the definite integral exists. In this comprehensive guide, you will learn the geometric origin and formal derivation of the arc length formula calculus. Also, you will discover step-by-step problem-solving strategies. You will also learn how to handle standard Cartesian, parametric, and polar representations, exact algebraic techniques for simplified integration, and solutions to common practical errors.
Where the formula comes from
The fundamental concept behind measuring the length of a curved line is line linear approximation. This involves chopping the curve into infinitely many tiny, manageable line segments. Consider a small portion of the curve corresponding to a horizontal change \(\Delta x\) and a vertical change \(\Delta y\). By applying the Pythagorean Theorem, the straight-line distance \(\Delta s\) connecting the endpoints of this microscopic segment is:
$$\Delta s = \sqrt{(\Delta x)^2 + (\Delta y)^2}$$
To express this length in terms of \(\Delta x\), factor out \((\Delta x)^2\) from inside the radical:
$$\Delta s = \sqrt{(\Delta x)^2 \left(1 + \frac{(\Delta y)^2}{(\Delta x)^2}\right)} = \sqrt{1 + \left(\frac{\Delta y}{\Delta x}\right)^2} , \Delta x$$
As the horizontal width Δx approaches zero, the average rate of change Δy/Δx approaches the instantaneous derivative f'(x), the discrete segment Δs becomes the differential arc length ds, and summing these infinitely small segments yields the standard definite integral, which is the basis of the arc length formula calculus.
Derivation, step by step
Here is the rigorous mathematical derivation as presented in formal real analysis and calculus textbooks.
Step 1: Partition the interval. Divide the interval [a, b] into n subintervals. Each has width \(\Delta x = \frac{b - a}{n}\). These grid points define: \(a = x_0 < x_1 < x_2 < \dots < x_n = b\). Next, connect consecutive points \((x_{i-1}, f(x_{i-1}))\) and \((x_i, f(x_i))\). Use straight line segments along the curve. These n segments form an inscribed polygonal path. Its total length approximates the true curve length for the arc length formula calculus.
Step 2: Measure individual segment lengths. For the i-th subinterval \([x_{i-1}, x_i]\), the horizontal displacement is \(\Delta x = x_i - x_{i-1}\). Also, the vertical displacement is \(\Delta y_i = f(x_i) - f(x_{i-1})\). The length \(L_i\) of this straight segment is given by the Euclidean distance formula:
$$L_i = \sqrt{(\Delta x)^2 + (\Delta y_i)^2}$$
Step 3: Apply the Mean Value Theorem. Because \(f(x)\) is continuous on \([x_{i-1}, x_i]\) and differentiable on \((x_{i-1}, x_i)\), the Mean Value Theorem guarantees that there exists at least one sample point \(x_i^*\) inside the open subinterval \((x_{i-1}, x_i)\) such that:
$$f'(x_i^*) = \frac{f(x_i) - f(x_{i-1})}{x_i - x_{i-1}} = \frac{\Delta y_i}{\Delta x}$$
From riemann sum to integral
Rearranging this yields \(\Delta y_i = f'(x_i^*) , \Delta x\). Next, substitute this expression back into the distance formula for \(L_i\):
$$L_i = \sqrt{(\Delta x)^2 + \left[f'(x_i^*) , \Delta x\right]^2} = \sqrt{(\Delta x)^2 \left(1 + \left[f'(x_i^*)\right]^2\right)} = \sqrt{1 + \left[f'(x_i^*)\right]^2} , \Delta x$$
Step 4: Express as a Riemann sum and take the limit. Summing the lengths of all n segments yields an approximation for the total length L of the curve:
$$L \approx \sum_{i=1}^n L_i = \sum_{i=1}^n \sqrt{1 + \left[f'(x_i^*)\right]^2} , \Delta x$$
This expression is a formal Riemann sum for the function continuous integrand \(g(x) = \sqrt{1 + [f'(x)]^2}\). As a result, taking the limit as \(n \to \infty\) (or equivalently as \(\Delta x \to 0\)) converts the Riemann sum directly into a definite integral, which is the arc length formula in calculus:
$$L = \lim_{n \to \infty} \sum_{i=1}^n \sqrt{1 + \left[f'(x_i^*)\right]^2} , \Delta x = \int_a^b \sqrt{1 + \left[f'(x)\right]^2} \, dx$$
Intuition: the stretch factor
Think of the radical expression \(\sqrt{1 + [f'(x)]^2}\) as a geometric stretch factor that relates horizontal steps \(dx\) to path distance \(ds\) along the curve:

$$ds = \sqrt{1 + \left[f'(x)\right]^2} \, dx$$
If a curve is completely horizontal, then \(f'(x) = 0\), giving \(ds = \sqrt{1 + 0} \, dx = dx\). In this flat region, traveling one unit horizontally means traveling exactly one unit along the curve. However, as the curve becomes steeper, $|f'(x)|$ increases, making the stretch factor significantly larger than 1. The arc length formula calculus shows that each horizontal advance of \(dx\) requires traversing a much longer path segment \(ds\).
From a trigonometric point of view, if the tangent line to the curve at point \((x, f(x))\) forms an angle \(\theta\) with the horizontal axis, the slope is \(f'(x) = \tan\theta\). So, substituting this into the trigonometric identity yields for the arc length formula calculus:
$$\sqrt{1 + [f'(x)]^2} = \sqrt{1 + \tan^2\theta} = \sqrt{\sec^2\theta} = \sec\theta$$
Therefore, \(ds = \sec\theta \, dx\). The arc length integral simply sums up these infinitely small, secant-weighted hypotenuse elements across the entire interval.
Using the arc length formula calculus in different coordinates
Depending on how a curve is defined mathematically, calculating arc length requires choosing the matching coordinate form to avoid complex transformations or improper integrals.
| Coordinate System | Equation Format | Differential Arc Element (ds) | Integral Formula |
|---|---|---|---|
| Cartesian (y as function of x) | y = f(x), a ≤ x ≤ b | \(\sqrt{1 + \left(\frac{dy}{dx}\right)^2} \, dx\) | \(L = \int_a^b \sqrt{1 + \left[f'(x)\right]^2} \, dx\) |
| Inverse Cartesian (x as function of y) | x = g(y), c ≤ y ≤ d | \(\sqrt{1 + \left(\frac{dx}{dy}\right)^2} \, dy\) | \(L = \int_c^d \sqrt{1 + \left[g'(y)\right]^2} \, dy\) |
| Parametric Equations | x = x(t), y = y(t), \(\alpha \le t \le \beta\) | \(\sqrt{\left(\frac{dx}{dt}\right)^2 + \left(\frac{dy}{dt}\right)^2} \, dt\) | \(L = \int_\alpha^\beta \sqrt{[x'(t)]^2 + [y'(t)]^2} \, dt\) |
| Polar Coordinates | r = r(\(\theta\)), \(\alpha \le \theta \le \beta\) | \(\sqrt{r^2 + \left(\frac{dr}{d\theta}\right)^2} \, d\theta\) | \(L = \int_\alpha^\beta \sqrt{[r(\theta)]^2 + \left[r'(\theta)\right]^2} \, d\theta\) |
| 3D Space Curves | \(\mathbf{r}(t) = \langle x(t), y(t), z(t) \rangle\) | \(\sqrt{[x'(t)]^2 + [y'(t)]^2 + [z'(t)]^2} \, dt\) | \(L = \int_a^b |\mathbf{r}'(t)| \, dt\) |
Deriving the Polar Arc Length Formula
To see why the polar arc length formula in calculus takes the form \(\int \sqrt{r^2 + (r')^2} \, d\theta\), start from the standard transformation equations linking polar and Cartesian coordinates: \(x = r(\theta)\cos\theta\) and \(y = r(\theta)\sin\theta\). Applying the product rule with respect to \(\theta\) gives:
$$\frac{dx}{d\theta} = r'(\theta)\cos\theta - r(\theta)\sin\theta$$
$$\frac{dy}{d\theta} = r'(\theta)\sin\theta + r(\theta)\cos\theta$$
Squaring both derivatives and adding them together yields:
$$\left(\frac{dx}{d\theta}\right)^2 + \left(\frac{dy}{d\theta}\right)^2 = \left(r'\cos\theta - r\sin\theta\right)^2 + \left(r'\sin\theta + r\cos\theta\right)^2$$
Expanding the binomial terms:
$$= (r')^2\cos^2\theta - 2r r'\sin\theta\cos\theta + r^2\sin^2\theta + (r')^2\sin^2\theta + 2r r'\sin\theta\cos\theta + r^2\cos^2\theta$$
Notice that the middle cross-terms \((-2r r'\sin\theta\cos\theta\) and \(+2r r'\sin\theta\cos\theta)\) cancel out completely. As a result, grouping the remaining terms by factoring gives a value useful for the arc length formula in calculus:
$$= (r')^2 \left(\cos^2\theta + \sin^2\theta\right) + r^2 \left(\sin^2\theta + \cos^2\theta\right)$$
Applying the Pythagorean identity \(\cos^2\theta + \sin^2\theta = 1\) reduces the expression directly to \(r^2 + (r')^2\). So, taking the square root and integrating with respect to \(\theta\) yields the polar arc length formula in calculus.
How to find arc length
- Differentiate the function: Compute \(f'(x)\) (or \(\frac{dx}{dt}, \frac{dy}{dt}\) for parametric forms, or \(\frac{dr}{d\theta}\) for polar forms). Apply rules like the chain rule where appropriate.
- Square the derivative and add 1: Calculate \([f'(x)]^2\) and evaluate \(1 + [f'(x)]^2\). Simplify algebraically as far as possible, actively searching for perfect square patterns or common denominators that can eliminate radical signs.
- Set up the definite integral: Substitute the simplified integrand expression into \(\int_a^b \sqrt{1 + [f'(x)]^2} \, dx\). Also include the given limits of integration. Verify that the integrand remains continuous throughout the interval.
- Integrate and evaluate: Use standard integration techniques (such as u-substitution, trigonometric substitution, or integration by parts) to evaluate the antiderivative exactly. If no elementary antiderivative exists, use numerical quadrature methods.
Example 1: y = x^(3/2) on [0, 4]
This classic standard example is widely featured in calculus textbooks because its derivative leads to a straightforward algebraic integration via substitution.

Given \(f(x) = x^{3/2}\) on $[0, 4]$, first differentiate \(f(x)\):
$$f'(x) = \frac{3}{2}x^{1/2}$$
Square the derivative and add 1:
$$1 + \left[f'(x)\right]^2 = 1 + \left(\frac{3}{2}x^{1/2}\right)^2 = 1 + \frac{9}{4}x$$
Substitute into the arc length formula:
$$L = \int_0^4 \sqrt{1 + \frac{9}{4}x} \, dx$$
To integrate, use a u-substitution. Let \(u = 1 + \frac{9}{4}x\), which gives \(du = \frac{9}{4} \, dx\) or \(dx = \frac{4}{9} \, du\). Convert the integration limits: when \(x = 0\), \(u = 1\); when \(x = 4\), \(u = 1 + \frac{9}{4}(4) = 10\).
$$L = \frac{4}{9} \int_1^{10} u^{1/2} \, du = \frac{4}{9} \left[ \frac{2}{3} u^{3/2} \right]_1^{10} = \frac{8}{27} \left(10^{3/2} - 1^{3/2}\right) = \frac{8}{27} \left(10\sqrt{10} - 1\right) \approx 9.0734$$
Example 2: a straight line (sanity check)
To verify that the calculus formula gives consistent results with basic geometry, consider the line \(y = 4x\) over the interval $[0, 3]$.
The derivative is \(f'(x) = 4\), so \(1 + [f'(x)]^2 = 1 + 4^2 = 17\). The arc length integral becomes:
$$L = \int_0^3 \sqrt{17} \, dx = \left[ \sqrt{17} x \right]_0^3 = 3\sqrt{17} \approx 12.3693$$
Geometrically, the path runs from point \((0, 0)\) to point \((3, 12)\). So, using the standard distance formula from algebra:
$$d = \sqrt{(3 - 0)^2 + (12 - 0)^2} = \sqrt{9 + 144} = \sqrt{153} = \sqrt{9 \cdot 17} = 3\sqrt{17}$$
The definite integral matches the geometric straight-line distance identically.
Example 3: the catenary y = cosh x
The catenary curve, defined by the hyperbolic cosine function \(y = \cosh x\), models the natural shape assumed by a uniform heavy cable or chain hanging freely between two supports under the influence of gravity.
Let’s calculate the length of \(y = \cosh x\) over the interval $[0, 1]$. First, compute the derivative using hyperbolic functions: \(f'(x) = \sinh x\).
Square the derivative and add 1:
$$1 + \left[f'(x)\right]^2 = 1 + \sinh^2 x$$
Using the fundamental hyperbolic identity \(1 + \sinh^2 x = \cosh^2 x\), the term inside the square root simplifies smoothly:
$$\sqrt{1 + \left[f'(x)\right]^2} = \sqrt{\cosh^2 x} = \cosh x$$
Set up and evaluate the definite integral:
$$L = \int_0^1 \cosh x \, dx = \left[ \sinh x \right]_0^1 = \sinh(1) - \sinh(0) = \frac{e - e^{-1}}{2} - 0 \approx 1.1752$$
This exact formula allows structural engineers to determine the exact total cable length required to suspend bridges or power lines across a given span.
Example 4: a parabola (needs trigonometric substitution)
For the basic parabola \(y = x^2\) on $[0, 1]$, \(f'(x) = 2x\). So, the resulting arc length integral is:

$$L = \int_0^1 \sqrt{1 + 4x^2} \, dx$$
Unlike the \(x^{3/2}\) example, \(u\)-substitution fails here because there is no outer \(x\) factor to balance \(du\). Evaluating this integral requires a trigonometric substitution. Let \(2x = \tan\theta\), so \(x = \frac{1}{2}\tan\theta\) and \(dx = \frac{1}{2}\sec^2\theta \, d\theta\).
The radical simplifies via \(\sqrt{1 + 4x^2} = \sqrt{1 + \tan^2\theta} = \sec\theta\). Changing limits: when \(x = 0\), \(\theta = 0\); when \(x = 1\), \(\tan\theta = 2\), so \(\theta = \arctan(2)\). The integral becomes:
$$L = \frac{1}{2} \int_0^{\arctan(2)} \sec^3\theta \, d\theta$$
The antiderivative of \(\sec^3\theta\) is obtained using integration by parts, yielding \(\frac{1}{2}\left(\sec\theta \tan\theta + \ln|\sec\theta + \tan\theta|\right)\). For the arc length formula calculus, at \(\theta = \arctan(2)\), however, we have \(\tan\theta = 2\) and \(\sec\theta = \sqrt{1 + 2^2} = \sqrt{5}\):
$$L = \frac{1}{2} \left[ \frac{1}{2} \left(\sec\theta \tan\theta + \ln|\sec\theta + \tan\theta|\right) \right]_0^{\arctan(2)}$$
$$L = \frac{1}{4} \left(2\sqrt{5} + \ln(\sqrt{5} + 2)\right) = \frac{1}{2}\sqrt{5} + \frac{1}{4}\ln(2 + \sqrt{5}) \approx 1.11803 + 0.36093 = 1.4789$$
This example demonstrates why arc length calculations quickly grow complex: even simple polynomial curves like \(y = x^2\) produce integrals that require advanced trigonometric integration strategies.
Example 5: a designed perfect square
Calculus exam Optimization Problems in Calculus: 4 Solved Examples and homework sets often feature specialized algebraic functions engineered so that \(1 + [f'(x)]^2\) transforms into a perfect square, eliminating the radical completely.

Consider \(y = \frac{x^3}{6} + \frac{1}{2x}\) on the interval $[1, 2]$. First, differentiate \(f(x)\):
$$f'(x) = \frac{3x^2}{6} - \frac{1}{2x^2} = \frac{x^2}{2} - \frac{1}{2x^2}$$
Square the derivative:
$$\left[f'(x)\right]^2 = \left(\frac{x^2}{2} - \frac{1}{2x^2}\right)^2 = \frac{x^4}{4} - 2\left(\frac{x^2}{2}\right)\left(\frac{1}{2x^2}\right) + \frac{1}{4x^4} = \frac{x^4}{4} - \frac{1}{2} + \frac{1}{4x^4}$$
Now add 1 to this squared expression. As a result, adding 1 alters only the middle term, changing \(-1/2\) to \(+1/2\):
$$1 + \left[f'(x)\right]^2 = \frac{x^4}{4} + \frac{1}{2} + \frac{1}{4x^4} = \left(\frac{x^2}{2} + \frac{1}{2x^2}\right)^2$$
Taking the square root cancels the square completely:
$$\sqrt{1 + \left[f'(x)\right]^2} = \sqrt{\left(\frac{x^2}{2} + \frac{1}{2x^2}\right)^2} = \frac{x^2}{2} + \frac{1}{2x^2}$$
Now set up and evaluate the basic power rule integral:
$$L = \int_1^2 \left(\frac{x^2}{2} + \frac{1}{2x^2}\right) dx = \left[ \frac{x^3}{6} - \frac{1}{2x} \right]_1^2 = \left(\frac{8}{6} - \frac{1}{4}\right) - \left(\frac{1}{6} - \frac{1}{2}\right) = \left(\frac{4}{3} - \frac{1}{4}\right) - \left(-\frac{1}{3}\right) = \frac{17}{12}$$
Whenever an arc length problem features a derivative with a difference of two terms (\(A - B\)), check whether adding 1 flips the sign for the arc length formula calculus to convert \((A - B)^2 + 1\) into \((A + B)^2\).
Example 6: logarithmic curve
Find the length of \(y = \ln(\cos x)\) over the interval \([0, \pi/4]\).
First, differentiate using the chain rule:
$$f'(x) = \frac{1}{\cos x} \cdot (-\sin x) = -\tan x$$
Square the derivative and add 1:
$$1 + \left[f'(x)\right]^2 = 1 + (-\tan x)^2 = 1 + \tan^2 x = \sec^2 x$$
On \([0, \pi/4]\), \(\sec x > 0\), so \(\sqrt{\sec^2 x} = \sec x\). The arc length integral becomes:
$$L = \int_0^{\pi/4} \sec x \, dx = \left[ \ln|\sec x + \tan x| \right]_0^{\pi/4}$$
Evaluate at the integration limits:
$$L = \ln\left|\sec\left(\frac{\pi}{4}\right) + \tan\left(\frac{\pi}{4}\right)\right| - \ln|\sec(0) + \tan(0)| = \ln\left(\sqrt{2} + 1\right) - \ln(1 + 0) = \ln\left(1 + \sqrt{2}\right) \approx 0.8814$$
Semicircle check and vertical tangents
Consider the upper unit semicircle defined by \(y = \sqrt{1 - x^2}\) on $[-1, 1]$. Differentiating gives:
$$f'(x) = \frac{-x}{\sqrt{1 - x^2}}$$
Squaring and adding 1 yields:
$$1 + \left[f'(x)\right]^2 = 1 + \frac{x^2}{1 - x^2} = \frac{1 - x^2 + x^2}{1 - x^2} = \frac{1}{1 - x^2}$$
The arc length integral is:
$$L = \int_{-1}^1 \frac{1}{\sqrt{1 - x^2}} \, dx = \left[ \arcsin x \right]_{-1}^1 = \arcsin(1) - \arcsin(-1) = \frac{\pi}{2} - \left(-\frac{\pi}{2}\right) = \pi$$
This result matches the known perimeter of a half-circle of radius \(r = 1\) (\(L = \pi r = \pi\)). However, notice that as \(x \to \pm 1\), \(f'(x) \to \pm \infty\). The arc length formula calculus integrand is unbounded at both limits, making this an improper integral.
To avoid working with improper integrals caused by vertical tangents, switch variables. Express the curve as \(x = g(y)\). Re-writing the unit circle as \(x = \sqrt{1 - y^2}\) for \(y \in [0, 1]\) avoids vertical derivatives completely. As a result, this provides a smooth integration path across \(y\).
Parametric and polar curves
When curves curve back on themselves or represent paths defined over time, parametric or polar formulas are far easier to evaluate than standard Cartesian forms.

Example 7: one arch of a cycloid
A point on the rim of a rolling wheel of radius 1 traces out a cycloid defined parametrically by \(x(t) = t - \sin t\) and \(y(t) = 1 - \cos t\). Using the arc length formula calculus, one complete arch is traced as \(t\) goes from \(0\) to \(2\pi\).
Differentiate both parametric equations with respect to \(t\):
$$\frac{dx}{dt} = 1 - \cos t, \quad \frac{dy}{dt} = \sin t$$
Square both derivatives and add them together:
$$\left(\frac{dx}{dt}\right)^2 + \left(\frac{dy}{dt}\right)^2 = (1 - \cos t)^2 + \sin^2 t = 1 - 2\cos t + \cos^2 t + \sin^2 t = 2 - 2\cos t$$
Apply the trigonometric half-angle identity \(1 - \cos t = 2\sin^2(t/2)\):
$$2 - 2\cos t = 2(1 - \cos t) = 2\left(2\sin^2\frac{t}{2}\right) = 4\sin^2\frac{t}{2}$$
Taking the square root yields \(\sqrt{4\sin^2(t/2)} = 2\sin(t/2)\) for \(t \in [0, 2\pi]\). Then, set up and evaluate the integral:
$$L = \int_0^{2\pi} 2\sin\frac{t}{2} \, dt = \left[ -4\cos\frac{t}{2} \right]_0^{2\pi} = -4\cos(\pi) - \left(-4\cos(0)\right) = -4(-1) + 4 = 8$$
The total arc length of one full cycloid arch is exactly 8 times the radius of the generating wheel.
Example 8: a cardioid in polar form
Find the total perimeter of the cardioid defined by \(r = 1 + \cos\theta\) for \(0 \le \theta \le 2\pi\).
Compute \(r'(\theta) = -\sin\theta\). Evaluate \(r^2 + (r')^2\):
$$r^2 + (r')^2 = (1 + \cos\theta)^2 + (-\sin\theta)^2 = 1 + 2\cos\theta + \cos^2\theta + \sin^2\theta = 2 + 2\cos\theta$$
Using the double-angle identity \(2 + 2\cos\theta = 4\cos^2(\theta/2)\), taking the square root gives \(\sqrt{4\cos^2(\theta/2)} = 2\left|\cos\left(\frac{\theta}{2}\right)\right|\).
Because \(\cos(\theta/2)\) becomes negative on the interval \([\pi, 2\pi]\), dropping the absolute value sign would cause positive and negative values to cancel out, incorrectly yielding 0. To evaluate properly, use the arc length formula calculus for symmetry across the top half \([0, \pi]\) and double the result:
$$L = 2 \int_0^\pi 2\cos\frac{\theta}{2} \, d\theta = 4 \left[ 2\sin\frac{\theta}{2} \right]_0^\pi = 8\left(\sin\frac{\pi}{2} - \sin(0)\right) = 8$$
The arc length function
By replacing the fixed upper limit \(b\) with a variable upper limit \(x\), we construct the arc length function \(s(x)\) for arc length formula calculus, which measures the accumulated path length along a curve starting from an initial basepoint \(a\) up to \(x\):
$$s(x) = \int_a^x \sqrt{1 + \left[f'(t)\right]^2} \, dt$$
Applying the Fundamental Theorem of Calculus to this accumulation function gives its derivative directly:
$$\frac{ds}{dx} = s'(x) = \sqrt{1 + \left[f'(x)\right]^2}$$
In differential notation, \(ds = \sqrt{1 + [f'(x)]^2} \, dx\). Re-parameterizing curves in terms of arc length \(s\) rather than \(x\) or \(t\) creates “unit-speed” curves where \(|\mathbf{r}'(s)| = 1\). Arc length re-parameterization is a central concept in differential geometry used to calculate curvature, normal vectors, and torsion without dependance on coordinate speed, a key application of the arc length formula in calculus.
Common mistakes
- Forgetting to square the derivative: A frequent operational mistake is writing \(\sqrt{1 + f'(x)}\) instead of \(\sqrt{1 + [f'(x)]^2}\). Always square \(f'(x)\) before adding 1.
- Substituting \(f(x)\) instead of \(f'(x)\): Arc length measures path trajectory based on steepness and slope, not vertical position \(f(x)\). Shifting a curve vertically changes \(f(x)\) but leaves its length unchanged.
- Invalid radical expansion: Assuming \(\sqrt{1 + u^2} = 1 + u\) is an algebraic error. You cannot distribute a square root across addition. Instead, only remove the radical after expressing the interior as a single perfect square monomial or binomial \((A + B)^2\).
- Ignoring absolute values from radicals: Remember that \(\sqrt{g^2} = |g|\). When evaluating trigonometric roots like \(\sqrt{\cos^2(\theta/2)}\), check whether the term becomes negative on part of the domain. If so, split the integral across sub-intervals or apply symmetry to avoid zeroing out length measurements.
- Integrating across vertical tangents in \(x\): If \(f'(x)\) becomes infinite at an endpoint or interior point, the Cartesian \(x\)-integral becomes improper. As a result, it may fail. Switch the function to \(x = g(y)\) and integrate with respect to \(y\).
- Retracing paths in parametric or polar curves: Ensure the parameter domain \([\alpha, \beta]\) traces the curve exactly once. For example, integrating \(x = \cos t, y = \sin t\) over \([0, 4\pi]\) traverses the circle twice, yielding \(4\pi\) instead of the true single-loop perimeter \(2\pi\).
Where arc length is used
- Engineering and Infrastructure: Designing suspension bridges, highway cloverleaf turns, fiber-optic cable routes, and roller-coaster track elements requires exact path length measurements for material estimation and structural safety.
- Physics and Kinematics: In motion analysis, the total path distance traveled by an object along a spatial trajectory equals the time integral of its speed: \(L = \int_{t_1}^{t_2} |\mathbf{v}(t)| \, dt\), which is identical to the parametric arc length formula.
- Surface Area of Revolution: Rotating a curve segment \(y = f(x)\) around an axis generates a surface of revolution. The surface area \(S\) is calculated by multiplying circumference \(2\pi y\) by the differential arc length element \(ds\). So, \(S = 2\pi \int_a^b f(x) \sqrt{1 + [f'(x)]^2} \, dx\).
- Volume vs. Arc Length Slicing: While volume calculations using the disk and washer method aggregate solid two-dimensional cross-sectional slices (\(A(x) dx\)), arc length aggregates one-dimensional linear tangent segments (\(ds\)).
Arc length calculator
The interactive tool below computes derivatives symbolically and evaluates arc length integrals numerically using adaptive quadrature:

Arc Length of a Curve
\(L = \int_a^b \sqrt{1 + [f'(x)]^2}\,dx\)
For a dedicated interface that displays the symbolic derivative step and sets up the full definite integral, visit the main arc length calculator.
Who this advice suits (and who it does not)
This guide is ideal for:

- Students in Calculus II, Advanced Placement Calculus BC, or Multivariable Calculus learning path integration.
- Engineers, physicists, and computer graphics developers needing precise geometric path calculations.
This guide is NOT suitable for:
- Non-smooth or fractal curves (such as the Koch Snowflake or Weierstrass function). These continuous functions are nowhere-differentiable; their polygonal approximations do not converge to a finite limit, giving them infinite arc length over any non-trivial interval.
- Discrete data sets without analytical functions. For discrete sensor coordinates, path lengths must be calculated using discrete Euclidean distance summation rather than calculus integrals.
Practice problems
First, test your understanding by working through these problems. Full step-by-step solutions follow below.
- Find the length of \(y = \frac{2}{3}x^{3/2}\) on $[0, 3]$.
- Next, find the length of the line \(y = 2x + 1\) on $[0, 2]$.
- Find the length of \(y = \ln(\cos x)\) on \(\left[0, \frac{\pi}{4}\right]\).
- Also, find the length of \(y = \frac{1}{3}(x^2 + 2)^{3/2}\) on $[0, 3]$.
- Find the length of \(y = \frac{x^2}{4} - \frac{\ln x}{2}\) on $[1, e]$.
- Then, find the circumference of the circle given parametrically by \(x = 3\cos t, y = 3\sin t\) for \(0 \le t \le 2\pi\).
Solutions and Step-by-Step Explanations
1. \(y = \frac{2}{3}x^{3/2}\) on $[0, 3]$:
\(f'(x) = x^{1/2} \implies [f'(x)]^2 = x\).
\(L = \int_0^3 \sqrt{1 + x} \, dx = \left[ \frac{2}{3}(1 + x)^{3/2} \right]_0^3 = \frac{2}{3}(4^{3/2} - 1^{3/2}) = \frac{2}{3}(8 - 1) = \mathbf{frac{14}{3}}\).
2. \(y = 2x + 1\) on $[0, 2]$:
\(f'(x) = 2\) implies \(1 + [f'(x)]^2 = 1 + 4 = 5\).
Therefore, \(L = \int_0^2 \sqrt{5} \, dx = \mathbf{2sqrt{5}}\). (Distance from \((0,1)\) to \((2,5)\) is \(\sqrt{2^2 + 4^2} = \sqrt{20} = 2\sqrt{5}\)).
3. \(y = \ln(\cos x)\) on \([0, \pi/4]\):
\(f'(x) = -\tan x \implies 1 + \tan^2 x = \sec^2 x\).
\(L = \int_0^{\pi/4} \sec x \, dx = [\ln|\sec x + \tan x|]_0^{\pi/4} = \mathbf{ln(1 + sqrt{2})}\).
4. \(y = \frac{1}{3}(x^2 + 2)^{3/2}\) on $[0, 3]$:
\(f'(x) = \frac{1}{3} \cdot \frac{3}{2}(x^2 + 2)^{1/2}(2x) = x\sqrt{x^2 + 2}\).
\([f'(x)]^2 = x^2(x^2 + 2) = x^4 + 2x^2\).
\(1 + [f'(x)]^2 = x^4 + 2x^2 + 1 = (x^2 + 1)^2\).
\(L = \int_0^3 (x^2 + 1) \, dx = \left[ \frac{x^3}{3} + x \right]_0^3 = \frac{27}{3} + 3 = 9 + 3 = \mathbf{12}\).
5. \(y = \frac{x^2}{4} - \frac{\ln x}{2}\) on $[1, e]$:
We use the arc length formula in calculus. First, \(f'(x) = \frac{x}{2} - \frac{1}{2x}\). This means \([f'(x)]^2 = \frac{x^2}{4} - \frac{1}{2} + \frac{1}{4x^2}\).
Then, \(1 + [f'(x)]^2 = \frac{x^2}{4} + \frac{1}{2} + \frac{1}{4x^2}\). This simplifies to \(\left(\frac{x}{2} + \frac{1}{2x}\right)^2\).
\(L = \int_1^e \left(\frac{x}{2} + \frac{1}{2x}\right) dx\). We evaluate this as \(\left[ \frac{x^2}{4} + \frac{\ln x}{2} \right]_1^e\). This yields \(\left(\frac{e^2}{4} + \frac{1}{2}\right) - \left(\frac{1}{4} + 0\right)\). The final length is \(\mathbf{\frac{e^2 + 1}{4}} \approx 2.097\).
6. \(x = 3\cos t, y = 3\sin t\) for \(0 \le t \le 2\pi\):
\(x'(t) = -3\sin t, y'(t) = 3\cos t \implies [x']^2 + [y']^2 = 9\sin^2 t + 9\cos^2 t = 9\).
\(L = \int_0^{2\pi} \sqrt{9} \, dt = \int_0^{2\pi} 3 \, dt = \mathbf{6pi}\).
FAQ
Why is the arc length always greater than or equal to b − a?
Because the squared derivative \([f'(x)]^2 \ge 0\) for all real derivatives, \(1 + [f'(x)]^2 \ge 1\). This means \(\sqrt{1 + [f'(x)]^2} \ge 1\). Integrating a function that is everywhere \(\ge 1\) across $[a, b]$ yields an integral \(\ge \int_a^b 1 \, dx = b - a\) for the arc length formula calculus. Geometrically, the straight horizontal distance \(b - a\) represents the shortest possible path between \(x = a\) and \(x = b\). Any vertical variation increases total path length.
Is arc length the same as displacement?
No. Displacement is a vector quantity representing the straight-line distance and direction from the start point to the end point. Arc length is a scalar quantity measuring the complete distance accumulated along the exact path curve. For any non-linear trajectory, arc length is strictly greater than the magnitude of displacement.
Why do so few arc length integrals have closed-form antiderivatives?
The radical structure \(\sqrt{1 + [f'(x)]^2}\) creates non-algebraic integrands for most functions. For example, even simple functions like ellipses produce integrals of the form \(\int \sqrt{1 - k^2 \sin^2 t} \, dt\). These cannot be expressed using elementary functions and require specialized elliptic integrals. For functions lacking closed-form antiderivatives for the arc length formula calculus, calculate numerical solutions using a definite integral calculator.
What does ds mean physically?
The symbol \(ds\) represents an infinitesimal element of arc length along a spatial curve. In two-dimensional Cartesian space, the Pythagorean relationship gives \(ds = \sqrt{dx^2 + dy^2}\). As a result, factoring out \(dx\), \(dy\), \(dt\), or \(d\theta\) converts this fundamental differential metric into the specific operational arc length formula in calculus for each coordinate system.
Does the direction used to trace a curve change its calculated length?
No. Reversing the direction of traversal changes the sign of the differential step. However, because integration bounds are evaluated from the smaller limit to the larger limit, arc length remains strictly positive. Ensure that parametric or polar bounds trace each point on the curve exactly once. Integrating across multiple redundant periods will incorrectly multiply the calculated length.
Further reading
- Arc Length (Paul’s Online Math Notes) — Detailed mathematical explanations of Cartesian and parametric forms with complete worked solutions.
- Arc Length of a Curve and Surface Area (OpenStax Calculus Volume 1) — A rigorous textbook introduction covering geometric derivations and surface area integrals.
Calculators for this topic
Keep learning
Velocity, Acceleration and Displacement: Formulas and Graphs
Velocity, acceleration and displacement explained: average and instantaneous formulas, motion graphs, calculus links and worked examples.
Projectile Motion: Equations, Range and Max Height
Projectile motion explained: velocity components, time of flight, range, maximum height and the parabolic path, with calculus derivations and examples.

