# How do you differentiate #f(x)=2secx+(2e^x)(tanx)#?

##### 1 Answer

You use the *sum rule* and the *product rule*.

#### Explanation:

Take a look at your function

Notice that you can write this function as a *sum of two other functions*, let's say

This will allow you to use the *sum rule*, which basically tells you that the derivative of a sum of two functions is equal to the sum of the derivatives of those two functions.

You also need to know that

and that

So, your function can be differentiate like this

For the derivative of *product rule*, which tells you that the derivative of a **product** of two functions is equal to

In your case, you have

Your original derivative will now be