Trig Substitution Calculator

Type an integrand with a square root of a quadratic to substitute for x.

Use x. Type powers with ^, and functions with brackets: sin(x), e^(2x), ln(x), sqrt(x).

Try

Result

You entered∫11−x2 dx\int \frac{1}{\sqrt{1 - x^{2}}}\,dx

∫11−x2 dx=arcsin⁡x+C\displaystyle \int \frac{1}{\sqrt{1 - x^{2}}}\,dx = \arcsin x + C
Show the work
  1. Trigonometric substitution

    The integrand contains a2−x2\sqrt{a^2 - x^2} form, so let x=asin⁡θx = a\sin\theta: then a2−x2=a2cos⁡2θa^2 - x^2 = a^2\cos^2\theta and the root becomes a trigonometric function.

    x=sin⁡θdx=cos⁡θ dθ1−x2=cos⁡2θ\begin{gathered} x = \sin\theta \\ dx = \cos \theta\,d\theta \\ 1 - x^{2} = \cos^{2} \theta \end{gathered}
  2. Rewrite in theta

    Replace every x, the root and dx, then simplify.

    ∫11−x2 dx=∫1 dθ\int \frac{1}{\sqrt{1 - x^{2}}}\,dx = \int 1\,d\theta
  3. Constant rule

    The integrand does not contain θ\theta, so it is a constant.

    Using ∫c dx=cx+C\int c\,dx = cx + C

    ∫1 dθ=θ\int 1\,d\theta = \theta
  4. Back-substitute with the triangle

    Draw a right triangle with hypotenuse 11, opposite side xx and adjacent side 1−x2\sqrt{1 - x^{2}}.

    θ  →  arcsin⁡x\theta \;\to\; \arcsin x
  5. Result

    An antiderivative is only defined up to a constant, so the constant of integration CC is added.

    ∫11−x2 dx=arcsin⁡x+C\int \frac{1}{\sqrt{1 - x^{2}}}\,dx = \arcsin x + C

Worked examples