Skip to content
Exercise 5.5 · Q4

Q.Find dydx\frac{dy}{dx} in the following: xx−2sin⁡xx^x - 2^{\sin x}

Yanam CbseNCERTSubjective· 3mImportance★★★★★est
37% · 103/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 →

To differentiate a function where the variable appears in both the base and the exponent, we use logarithmic differentiation — take the natural log of both sides, differentiate implicitly, then solve for dydx\frac{dy}{dx}. Here, the derivative is dydx=xx(1+log⁡x)−2sin⁡xcos⁡xlog⁡2\frac{dy}{dx} = x^x (1 + \log x) - 2^{\sin x} \cos x \log 2.

We have y=xx−2sin⁡xy = x^x - 2^{\sin x}. The first term, xxx^x, is a classic case where the variable is both the base and the exponent — ordinary power rule or exponential rule alone won't work. The second term, 2sin⁡x2^{\sin x}, is an exponential function with a constant base but a variable exponent, so we can handle it with the exponential rule plus the chain rule.

The key technique for xxx^x is logarithmic differentiation: take the natural log of both sides of u=xxu = x^x, differentiate implicitly, then solve for u′u'. This works because the logarithm converts the exponent into a product, which we can differentiate using the product rule.

Let's break it down step by step.

  1. Set up the two parts separately.

    Let u=xxu = x^x and v=2sin⁡xv = 2^{\sin x}, so y=u−vy = u - v. Then dydx=dudx−dvdx\frac{dy}{dx} = \frac{du}{dx} - \frac{dv}{dx}.

  2. Differentiate u=xxu = x^x using logarithmic differentiation.

    Take the natural log of both sides:

log⁡u=log⁡(xx)=xlog⁡x.\log u = \log(x^x) = x \log x.

Now differentiate both sides with respect to xx. On the left, by the chain rule, ddxlog⁡u=1ududx\frac{d}{dx} \log u = \frac{1}{u} \frac{du}{dx}. On the right, use the product rule:

ddx(xlog⁡x)=1⋅log⁡x+x⋅1x=log⁡x+1.\frac{d}{dx}(x \log x) = 1 \cdot \log x + x \cdot \frac{1}{x} = \log x + 1.

So we have:

1ududx=log⁡x+1.\frac{1}{u} \frac{du}{dx} = \log x + 1.

Multiply both sides by uu:

dudx=u(log⁡x+1)=xx(1+log⁡x).\frac{du}{dx} = u (\log x + 1) = x^x (1 + \log x). …

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.