Question
Question: How do you find the derivative of \[x\ln y-y\ln x=1\]?...
How do you find the derivative of xlny−ylnx=1?
Solution
This type of question is based on the concept of implicit differentiation. We can solve this question with the help of product rule of differentiation, that is,dxd(uv)=udxdv+vdxdu where u and v are the functions of ‘x’. Differentiate the given equation with the help of chain rule of differentiation dxdf(y)=f′(y)dxdy. Since the differentiation of a constant is always 0, dxd(1)=0. Equate the differentiation of xlny−ylnx with zero and then find the value of dxdy.
Complete step-by-step answer:
According to the question, we have been given the equation as xlny−ylnx=1.
We need to find the differentiation of xlny−ylnx=1.
First, we have to consider the equation xlny−ylnx=1 -----(1)
Differentiate equation (1) with respect to x
Therefore,
dxd(xlny−ylnx)=dxd(1)
We know that differentiation of a constant is always 0.
We get,
dxd(xlny−ylnx)=0 -----(2)
Now using the addition rule of multiplication dxd(u+v)=dxdu+dxdv in (2), we get,
dxd(xlny−ylnx)=dxd(xlny)+dxd(−ylnx)
⇒dxd(xlny)−dxd(ylnx)=0 -------(3)
Now let us consider dxd(xlny).
Using the product rule of differentiation dxd(uv)=udxdv+vdxdu, we get,
dxd(xlny)=xdxd(lny)+lnydxdx
Now, let us use chain rule of differentiation dxdf(y)=f′(y)dxdy in dxd(lny) and dxd(lnx)=x1, we get,
dxd(xlny)=xy1dxdy+lnydxdx
⇒dxd(xlny)=xy1dxdy+lny
⇒dxd(xlny)=yxdxdy+lny
Now let us consider dxd(ylnx).
Using the product rule of differentiation dxd(uv)=udxdv+vdxdu, we get,
dxd(ylnx)=ydxd(lnx)+lnxdxdy
Now, let us use dxd(lnx)=x1, we get,
dxd(ylnx)=yx1+lnxdxdy
⇒dxd(ylnx)=xy+lnxdxdy
Substituting these values in equation (3), we get,
dxd(xlny)−dxd(ylnx)=0
⇒yxdxdy+lny−(xy+lnxdxdy)=0
On further simplification, we get,
⇒yxdxdy+lny−xy−lnxdxdy=0
Now, group all the dxdy to the left-hand side and the rest to the right-hand side.
⇒yxdxdy−lnxdxdy=xy−lny
Taking dxdy common from the obtained equation, we get,
⇒dxdy(yx−lnx)=xy−lny
⇒dxdy=yx−lnxxy−lny
On taking LCM, we get,
⇒dxdy=yx−ylnxxy−xlny
∴dxdy=x(x−ylnx)y(y−xlny)
Hence, the derivative of xlny−ylnx=1 is dxdy=x(x−ylnx)y(y−xlny).
Note: Whenever we get this type of problems, we need to make sure about the rules and properties of differentiation. In this question, we use the differentiation of logarithmic functions. Also, we should avoid calculation mistakes to obtain accurate answers. Similarly, we should not get confused with the sign conventions. Chain rule and product rule of differentiation should be used, if needed.