Calculus learning

Trigonometric Substitution: Choosing a Substitution and Its Domain

Trigonometric substitution replaces a quadratic radical with a trigonometric identity. Start with the sign of the squared terms, not a memorized triangle. A simple u-substitution may be shorter if the numerator already contains the derivative of the radicand.

Direct answer

Use x=a sin θ for √(a²−x²), x=a tan θ for √(a²+x²), or x=a sec θ for √(x²−a²).

Assume a>0 and choose an angle interval on which the substitution is one-to-one. Square roots are nonnegative; √(u²)=|u|.

Trigonometric Substitution worked method

For 1/√(a²−x²), set x=a sin θ with −π/2<θ<π/2. Then dx=a cos θ dθ and the positive cosine cancels the denominator.

The transformed integral is ∫1 dθ=θ+C. Return to x with θ=arcsin(x/a); differentiating confirms the result on |x|<a.

For a²+x², choose x=a tan θ with −π/2<θ<π/2. The identity 1+tan²θ=sec²θ removes the radical with sec θ>0.

For x²−a² on x>a, choose x=a sec θ with 0<θ<π/2. The negative branch x<−a needs its own angle/sign treatment; do not silently copy the positive branch.

For definite integrals, either change both bounds to θ immediately or return the antiderivative to x before inserting x-bounds. Mixing these two choices changes the problem.

1
∫ dx/√(a²−x²) = arcsin(x/a)+C
2
∫xa2+x2 dx=a2+x2+C\int \frac{x}{\sqrt{a^{2} + x^{2}}}\,\mathrm{d}x = \sqrt{a^{2} + x^{2}} + C
3
∫ dx/(a²+x²) = arctan(x/a)/a+C

Choose the substitution from the signs, not the appearance

A radical is not by itself a reason to use trigonometric substitution. First check for a numerator proportional to the derivative of the expression inside the radical. For x/√(9+x²), the ordinary substitution u=9+x² gives du=2x dx and is shorter than introducing an angle. Trigonometric substitution becomes useful when a sum or difference of squares remains without that matching factor. Complete a square and extract positive scale factors before choosing between sine, tangent and secant. The constant a in the standard patterns must be positive; a negative coefficient of x² can also change the real domain.

Worked example: integrate 1/√(16−x²)

Work on the open interval −4<x<4. Choose x=4sin(θ) with −π/2<θ<π/2, so cos(θ) is positive. This sign choice matters because the principal square root of 16cos²(θ) equals 4|cos(θ)|, not automatically 4cos(θ). After replacing both dx and the radical, the cosine factors cancel. Returning to x gives an inverse sine, and differentiating it checks the original integrand on the same interval.

  1. Transform the differential as well as the input.

    x=4sin⁡θ,dx=4cos⁡θ dθx=4\sin\theta,\quad dx=4\cos\theta\,d\theta
  2. Use the selected angular interval.

    16−x2=4∣cos⁡θ∣=4cos⁡θ\sqrt{16-x^2}=4|\cos\theta|=4\cos\theta
  3. Cancel and return to the original variable.

    ∫dx16−x2=∫dθ=arcsin⁡(x/4)+C\int\frac{dx}{\sqrt{16-x^2}}=\int d\theta=\arcsin(x/4)+C
  4. Check only where the denominator is nonzero.

    ddxarcsin⁡(x/4)=116−x2\frac{d}{dx}\arcsin(x/4)=\frac1{\sqrt{16-x^2}}

Worked example: definite integral with transformed bounds

Evaluate the integral of 1/(9+x²) from zero to three. With x=3tan(θ), the endpoints become zero and π/4. The differential contributes 3sec²(θ), while the denominator contributes 9sec²(θ), leaving one third. The answer is π/12, approximately 0.261799. A positive integrand on an interval of positive length must give a positive answer. A useful size check is that its value lies between 3/18 and 3/9; these are rectangle bounds from the minimum and maximum integrand values.

  1. Use the tangent identity for a sum of squares.

    x=3tan⁡θ,dx=3sec⁡2θ dθx=3\tan\theta,\quad dx=3\sec^2\theta\,d\theta
  2. Convert both bounds before evaluating.

    x=0⇒θ=0,x=3⇒θ=π/4x=0\Rightarrow\theta=0,\quad x=3\Rightarrow\theta=\pi/4
  3. Keep the factor 1/3 from the substitution.

    ∫03dx9+x2=13∫0π/4dθ=π12\int_0^3\frac{dx}{9+x^2}=\frac13\int_0^{\pi/4}d\theta=\frac\pi{12}

What this lesson does and does not claim

The derivations above are mathematical teaching examples. A calculator may support the rational example through a direct pattern while not implementing every radical substitution shown in the lesson. A checked answer does not certify that its intermediate method is the same one used here. When a numerical integral is offered, inspect the finite interval for singularities first. The endpoints of the inverse-sine example require improper-integral analysis if included; they must not be silently treated as ordinary interior points. Preserve the original bounds and domain when comparing a hand solution with a calculator result.

Worked examples

∫ dx/√(16−x²)
arcsin(x/4)+C

The interval is −4<x<4.

∫x9+x2 dx\int \frac{x}{\sqrt{9 + x^{2}}}\,\mathrm{d}x
9+x2+C\sqrt{9 + x^{2}} + C

u=9+x² is shorter here.

∫ dx/(4+x²)
arctan⁡(x2)2+C\frac{\arctan\left(\frac{x}{2}\right)}{2} + C

The denominator has no real zero.

Common mistakes

  • • Dropping the absolute value before selecting an angle interval.
  • • Changing dx but not the denominator.
  • • Using x-bounds in a θ-integral.

Try the supported calculator preset

The preset opens a supported expression with its variable and conditions. Teaching examples elsewhere in this guide are reference explanations, not claims that the engine supports every method.

This runnable example is a quadratic rational integral. The radical derivations above are teaching references, not claims that the calculator implements every trig-substitution step.

Open the calculator without a preset: Integrals

References

Frequently asked questions

When should I try ordinary substitution first?+

When the remaining factors supply the derivative of the expression under the square root.

Does every radical require a triangle?+

No. Inverse-trigonometric identities can restore x directly.

Will the calculator show this method for every radical?+

No. Its rule set is narrower than this lesson. A limitation response is not a proof that the integral is impossible.

Conclusion

Trigonometric Substitution starts with the stated domain and conditions. Recheck those before carrying a worked example into a different problem.

Compare usage plans