Skip to content
Worked Examples · Example 26

Q.Differentiate the following w.r.t. xx:

(i) e−xe^{-x}
(ii) sin⁡(log⁡x)\sin(\log x), x>0x > 0
(iii) cos⁡−1(ex)\cos^{-1}(e^x)
(iv) ecos⁡xe^{\cos x}.
Uttarakhand UbseTextbookSubjective· 3mImportance★★★★★
30% · 85/281 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

All four problems are direct applications of the Chain Rule: differentiate the outer function, then multiply by the derivative of the inner function. The answers are (i) −e−x-e^{-x},

(ii) cos⁡(log⁡x)x\frac{\cos(\log x)}{x},

(iii) −ex1−e2x-\frac{e^x}{\sqrt{1-e^{2x}}},

(iv) −ecos⁡xsin⁡x-e^{\cos x}\sin x.

The Chain Rule is the backbone of differentiation when one function sits inside another. If you have y=f(g(x))y = f(g(x)), then dydx=f′(g(x))⋅g′(x)\frac{dy}{dx} = f'(g(x)) \cdot g'(x). Think of it as peeling an onion: differentiate the outer layer first, leaving the inner layer untouched, then multiply by the derivative of the inner layer. Each of these four problems is just that — a single chain, no nesting deeper than two functions.

Let’s work through them one by one.


  1. Differentiate e−xe^{-x}

    Here the outer function is eue^u (where u=−xu = -x), and the inner function is u=−xu = -x.

    The derivative of eue^u with respect to uu is eue^u. So:

ddxe−x=e−x⋅ddx(−x)=e−x⋅(−1)=−e−x.\frac{d}{dx} e^{-x} = e^{-x} \cdot \frac{d}{dx}(-x) = e^{-x} \cdot (-1) = -e^{-x}.

Watch out

A common mistake is to forget the minus sign. The derivative of ekxe^{kx} is kekxk e^{kx}, so for k=−1k=-1, you get −e−x-e^{-x}.

  1. Differentiate sin⁡(log⁡x)\sin(\log x), x>0x > 0

    Outer: sin⁡u\sin u, inner: u=log⁡xu = \log x.

    Derivative of sin⁡u\sin u is cos⁡u\cos u, and derivative of log⁡x\log x is 1x\frac{1}{x}. So:

ddxsin⁡(log⁡x)=cos⁡(log⁡x)⋅1x=cos⁡(log⁡x)x.\frac{d}{dx} \sin(\log x) = \cos(\log x) \cdot \frac{1}{x} = \frac{\cos(\log x)}{x}.

Tip

The domain x>0x > 0 ensures log⁡x\log x is defined. If xx were negative, the problem wouldn’t make sense — exam setters often include such conditions to remind you.

  1. Differentiate cos⁡−1(ex)\cos^{-1}(e^x)

    Outer: cos⁡−1u\cos^{-1} u, inner: u=exu = e^x.

    Recall the derivative of cos⁡−1u\cos^{-1} u is −11−u2-\frac{1}{\sqrt{1-u^2}}. So: …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.