Skip to content
Exercise 5.5 · Q7

Q.Find dydx\frac{dy}{dx} in the following: (log⁡x)x+xlog⁡x(\log x)^x + x^{\log x}

Puducherry CbseNCERTSubjective· 3mImportance★★★★★est
38% · 106/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 →

This problem uses implicit differentiation because the variable appears in both the base and the exponent. We treat each term separately by taking logs, differentiating, and then adding the results. The final derivative is dydx=(log⁡x)x(log⁡(log⁡x)+1log⁡x)+xlog⁡x⋅2log⁡xx\frac{dy}{dx} = (\log x)^x \left( \log(\log x) + \frac{1}{\log x} \right) + x^{\log x} \cdot \frac{2\log x}{x}.

We have y=(log⁡x)x+xlog⁡xy = (\log x)^x + x^{\log x}. The variable xx appears in both the base and the exponent of each term — that’s the classic signal that direct differentiation rules (like the power rule or exponential rule) won’t work alone. Instead, we use logarithmic differentiation: take the natural log of each term, differentiate implicitly, then solve for the derivative.

Let’s break it into two parts:

Let u=(log⁡x)xu = (\log x)^x and v=xlog⁡xv = x^{\log x}, so y=u+vy = u + v, and dydx=dudx+dvdx\frac{dy}{dx} = \frac{du}{dx} + \frac{dv}{dx}.


Step 1: Differentiate u=(log⁡x)xu = (\log x)^x

Take natural log on both sides:

log⁡u=log⁡((log⁡x)x)=x⋅log⁡(log⁡x)\log u = \log\left( (\log x)^x \right) = x \cdot \log(\log x)

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

1ududx=ddx[x⋅log⁡(log⁡x)]\frac{1}{u} \frac{du}{dx} = \frac{d}{dx} \left[ x \cdot \log(\log x) \right]

=1⋅log⁡(log⁡x)+x⋅1log⁡x⋅1x= 1 \cdot \log(\log x) + x \cdot \frac{1}{\log x} \cdot \frac{1}{x}

The last term simplifies: x⋅1log⁡x⋅1x=1log⁡xx \cdot \frac{1}{\log x} \cdot \frac{1}{x} = \frac{1}{\log x}.

So:

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

Multiply through by uu:

dudx=(log⁡x)x(log⁡(log⁡x)+1log⁡x)\frac{du}{dx} = (\log x)^x \left( \log(\log x) + \frac{1}{\log x} \right)

Tip

Notice that ddxlog⁡(log⁡x)=1log⁡x⋅1x\frac{d}{dx} \log(\log x) = \frac{1}{\log x} \cdot \frac{1}{x} — the extra 1/x1/x comes from the chain rule on log⁡x\log x inside. Many students forget this factor.


Step 2: Differentiate v=xlog⁡xv = x^{\log x}

Again, take natural log:

log⁡v=log⁡(xlog⁡x)=(log⁡x)⋅(log⁡x)=(log⁡x)2\log v = \log\left( x^{\log x} \right) = (\log x) \cdot (\log x) = (\log x)^2

Differentiate both sides:

1vdvdx=ddx[(log⁡x)2]\frac{1}{v} \frac{dv}{dx} = \frac{d}{dx} \left[ (\log x)^2 \right]

Use the chain rule: derivative of (log⁡x)2(\log x)^2 is 2(log⁡x)⋅1x2(\log x) \cdot \frac{1}{x}.

So:

1vdvdx=2log⁡xx\frac{1}{v} \frac{dv}{dx} = \frac{2\log x}{x}

Multiply by vv:

dvdx=xlog⁡x⋅2log⁡xx\frac{dv}{dx} = x^{\log x} \cdot \frac{2\log x}{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.