Question
Question: What is the solution of the differential equation \(x\dfrac{{dy}}{{dx}} = y(\log y - \log x + 1)\)?...
What is the solution of the differential equation xdxdy=y(logy−logx+1)?
Solution
The differential equation is the equation that combines the function and its derivatives. Here we need to find the solution of the given differential equation. The solution of a differential equation is nothing but an expression for the dependent variable in terms of independent variables that satisfy the equation; the unknown function is the dependent variable and the variables on which it depends are independent variables.
Formula:
loga−logb=logba
Complete Step by step solution:
Given,
The equation to find the solution of the equation xdxdy=y(logy−logx+1).
x can be divided from the right and left sides of the equation.
dxdy=xy(logy−logx+1)
As we know loga−logb=logba
As we substitute this formula in the equation.
dxdy=xy(logxy+1).........(1)
Let substitute y=vx
Differentiate this above equation with respect to x.
The formula for differentiation (uv)′=u′v+uv′
Differentiating y=vxequation by (uv)′=u′v+uv′
dxdy=v+xdxdv...........(2)
By equating equation (1) and (2), we get
xy(logxy+1)=v+xdxdv
Substitute v=xy in the above equation
v(logv+1)=v+xdxdv
Multiply vinside the left side of the equation,
vlogv+v=v+xdxdv
Take vterms on one side and xterms on the other side, we get
vlogv+v−v=xdxdv
By subtracting the above equation, we get
vlogv=xdxdv
We should take vterms on one side and xterms on the other side, we get
vlogvdv=xdx
By integrating both sides, we get,
∫vlogvdv=∫xdx......(3)
Let us assume thatI1=∫vlogvdv
I2=∫xdx
Let us integrate the I1term,
I1=∫vlogvdv
Let us assume u=logv
Differentiating u with respect to v we get,
dvdu=v1
The terms in the denominator of the left side equation go to the numerator of the right side equation
du=v1dv
We can substitute du=v1dvin I1=∫vlogvdv
I1=∫udu
As we integrate the above equation, we get
I1=logu
Substitute u=logvin I1=logu
I1=log(logv)+c
Integrating I2=∫xdx, we get
I2=logx+c
Substitute I1=log(logv)and I2=logxin (3)
log(logv)=logx........(4)
Substitute v=xyin the equation (4), we get
log(logxy)=logx
Move the terms on the right side to the left side of the equation,
log(logxy)−logx=0
Substitute loga−logb=logbain log(logxy)−logx=0
log(logy−logx)−logx=0
Canceling logon both sides,
(logy−logx)=x
Substitute loga−logb=logba
(logxy)=x
Converting logto e, we had
xy=ex
Multiply the terms in the denominator of the left side equation goes to the numerator of right side equation,
y=xex+c
The solution of the differential equation xdxdy=y(logy−logx+1)is y=xex+c.
Note:
The method for differential equation should correctly be selected. First, check whether the equation is the homogeneous or non-homogeneous solution. The integration should be known well. Properly do differentiation and integration. The formula for integration and differentiation should be known correctly. The solution for the differential equation should not be in derivatives.