Solveeit Logo

Question

Question: How do you find the derivative of \(y=\ln \left( {{x}^{2}}y \right)\)?...

How do you find the derivative of y=ln(x2y)y=\ln \left( {{x}^{2}}y \right)?

Explanation

Solution

We solve the given equation using the identity formula of logarithm where the base of ln\ln is always ee. The first step would be to eliminate the logarithm function. Then we first define the multiplication rule and how the differentiation of function works. We take multiplication of these two different differentiated values. We take the dydx\dfrac{dy}{dx} altogether.

Complete step-by-step solution:
We have lna=logea\ln a={{\log }_{e}}a. So, y=ln(x2y)y=\ln \left( {{x}^{2}}y \right) becomes y=loge(x2y)y={{\log }_{e}}\left( {{x}^{2}}y \right).
We know logea=ya=ey{{\log }_{e}}a=y\Rightarrow a={{e}^{y}}. Applying the rule in case of y=loge(x2y)y={{\log }_{e}}\left( {{x}^{2}}y \right), we get
y=loge(x2y) x2y=ey \begin{aligned} & y={{\log }_{e}}\left( {{x}^{2}}y \right) \\\ & \Rightarrow {{x}^{2}}y={{e}^{y}} \\\ \end{aligned}
We differentiate the given function x2y=ey{{x}^{2}}y={{e}^{y}} with respect to xx using the chain rule.
We now discuss the multiplication process of two functions where f(x)=u(x)v(x)f\left( x \right)=u\left( x \right)v\left( x \right)
Differentiating f(x)=uvf\left( x \right)=uv, we get ddx[f(x)]=ddx[uv]=udvdx+vdudx\dfrac{d}{dx}\left[ f\left( x \right) \right]=\dfrac{d}{dx}\left[ uv \right]=u\dfrac{dv}{dx}+v\dfrac{du}{dx}.
The above-mentioned rule is the multiplication rule. We apply that on x2y{{x}^{2}}y. We assume the functions where u(x)=x2,v(x)=yu\left( x \right)={{x}^{2}},v\left( x \right)=y
We know that differentiation of u(x)=x2u\left( x \right)={{x}^{2}} is u(x)=2x{{u}^{'}}\left( x \right)=2x as ddx(xn)=nxn1\dfrac{d}{dx}\left( {{x}^{n}} \right)=n{{x}^{n-1}} and differentiation of v(x)=yv\left( x \right)=y is v(x)=dydx{{v}^{'}}\left( x \right)=\dfrac{dy}{dx}. We apply the formula of ddx(ey)=eydydx\dfrac{d}{dx}\left( {{e}^{y}} \right)={{e}^{y}}\dfrac{dy}{dx}. This followed the differential form of chain rule.
We now take differentiation on both parts of x2y=ey{{x}^{2}}y={{e}^{y}} and get ddx[x2y]=ddx[ey]\dfrac{d}{dx}\left[ {{x}^{2}}y \right]=\dfrac{d}{dx}\left[ {{e}^{y}} \right].
We place the chain rule and ddx(ey)=eydydx\dfrac{d}{dx}\left( {{e}^{y}} \right)={{e}^{y}}\dfrac{dy}{dx} to get y×2x+x2dydx=eydydxy\times 2x+{{x}^{2}}\dfrac{dy}{dx}={{e}^{y}}\dfrac{dy}{dx}.
We take all the dydx\dfrac{dy}{dx} forms altogether to get

& y\times 2x+{{x}^{2}}\dfrac{dy}{dx}={{e}^{y}}\dfrac{dy}{dx} \\\ & \Rightarrow \dfrac{dy}{dx}\left( {{e}^{y}}-{{x}^{2}} \right)=2xy \\\ & \Rightarrow \dfrac{dy}{dx}=\dfrac{2xy}{\left( {{e}^{y}}-{{x}^{2}} \right)} \\\ \end{aligned}$$ We now replace the value of ${{x}^{2}}y={{e}^{y}}$ in the denominator and get $$\dfrac{dy}{dx}=\dfrac{2xy}{\left( {{x}^{2}}y-{{x}^{2}} \right)}=\dfrac{2xy}{{{x}^{2}}\left( y-1 \right)}=\dfrac{2y}{x\left( y-1 \right)}$$. **Therefore, differentiation of $y=\ln \left( {{x}^{2}}y \right)$ is $$\dfrac{2y}{x\left( y-1 \right)}$$.** **Note:** We need to remember that in the chain rule $$\dfrac{d}{d\left[ h\left( x \right) \right]}\left[ goh\left( x \right) \right]\times \dfrac{d\left[ h\left( x \right) \right]}{dx}$$, we aren’t cancelling out the part $$d\left[ h\left( x \right) \right]$$. Cancelation of the base differentiation is never possible. It’s just a notation to understand the function which is used as a base to differentiate.