Differentiate the following \(w.r.t. x:\)
\(e^{cos\ x}\)
CBSE Class 12 Maths · Continuity and Differentiability
CBSE Class 12 Maths · Continuity and Differentiability
Imagine peeling an onion — there is an outer layer and an inner layer. Here, the outer layer is the exponential \( e^{\text{something}} \) and the inner layer is \( \cos x \). To find the rate of change, you peel the outer layer first, keeping the inside unchanged. Then you also find how fast the inner layer changes. Multiplying both results gives the final answer. The inner part \( \cos x \) changes at a rate of \( -\sin x \), and the outer part stays as \( e^{\cos x} \).
Answer: \[ \frac{d}{dx}\left(e^{\cos x}\right) = -\sin x \, e^{\cos x} \]
The function \( e^{\cos x} \) is a composite function: an outer exponential function \( e^{u} \) with an inner function \( u = \cos x \). To differentiate a composite function, we use the chain rule. The chain rule says that if \( y = f(g(x)) \), then \( \frac{dy}{dx} = f'(g(x)) \cdot g'(x) \). In simple terms: differentiate the outer function first (keeping the inner function unchanged), then multiply by the derivative of the inner function. We also use two standard results: the derivative of \( e^{u} \) with respect to \( u \) is \( e^{u} \), and the derivative of \( \cos x \) is \( -\sin x \).
Chain rule: \( \frac{d}{dx} e^{u} = e^{u} \cdot \frac{du}{dx} \), where \( \frac{d}{dx}(\cos x) = -\sin x \).
\[ \frac{d}{dx}\left(e^{\cos x}\right) = -\sin x \, e^{\cos x} \]
A common mistake is forgetting to multiply by the derivative of the inner function \( \cos x \), and writing the answer as just \( e^{\cos x} \). Another frequent error is dropping the negative sign, since the derivative of \( \cos x \) is \( -\sin x \), not \( \sin x \).
\[ \frac{d}{dx}\left(e^{\cos x}\right) = -\sin x \, e^{\cos x} \]
One common mistake: Forgetting to multiply by the derivative of the inner function \( \cos x \), and writing \( e^{\cos x} \) alone as the answer — this omits the essential chain rule factor \( -\sin x \).
Answer: \[ \frac{d}{dx}\left(e^{\cos x}\right) = -\sin x \, e^{\cos x} \]
Question: Differentiate \( e^{\sin 2x} \) with respect to \( x \).
Solution: Let \( y = e^{\sin 2x} \). This is a composite function where the outer function is the exponential and the inner function is \( f(x) = \sin 2x \). Applying the chain rule: \[ \frac{dy}{dx} = e^{\sin 2x} \cdot \frac{d}{dx}(\sin 2x) \] Now, differentiating \( \sin 2x \) with respect to \( x \): \[ \frac{d}{dx}(\sin 2x) = \cos 2x \cdot 2 = 2\cos 2x \] Substituting back: \[ \frac{dy}{dx} = e^{\sin 2x} \cdot 2\cos 2x \] Therefore: \[ \frac{dy}{dx} = 2\cos 2x \cdot e^{\sin 2x} \]
Answer: \( \dfrac{dy}{dx} = 2\cos 2x \cdot e^{\sin 2x} \)
Question: Differentiate \( e^{\tan^{-1} x} \) with respect to \( x \).
Solution: Let \( y = e^{\tan^{-1} x} \). This is a composite function where the outer function is the exponential and the inner function is \( f(x) = \tan^{-1} x \). Applying the chain rule: \[ \frac{dy}{dx} = e^{\tan^{-1} x} \cdot \frac{d}{dx}\left(\tan^{-1} x\right) \] Now, using the standard result for the derivative of \( \tan^{-1} x \): \[ \frac{d}{dx}\left(\tan^{-1} x\right) = \frac{1}{1 + x^2} \] Substituting back: \[ \frac{dy}{dx} = e^{\tan^{-1} x} \cdot \frac{1}{1 + x^2} \] Therefore: \[ \frac{dy}{dx} = \frac{e^{\tan^{-1} x}}{1 + x^2} \]
Answer: \( \dfrac{dy}{dx} = \dfrac{e^{\tan^{-1} x}}{1 + x^2} \)
Question: Differentiate the following with respect to \( x \): \[ e^{\tan x} \]
Answer: \[ \frac{d}{dx}\left(e^{\tan x}\right) = \sec^2 x \cdot e^{\tan x} \]