Tutorials › Calculus II › Checking Trigonometric-Substitution Antiderivatives

Trigonometric Substitution · Tutorial 168 of 998

Checking Trigonometric-Substitution Antiderivatives

Differentiate each proposed antiderivative in \(x\), check that it reproduces the original integrand, and identify the interval where the verification is valid.

Intermediate 8 min read

What You'll Learn

  • State what it means for a function to be an antiderivative on an interval.
  • Verify a back-substituted formula by differentiating it in the original variable.
  • Check chain-rule factors and signs in inverse-trigonometric terms.
  • Verify radical formulas for both \(a^2-x^2\) and \(x^2-a^2\).
  • Identify the domain and branch conditions needed for a valid check.

Why Check the Final Formula?

A trigonometric substitution can turn a radical integral into a trigonometric one, but the final answer must still be a function of the original variable \(x\). During the return to \(x\), it is possible to lose a chain-rule factor, choose an incorrect sign, or use a formula outside the interval where it is defined. Differentiating the proposed answer in \(x\) checks the result directly against the original integrand.

This is a useful final step, not a replacement for keeping track of the substitution. A derivative check establishes that a proposed expression is an antiderivative on the interval where the expression and the original integrand are defined. It does not make a formula valid at points where a radical or inverse trigonometric function is undefined.

