Loading…

Integration by Trigonometric Substitution Tool

Math Calculus • Applications of Integrals

View all topics
10. Integration By Trigonometric Substitution Tool
Applies trig substitutions for radicals: \(\;\sqrt{a^2-x^2}\Rightarrow x=a\sin\theta,\quad \sqrt{x^2+a^2}\Rightarrow x=a\tan\theta,\quad \sqrt{x^2-a^2}\Rightarrow x=a\sec\theta\;\) and back-substitutes using a right-triangle diagram.
Inputs
Use variable x. Constants: pi, e, and a (from the field below). Supported: + − * / ^, parentheses, sin cos tan ln log sqrt abs exp. Implicit multiplication allowed: 2x, (x+1)(x-1).
Used when your expression contains a.
Auto works for the classic three patterns.
Used only to label the triangle sides.
Used for \(\theta\to x\) preview (optional).
Click a preset to load and evaluate.
Ready
Visuals
Graph: drag to pan • wheel/pinch to zoom. Triangle: conversion between \(x\) and \(\theta\).
Graph
x: 0, y: 0, zoom(px/unit): 60
Right triangle diagram
\(\theta\) is drawn at the acute angle (left corner), not at the right angle.
Result & Steps
Enter an integrand, then click Calculate.

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

What is integration by trigonometric substitution?

It is a method that replaces x with a trig expression so radicals simplify using identities like 1 - sin^2(theta) = cos^2(theta) or 1 + tan^2(theta) = sec^2(theta). This turns an integral with a square root into a simpler integral in theta.

When should I use x = a sin(theta) for sqrt(a^2 - x^2)?

Use x = a sin(theta) when your integrand contains sqrt(a^2 - x^2) because sqrt(a^2 - a^2 sin^2(theta)) becomes a cos(theta). This removes the square root and makes the integral easier to evaluate.

How does the auto-detect option choose the substitution?

Auto-detect looks for the standard radical forms sqrt(a^2 - x^2), sqrt(x^2 + a^2), or sqrt(x^2 - a^2) and selects the corresponding substitution. If your integrand does not match a classic pattern, you may need to choose the substitution manually.

How do I convert the answer back from theta to x?

After integrating in theta, use the defining ratio (such as sin(theta) = x/a or tan(theta) = x/a) to build a right triangle and rewrite trig terms in x. Then replace theta with an inverse trig expression like theta = arcsin(x/a) or theta = arctan(x/a).