Inverse trigonometric, exponential and logarithmic… | StemPy Lab
Course 9.2·Lesson 2 of 3
Inverse trigonometric, exponential and logarithmic functions
The derivative of ex is ex
Lesson 2 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
What you will be able to do
write the derivatives of ex, ax, lnx and logax;
derive and use the derivatives of the inverse trigonometric functions;
simplify an inverse trigonometric expression before differentiating.
Exponential functions
Look at the graph of y=ax. Its tangent at any point has slope equal to a constant times the height. The constant is lna. So
dxdax=axlna.
There is one base for which the constant is 1. It is the number e≈2.718. For this base the slope equals the height at every point:
dxdex=ex.
With the chain rule, dxdef(x)=ef(x)f′(x). For example, dxdesinx=esinxcosx.
Logarithmic functions
dxdlnx=x1(x>0),dxdlogax=xlna1.
The second follows from logax=lnalnx. With the chain rule, dxdlnf(x)=f(x)f′(x). For example, dxdln(x2+1)=x2+12x. The derivative of ln∣x∣ is also x1, for every x=0.
Inverse trigonometric functions
To differentiate y=sin−1x, write siny=x. Differentiate both sides with respect to x:
cosydxdy=1.
For −1<x<1 the angle y lies in (−2π,2π), where cosy>0. So cosy=1−sin2y=1−x2 and dxdy=1−x21.
The same idea works for any inverse function. If y=f−1(x), then dxdy=f′(y)1, wherever f′(y)=0. The graphs show why: a function and its inverse are mirror images, so their slopes at matching points are reciprocals.
The graph of y = sin x in blue for x from -pi over 2 to pi over 2, and the graph of y = inverse sine of x in orange, which is its reflection in the dashed grey line y = x. A red tangent line touches the blue curve at the point with x = pi over 3 and y = root 3 over 2, with slope 0.5. A matching red tangent touches the orange curve at the mirrored point, with slope 2. The two slopes are reciprocals.
The standard results are:
dxdsin−1x=1−x21 and dxdcos−1x=−1−x21, for ∣x∣<1;
dxdtan−1x=1+x21 and dxdcot−1x=−1+x21;
dxdsec−1x=∣x∣x2−11 and dxdcosec−1x=−∣x∣x2−11, for ∣x∣>1.
A-Level Further Maths, IB Higher Level and AP Calculus use arcsin, arccos and arctan for sin−1, cos−1 and tan−1. The derivatives of the inverse secant and cosecant are asked mainly in Indian exams.
Simplify first
An expression such as tan−11−x22x is messy to differentiate. A substitution x=tanθ turns it into tan−1(tan2θ)=2θ=2tan−1x, for ∣x∣<1. Then the derivative is 1+x22. Always check that the angle lies in the range of the inverse function before you cancel.
A worked example
Differentiate y=tan−1x1+x2−1.
Substitute. Put x=tanθ with −2π<θ<2π. Then 1+x2=secθ.
Simplify.tanθsecθ−1=sinθ1−cosθ=tan2θ.
Remove the inverse.y=tan−1(tan2θ)=2θ=21tan−1x.
Differentiate.dxdy=2(1+x2)1.
Practise with new numbers
Try it in Python
The program checks six standard derivatives. For each one it prints the value from the formula and a numerical slope at x=0.5.
Common mistakes
Mixing sin−1x with sinx1. The symbol sin−1x means the inverse function, not the reciprocal.
Losing the chain factor. The derivative of tan−1(3x) is 1+9x23, not 1+9x21.
The wrong sign for cosine. The derivative of cos−1x is the negative of that of sin−1x.
Using the power rule on ax. The derivative of ax is axlna, not xax−1.
. The inverse sine, cosine and tangent have derivatives that involve a square root or a sum of squares. Each result combines with the chain rule, and a substitution often simplifies a messy expression before you differentiate.
about 25 min1 simulation1 practice question1 Python program5 questions to check yourself
This lesson is free to read. Enroll free to keep your place and take the tests.
Implicit, logarithmic and parametric differentiation