Porisma

Worked solution

Logarithmically differentiate an implicit variable power

It is given that yx=eyx2y^x=e^y x^2. Find dydx\dfrac{dy}{dx} in terms of xx and yy, simplifying your answer. marks

[2013/YJC/Promo/4a]

CJC · Review Problems · Question 11

Answer

dydx=y(2−xln⁡y)x(x−y)\dfrac{dy}{dx}=\dfrac{y(2-x\ln y)}{x(x-y)}.

Logarithmic differentiation

For the usual real differentiable power with y>0y>0, the relation excludes x=0x=0. Taking logarithms gives xln⁡y=y+2ln⁡∣x∣x\ln y=y+2\ln|x|. The source writes 2ln⁡x2\ln x, which is the positive-x branch. Differentiate to obtain ln⁡y+(x/y)y′=y′+2/x\ln y+(x/y)y\prime=y\prime+2/x. Hence (x/y−1)y′=2/x−ln⁡y(x/y-1)y\prime=2/x-\ln y, so dydx=y(2−xln⁡y)x(x−y)\dfrac{dy}{dx}=\dfrac{y(2-x\ln y)}{x(x-y)} wherever x≠yx\ne y.

How did this part go?

Common mistakes

The source logarithm step assumes positive x; ln(x²)=2ln|x| preserves the same derivative for nonzero x.

Solution notes

The printed question does not state x>0. The source uses 2ln x; the authored working records its positive branch and uses 2ln|x| on the general nonzero real-x branch with y>0. Singular quotient points require the original relation.

Read the hint