Tutorials › AP Calculus › Second Derivatives of Inverse Trigonometric Compositions

Higher Derivatives and Motion · Tutorial 234 of 999

Second Derivatives of Inverse Trigonometric Compositions

Apply the chain rule twice to inverse trigonometric compositions, while checking their domains and evaluating exact second-derivative values.

Intermediate 8 min read

What You'll Learn

  • Find second derivatives of inverse sine, cosine, and tangent compositions
  • Identify the domain conditions needed for each second-derivative formula
  • Track both terms produced by differentiating a composition twice
  • Evaluate and simplify exact second-derivative values at specified inputs
  • Detect the common error of omitting the inner-function derivative term

Why These Second Derivatives Need Care

A composition such as \(y=\arcsin(x^2)\) combines two layers of change: the inner algebraic function changes with \(x\), and the inverse trigonometric function responds to that change. Differentiating once uses the chain rule. Differentiating a second time requires differentiating both the outer derivative and the inner derivative.

That second differentiation creates two terms. Keeping both is essential, and checking the domain is just as important: the usual derivative formulas for inverse sine and inverse cosine require their inputs to lie strictly between \(-1\) and \(1\).

Key idea: For an inverse trigonometric function composed with \(u=g(x)\), differentiate the outer derivative and the inner derivative. The second derivative contains a term involving \(g''(x)\) and another involving \((g'(x))^2\).

Inverse Trigonometric Functions and Their Domains

Here, \(\arcsin u\), \(\arccos u\), and \(\arctan u\) mean the principal inverse functions. Their output ranges are, respectively, \([-\frac{\pi}{2},\frac{\pi}{2}]\), \([0,\pi]\), and \((-\frac{\pi}{2},\frac{\pi}{2})\). The first two functions accept inputs in \([-1,1]\); the third accepts every real input.

For inputs strictly inside the domain, their derivative formulas are:

$$ \frac{d}{du}\arcsin u=\frac{1}{\sqrt{1-u^2}}, \qquad \frac{d}{du}\arccos u=-\frac{1}{\sqrt{1-u^2}}, \qquad \frac{d}{du}\arctan u=\frac{1}{1+u^2}. $$

Suppose \(g\) has a second derivative on an open interval. To apply the second-derivative formulas below throughout that interval, require \(-1<g(x)<1\) for \(\arcsin(g(x))\) and \(\arccos(g(x))\). For \(\arctan(g(x))\), there is no corresponding restriction on the value of \(g(x)\). These conditions ensure the relevant first-derivative formulas can be differentiated there.

The Second-Derivative Formulas

Let \(y\) be one of these compositions. Applying the chain rule once gives its first derivative. Applying the chain rule and product rule to that result gives the second derivative:

Formula: If \(g\) is twice differentiable and the required domain conditions hold, then
$$ \frac{d^2}{dx^2}\arcsin(g(x)) = \frac{g''(x)}{\sqrt{1-g(x)^2}} + \frac{g(x)(g'(x))^2}{(1-g(x)^2)^{3/2}}, $$
$$ \frac{d^2}{dx^2}\arccos(g(x)) = -\frac{g''(x)}{\sqrt{1-g(x)^2}} - \frac{g(x)(g'(x))^2}{(1-g(x)^2)^{3/2}}, $$
$$ \frac{d^2}{dx^2}\arctan(g(x)) = \frac{g''(x)}{1+g(x)^2} - \frac{2g(x)(g'(x))^2}{(1+g(x)^2)^2}. $$

The formulas are similar, but the inverse tangent denominator has \(1+g(x)^2\), while inverse sine and cosine involve \(1-g(x)^2\). The cosine formula is the negative of the sine formula for the same inner function.

Why Two Terms Appear

For inverse sine, first differentiate once using \(u=g(x)\):

$$ \frac{d}{dx}\arcsin(g(x)) = \frac{g'(x)}{\sqrt{1-g(x)^2}} = g'(x)(1-g(x)^2)^{-1/2}. $$

To differentiate again, apply the product rule. The derivative of the first factor is \(g''(x)\). For the second factor, use the chain rule:

$$ \frac{d}{dx}(1-g(x)^2)^{-1/2} = -\frac12(1-g(x)^2)^{-3/2}(-2g(x)g'(x)) = g(x)g'(x)(1-g(x)^2)^{-3/2}. $$

Therefore the complete second derivative is

$$ \begin{aligned} \frac{d^2}{dx^2}\arcsin(g(x)) &=g''(x)(1-g(x)^2)^{-1/2}\\ &\quad+g'(x)\,g(x)g'(x)(1-g(x)^2)^{-3/2}\\ &=\frac{g''(x)}{\sqrt{1-g(x)^2}} +\frac{g(x)(g'(x))^2}{(1-g(x)^2)^{3/2}}. \end{aligned} $$

This derivation explains the two contributions: one comes from differentiating \(g'(x)\), and one comes from differentiating the factor that depends on \(g(x)\). For inverse cosine, the first derivative is the negative of the inverse-sine first derivative, so differentiating it gives the negative of both terms above.

For inverse tangent, the same product-rule structure applies:

$$ \begin{aligned} \frac{d}{dx}\arctan(g(x)) &=g'(x)(1+g(x)^2)^{-1},\\ \frac{d}{dx}(1+g(x)^2)^{-1} &=-(1+g(x)^2)^{-2}\,2g(x)g'(x). \end{aligned} $$

Multiplying the derivative of the second factor by \(g'(x)\), and adding the derivative of the first factor, gives the stated inverse-tangent formula.

Worked Examples

Worked Example: Second Derivative of \(\arcsin(x^2)\)

Find \(y''\) for \(y=\arcsin(x^2)\), then evaluate it at \(x=\frac12\).

Set \(g(x)=x^2\). The composition is real when \(x^2\leq 1\), and the second-derivative formula applies on the open interval \(-1<x<1\). Compute the inner derivatives:

$$ g'(x)=2x,\qquad g''(x)=2. $$

Substitute into the inverse-sine formula:

$$ \begin{aligned} y'' &=\frac{2}{\sqrt{1-(x^2)^2}} +\frac{x^2(2x)^2}{(1-(x^2)^2)^{3/2}}\\ &=\frac{2}{\sqrt{1-x^4}} +\frac{4x^4}{(1-x^4)^{3/2}}. \end{aligned} $$

At \(x=\frac12\), \(x^4=\frac1{16}\), so \(1-x^4=\frac{15}{16}\). Thus

$$ \begin{aligned} y''\left(\frac12\right) &=\frac{2}{\sqrt{15/16}} +\frac{4(1/16)}{(15/16)^{3/2}}\\ &=\frac{8}{\sqrt{15}}+\frac{16}{15\sqrt{15}}\\ &=\frac{120+16}{15\sqrt{15}} =\frac{136}{15\sqrt{15}}. \end{aligned} $$

Check by differentiating the first derivative directly. The first derivative is \(y'=2x(1-x^4)^{-1/2}\). Therefore

$$ \begin{aligned} y'' &=2(1-x^4)^{-1/2} +2x\left(2x^3(1-x^4)^{-3/2}\right)\\ &=\frac{2}{\sqrt{1-x^4}}+\frac{4x^4}{(1-x^4)^{3/2}}, \end{aligned} $$

which agrees with the formula and gives \(\frac{136}{15\sqrt{15}}\) at \(x=\frac12\).

Worked Example: Second Derivative of \(\arccos(2x)\)

Find the second derivative of \(y=\arccos(2x)\) at \(x=\frac14\).

Here \(g(x)=2x\), so \(g'(x)=2\) and \(g''(x)=0\). The input condition is \(-1<2x<1\), or \(-\frac12<x<\frac12\), which contains the specified input. Use the inverse-cosine formula:

$$ y'' = -\frac{0}{\sqrt{1-(2x)^2}} -\frac{(2x)(2)^2}{(1-(2x)^2)^{3/2}} = -\frac{8x}{(1-4x^2)^{3/2}}. $$

At \(x=\frac14\), \(8x=2\) and \(1-4x^2=1-\frac14=\frac34\). Hence

$$ \begin{aligned} y''\left(\frac14\right) &=-\frac{2}{(3/4)^{3/2}}\\ &=-\frac{2}{3\sqrt{3}/8} =-\frac{16}{3\sqrt{3}}. \end{aligned} $$

Check by differentiating once first: \(y'=-2(1-4x^2)^{-1/2}\). Differentiating gives

$$ y''=-2\left(-\frac12\right)(1-4x^2)^{-3/2}(-8x) =-\frac{8x}{(1-4x^2)^{3/2}}, $$

which evaluates to \(-\frac{16}{3\sqrt{3}}\) at \(x=\frac14\), as before.

Worked Example: Second Derivative of \(\arctan(x^2)\)

Find \(y''\) for \(y=\arctan(x^2)\), then evaluate it at \(x=1\).

Let \(g(x)=x^2\), so \(g'(x)=2x\) and \(g''(x)=2\). Inverse tangent accepts every real input. Substitute into its second-derivative formula:

$$ \begin{aligned} y'' &=\frac{2}{1+(x^2)^2} -\frac{2(x^2)(2x)^2}{(1+(x^2)^2)^2}\\ &=\frac{2}{1+x^4}-\frac{8x^4}{(1+x^4)^2}. \end{aligned} $$

At \(x=1\), \(x^4=1\), so

$$ y''(1)=\frac{2}{2}-\frac{8}{2^2}=1-2=-1. $$

Check by differentiating the first derivative \(y'=2x/(1+x^4)\):

$$ \begin{aligned} y'' &=\frac{2(1+x^4)-(2x)(4x^3)}{(1+x^4)^2}\\ &=\frac{2+2x^4-8x^4}{(1+x^4)^2} =\frac{2-6x^4}{(1+x^4)^2}. \end{aligned} $$

At \(x=1\), this is \((2-6)/4=-1\). Combining the formula's two terms over a common denominator also gives \((2-6x^4)/(1+x^4)^2\), confirming the result.

Domain Checks and a Common Mistake

For \(\arcsin(g(x))\) and \(\arccos(g(x))\), first check that \(g(x)\) lies in \([-1,1]\) wherever the composition is being considered. To use the displayed second-derivative formulas at an input, the stronger condition \(-1<g(x)<1\) is required. At \(g(x)=1\) or \(g(x)=-1\), the denominator in the derivative formulas is zero, so these formulas do not apply there. A particular composition might have special behavior at an endpoint, but it must be analyzed separately rather than evaluated by substituting into a formula with a zero denominator.

For \(\arctan(g(x))\), there is no restriction on \(g(x)\)'s real value, although \(g\) still needs to be twice differentiable at the input. In every case, evaluate the inner function and its first two derivatives before substituting into the corresponding formula.

Common mistake: Differentiating only the factor \(g'(x)\) and forgetting to differentiate the outer-derivative factor loses a whole term.

For example, with \(y=\arcsin(x^2)\), an incomplete calculation might keep only

$$ y''\ \text{(incorrect)} = \frac{g''(x)}{\sqrt{1-g(x)^2}} = \frac{2}{\sqrt{1-x^4}}. $$

This omits the derivative of \((1-g(x)^2)^{-1/2}\). The correct calculation includes both contributions:

$$ y'' = \frac{2}{\sqrt{1-x^4}} + \frac{4x^4}{(1-x^4)^{3/2}}. $$

At \(x=\frac12\), the incomplete expression gives \(\frac{8}{\sqrt{15}}\), while the correct value is \(\frac{136}{15\sqrt{15}}\). The missing term is \(\frac{16}{15\sqrt{15}}\), not zero.

A Reliable Calculation Process

1
Name the inner function.
Write \(g(x)\) for the algebraic expression inside the inverse trigonometric function.
2
Check the input domain.
For inverse sine or cosine, verify \(-1<g(x)<1\) at the input where the second derivative is requested.
3
Find the inner derivatives.
Compute \(g'(x)\) and \(g''(x)\) before substituting into the appropriate formula.
4
Substitute and simplify.
Keep the two terms visible until both have been evaluated, then combine exact values carefully.
5
Check the result.
Differentiate the first-derivative expression directly or compare it with the general formula.

These second derivatives arise whenever a model or function includes an inverse trigonometric response to a changing algebraic input. The reliable approach is not to memorize a single expanded expression, but to track the inner function, apply the appropriate chain rule, and preserve both terms at the second differentiation.

Check Your Understanding

Use the appropriate second-derivative formula and show the domain check where needed.

  1. Find the formula for \(y''\) when \(y=\arcsin(3x)\), and state the interval where the formula applies.
  2. For \(y=\arccos(x^2)\), identify the inputs where the second-derivative formula applies.
  3. Find \(y''(0)\) for \(y=\arctan(x^2+1)\).
  4. In differentiating \(\arcsin(g(x))\) twice, which differentiation produces the term containing \((g'(x))^2\)?
  5. Explain why substituting \(g(x)=1\) into the inverse-sine second-derivative formula is not valid.

Test yourself: AP Calculus practice exams

Ready to check what you know? Work an AP-style practice exam, then open the full solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: 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