Tutorials › Calculus II › Substitution Patterns for Exact Graph Lengths

Arc Length and Curve Length · Tutorial 404 of 998

Substitution Patterns for Exact Graph Lengths

Use the form of a graph’s derivative to simplify its length integral, choose valid substitutions, and recognize when an exact antiderivative applies.

Intermediate 10 min read

What You'll Learn

  • Identify when the graph-length integrand simplifies through an identity involving \(f'(x)\).
  • Use \(u=f'(x)\) while correctly transforming both the differential and the bounds.
  • Derive an antiderivative for the square root of one plus \(u^2\).
  • Evaluate exact graph lengths using hyperbolic, trigonometric, and algebraic forms of \(f'(x)\).
  • Check domain conditions and absolute values before simplifying a square root.

Why the Derivative Suggests the Substitution

A graph \(y=f(x)\) on an interval \([a,b]\), where \(f\) is continuously differentiable, has length

$$ L=\int_a^b \sqrt{1+[f'(x)]^2}\,dx. $$

The quantity inside the square root depends on the slope of the graph. A useful substitution therefore often begins with that slope: set \(u=f'(x)\). But this choice is useful only if the accompanying differential \(dx\) can also be expressed in terms of \(u\) in a manageable way. The substitution must transform the entire integrand, not just the expression under the square root.

Definition: A derivative-based substitution for a graph-length integral is a change of variable that uses \(u=f'(x)\), or a closely related expression, to simplify \(\sqrt{1+[f'(x)]^2}\) together with the differential and the integration bounds.

Two patterns occur often. First, an identity may simplify the square root directly, as when \(1+\sinh^2 x=\cosh^2 x\). Second, substituting \(u=f'(x)\) may make the integral standard, provided \(f''(x)\) and the resulting differential produce a manageable expression. In either case, the interval matters: \(\sqrt{g(x)^2}=|g(x)|\), not automatically \(g(x)\).

The Standard Square-Root Integral

One common antiderivative is \(\int\sqrt{1+u^2}\,du\). Its derivation also illustrates why an algebraic rearrangement can turn an unfamiliar integral into a familiar one.

Theorem: For every real \(u\),
$$ \int \sqrt{1+u^2}\,du = \frac12\left(u\sqrt{1+u^2}+\ln\left|u+\sqrt{1+u^2}\right|\right)+C. $$

To justify the formula, write \(I=\int\sqrt{1+u^2}\,du\) and use integration by parts with the first factor \(\sqrt{1+u^2}\) and the second factor \(1\). This gives

$$ I=u\sqrt{1+u^2}-\int \frac{u^2}{\sqrt{1+u^2}}\,du. $$

Since \(u^2=(1+u^2)-1\), the remaining integrand is \(\sqrt{1+u^2}-1/\sqrt{1+u^2}\). Therefore

$$ I=u\sqrt{1+u^2}-I+\int\frac{1}{\sqrt{1+u^2}}\,du. $$

The last antiderivative is \(\ln|u+\sqrt{1+u^2}|\): differentiating the logarithm gives \(1/\sqrt{1+u^2}\). Solving the displayed equation for \(I\) proves the formula. The logarithm’s argument is positive for every real \(u\), since \(\sqrt{1+u^2}>|u|\), but the absolute-value notation is conventional.

When \(u=f'(x)\), the standard formula alone does not complete a graph-length calculation. One must still determine \(du=f''(x)\,dx\), account for any resulting factors, and transform the interval endpoints. A substitution is effective when all these pieces fit together.

Worked Example: A Hyperbolic Derivative

Worked Example: A Hyperbolic Derivative

Find the length of \(f(x)=\tfrac12\cosh(2x)\) on \(0\le x\le\tfrac12\).

Differentiate the graph function:

$$ f'(x)=\frac12\cdot 2\sinh(2x)=\sinh(2x). $$

Thus the length integrand is \(\sqrt{1+\sinh^2(2x)}\). The identity \(1+\sinh^2 t=\cosh^2 t\) gives \(\sqrt{1+\sinh^2(2x)}=|\cosh(2x)|\). Since \(\cosh(2x)>0\), this is \(\cosh(2x)\).

Now use the derivative-based substitution \(u=\sinh(2x)\). Then \(du=2\cosh(2x)\,dx\), so \(\cosh(2x)\,dx=\tfrac12du\). At the endpoints, \(x=0\) gives \(u=0\), and \(x=\tfrac12\) gives \(u=\sinh(1)\). Therefore

$$ L=\int_0^{1/2}\cosh(2x)\,dx =\frac12\int_0^{\sinh(1)}du =\frac12\sinh(1). $$

For a check, an antiderivative in \(x\) is \(\tfrac12\sinh(2x)\), whose derivative is \(\cosh(2x)\). Evaluating it at the endpoints gives \(\tfrac12\sinh(1)-\tfrac12\sinh(0)=\tfrac12\sinh(1)\), as obtained by substitution.

Worked Example: A Trigonometric Derivative

Worked Example: A Trigonometric Derivative

Find the length of \(f(x)=-\ln(\cos x)\) on \([-\pi/4,\pi/4]\). On this interval \(\cos x>0\), so the function is defined and differentiable.

Its derivative is \(f'(x)=\tan x\). The identity \(1+\tan^2 x=\sec^2 x\) gives \(\sqrt{1+\tan^2 x}=|\sec x|\). Here \(\sec x>0\), so the integrand is \(\sec x\). Set \(u=\tan x\). Then \(du=\sec^2 x\,dx=(1+u^2)\,dx\), and \(\sec x=\sqrt{1+u^2}\). Consequently, \(\sec x\,dx=du/\sqrt{1+u^2}\). The transformed endpoints are \(-1\) and \(1\), so

$$ L=\int_{-1}^{1}\frac{du}{\sqrt{1+u^2}} =\left[\ln\left|u+\sqrt{1+u^2}\right|\right]_{-1}^{1}. $$

At \(u=1\), the logarithm is \(\ln(1+\sqrt2)\). At \(u=-1\), its argument is \(\sqrt2-1\), which is positive. Thus

$$ L=\ln(1+\sqrt2)-\ln(\sqrt2-1) =\ln\left(\frac{1+\sqrt2}{\sqrt2-1}\right) =2\ln(1+\sqrt2). $$

The last equality follows because \((1+\sqrt2)/(\sqrt2-1)=(1+\sqrt2)^2\). To check, the derivative of \(\ln|\sec x+\tan x|\) is \(\sec x\), wherever the expression is defined. Evaluating this antiderivative at the two endpoints gives \(2\ln(1+\sqrt2)\), confirming the result.

Worked Example: An Algebraic Derivative

Worked Example: An Algebraic Derivative

Find the length of \(f(x)=-\sqrt{1-x^2}\) on \([0,3/5]\). The interval lies inside \((-1,1)\), where the function is differentiable.

Differentiation gives \(f'(x)=x/\sqrt{1-x^2}\). Hence

$$ 1+[f'(x)]^2 =1+\frac{x^2}{1-x^2} =\frac{1}{1-x^2}, \qquad \sqrt{1+[f'(x)]^2}=\frac{1}{\sqrt{1-x^2}}. $$

The last equality uses \(1-x^2>0\) on the interval. To express this through the derivative, set \(u=f'(x)=x/\sqrt{1-x^2}\). Then

$$ \frac{du}{dx} =\frac{1}{\sqrt{1-x^2}}+\frac{x^2}{(1-x^2)^{3/2}} =\frac{1}{(1-x^2)^{3/2}}. $$

Also, \(1+u^2=1/(1-x^2)\), so \(du/dx=(1+u^2)^{3/2}\). It follows that \(dx=du/(1+u^2)^{3/2}\), and the length integrand becomes \(du/(1+u^2)\). The bounds transform from \(x=0\) to \(u=0\), and from \(x=3/5\) to \(u=(3/5)/(4/5)=3/4\). Therefore

$$ L=\int_0^{3/4}\frac{du}{1+u^2} =\arctan(3/4). $$

For a check in the original variable, \(\frac{d}{dx}\arcsin x=1/\sqrt{1-x^2}\) on this interval. Thus the length is \(\arcsin(3/5)-\arcsin(0)=\arcsin(3/5)\). These two exact values agree: if \(\theta=\arctan(3/4)\), a right triangle with opposite side \(3\), adjacent side \(4\), and hypotenuse \(5\) gives \(\sin\theta=3/5\), hence \(\theta=\arcsin(3/5)\).

Check the Sign Before Simplifying

A frequent error is to replace \(\sqrt{1+\tan^2 x}\) by \(\sec x\) without checking its sign. The identity gives \(\sqrt{\sec^2 x}=|\sec x|\). If \(\sec x<0\), dropping the absolute value can even produce a negative answer for a length.

Pitfall: On \([2\pi/3,3\pi/4]\), \(\sec x<0\). The incorrect calculation \(\sqrt{1+\tan^2 x}=\sec x\) would make the length integral \(\int_{2\pi/3}^{3\pi/4}\sec x\,dx\), which is negative because the integrand is negative. The correct integrand is \(|\sec x|=-\sec x\), so the length is positive.

For example, use the graph \(f(x)=-\ln|\cos x|\) on that interval. Its derivative is \(\tan x\), and \(|\cos x|>0\) throughout. The correct length is

$$ L=-\int_{2\pi/3}^{3\pi/4}\sec x\,dx =\ln\left(\frac{2+\sqrt3}{1+\sqrt2}\right)>0. $$

Indeed, \(\int\sec x\,dx=\ln|\sec x+\tan x|+C\); at the lower endpoint \(|\sec x+\tan x|=2+\sqrt3\), and at the upper endpoint it is \(1+\sqrt2\). The ratio is greater than one, so its logarithm is positive.

A Reliable Substitution Checklist

Before committing to a substitution, verify that it simplifies the complete length integral. In particular, if \(u=f'(x)\), then \(du=f''(x)\,dx\); a factor of \(f''(x)\) must not be omitted. For a definite integral, transform both endpoints or return to \(x\) before evaluating. Also check whether the interval crosses a point where the expression used to simplify the square root changes sign or is undefined.

1
Write the length integrand.
Begin with \(\sqrt{1+[f'(x)]^2}\) and identify its algebraic, trigonometric, or hyperbolic structure.
2
Check signs and domains.
Use \(\sqrt{g(x)^2}=|g(x)|\), and determine whether the graph and substitution are defined throughout the interval.
3
Transform the whole integral.
Compute the differential and, for a definite integral, the new bounds. Simplifying only the square root is not enough.
4
Evaluate and check.
Differentiate the proposed antiderivative or compare with the original-variable integral to verify the result.

These patterns matter because exact curve lengths depend not merely on recognizing a familiar expression, but on matching it to the graph’s derivative and the interval. When a substitution does not simplify the full integral, it is not a useful substitution, even if it makes the square root look simpler. The standard integral of \(\sqrt{1+u^2}\) is one available tool; choosing when it applies is part of the calculation.

Check Your Understanding

For each question, state any interval or sign condition needed to justify your reasoning.

  1. Why does \(u=f'(x)\) require transforming the differential as well as the expression inside the square root?
  2. State an antiderivative of \(\sqrt{1+u^2}\), and name the integration step used to derive it.
  3. On what intervals can \(\sqrt{1+\tan^2 x}\) be replaced by \(\sec x\) without an absolute value?
  4. For \(f'(x)=\sinh(2x)\), what substitution transforms the length integrand and differential together?
  5. For \(f'(x)=x/\sqrt{1-x^2}\), find \(du/dx\) when \(u=f'(x)\), and state the transformed integrand.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon