Tutorials › Calculus II › Integrating The Inverse Sine And Cosine

Integration by Parts I · Tutorial 41 of 998

Integrating The Inverse Sine And Cosine

Learn how integration by parts gives antiderivatives for the inverse sine and cosine, and how derivative checks prevent sign errors.

Beginner 9 min read

What You'll Learn

  • Apply integration by parts to the inverse sine and inverse cosine.
  • Use the correct derivative and sign for each inverse trigonometric function.
  • Explain why the square-root term appears in each antiderivative.
  • Check antiderivative formulas by differentiating them.
  • Identify why the formulas are derived on the open interval from negative one to one.

Why These Integrals Are Useful

Inverse trigonometric functions have derivatives involving a square root. That derivative may look complicated, but in an integral such as \(\int \arcsin x\,dx\), integration by parts turns the inverse function into a simpler algebraic expression. The same strategy works for \(\arccos x\), provided its negative derivative is handled carefully.

The key is to choose the inverse trigonometric function as the factor to differentiate and \(1\) as the factor to integrate. This produces an integral involving \(x/\sqrt{1-x^2}\), which has a simple antiderivative.

Scope and domain: The formulas below are derived for \(-1<x<1\), where the derivatives of \(\arcsin x\) and \(\arccos x\) are given by the usual square-root formulas. Both inverse functions themselves are defined at the endpoints as well, but the derivation uses their derivatives on the open interval.

Inverse Sine and Inverse Cosine

Here, \(\arcsin x\) denotes the principal inverse sine, with values in \([-\pi/2,\pi/2]\), and \(\arccos x\) denotes the principal inverse cosine, with values in \([0,\pi]\). Both functions have domain \([-1,1]\). On the open interval \((-1,1)\), their derivatives are

$$ \frac{d}{dx}\arcsin x=\frac{1}{\sqrt{1-x^2}}, \qquad \frac{d}{dx}\arccos x=-\frac{1}{\sqrt{1-x^2}}. $$

The square root is the nonnegative square root. The minus sign in the derivative of \(\arccos x\) is essential: as \(x\) increases, the principal angle \(\arccos x\) decreases.

Integration by parts states that \(\int u\,dv=uv-\int v\,du\). For these integrals, take \(u\) to be the inverse trigonometric function and \(dv=dx\), so \(v=x\). This choice moves the inverse function into its derivative and leaves an integral that can be evaluated directly.

Deriving the Inverse Sine Antiderivative

For \(-1<x<1\), choose \(u=\arcsin x\) and \(dv=dx\). Then \(du=dx/\sqrt{1-x^2}\) and \(v=x\). Applying integration by parts gives

$$ \int \arcsin x\,dx = x\arcsin x-\int\frac{x}{\sqrt{1-x^2}}\,dx. $$

To evaluate the remaining integral, note that the derivative of \(\sqrt{1-x^2}\) is \(-x/\sqrt{1-x^2}\). Therefore, an antiderivative of \(x/\sqrt{1-x^2}\) is \(-\sqrt{1-x^2}\). Substituting this into the integration-by-parts result yields

$$ \int \arcsin x\,dx = x\arcsin x+\sqrt{1-x^2}+C. $$

The plus sign before the square root appears because integration by parts subtracts the remaining integral, whose antiderivative already has a minus sign.

Worked Example: Integrating the Inverse Sine

Find an antiderivative of \(\arcsin x\) on \((-1,1)\).

Set \(u=\arcsin x\) and \(dv=dx\). Then

$$ du=\frac{1}{\sqrt{1-x^2}}\,dx, \qquad v=x. $$

Integration by parts gives

$$ \int\arcsin x\,dx =x\arcsin x-\int\frac{x}{\sqrt{1-x^2}}\,dx. $$

Since

$$ \frac{d}{dx}\left(-\sqrt{1-x^2}\right) =-\frac{1}{2}(1-x^2)^{-1/2}(-2x) =\frac{x}{\sqrt{1-x^2}}, $$

the remaining integral is \(-\sqrt{1-x^2}\). Thus

$$ \int\arcsin x\,dx =x\arcsin x-(-\sqrt{1-x^2})+C =x\arcsin x+\sqrt{1-x^2}+C. $$

Check by differentiating, omitting the constant:

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

The derivative is the original integrand, as required.

Deriving the Inverse Cosine Antiderivative

Now choose \(u=\arccos x\) and \(dv=dx\). The derivative of \(\arccos x\) has a minus sign, so \(du=-dx/\sqrt{1-x^2}\). Integration by parts gives

$$ \int \arccos x\,dx = x\arccos x-\int x\left(-\frac{1}{\sqrt{1-x^2}}\right)\,dx = x\arccos x+\int\frac{x}{\sqrt{1-x^2}}\,dx. $$

The remaining integral is \(-\sqrt{1-x^2}\), as above. Consequently,

$$ \int \arccos x\,dx = x\arccos x-\sqrt{1-x^2}+C. $$

The square-root term now has a minus sign. The integration-by-parts formula contributes a minus before the integral, but the negative derivative of \(\arccos x\) changes that to a plus before the remaining integral. That integral itself has a negative antiderivative.

Worked Example: Integrating the Inverse Cosine

Find an antiderivative of \(\arccos x\) on \((-1,1)\).

Take \(u=\arccos x\) and \(dv=dx\). Then

$$ du=-\frac{1}{\sqrt{1-x^2}}\,dx, \qquad v=x. $$

Apply integration by parts and keep the derivative sign visible:

