Skip to content
Exercise 5.5 · Q13

Q.Find dydx\frac{dy}{dx} in the following: yx=xyy^x = x^y

Yanam CbseNCERTSubjective· 3mImportance★★★★★
40% · 112/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 →

When both the base and exponent are variables, take logarithms on both sides, then use implicit differentiation. The derivative is dydx=y(xlog⁡y−y)x(ylog⁡x−x)\frac{dy}{dx} = \frac{y (x \log y - y)}{x (y \log x - x)}.

Why implicit differentiation?

The equation yx=xyy^x = x^y is not solved for yy in terms of xx — and trying to solve it explicitly is messy. Both xx and yy appear in the exponent, so we need a technique that handles variables in both base and exponent. That technique is logarithmic differentiation: take the natural log of both sides, which brings the exponents down as coefficients, then differentiate implicitly.


Step-by-step solution

1. Take the natural logarithm of both sides

log⁡(yx)=log⁡(xy)\log(y^x) = \log(x^y)

Using the power rule for logs: log⁡(ab)=blog⁡a\log(a^b) = b \log a, we get

xlog⁡y=ylog⁡xx \log y = y \log x

Now the equation is in a form we can differentiate.

2. Differentiate both sides with respect to xx

Remember that yy is a function of xx, so whenever we differentiate a term involving yy, we must multiply by dydx\frac{dy}{dx} (the chain rule).

Left side: differentiate xlog⁡yx \log y using the product rule.

ddx[xlog⁡y]=(1)(log⁡y)+x⋅1y⋅dydx\frac{d}{dx}[x \log y] = (1)(\log y) + x \cdot \frac{1}{y} \cdot \frac{dy}{dx}

So the left side becomes

log⁡y+xydydx\log y + \frac{x}{y} \frac{dy}{dx}

Right side: differentiate ylog⁡xy \log x using the product rule.

ddx[ylog⁡x]=dydx⋅log⁡x+y⋅1x\frac{d}{dx}[y \log x] = \frac{dy}{dx} \cdot \log x + y \cdot \frac{1}{x}

So the right side becomes

dydxlog⁡x+yx\frac{dy}{dx} \log x + \frac{y}{x}

3. Collect terms with dydx\frac{dy}{dx}

We now have

log⁡y+xydydx=dydxlog⁡x+yx\log y + \frac{x}{y} \frac{dy}{dx} = \frac{dy}{dx} \log x + \frac{y}{x}

Bring the dydx\frac{dy}{dx} terms to one side:

xydydx−dydxlog⁡x=yx−log⁡y\frac{x}{y} \frac{dy}{dx} - \frac{dy}{dx} \log x = \frac{y}{x} - \log y

Factor out dydx\frac{dy}{dx}:

dydx(xy−log⁡x)=yx−log⁡y\frac{dy}{dx} \left( \frac{x}{y} - \log x \right) = \frac{y}{x} - \log y

4. Solve for dydx\frac{dy}{dx}

dydx=yx−log⁡yxy−log⁡x\frac{dy}{dx} = \frac{\frac{y}{x} - \log y}{\frac{x}{y} - \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.