Definition: A function \(F\) is an antiderivative of \(f\) on an open interval \(I\) if \(F\) is differentiable at every point of \(I\) and \(F'(x)=f(x)\) for every \(x\in I\).

For radical integrals, the interval matters. For example, \(\sqrt{a^2-x^2}\) is real when \(-a\le x\le a\), while its reciprocal is defined only when \(-a<x<a\). The expression \(\sqrt{x^2-a^2}\) is real when \(x\le -a\) or \(x\ge a\); its reciprocal is defined only on the corresponding open intervals. Here \(a\) is assumed positive.

A Reliable Verification Procedure

After back-substituting, set aside the trigonometric variable and differentiate the final formula as written in \(x\). Use the product rule for products involving a radical, the chain rule for inverse trigonometric functions, and the chain rule for logarithms. Then simplify until the derivative is visibly the original integrand.

1
Record the original integrand and its domain.
Determine where the radical is real and where any denominator is nonzero.
2
Write the proposed antiderivative in \(x\).
Do not verify only an expression in the substitution variable; check the actual back-substituted formula.
3
Differentiate using the rules for each component.
Keep the derivatives of radicals, inverse trigonometric functions, and logarithms explicit until the terms can be combined.
4
Simplify and compare.
Use identities such as \(x^2+a^2-x^2=a^2\) or \(x^2-a^2=(\sqrt{x^2-a^2})^2\), while respecting the stated domain.

Why Differentiating Is the Right Check

The method works because differentiation reverses integration: an antiderivative is defined by having derivative equal to the integrand. The chain rule also explains why the substitution steps must be tracked carefully. If the final expression has the form \(F(x)=G(u(x))\), then

$$ F'(x)=G'(u(x))u'(x). $$

The factor \(u'(x)\) is part of the derivative of the final expression. In a substitution-based calculation, the differential factor in the transformed integral accounts for this same change of variable. Once the answer has been returned to \(x\), differentiating it checks that the factor and the algebra have both been handled correctly.

More explicitly, suppose a proposed formula \(F\) is differentiable on an interval \(I\), and direct differentiation gives \(F'(x)=f(x)\) for all \(x\in I\). By the definition above, \(F\) is an antiderivative of \(f\) on \(I\). The check is complete only after the equality is established on the stated interval, not merely at a few sample values.

Worked Checks for \(a^2-x^2\)

Worked Example: The Square Root of \(9-x^2\)

Consider the proposed antiderivative for \(\sqrt{9-x^2}\):

$$ F(x)=\frac{1}{2}\left(x\sqrt{9-x^2}+9\arcsin\left(\frac{x}{3}\right)\right), \qquad -3<x<3. $$

Let \(S(x)=\sqrt{9-x^2}\). On this interval \(S(x)>0\), and the chain rule gives

$$ S'(x)=\frac{1}{2}(9-x^2)^{-1/2}(-2x)=-\frac{x}{S(x)}. $$

The inverse-sine term has derivative

$$ \frac{d}{dx}\arcsin\left(\frac{x}{3}\right) = \frac{1/3}{\sqrt{1-x^2/9}} = \frac{1}{\sqrt{9-x^2}} = \frac{1}{S(x)}. $$

Now apply the product rule to \(xS(x)\):

$$ \begin{aligned} F'(x) &=\frac{1}{2}\left(S(x)+xS'(x)+\frac{9}{S(x)}\right)\\ &=\frac{1}{2}\left(S(x)-\frac{x^2}{S(x)}+\frac{9}{S(x)}\right)\\ &=\frac{1}{2}\left(S(x)+\frac{9-x^2}{S(x)}\right)\\ &=\frac{1}{2}\left(S(x)+\frac{S(x)^2}{S(x)}\right)\\ &=S(x)=\sqrt{9-x^2}. \end{aligned} $$

The final expression differentiates to the original integrand at every \(x\in(-3,3)\), so it is an antiderivative on that interval.

Worked Example: The Reciprocal Square Root of \(16-x^2\)

Check the proposed formula \(F(x)=\arcsin(x/4)\) for the integrand \(1/\sqrt{16-x^2}\). The integrand is defined on \((-4,4)\). Differentiate with the chain rule:

$$ \begin{aligned} F'(x) &=\frac{1/4}{\sqrt{1-(x/4)^2}}\\ &=\frac{1/4}{\sqrt{1-x^2/16}}\\ &=\frac{1/4}{\sqrt{16-x^2}/4}\\ &=\frac{1}{\sqrt{16-x^2}}. \end{aligned} $$

In the third line, \(\sqrt{16-x^2}/4\) is the correct simplification because \(4\) is positive. The derivative agrees with the original integrand for every \(x\in(-4,4)\), verifying the formula on its full domain.

Worked Check for \(x^2-a^2\)

Worked Example: The Square Root of \(x^2-9\) on \(x>3\)

Consider

$$ F(x)=\frac{1}{2}\left(x\sqrt{x^2-9}-9\ln\left(x+\sqrt{x^2-9}\right)\right), \qquad x>3. $$

On \(x>3\), set \(S(x)=\sqrt{x^2-9}\). Then \(S>0\), and \(x+S>0\), so the displayed logarithm is defined. Differentiate the radical:

$$ S'(x)=\frac{1}{2}(x^2-9)^{-1/2}(2x)=\frac{x}{S(x)}. $$

For the logarithm, the chain rule gives

$$ \begin{aligned} \frac{d}{dx}\ln(x+S(x)) &=\frac{1+S'(x)}{x+S(x)}\\ &=\frac{1+x/S(x)}{x+S(x)}\\ &=\frac{(S(x)+x)/S(x)}{x+S(x)}\\ &=\frac{1}{S(x)}. \end{aligned} $$

Differentiate the complete formula and simplify:

$$ \begin{aligned} F'(x) &=\frac{1}{2}\left(S(x)+xS'(x)-\frac{9}{S(x)}\right)\\ &=\frac{1}{2}\left(S(x)+\frac{x^2}{S(x)}-\frac{9}{S(x)}\right)\\ &=\frac{1}{2}\left(S(x)+\frac{x^2-9}{S(x)}\right)\\ &=\frac{1}{2}\left(S(x)+\frac{S(x)^2}{S(x)}\right)\\ &=S(x)=\sqrt{x^2-9}. \end{aligned} $$

Thus the proposed expression is an antiderivative on \(x>3\). The domain restriction is part of the verification: it ensures the radical is positive and the logarithm argument is positive. This calculation makes no claim about a formula on a different interval.

Common Pitfall: Losing a Sign

A frequent error is to differentiate \(\sqrt{a^2-x^2}\) as though its derivative were \(x/\sqrt{a^2-x^2}\). That is the derivative pattern for \(\sqrt{x^2-a^2}\) on \(x>a\), not for \(\sqrt{a^2-x^2}\). The inner derivative in the first radical is \(-2x\), so its derivative has a minus sign.

For example, with \(S(x)=\sqrt{9-x^2}\), the incorrect calculation would give \(S'(x)=x/S(x)\). At \(x=1\), that predicts \(S'(1)=1/\sqrt{8}\). The correct chain-rule calculation is

$$ S'(1)=\frac{-1}{\sqrt{8}}. $$

The sign error changes the derivative of any product containing \(S(x)\), and the terms will not simplify to the original integrand. When checking an answer, compute each inner derivative explicitly before combining terms.

Domain and Comparison Checks

A successful derivative calculation must satisfy two conditions. First, the proposed expression must be defined and differentiable on the interval under consideration. Second, its derivative must equal the original integrand there. In particular, endpoints where a denominator becomes zero cannot be included in the interval for an improper-looking integrand such as \(1/\sqrt{a^2-x^2}\).

It is also important to compare with the original integrand, not merely with an expression that appeared in the trigonometric variable. For a radical, the back-substitution must produce the intended square root on the chosen domain. A triangle relation can give a positive length such as \(\sqrt{a^2-x^2}\); the domain of \(x\) determines which signs and inverse-trigonometric branches are appropriate when writing the answer in \(x\).

Key takeaway: A proposed antiderivative is verified by differentiating the final expression in \(x\), simplifying to the original integrand, and stating the interval on which both sides are defined.

Check Your Understanding

For each question, include the domain on which the claimed derivative is valid.

  1. What two conditions must hold for \(F\) to be an antiderivative of \(f\) on an interval?
  2. Differentiate \(\arcsin(x/5)\) and state the interval on which the result is defined.
  3. For \(S(x)=\sqrt{25-x^2}\), find \(S'(x)\) and explain the sign of the numerator.
  4. Why does the verification of the logarithmic formula in the example specify \(x>3\)?
  5. If differentiating a proposed answer gives the original integrand only for \(x>a\), what has been established—and what has not?

Test yourself: Calculus II final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

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