Skip to content
Miscellaneous Exercise · Q11

Q.Find dydx\frac{dy}{dx} in the following: xx−3+(x−3)xx^{x-3} + (x-3)^x, for x>3x > 3

Punjab PsebTextbookSubjective· 3mImportance★★★★★
60% · 169/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 use logarithmic differentiation separately on each term because both have the variable in the exponent. The derivative is dydx=xx−3(log⁡x+x−3x)+(x−3)x(log⁡(x−3)+xx−3)\frac{dy}{dx} = x^{x-3}\left(\log x + \frac{x-3}{x}\right) + (x-3)^x\left(\log(x-3) + \frac{x}{x-3}\right).

When you see a function where the variable appears in both the base and the exponent, the standard power rule or exponential rule alone won't work. For example, xnx^n uses the power rule, and axa^x uses the exponential rule — but xx−3x^{x-3} is neither. The technique that handles this is logarithmic differentiation: take the natural log of both sides, use log properties to bring the exponent down, then differentiate implicitly.

Here we have a sum of two such terms: y=xx−3+(x−3)xy = x^{x-3} + (x-3)^x. Since the derivative of a sum is the sum of the derivatives, we can handle each term separately.

Let’s set u=xx−3u = x^{x-3} and v=(x−3)xv = (x-3)^x, so y=u+vy = u + v and dydx=dudx+dvdx\frac{dy}{dx} = \frac{du}{dx} + \frac{dv}{dx}.

  1. Differentiate u=xx−3u = x^{x-3} Take log⁡\log of both sides: log⁡u=(x−3)log⁡x\log u = (x-3) \log x. Differentiate implicitly with respect to xx:

1ududx=(1)⋅log⁡x+(x−3)⋅1x\frac{1}{u} \frac{du}{dx} = (1) \cdot \log x + (x-3) \cdot \frac{1}{x}

(using the product rule on the right).

So dudx=u(log⁡x+x−3x)=xx−3(log⁡x+x−3x)\frac{du}{dx} = u \left( \log x + \frac{x-3}{x} \right) = x^{x-3} \left( \log x + \frac{x-3}{x} \right).

  1. Differentiate v=(x−3)xv = (x-3)^x Take log⁡\log: log⁡v=xlog⁡(x−3)\log v = x \log(x-3). Differentiate:

1vdvdx=(1)⋅log⁡(x−3)+x⋅1x−3\frac{1}{v} \frac{dv}{dx} = (1) \cdot \log(x-3) + x \cdot \frac{1}{x-3}

(again product rule).

So dvdx=v(log⁡(x−3)+xx−3)=(x−3)x(log⁡(x−3)+xx−3)\frac{dv}{dx} = v \left( \log(x-3) + \frac{x}{x-3} \right) = (x-3)^x \left( \log(x-3) + \frac{x}{x-3} \right).

  1. Add the results …

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.