<< Hide Menu

📚

 > 

♾️ 

 > 

🤓

2.7 Derivatives of cos x, sinx, e^x, and ln x

4 min readjune 18, 2024

2.7 Derivatives of cos x, sin x, e^x, and ln x

Now that you’ve learned how to find derivatives of polynomial equations, it’s time to learn how to find derivatives of special functions including sinx\sin x, cosx\cos x, exe^x, and lnx\ln x. Finding these derivatives are relatively simple as long as you can remember the rules. 👍

😎 Derivatives of Special Functions

Before we get into each individual rule, here’s a quick table summarizing them.

FunctionDerivative
Sine Function: f(x)=sinxf(x) =\sin xf(x)=cosxf'(x)=\cos x
Cosine Function: g(x)=cosxg(x)=\cos xg(x)=sinxg'(x)=-\sin x
Exponential Function: h(x)=exh(x)= e^xh(x)=exh'(x)= e^x
Natural Logarithm Function: k(x)=lnxk(x)=\ln xk(x)=1xk'(x) = \frac{1}{x}

Derivative of sinx\sin x

The derivative of sinx\sin x will always be cosx\cos x. Let’s look at an example:

f(x)=4sinx+3xf(x) = 4\sin x +3x

When finding the derivative of this equation, we need to find the derivative of 4sinx4\sin x and 3x3x separately.

Since the derivative of sinx=cosx\sin x = \cos x, the derivative of the first part of the equation is 4cosx4\cos x. The derivative of 3x3x is 33. Therefore f(x)=4cosx+3f'(x) = 4cosx+3.

Derivative of cosx\cos x

The derivative of cosx\cos x will always be sinx-\sin x. Let’s look at an example:

f(x)=2cosx+3f(x) = 2\cos x +3

When finding the derivative of this equation, we need to find the derivative of 2cosx2\cos x and 33 separately.

To find the derivative of 2cosx2\cos x, we need to know that the derivative of cosx\cos x is sinx-\sin x. Therefore, the derivative of the first part of the equation is 2sinx-2\sin x. The derivative of 3 is 0, as explained in an earlier lesson discussing the constant rule. Therefore the derivative of the above equation is 2sinx-2\sin x.

Derivative of exe^x

This one is pretty straightforward. The derivative of exe^x is simply… exe^x! That’s right, the derivative of exe^x is just itself. 🤯

Here’s an example:

f(x)=ex+3x4f(x) = e^x+3x^4

The derivative of the first part of the equation is exe^x, since we just stated that the derivative of exe^x is itself. The derivate of the second part of the equation is 12x312x^3, according to the power rule. Therefore, f(x)=ex+12x3f'(x) = e^x + 12x^3.

Derivative of lnx\ln x

The derivative of lnx\ln x is 1x\frac {1}{x}. Let’s look at an example:

f(x)=5lnx+2xf(x) = 5\ln x + 2x

The derivative of the first part of the equation is 5x\frac {5}{x} since we know that the derivative of lnx\ln x is 1x\frac {1}{x}. The derivative of 2x2x = 22, so f(x)=5x+2f'(x)=\frac {5}{x}+2.


These rules take a little bit of practice, but once you memorize them, it gets simpler! You got this. 🍀