Kittttttan*s Web

日本語 | English

Calculus

The Chain Rule

4.4 Inverses of Trigonometric Functions

Mathematics is built on basic functions like the sine, and on basic ideas like the inverse. Therefore it is totally natural to invert the sine function. The graph of x = sin⁻¹ y is a mirror image of y = sin x. This is a case where we pay close attention to the domains, since the sine goes up and down infinitely often. We only want one piece of that curve, in Figure 4.9.

For the bold line the domain is restricted. The angle x lies between -7r/2and + n/2. On that interval the sine is increasing, so each y comesfvom exactly one angle x. If the whole sine curve is allowed, infinitely many angles would have sin x = 0. The sine function could not have an inverse. By restricting to an interval where sin x is increasing, we make the function invertible.

Fig.4.9 Graphs of sin x and sin⁻¹ y. Their slopes are cos x and 1/√(1−y²)

The inverse function brings y back to x. It is x = sin⁻¹ y (the inverse sine):

x = sin⁻¹ y when y = sin x and |x| ≤ π/2.   (1)

The inverse starts with a number y between -1 and 1. It produces an angle x = sin⁻¹ y —the angle whose sine is y. The angle x is between -π/2 and π/2, with the required sine. Historically x was called the "arc sine" of y, and arcsin is used in computing. The mathematical notation is sin⁻¹. This has nothing to do with 1/sin x.

The figure shows the 30° angle x = π/6. Its sine is y = ½. The inverse sine of ½ is π/6. Again: The symbol sin⁻¹(1) stands for the angle whose sine is 1 (this angle is x = π/2). We are seeing g⁻¹(g(x)) = x:

sin⁻¹(sin x) = x for -π/2 ≤ x ≤ π/2   sin(sin⁻¹ y) = y for -1 ≤ y ≤ 1.

EXAMPLE 1 (important) If sin x = y find a formula for cos x.

Solution   We are given the sine, we want the cosine. The key to this problem must be cos² x = 1 − sin² x. When the sine is y, the cosine is the square root of 1 − y²:

cos x = cos(sin⁻¹ y) = √1 − y²   (2)

This formula is crucial for computing derivatives. We use it immediately.

THE DERIVATIVE OF THE INVERSE SINE

The calculus problem is to find the slope of the inverse function ƒ(y) = sin⁻¹ y. The chain rule gives (slope of inverse function) = 1/(slope of original function). Certainly the slope of sin x is cos x. To switch from x to y, use equation (2):

y = sin x gives dy/dx = cos x so that dx/dy = 1 / cos x = 1 / √1 − y².   (3)

This derivative 1/√1 − y² gives a new v-ƒ pair that is extremely valuable in calculus:

velocity v(t)= 1/√1 − t² distance ƒ(t) = sin⁻¹ t.

Inverse functions will soon produce two more pairs, from the derivatives of tan⁻¹ y and sec⁻¹ y. The table at the end lists all the essential facts.

EXAMPLE 2   The slope of sin⁻¹ y at y = 1 is infinite: 1/√1 − y² = 1/0. Explain.

At y = 1 the graph of y = sin x is horizontal. The slope is zero. So its mirror image is vertical. The slope 1/0 is an extreme case of the chain rule.

Question   What is d/dx (sin⁻¹ x)?   Answer   1/√1 − x². I just changed letters.

THE INVERSE COSINE AND ITS DERIVATIVE

Whatever is done for the sine can be done for the cosine. But the domain and range have to be watched. The graph cannot be allowed to go up and down. Each y from -1 to 1 should be the cosine of only one angle x. That puts x between 0 and n.Then the cosine is steadily decreasing and y = cos x has an inverse:

cos⁻¹ (cos x) = x and cos (cos⁻¹ y) = y.   (4)

The cosine of the angle x = 0 is the number y = 1. The inverse cosine of y = 1 is the angle x = 0. Those both express the same fact, that cos 0 = 1.

For the slope of cos⁻¹ y, we could copy the calculation that succeeded for sin⁻¹ y. The chain rule could be applied as in (3). But there is a faster way, because of a special relation between cos⁻¹ y and sin⁻¹ y. Those angles always add to a right angle:

cos⁻¹ y + sin⁻¹ y = π/2.   (5)

Figure 4.9c shows the angles and Figure 4.10c shows the graphs. The sum is π/2 (the dotted line), and its derivative is zero. So the derivatives of cos⁻¹ y and sin⁻¹ y must add to zero. Those derivatives have opposite sign. There is a minus for the inverse cosine, and its graph goes downward:

The derivative of x = cos⁻¹ y is dx/dy = -1/√1 − y².   (6)

