Question

Difficulty: EasyDifferentiation of Trigonometric, Exponential, and Logarithmic Functions

If y=cos(3x)+exy = \cos(3x) + e^x, what is dydx\frac{dy}{dx}?

  1. 3sin(3x)+ex-3\sin(3x) + e^xAnswer
  2. B
    3sin(3x)+ex3\sin(3x) + e^x
  3. C
    sin(3x)+ex-\sin(3x) + e^x
  4. D
    sin(3x)+ex\sin(3x) + e^x

Answer

3sin(3x)+ex-3\sin(3x) + e^x
Differentiating y=cos(3x)+exy = \cos(3x) + e^x term-by-term yields dydx=3sin(3x)+ex\frac{dy}{dx} = -3\sin(3x) + e^x. By the chain rule, ddxcos(3x)=3sin(3x)\frac{d}{dx}\cos(3x) = -3\sin(3x), while the derivative of exe^x is simply exe^x.

Step-by-Step Solution

1
Differentiate the trigonometric term cos(3x)\cos(3x) using the chain rule
ddx(cos(3x))=sin(3x)ddx(3x)=3sin(3x)\frac{d}{dx}(\cos(3x)) = -\sin(3x) \cdot \frac{d}{dx}(3x) = -3\sin(3x)
The derivative of cos(u)\cos(u) is sin(u)u-\sin(u) \cdot u'
2
Differentiate the exponential term exe^x
ddx(ex)=ex\frac{d}{dx}(e^x) = e^x
The exponential function exe^x is its own derivative
3
Combine the results using the sum rule
dydx=3sin(3x)+ex\frac{dy}{dx} = -3\sin(3x) + e^x
The derivative of a sum of functions is the sum of their individual derivatives

Key Concept

Differentiation of trigonometric and exponential functions using the chain rule
Rate this question