3.4, 3.5 - Inverse tangent in calculus

3.4, 3.5 - Inverse tangent in calculus

Inverse tangent connects a familiar angle function to a new kind of rational integral. In this lesson, 3.4 supplies its derivative and the chain rule extends it to composite functions; 3.5 reverses that derivative to integrate positive quadratic denominators. Principal radian values will then give exact definite integrals.

Differentiating inverse tangent

Which function has derivative 1/(1+x2)1/(1+x^2)? It is not a power of 1+x21+x^2: differentiating such a power introduces a factor of xx. The answer comes from reversing the tangent function.

Inverse tangent

y=tan⁡−1xy=\tan^{-1}x, also written y=arctan⁡xy=\arctan x, means that tan⁡y=x\tan y=x and

−π2<y<π2.-\frac\pi2<y<\frac\pi2.

The inverse tangent takes any real input and returns the unique angle in this principal interval. Here, and throughout calculus with trigonometric functions, angles are in radians.

For example, tan⁡−11=π/4\tan^{-1}1=\pi/4 and tan⁡−1(−1)=−π/4\tan^{-1}(-1)=-\pi/4. Although 5π/45\pi/4 also has tangent 11, it is not the principal inverse-tangent value. The notation tan⁡−1x\tan^{-1}x means an inverse function, whereas (tan⁡x)−1=cot⁡x(\tan x)^{-1}=\cot x means a reciprocal.

To find the derivative, start with tan⁡y=x\tan y=x. Differentiating with respect to xx and retaining the chain-rule factor gives

sec⁡2y dydx=1.\sec^2 y\,\frac{\mathrm dy}{\mathrm dx}=1.

Since sec⁡2y=1+tan⁡2y=1+x2\sec^2y=1+\tan^2y=1+x^2, divide by this positive quantity.

Inverse-tangent derivative

ddxtan⁡−1x=11+x2,x∈R.\frac{\mathrm d}{\mathrm dx}\tan^{-1}x=\frac1{1+x^2},\qquad x\in\mathbb R.

In the formula booklet. For a differentiable inside function u=u(x)u=u(x), the chain rule therefore gives

ddxtan⁡−1u=u′1+u2.\frac{\mathrm d}{\mathrm dx}\tan^{-1}u=\frac{u'}{1+u^2}.

The composite form follows from the supplied derivative.

For y=tan⁡−1xy=\tan^{-1}x, the derivative is always positive but tends towards zero for large positive or negative inputs. The graph rises throughout, flattening towards its horizontal asymptotes.

[DIAGRAM: asset_name: An angle function and its gradient; asset_slug: inverse-tangent-gradient; caption: Inverse tangent rises between two horizontal asymptotes, with a positive gradient that decreases away from zero; description: Two coordinate panels share horizontal inputs from minus four to four. The left shows y equals inverse tangent x, points minus one comma minus pi over four, zero comma zero, and one comma pi over four, with dashed horizontal asymptotes y equals plus and minus pi over two. The right shows its gradient 1 over 1 plus x squared, with maximum one at zero and value one half at both minus one and one.]
Inverse tangent rises between two horizontal asymptotes, with a positive gradient that decreases away from zero

Worked example 1: a linear input

Question. Differentiate y=tan⁡−1(2x)y=\tan^{-1}(2x).

Plan. Use the inverse-tangent derivative with inside function u=2xu=2x, then multiply by u′=2u'=2.

dydx=21+(2x)2=21+4x2.\frac{\mathrm dy}{\mathrm dx}=\frac{2}{1+(2x)^2}=\frac2{1+4x^2}.

Answer. 2/(1+4x2)2/(1+4x^2), for all real xx.

Check. At x=0x=0, the central difference [tan⁡−1(0.002)−tan⁡−1(−0.002)]/0.002[\tan^{-1}(0.002)-\tan^{-1}(-0.002)]/0.002 is approximately 2.002.00, agreeing with the derivative value 22.

Change only the input from 2x2x to 2x22x^2. Its derivative changes, and the whole input still has to be squared in the denominator.

Worked example 2: a quadratic input

Question. Differentiate y=tan⁡−1(2x2)y=\tan^{-1}(2x^2).

Plan. Use u=2x2u=2x^2, so u′=4xu'=4x, in the same chain-rule form.

dydx=4x1+(2x2)2=4x1+4x4.\frac{\mathrm dy}{\mathrm dx}=\frac{4x}{1+(2x^2)^2}=\frac{4x}{1+4x^4}.

Answer. 4x/(1+4x4)4x/(1+4x^4), for all real xx.

Check. The original function is even, so its gradient changes sign under x↦−xx\mapsto-x, as this odd derivative does. At x=1x=1, a central difference with step 0.0010.001 is approximately 0.8000010.800001, agreeing with 4/54/5.

Constant multiples and sums use the usual rules. For example, the derivative of 3tan⁡−1x−tan⁡−1(2x)3\tan^{-1}x-\tan^{-1}(2x) is 3/(1+x2)−2/(1+4x2)3/(1+x^2)-2/(1+4x^2). Products and quotients can combine this new derivative with the rules already learnt.

Watch out

For tan⁡−1(2x2)\tan^{-1}(2x^2), the denominator is 1+(2x2)2=1+4x41+(2x^2)^2=1+4x^4, not 1+2x21+2x^2. Keep the entire inside expression in brackets before squaring it.

Differentiate another quadratic input before evaluating its gradient.

An inverse tangent integral

Reversing the basic derivative gives ∫1/(1+x2) dx=tan⁡−1x+C\int1/(1+x^2)\,\mathrm dx=\tan^{-1}x+C. A different positive constant in the denominator requires a scale factor inside the inverse tangent and a matching factor outside.

For a>0a>0, differentiate tan⁡−1(x/a)\tan^{-1}(x/a):

ddxtan⁡−1(xa)=1/a1+x2/a2=ax2+a2.\frac{\mathrm d}{\mathrm dx}\tan^{-1}\left(\frac xa\right) =\frac{1/a}{1+x^2/a^2}=\frac a{x^2+a^2}.

Dividing that result by aa gives the desired integrand.

A positive quadratic denominator

For a positive constant aa,

∫1x2+a2 dx=1atan⁡−1(xa)+C.\int\frac1{x^2+a^2}\,\mathrm dx =\frac1a\tan^{-1}\left(\frac xa\right)+C.

In the formula booklet, with the arbitrary constant omitted there. The denominator is positive for every real xx.

This is the sum-of-squares pattern. A difference such as x2−a2x^2-a^2 does not have this antiderivative. Also distinguish a2a^2 in the denominator from aa in the outside factor and inside quotient.

Continue this lesson.

You’re previewing NovaLearn without an account. Create a free account to read the rest.

Create free account