Question
Question: Solve the following given equation: \(y\log ydx-xdy=0\) ....
Solve the following given equation: ylogydx−xdy=0 .
Solution
Hint: Rearrange the terms of the equation to get all the terms related to x on one side of the equation and all the terms related to y to the other side of the equation. Now integrate both the sides and let logy to be t. Now differentiate log y with respect to t and convert the equation in terms of x and t. Now use the identity ∫x1dx=logx+c and finally substitute the value of t according to the assumption to get the answer.
Complete step-by-step answer:
Let us start the solution to the above question by rearranging the terms, such that the terms related to x on one side of the equation and all the terms related to y to the other side of the equation.
ylogydx−xdy=0
⇒ylogydx=xdy
⇒xdx=ylogydy
Now as the given equation is a differential equation, we will integrate both sides of the equation to get the equation in algebraic form.
∫xdx=∫ylogydy
Now, to solve the integrals, we will let logy to be t.
∴logy=t
⇒dtdlogy=dtdt
⇒y1dtdy=1
⇒dy=ydt
Now we will substitute the value of dy and logy in our integral. On doing so, we get
∫xdx=∫ytydt
⇒∫xdx=∫tdt
Now, we know that ∫x1dx=logx+c . So, our integral becomes:
logx+c1=logt+c2
⇒logx=logt+c2−c1
⇒logx−logt=c2−c1
Now, we know logx−logt=logtx .
∴logtx=c2−c1
⇒tx=ec2−c1
We can replace ec2−c1 with another constant c, as the value of ec2−c1 is a constant. So, our equation becomes:
tx=c
x=ct
Now, we will substitute the value of t as logy, as we have assumed in the solution part. In doing so, our final answer is equal to x=clogy .
Note: The general mistake that a student makes in a problem related to integrations is that they forget about the constant term, which makes the equation that we get after integration is completely wrong. Also, you need to learn all the formulas related to integration and differentiation, as they are used very often in such questions. Identities related to logarithmic and exponential functions are also important.