Skip to content
Exercise 5.4 · Q10

Q.Differentiate the function cos⁡(log⁡x+ex)\cos(\log x + e^x) with respect to xx, where x>0x > 0.

Tripura TbseTextbookSubjective· 2mImportance★★★★★
34% · 95/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 →

We differentiate cos⁡(log⁡x+ex)\cos(\log x + e^x) using the Chain Rule: the derivative of cos⁡(u)\cos(u) is −sin⁡(u)-\sin(u), multiplied by the derivative of the inner function u=log⁡x+exu = \log x + e^x, which is 1x+ex\frac{1}{x} + e^x. The final result is −sin⁡(log⁡x+ex)(1x+ex)-\sin(\log x + e^x)\left(\frac{1}{x} + e^x\right).

The key idea here is the Chain Rule. When you have a function of a function — like cos⁡\cos of something that itself depends on xx — you differentiate the outer function first, then multiply by the derivative of the inner function. Think of it as peeling an onion: the outermost layer is cos⁡\cos, then inside is (log⁡x+ex)(\log x + e^x).

Let’s walk through it step by step.

  1. Identify the outer and inner functions.

    The given function is cos⁡(log⁡x+ex)\cos(\log x + e^x).

    • Outer function: cos⁡(u)\cos(u), where uu is a placeholder.
    • Inner function: u=log⁡x+exu = \log x + e^x.
  2. Differentiate the outer function with respect to its argument.

    The derivative of cos⁡(u)\cos(u) with respect to uu is −sin⁡(u)-\sin(u).

    So, ddu[cos⁡(u)]=−sin⁡(u)\frac{d}{du}[\cos(u)] = -\sin(u).

  3. Differentiate the inner function with respect to xx.

    u=log⁡x+exu = \log x + e^x.

    • Derivative of log⁡x\log x is 1x\frac{1}{x} (since x>0x > 0, this is well-defined).
    • Derivative of exe^x is exe^x. Hence, dudx=1x+ex\frac{du}{dx} = \frac{1}{x} + e^x.
  4. Apply the Chain Rule.

    The Chain Rule says:

ddx[cos⁡(u)]=ddu[cos⁡(u)]⋅dudx\frac{d}{dx}[\cos(u)] = \frac{d}{du}[\cos(u)] \cdot \frac{du}{dx}

Substitute what we have: …

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.