$$ \begin{aligned} \int\arccos x\,dx &=x\arccos x-\int x\left(-\frac{1}{\sqrt{1-x^2}}\right)\,dx\\ &=x\arccos x+\int\frac{x}{\sqrt{1-x^2}}\,dx\\ &=x\arccos x-\sqrt{1-x^2}+C. \end{aligned} $$

To check, differentiate the proposed antiderivative:

$$ \begin{aligned} \frac{d}{dx}\left(x\arccos x-\sqrt{1-x^2}\right) &=\arccos x-\frac{x}{\sqrt{1-x^2}}+\frac{x}{\sqrt{1-x^2}}\\ &=\arccos x. \end{aligned} $$

The two square-root-denominator terms cancel, leaving the integrand.

Why the Method Works

The integration-by-parts step is a rearrangement of the product rule. In general, \((uv)'=u'v+uv'\). Integrating both sides and rearranging gives \(\int u\,dv=uv-\int v\,du\), when \(du=u'\,dx\) and \(dv=v'\,dx\). In these examples, choosing \(v=x\) makes the remaining product \(v\,du\) equal to either \(x/\sqrt{1-x^2}\,dx\) or its negative.

The simplification can also be understood through the chain rule. Differentiating \(\sqrt{1-x^2}\) produces the factor \(x/\sqrt{1-x^2}\), up to a minus sign. Thus the inverse-function derivative and the factor \(x\) created by \(v=x\) match the derivative of a simple square-root expression. Integration by parts is effective because it creates exactly this match.

Antiderivative formulas: On \((-1,1)\),
$$ \int\arcsin x\,dx=x\arcsin x+\sqrt{1-x^2}+C, \qquad \int\arccos x\,dx=x\arccos x-\sqrt{1-x^2}+C. $$
Here \(C\) is an arbitrary constant.

A Relationship Between the Two Formulas

On \([-1,1]\), the principal inverse sine and inverse cosine satisfy \(\arcsin x+\arccos x=\pi/2\). Adding the two antiderivative expressions provides a useful consistency check: the square-root terms cancel, and the inverse-function terms combine according to that identity.

Worked Example: Combining Both Inverse Functions

Find an antiderivative of \(2\arcsin x-3\arccos x\) on \((-1,1)\). Use the two formulas just derived and the linearity of integration:

$$ \begin{aligned} \int(2\arcsin x-3\arccos x)\,dx &=2\int\arcsin x\,dx-3\int\arccos x\,dx\\ &=2\left(x\arcsin x+\sqrt{1-x^2}\right) -3\left(x\arccos x-\sqrt{1-x^2}\right)+C\\ &=2x\arcsin x-3x\arccos x+5\sqrt{1-x^2}+C. \end{aligned} $$

Differentiate the result to check every term:

$$ \begin{aligned} \frac{d}{dx}\left(2x\arcsin x-3x\arccos x+5\sqrt{1-x^2}\right) &=2\arcsin x+\frac{2x}{\sqrt{1-x^2}}\\ &\quad-3\arccos x+\frac{3x}{\sqrt{1-x^2}} -\frac{5x}{\sqrt{1-x^2}}\\ &=2\arcsin x-3\arccos x. \end{aligned} $$

The square-root-denominator terms have coefficients \(2+3-5=0\), so they cancel and leave the requested integrand.

A Sign Error to Avoid

The inverse cosine formula is especially vulnerable to a sign error. For example, a tempting but incorrect expression is \(x\arccos x+\sqrt{1-x^2}\). Differentiate it before accepting it:

$$ \frac{d}{dx}\left(x\arccos x+\sqrt{1-x^2}\right) = \arccos x-\frac{x}{\sqrt{1-x^2}}-\frac{x}{\sqrt{1-x^2}} = \arccos x-\frac{2x}{\sqrt{1-x^2}}. $$

This is not \(\arccos x\) in general. The square-root terms reinforce one another rather than cancel. The corrected expression is \(x\arccos x-\sqrt{1-x^2}\), whose derivative is

$$ \arccos x-\frac{x}{\sqrt{1-x^2}}+\frac{x}{\sqrt{1-x^2}} =\arccos x. $$

A reliable check is to differentiate the entire proposed answer, including the square-root term. Checking only the inverse-function product can miss exactly this kind of error.

Domain and Constants

The displayed derivative formulas contain \(\sqrt{1-x^2}\) in the denominator, which is nonzero for \(-1<x<1\) and zero at \(x=\pm1\). The derivations therefore establish antiderivatives on the open interval. The original inverse functions are defined on the closed interval, and the expressions for the antiderivatives have finite endpoint values, but the derivative-based calculations above are made in the open interval.

As with every indefinite integral, the constant \(C\) represents an arbitrary real constant. Two antiderivatives of the same function on an interval differ by a constant. When combining several integrals, their constants can be absorbed into a single arbitrary constant.

The method matters because it links two kinds of information: the derivative of an inverse trigonometric function and the chain-rule structure of a square root. Remember the derivative signs, choose \(u\) to be the inverse function, and verify the result by differentiation.

Check Your Understanding

Use the formulas and sign checks from this tutorial to answer the following questions.

  1. What choice of \(u\) and \(dv\) gives an efficient integration-by-parts setup for \(\int\arcsin x\,dx\)?
  2. What is the derivative of \(\arccos x\) on \((-1,1)\), and how does its sign affect integration by parts?
  3. Differentiate \(x\arcsin x+\sqrt{1-x^2}\) and identify the terms that cancel.
  4. Why is \(x\arccos x+\sqrt{1-x^2}\) not an antiderivative of \(\arccos x\)?
  5. On what interval are the derivative-based derivations in this tutorial valid, and why are the endpoints excluded from those calculations?

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