Loading…

Trigonometric Substitution Tool

Math Calculus • Integrals

View all topics

Apply trigonometric substitution to the standard square-root forms \(\sqrt{a^2-x^2}\), \(\sqrt{x^2-a^2}\), and \(\sqrt{x^2+a^2}\). The calculator detects the form, chooses the substitution, builds the reference triangle, and gives the final antiderivative.

\(a^2-x^2\) \(\displaystyle x=a\sin\theta,\quad \sqrt{a^2-x^2}=a\cos\theta\) \(x^2-a^2\) \(\displaystyle x=a\sec\theta,\quad \sqrt{x^2-a^2}=a\tan\theta\) \(x^2+a^2\) \(\displaystyle x=a\tan\theta,\quad \sqrt{x^2+a^2}=a\sec\theta\) Sample result \(\displaystyle \int\frac{dx}{\sqrt{9-x^2}}=\arcsin\!\left(\frac{x}{3}\right)+C\)

Integral and substitution form

Enter the integrand only, or paste a full expression such as ∫ dx / sqrt(9 - x^2). The auto detector recognizes the most common square-root trig-substitution forms.

Supported forms include 1/sqrt(9-x^2), sqrt(9-x^2), 1/sqrt(x^2-9), sqrt(x^2-9), 1/sqrt(x^2+9), and sqrt(x^2+9).
Used when the form is selected manually, or when auto-detection needs a fallback.
Live preview
\[\int\frac{dx}{\sqrt{9-x^2}}\]

Graph and output settings

Quick examples

Ready
Enter a square-root form, then click “Apply substitution”.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

Which substitution is used for sqrt(a^2 - x^2)?

Use x = a sin(theta). Then sqrt(a^2 - x^2) becomes a cos(theta).

Which substitution is used for sqrt(x^2 - a^2)?

Use x = a sec(theta). Then sqrt(x^2 - a^2) becomes a tan(theta).

Which substitution is used for sqrt(x^2 + a^2)?

Use x = a tan(theta). Then sqrt(x^2 + a^2) becomes a sec(theta).

What is the integral of 1 over sqrt(9 minus x squared)?

The result is arcsin(x/3) plus C.

Why is a right triangle useful?

The triangle helps convert trigonometric expressions in theta back into expressions involving x.

What happens if my interval is outside the real domain?

The calculator warns that the selected interval leaves the real domain, and the definite integral may be undefined as a real-valued integral.

Can trig substitution produce logarithms?

Yes. The sqrt(x^2 - a^2) and sqrt(x^2 + a^2) forms often produce logarithmic antiderivatives.

What does the shaded graph region represent?

The shaded region represents the signed definite integral of the selected integrand over the selected interval.