Chapter 10
18 min read
Section 94 of 353

Arc Length: Measuring the Path

Applications of Integration

Learning Objectives

By the end of this section, you will be able to:

  1. Derive the arc length formula from the Pythagorean theorem applied to infinitesimal elements
  2. Calculate the arc length of curves given in Cartesian form y=f(x)y = f(x)
  3. Apply the parametric arc length formula for curves x=x(t),y=y(t)x = x(t), y = y(t)
  4. Set up arc length integrals and recognize when they have closed-form solutions
  5. Approximate arc length numerically using line segments and understand convergence
  6. Connect arc length to real-world applications in physics, engineering, and computer graphics
  7. Understand how arc length generalizes to geodesics in machine learning

The Big Picture: Why Arc Length Matters

"The shortest distance between two points is a straight line \u2014 but on a curved surface, even 'straight' paths are curved."

How long is a piece of string? If it's straight, the answer is simple: measure with a ruler. But what if the string follows a curved path? What is the length of a parabolic arch, a spiral staircase railing, or the path of a planet in its orbit?

The arc length problem asks: given a curve, how do we compute its length? This seemingly simple geometric question requires calculus to answer precisely, and the solution reveals deep connections between geometry, analysis, and the structure of curves themselves.

🔧 Engineering

  • Cable and wire lengths for bridges
  • Road and railway track distances
  • Pipe lengths in curved systems
  • CAD/CAM toolpath calculations

🚀 Physics

  • Trajectory lengths of particles
  • Distance traveled along curved paths
  • Planetary orbit circumferences
  • Wave propagation distances

🎮 Graphics

  • Bezier curve lengths for animation
  • Path length for constant-speed motion
  • Font glyph outline lengths
  • Procedural curve generation

🤖 Machine Learning

  • Geodesics on data manifolds
  • Optimization path lengths
  • Latent space distances
  • Neural network loss landscape analysis

Historical Origins: The Rectification Problem

Finding the length of a curve is called rectification \u2014 literally, "making straight" or comparing the curve to a straight line segment.

Ancient Struggles

The ancient Greeks could find the circumference of a circle (2pir2\\pi r) using the method of exhaustion, but they considered most curves "unrectifiable" \u2014 their lengths could not be found exactly. Even the parabola, so well-understood for areas, resisted arc length calculations.

Renaissance Breakthroughs

In the 1650s, Neil's parabola (also called the semicubical parabola, y=x3/2y = x^{3/2}) became the first algebraic curve (other than lines and circles) whose arc length was found exactly. This was done independently by William Neil, Christopher Wren, and Fermat.

The Calculus Revolution

Newton and Leibniz's calculus finally provided the systematic machinery for arc length. The key insight: treat the curve as composed of infinitely many infinitesimal straight pieces, use the Pythagorean theorem on each, and integrate.

A Humbling Fact

Despite the elegance of the arc length formula, most arc length integrals cannot be evaluated in closed form. Even the arc length of an ellipse requires "elliptic integrals" \u2014 special functions defined specifically because we cannot express the answer using elementary functions!


The Rectification Problem

Consider a smooth curve y=f(x)y = f(x) on the interval [a,b][a, b]. We want to find the arc length \u2014 the total distance along the curve from the point (a,f(a))(a, f(a)) to (b,f(b))(b, f(b)).

The Approximation Strategy

Just as we approximated areas with rectangles (Riemann sums), we approximate arc length with line segments:

  1. Partition the interval [a,b][a, b] into nn subintervals
  2. Connect consecutive points on the curve with straight line segments
  3. Sum the lengths of all line segments
  4. Take the limit as ntoinftyn \\to \\infty

The length of each segment is given by the distance formula (which is just the Pythagorean theorem):

textSegmentlength=sqrt(Deltax)2+(Deltay)2\\text{Segment length} = \\sqrt{(\\Delta x)^2 + (\\Delta y)^2}

The Pythagorean Insight: From Chords to Differentials

The crucial insight is to apply the Pythagorean theorem at the infinitesimal level. If we zoom in on a tiny piece of the curve, it looks almost straight, and we can form a right triangle.

