Question
Differentiate with respect to .
(JEE Main 2023 pattern — requires logarithmic differentiation)
Differentiation Technique Selection
flowchart TD
A["Function to Differentiate"] --> B{What form?}
B -->|"x^n, sin x, e^x, log x"| C["Standard formulas"]
B -->|"f(g(x)) — function of function"| D["Chain Rule"]
B -->|"u(x) * v(x)"| E["Product Rule"]
B -->|"u(x) / v(x)"| F["Quotient Rule"]
B -->|"x^x or f(x)^g(x)"| G["Logarithmic Differentiation"]
B -->|"x = f(t), y = g(t)"| H["Parametric: dy/dx = (dy/dt)/(dx/dt)"]
B -->|"f(x,y) = 0 (implicit)"| I["Implicit Differentiation"]
G --> G1["Take ln both sides, then differentiate"]
D --> D1["dy/dx = f'(g(x)) * g'(x)"]
Solution — Step by Step
has both the base and exponent as variables. We cannot use the power rule (, where is constant) or the exponential rule (, where is constant). When both vary, we need logarithmic differentiation.
Now differentiate both sides with respect to :
Apply the product rule to the right side:
Why This Works
Logarithmic differentiation converts products into sums and powers into products, making complex expressions manageable. Taking of both sides brings the exponent down as a coefficient. Then implicit differentiation (the on the left) handles the rest. This technique works for any form.
Alternative Method — Rewrite as Exponential
Since , we can differentiate using the chain rule:
Same answer, slightly different pathway. Some students find this approach more intuitive.
Logarithmic differentiation is also useful for products of many functions. To differentiate , take of both sides to convert the product/quotient into a sum. This avoids nested product and quotient rules entirely.
Common Mistake
When differentiating with respect to , students write instead of . The chain rule is essential here — is a function of , not itself. Forgetting the factor means the left side is wrong, and the entire answer becomes incorrect despite correct work on the right side.