Fig.4.10 The graphs of y = cos x and x = cos⁻¹ y. Notice the domain 0 ≤ x ≤ π.

Question   How can two functions x = sin⁻¹ y and x = -cos⁻¹ y have the same derivative?

Answer   sin -y must be the same as -cos⁻¹ y + C. Equation (5) gives C = π/2.

THE INVERSE TANGENT AND ITS DERIVATIVE

The tangent is sin x/cos x. The inverse tangent is not sin⁻¹ y / cos⁻¹ y. The inverse function produces the angle whose tangent is y. Figure 4.11 shows that angle, which is between -π/2 and π/2. The tangent can be any number, but the inverse tangent is in the open interval -π/2 < x < π/2. (The interval is "open" because its endpoints are not included.) The tangents of π/2 and -π/2 are not defined.

The slope of y = tan x is dy/dx = sec² x. What is the slope of x = tan⁻¹ y?

By the chain rule dx/dy = 1 / sec² x = 1 / (1 + tan² x) = 1 / (1 + y²).   (7)

4E   The derivative of ƒ(y) = tan⁻¹ y is dƒ/dy = 1 / (1 + y²).   (8)

Fig.4.11 x = tan⁻¹ y has slope 1/(1 + y²). x = sec⁻¹ y has slope 1/lyl√(y² − 1).

EXAMPLE 3   The tangent of x = π/4 is y = 1. We check slopes. On the inverse tangent curve, dx/dy = 1/(1 + y²) = ½. On the tangent curve, dy/dx = sec² x. At π/4 the secant squared equals 2. The slopes dx/dy = ½ and dy/dx = 2 multiply to give 1.

Important   Soon will come the following question. What function has the derivative 1/(1 + x²)? One reason for reading this section is to learn the answer. The function is in equation (8)—if we change letters. It is ƒ(x) = tan⁻¹ x that has slope 1/(1 + x²).

Fig.4.12 cos² x + sin² x = 1 and 1 + tan² x = sec² x and 1 + cot² x = csc² x.

INVERSE COTANGENT, INVERSE SECANT, INVERSE COSECANT

There is no way we can avoid completing this miserable list! But it can be painless. The idea is to use l/(dy/dx) for y = cot x and y = sec x and y = csc x:

dx=-1 and dx=1 and dx=-1.   (9)
dycsc² xdysec x tan xdycsc x cot x

In the middle equation, replace sec x by y and tan x by ±√y² − 1. Choose the sign for positive slope (compare Figure 4.11). That gives the middle equation in (10):

The derivatives of cot⁻¹ y and sec⁻¹ y and csc⁻¹ y are

d(cot⁻¹ y) =-1d(sec⁻¹ y) =1d(csc⁻¹ y) =-1.   (10)
dy1 + y²dy|y|√y² − 1dy|y|√y² − 1

Note about the inverse secant When y is negative there is a choice for x = sec⁻¹ y. We selected the angle in the second quadrant (between π/2 and π). Its cosine is negative, so its secant is negative. This choice makes sec⁻¹ y = cos⁻¹ (1/y), which matches sec x = 1/cos x. It also makes sec⁻¹ y an increasing function, where cos⁻¹ y is a decreasing function. So we needed the absolute value |y| in the derivative.

Some mathematical tables make a different choice. The angle x could be in the third quadrant (between -π and -π/2). Then the slope omits the absolute value.

Summary   For the six inverse functions it is only necessary to learn three derivatives. The other three just have minus signs, as we saw for sin⁻¹ y and cos⁻¹ y. Each inverse function and its "cofunction" add to π/2, so their derivatives add to zero. Here are the six functions for quick reference, with the three new derivatives.

function ƒ(y)inputs youtput xslope dx/dy
sin⁻¹ y, cos⁻¹ y|y|≤1[-π/2,π/2], [0,π]±1 / √1 − y²
tan⁻¹ y, cot⁻¹ yall y(-π/2,π/2), (0,π)±1 / (1 + y²)
sec⁻¹ y, csc⁻¹ y|y|≥1[0,π]*, [-π/2,π/2]*±1 / |y|√y² − 1

If y = cos x or y = sin x then |y| ≤ 1. For y = sec x and y = csc x the opposite is true; we must have lyl ≥ 1. The graph of sec⁻¹ y misses all the points -1 < y < 1.

Also, that graph misses x = π/2 —where the cosine is zero. The secant of π/2 would be 1/0 (impossible). Similarly csc⁻¹ y misses x = 0, because y = csc 0 cannot be 1/sin 0. The asterisks in the table are to remove those points x = π/2 and x = 0.

The column of derivatives is what we need and use in calculus.