The Infinitesimal Triangle

At any point on the curve, consider an infinitesimally small displacement:

  • Horizontal leg: dxdx (infinitesimal change in x)
  • Vertical leg: dydy (infinitesimal change in y)
  • Hypotenuse: dsds (infinitesimal arc length)

By the Pythagorean theorem:

ds2=dx2+dy2ds^2 = dx^2 + dy^2

Taking the square root:

ds=sqrtdx2+dy2ds = \\sqrt{dx^2 + dy^2}

Factoring Out dx

Since dy=f(x),dxdy = f'(x)\\,dx (by the definition of the derivative), we can factor:

ds=sqrtdx2+(f(x))2,dx2=sqrt1+(f(x))2,dxds = \\sqrt{dx^2 + (f'(x))^2\\,dx^2} = \\sqrt{1 + (f'(x))^2}\\,dx

The Arc Length Differential

The infinitesimal arc length element is:

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

This tells us that at each point, the curve is "stretched" by a factor of sqrt1+[f(x)]2\\sqrt{1 + [f'(x)]^2} compared to the horizontal.


The Arc Length Formula

To find the total arc length, we integrate the differential dsds from x=ax = a to x=bx = b:

Arc Length of y = f(x) on [a, b]
L=intabsqrt1+left[f(x)right]2,dxL = \\int_a^b \\sqrt{1 + \\left[f'(x)\\right]^2}\\,dx

Understanding the Formula

Let's break down what this formula is saying:

ComponentMeaning
LTotal arc length from x = a to x = b
∫ₐᵇSum up all infinitesimal pieces from a to b
f′(x)The slope (rate of change) of the curve at each point
1 + [f′(x)]²Pythagorean adjustment: how much steeper than horizontal
√(...)Convert from squared lengths to actual length (Pythagoras)
dxIntegrate with respect to x

The Geometric Meaning of the Integrand

The factor sqrt1+[f(x)]2\\sqrt{1 + [f'(x)]^2} has a beautiful geometric interpretation:

  • When f(x)=0f'(x) = 0 (horizontal tangent), the integrand is 1 \u2014 the curve covers the same distance as the x-axis
  • When f(x)=1f'(x) = 1 (45\u00B0 slope), the integrand is sqrt2approx1.414\\sqrt{2} \\approx 1.414 \u2014 the curve is 41% longer than horizontal
  • When f(x)=inftyf'(x) = \\infty (vertical tangent), the integrand blows up \u2014 even a tiny horizontal distance corresponds to a long vertical stretch

Interactive Arc Length Explorer

Use the interactive visualization below to explore how arc length is approximated using line segments, and to see the infinitesimal Pythagorean triangle at any point on the curve.

📏Interactive Arc Length Explorer

A simple parabola - the most fundamental example

\u0394x = 0.5000
xy
Approximation (n = 4)
4.626723
Exact Arc Length
4.646784
Error
0.43%

How It Works

We approximate the curved path with 4 straight line segments. Each segment has length \u221A(\u0394x\u00B2 + \u0394y\u00B2). As we use more segments (smaller \u0394x), the approximation improves and approaches the true arc length. The exact arc length is \u222B\u221A(1 + (dy/dx)\u00B2) dx.


Arc Length of Parametric Curves

Many curves are more naturally described parametrically: both xx and yy are functions of a parameter tt.

The Parametric Arc Length Formula

For a curve given by x=x(t)x = x(t), y=y(t)y = y(t) where tin[alpha,beta]t \\in [\\alpha, \\beta]:

Parametric Arc Length
L = \\int_\\alpha^\\beta \\sqrt{\\left(\\frac{dx}{dt}\\right)^2 + \\left(\\frac{dy}{dt}\\right)^2}\\,dt

Physical Interpretation: Speed and Distance

If tt represents time, then:

  • fracdxdt\\frac{dx}{dt} is the horizontal velocity component
  • fracdydt\\frac{dy}{dt} is the vertical velocity component
  • sqrt(dx/dt)2+(dy/dt)2\\sqrt{(dx/dt)^2 + (dy/dt)^2} is the speed (magnitude of velocity)

The arc length formula simply says: distance = integral of speed!

L = \\int_\\alpha^\\beta |\\mathbf{v}(t)|\\,dt

Special Case: Arc Length in Polar Coordinates

For a curve r=r(theta)r = r(\\theta) in polar coordinates, the arc length from theta=alpha\\theta = \\alpha to theta=beta\\theta = \\beta is:

L = \\int_\\alpha^\\beta \\sqrt{r^2 + \\left(\\frac{dr}{d\\theta}\\right)^2}\\,d\\theta

Worked Examples

Example 1: Line Segment (Verification)

Find the arc length of y=3xy = 3x from x=0x = 0 to x=4x = 4.

Solution:

The derivative is f(x)=3f'(x) = 3 (constant).

L=int04sqrt1+32,dx=int04sqrt10,dx=sqrt10cdot4=4sqrt10L = \\int_0^4 \\sqrt{1 + 3^2}\\,dx = \\int_0^4 \\sqrt{10}\\,dx = \\sqrt{10} \\cdot 4 = 4\\sqrt{10}

Verification: The line goes from (0, 0) to (4, 12). By the distance formula:

L=sqrt42+122=sqrt16+144=sqrt160=4sqrt10checkmarkL = \\sqrt{4^2 + 12^2} = \\sqrt{16 + 144} = \\sqrt{160} = 4\\sqrt{10} \\checkmark

Example 2: Neil's Parabola (Semicubical)

Find the arc length of y=x3/2y = x^{3/2} from x=0x = 0 to x=4x = 4.

Solution:

Step 1: Find the derivative.

f(x)=frac32x1/2=frac32sqrtxf'(x) = \\frac{3}{2}x^{1/2} = \\frac{3}{2}\\sqrt{x}

Step 2: Compute 1+[f(x)]21 + [f'(x)]^2:

1+left(frac32sqrtxright)2=1+frac9x4=frac4+9x41 + \\left(\\frac{3}{2}\\sqrt{x}\\right)^2 = 1 + \\frac{9x}{4} = \\frac{4 + 9x}{4}

Step 3: Set up the integral:

L=int04sqrtfrac4+9x4,dx=frac12int04sqrt4+9x,dxL = \\int_0^4 \\sqrt{\\frac{4 + 9x}{4}}\\,dx = \\frac{1}{2}\\int_0^4 \\sqrt{4 + 9x}\\,dx

Step 4: Use substitution u=4+9xu = 4 + 9x, du=9,dxdu = 9\\,dx:

L=frac12cdotfrac19int440sqrtu,du=frac118cdotfrac23u3/2Big440L = \\frac{1}{2} \\cdot \\frac{1}{9} \\int_4^{40} \\sqrt{u}\\,du = \\frac{1}{18} \\cdot \\frac{2}{3}u^{3/2}\\Big|_4^{40}
=frac127left[403/243/2right]=frac127left[40sqrt408right]= \\frac{1}{27}\\left[40^{3/2} - 4^{3/2}\\right] = \\frac{1}{27}\\left[40\\sqrt{40} - 8\\right]
=frac127left[80sqrt108right]=frac8(10sqrt101)27approx9.07= \\frac{1}{27}\\left[80\\sqrt{10} - 8\\right] = \\frac{8(10\\sqrt{10} - 1)}{27} \\approx 9.07

Example 3: Upper Semicircle

Find the arc length of the upper semicircle y=sqrt1x2y = \\sqrt{1 - x^2} from x=1x = -1 to x=1x = 1.

Solution: We should get pi\\pi (half the circumference of a unit circle).

Using the parametric approach (easier): Let x=costheta,y=sinthetax = \\cos\\theta, y = \\sin\\theta for thetain[0,pi]\\theta \\in [0, \\pi].

fracdxdtheta=sintheta,quadfracdydtheta=costheta\\frac{dx}{d\\theta} = -\\sin\\theta, \\quad \\frac{dy}{d\\theta} = \\cos\\theta
L = \\int_0^\\pi \\sqrt{\\sin^2\\theta + \\cos^2\\theta}\\,d\\theta = \\int_0^\\pi 1\\,d\\theta = \\pi \\checkmark

When to Use Parametric Form

If a curve is defined implicitly (like a circle) or has a natural parametrization, the parametric arc length formula is often easier. The Cartesian formula sqrt1+[f(x)]2\\sqrt{1 + [f'(x)]^2} can become quite messy for implicit curves.


Convergence Analysis

When we approximate arc length with line segments, how quickly does the approximation improve as we use more segments? The following demonstration shows the convergence behavior.

📊Convergence of Arc Length Approximations
Exact Arc Length of y = x² on [0, 2]
L = 4.64678376
n (segments)ApproximationAbsolute ErrorError %Convergence Rate
24.576491227.029e-21.5127%-
44.626723492.006e-20.4317%≈2ⁿ (1.81)
84.641730665.053e-30.1087%≈2ⁿ (1.99)
164.645520531.263e-30.0272%≈2ⁿ (2.00)
324.646467963.158e-40.0068%≈2ⁿ (2.00)
644.646704817.895e-50.0017%≈2ⁿ (2.00)
1284.646764021.974e-50.0004%≈2ⁿ (2.00)
2564.646778834.934e-60.0001%≈2ⁿ (2.00)
5124.646782531.234e-6<0.0001%≈2ⁿ (2.00)
10244.646783453.084e-7<0.0001%≈2ⁿ (2.00)

Log-Log Plot: Error vs Number of Segments

log\u2081\u2080(n) - Number of Segmentslog\u2081\u2080(Error %)

Key Insight: Quadratic Convergence

Notice that when we double the number of segments (n \u2192 2n), the error decreases by approximately a factor of 4. This is O(1/n\u00B2) convergence — the line segment approximation converges quadratically. This means 10x more segments gives 100x better accuracy! The convergence rate column shows values near 2, confirming that error \u223C 1/n\u00B2.

Why Quadratic Convergence?

Each line segment approximates the curve over an interval of width \u0394x = (b-a)/n. The error in each segment is related to the curve's curvature and scales as O(\u0394x\u00B3). With n segments, the total error is n \u00D7 O(\u0394x\u00B3) = O(\u0394x\u00B2) = O(1/n\u00B2). This is analogous to the Midpoint Rule in numerical integration.


Real-World Applications

Engineering: The Catenary

A hanging cable under its own weight forms a catenary: y=acosh(x/a)y = a\\cosh(x/a). The arc length is:

L=asinh(b/a)asinh(b/a)=2asinh(b/a)L = a\\sinh(b/a) - a\\sinh(-b/a) = 2a\\sinh(b/a)

This is used in designing suspension bridges and power line installations.

Physics: The Cycloid (Brachistochrone)

The cycloid \u2014 the path traced by a point on a rolling wheel \u2014 is the solution to the brachistochrone problem: the curve of fastest descent under gravity. Its arc length for one complete arch is exactly 8r8r, where rr is the wheel radius.

Computer Graphics: Bezier Curve Arc Length

Bezier curves are ubiquitous in graphics and typography. Finding their arc length enables:

  • Constant-speed animation along paths
  • Accurate text rendering (character spacing)
  • Arc-length parameterization for smooth motion

Numerical Methods in Practice

Most Bezier arc lengths cannot be computed in closed form. In production code, adaptive numerical integration or recursive subdivision is used to approximate arc length to the required precision.


Machine Learning Connections

Arc length concepts generalize in powerful ways that appear throughout modern machine learning.

Geodesics on Manifolds

In machine learning, data often lies on a curved manifold embedded in high-dimensional space. The geodesic distance between points is the length of the shortest path along the manifold \u2014 a generalization of arc length.

  • Variational Autoencoders (VAEs): The latent space has curved geometry; geodesics give meaningful interpolations
  • Riemannian optimization: Gradient descent on curved parameter spaces follows geodesics
  • Manifold learning: Algorithms like Isomap preserve geodesic distances

Loss Landscape Geometry

The loss landscape of a neural network is a high-dimensional surface. The path that optimization takes has a length (in parameter space), and understanding this geometry helps explain:

  • Why some minima are easier to reach than others
  • The sharpness vs flatness of minima (generalization properties)
  • How learning rate affects the optimization trajectory

The Arc Length Integral in Metric Learning

In metric learning, we learn a distance function. On a Riemannian manifold with metric tensor gijg_{ij}, the arc length becomes:

L=intabsqrtsumi,jgijfracdxidtfracdxjdt,dtL = \\int_a^b \\sqrt{\\sum_{i,j} g_{ij} \\frac{dx^i}{dt} \\frac{dx^j}{dt}}\\,dt

This is the natural generalization of our simple formula to arbitrary curved spaces.


Python Implementation

Computing Arc Length Numerically

Here's how to compute arc length in Python, comparing the line segment approximation with numerical integration:

Arc Length: Numerical Methods
🐍arc_length.py
3Arc Length via Numerical Integration

This function computes arc length by numerically integrating the arc length differential ds = √(1 + [f′(x)]²) dx. We use Simpson’s rule for high accuracy.

14The Integrand

The key formula: the integrand is √(1 + (dy/dx)²). This comes from the Pythagorean theorem applied to infinitesimal elements ds² = dx² + dy².

EXAMPLE
For y = x², dy/dx = 2x, so integrand = √(1 + 4x²)
18Simpson’s Rule

Simpson’s rule approximates integrals by fitting parabolas to triplets of points. It has error O(h⁴), much better than the trapezoidal rule’s O(h²).

28Line Segment Approximation

The geometric approach: approximate the curve with n straight line segments and sum their lengths. Each segment has length √(Δx² + Δy²).

35NumPy Vectorization

np.diff computes differences between consecutive elements. We use vectorized operations to efficiently compute all segment lengths at once.

71 lines without explanation
1import numpy as np
2from scipy import integrate
3import matplotlib.pyplot as plt
4
5def arc_length_numerical(f, df, a, b, n=1000):
6    """
7    Compute arc length of y = f(x) from x = a to x = b.
8    Uses numerical integration of sqrt(1 + [f'(x)]^2).
9
10    Parameters:
11    - f: The function (used for visualization)
12    - df: The derivative of f
13    - a, b: Interval endpoints
14    - n: Number of points for integration
15
16    Returns: The arc length
17    """
18    # The integrand: sqrt(1 + (dy/dx)^2)
19    def integrand(x):
20        return np.sqrt(1 + df(x)**2)
21
22    # Use Simpson's rule for accurate integration
23    x = np.linspace(a, b, n+1)
24    y = integrand(x)
25
26    # Simpson's rule: integral ≈ (h/3)[f0 + 4f1 + 2f2 + 4f3 + ... + fn]
27    h = (b - a) / n
28    weights = np.ones(n+1)
29    weights[1:-1:2] = 4  # Odd indices get weight 4
30    weights[2:-1:2] = 2  # Even indices (except endpoints) get weight 2
31
32    arc_length = (h / 3) * np.sum(weights * y)
33    return arc_length
34
35def arc_length_line_segments(f, a, b, n):
36    """
37    Approximate arc length using n straight line segments.
38    This is the geometric interpretation of Riemann sums for arc length.
39    """
40    x = np.linspace(a, b, n+1)
41    y = f(x)
42
43    # Distance between consecutive points: sqrt(Δx² + Δy²)
44    dx = np.diff(x)
45    dy = np.diff(y)
46    segment_lengths = np.sqrt(dx**2 + dy**2)
47
48    return np.sum(segment_lengths)
49
50# Example: Arc length of y = x^2 from 0 to 2
51def f(x):
52    return x**2
53
54def df(x):
55    return 2*x
56
57a, b = 0, 2
58
59# Calculate exact arc length using SciPy's quad
60def integrand(x):
61    return np.sqrt(1 + (2*x)**2)
62
63exact_result, error = integrate.quad(integrand, a, b)
64print(f"Arc length of y = x² from 0 to 2:")
65print(f"Exact (SciPy quad): {exact_result:.8f}")
66print()
67
68# Compare approximation methods
69print(f"{'n':>6} {'Line Segments':>15} {'Simpson':>15} {'Error (line)':>15}")
70print("-" * 55)
71
72for n in [4, 8, 16, 32, 64, 128, 256]:
73    line_approx = arc_length_line_segments(f, a, b, n)
74    simpson_approx = arc_length_numerical(f, df, a, b, n)
75    error_line = abs(exact_result - line_approx)
76    print(f"{n:>6} {line_approx:>15.8f} {simpson_approx:>15.8f} {error_line:>15.2e}")

Parametric Curves

Working with parametric curves, including classic examples like the circle and cycloid:

Parametric Arc Length
🐍arc_length_parametric.py
3Parametric Arc Length

For parametric curves x = x(t), y = y(t), the arc length is ∫√((dx/dt)² + (dy/dt)²) dt. This is the natural generalization — we sum the speed |v(t)| over time.

23Circle Example

A circle parametrized as x = R·cos(t), y = R·sin(t) has |v(t)| = R (constant speed). The circumference is ∫₀²π R dt = 2πR.

37Cycloid

The cycloid is the curve traced by a point on a wheel rolling along a line. Its arc length for one arch (t ∈ [0, 2π]) is exactly 8R — a classic result!

523D Helix

Arc length extends naturally to 3D: ds² = dx² + dy² + dz². For a helix with unit radius and unit pitch, the arc length per turn is 2π√2.

67 lines without explanation
1import numpy as np
2from scipy import integrate
3
4def arc_length_parametric(x_func, y_func, dx_dt, dy_dt, t_start, t_end, n=1000):
5    """
6    Compute arc length of a parametric curve (x(t), y(t)).
7
8    Arc length = ∫ sqrt((dx/dt)² + (dy/dt)²) dt
9
10    Parameters:
11    - x_func, y_func: Parametric functions x(t), y(t)
12    - dx_dt, dy_dt: Their derivatives
13    - t_start, t_end: Parameter range
14    - n: Number of integration points
15    """
16    def integrand(t):
17        return np.sqrt(dx_dt(t)**2 + dy_dt(t)**2)
18
19    # Using SciPy's quad for accurate integration
20    result, error = integrate.quad(integrand, t_start, t_end)
21    return result
22
23# Example 1: Circle of radius R
24R = 1.0
25x_circle = lambda t: R * np.cos(t)
26y_circle = lambda t: R * np.sin(t)
27dx_dt_circle = lambda t: -R * np.sin(t)
28dy_dt_circle = lambda t: R * np.cos(t)
29
30# Full circle: t from 0 to 2π
31circumference = arc_length_parametric(
32    x_circle, y_circle,
33    dx_dt_circle, dy_dt_circle,
34    0, 2*np.pi
35)
36print(f"Circle (R=1) circumference: {circumference:.8f}")
37print(f"Expected (2πR): {2*np.pi*R:.8f}")
38print()
39
40# Example 2: Cycloid (path traced by a point on a rolling circle)
41# x(t) = R(t - sin(t)), y(t) = R(1 - cos(t))
42x_cycloid = lambda t: R * (t - np.sin(t))
43y_cycloid = lambda t: R * (1 - np.cos(t))
44dx_dt_cycloid = lambda t: R * (1 - np.cos(t))
45dy_dt_cycloid = lambda t: R * np.sin(t)
46
47# One arch: t from 0 to 2π
48cycloid_length = arc_length_parametric(
49    x_cycloid, y_cycloid,
50    dx_dt_cycloid, dy_dt_cycloid,
51    0, 2*np.pi
52)
53print(f"Cycloid arc length (one arch): {cycloid_length:.8f}")
54print(f"Expected (8R): {8*R:.8f}")
55print()
56
57# Example 3: Helix in 3D (bonus)
58# For a helix: x = cos(t), y = sin(t), z = t
59# Arc length element: sqrt((dx/dt)² + (dy/dt)² + (dz/dt)²)
60def helix_arc_length(t_end, n_turns=1):
61    def integrand(t):
62        # dx/dt = -sin(t), dy/dt = cos(t), dz/dt = 1
63        return np.sqrt(np.sin(t)**2 + np.cos(t)**2 + 1)
64
65    # Simplifies to sqrt(2) since sin²+cos²=1
66    result, _ = integrate.quad(integrand, 0, t_end)
67    return result
68
69helix_one_turn = helix_arc_length(2*np.pi)
70print(f"Helix (1 turn): {helix_one_turn:.8f}")
71print(f"Expected (2π√2): {2*np.pi*np.sqrt(2):.8f}")

Common Pitfalls

Pitfall 1: Forgetting the Square Root

The arc length is intsqrt1+[f(x)]2,dx\\int\\sqrt{1 + [f'(x)]^2}\\,dx, NOT int(1+[f(x)]2),dx\\int (1 + [f'(x)]^2)\\,dx. The square root is essential for dimensional correctness.

Pitfall 2: Expecting Closed-Form Answers

Unlike many calculus problems, arc length integrals rarely have nice closed forms. Be prepared to use numerical methods or special functions. Even y=x2y = x^2 gives an arc length involving sinh1\\sinh^{-1}.

Pitfall 3: Wrong Limits in Parametric Form

When converting from Cartesian to parametric, ensure your parameter limits correspond to the correct direction and endpoints. A semicircle from x=1x = -1 to x=1x = 1 corresponds to thetain[pi,0]\\theta \\in [\\pi, 0] or [0,pi][0, \\pi] depending on direction.

Pitfall 4: Vertical Tangents

When f(x)toinftyf'(x) \\to \\infty (vertical tangent), the Cartesian formula fails. Use the parametric form or split the curve at vertical tangent points. For example, y=x2/3y = x^{2/3} has a vertical tangent at x=0x = 0.


Test Your Understanding

🧪Test Your Understanding: Arc Length
1. What does the infinitesimal arc length element ds represent geometrically?
2. For a function y = f(x), which formula gives the arc length from x = a to x = b?
3. If a curve is given parametrically as x = x(t), y = y(t) for t ∈ [α, β], what is the arc length formula?
4. What is the arc length of the upper semicircle y = √(1 - x²) from x = -1 to x = 1?
5. When approximating arc length with n line segments, how does the error typically decrease as n increases?
6. For the function y = x³/², what is the integrand in the arc length formula?
7. Why is the arc length integral often difficult to evaluate analytically?
8. In machine learning, arc length concepts appear in which context?

Summary

Arc length measures the distance along a curve. Using the Pythagorean theorem at the infinitesimal level, we derived formulas that express this geometric quantity as an integral.

Key Formulas

FormArc Length Formula
Cartesian y = f(x)L = ∫ₐᵇ √(1 + [f′(x)]²) dx
Parametric x(t), y(t)L = ∫ᵅᵝ √((dx/dt)² + (dy/dt)²) dt
Polar r(θ)L = ∫ᵅᵝ √(r² + (dr/dθ)²) dθ
Infinitesimal elementds² = dx² + dy² (Pythagorean theorem)

Key Takeaways

  1. Pythagorean insight: Arc length comes from applying ds2=dx2+dy2ds^2 = dx^2 + dy^2 infinitesimally
  2. The integrand sqrt1+[f(x)]2\\sqrt{1 + [f'(x)]^2} measures how much the curve "stretches" compared to horizontal
  3. Parametric form is often easier, especially for circles and closed curves
  4. Most integrals cannot be evaluated in closed form \u2014 numerical methods are essential
  5. Line segment approximation converges quadratically (O(1/n\u00B2))
  6. Physical interpretation: For parametric curves, arc length = integral of speed
  7. ML connections: Arc length generalizes to geodesics on manifolds
The Essence of Arc Length:
"To measure a curve, we unfold it into infinitely many straight pieces, measure each with the Pythagorean theorem, and integrate them back together."
Coming Next: In the next section, we'll explore Surface Area of Revolution \u2014 extending arc length to three dimensions by rotating curves around an axis.
Loading comments...