Question
Question: If \[x\dfrac{{dy}}{{dx}} = y\left( {\log y - \log x + 1} \right)\], then the solution of the equatio...
If xdxdy=y(logy−logx+1), then the solution of the equation is:
A) ylog(yx)=cx
B) xlog(xy)=cy
C) log(xy)=cx
D) log(yx)=cy
Solution
Hint : In the given question, we are given a differential equation. So, we have to solve the given differential equation using methods of integration. Then, we will find the value of the expression provided to us in the question itself. We first convert the given differential equation into a form that is easier to solve compared to the one given in the problem itself with the use of substitution.
Complete step-by-step answer :
The given question requires us to solve the differential equation xdxdy=y(logy−logx+1) using methods of integration.
So, we will first use the law of logarithm loga−logb=logba to simplify the expression on the right side of the equation.
So, we have, xdxdy=y(logy−logx+1)
⇒xdxdy=y(logxy+1)
Shifting all the terms except the differential dxdy to the right side of equation, we get,
⇒dxdy=xy(logxy+1)−−−−(1)
Now, we substitute the expression xy as t. So, we get, y=tx. Differentiating both sides with respect to t, we get,
⇒dxdy=dxd(tx)
Now, we use the product rule of differentiation dxd(f(x)×g(x))=f(x)×dxd(g(x))+g(x)×dxd(f(x)) . So, we get,
⇒dxdy=tdxd(x)+xdxd(t)
Now, we know the power rule of differentiation as dxd(xn)=nxn−1. So, we get,
⇒dxdy=t+xdxdt
Now, substituting this value in the differential equation (1) , we get,
⇒t+xdxdt=xy(logxy+1)
Also, substituting xy=t.
⇒t+xdxdt=t(logt+1)
Opening brackets, we get,
⇒t+xdxdt=tlogt+t
Cancelling the like terms with same sign on both sides of equation,
⇒xdxdt=tlogt
Now, we separate the variables from one another. So, we get,
⇒tlogtdt=xdx
Now, we can integrate both sides directly as the variables in the differential equation have been separated. So, we get,
⇒∫tlogtdt=∫xdx
We know that the integral of x1 with respect to x is lnx .
⇒∫tlogtdt=lnx+lnc, where c is any arbitrary constant.
Also, substituting the value of logt as r, we get, r=logt . Differentiation both sides with respect to t, we get,
dtdr=t1
So, substituting the value of tdt as dr , we get,
⇒∫rdr=lnx+lnc
Simplifying the integral,
⇒lnr=lnx+lnc
Now, we know the logarithmic property as loga+logb=logab . So, we get,
⇒lnr=ln(cx)
Taking the exponential function on both sides, the logarithmic function is removed as both the functions are inverse of each other. Hence, we get,
⇒r=(cx)
Now, substituting back the value of r, we get,
⇒(logt)=(cx)
Also, substituting value of t,
⇒logxy=cx
Hence, the solution to the differential equation xdxdy=y(logy−logx+1) is logxy=cx. Hence, option (C) is the correct answer.
So, the correct answer is “Option C”.
Note : The indefinite integrals of certain functions may have more than one answer in different forms. However, all these forms are correct and interchangeable with one another. Indefinite integral gives us the family of curves as we don’t know the exact value of the constant. The exact value of the arbitrary constant can be calculated only if we are given a point lying on the function.