Solveeit Logo

Question

Question: A solution to the differential equation: \[\left( \dfrac{dy}{dx} \right)-x\dfrac{dy}{dx}+y=0\] is?...

A solution to the differential equation: (dydx)xdydx+y=0\left( \dfrac{dy}{dx} \right)-x\dfrac{dy}{dx}+y=0 is?

Explanation

Solution

Hint: Take dydx\dfrac{dy}{dx} common from the first two terms. Take all the terms containing ‘x’ one side and all the terms containing ‘y’ at another side. Integrate the side containing ‘x’ with respect to the variable x and the side containing ‘y’ with respect to the variable y. Add an arbitrary constant or constant of integration at one of the sides to get the answer.

Complete step-by-step solution -
We have been given the differential equation: (dydx)xdydx+y=0\left( \dfrac{dy}{dx} \right)-x\dfrac{dy}{dx}+y=0.
Taking dydx\dfrac{dy}{dx} common from the first two terms, we get,
(dydx)(1x)+y=0\left( \dfrac{dy}{dx} \right)\left( 1-x \right)+y=0
This can be written as,
y=dydx(1x) y=dydx(x1) \begin{aligned} & y=-\dfrac{dy}{dx}\left( 1-x \right) \\\ & \Rightarrow y=\dfrac{dy}{dx}\left( x-1 \right) \\\ \end{aligned}
Now, separating the terms containing ‘y’ to the L.H.S and the terms containing ‘x’ to the R.H.S, we get,
dyy=dx(x1)\dfrac{dy}{y}=\dfrac{dx}{\left( x-1 \right)}
Integrating the above expression, we get,
dyy=dx(x1)\int{\dfrac{dy}{y}=}\int{\dfrac{dx}{\left( x-1 \right)}}
We know that, dxx=logx\int{\dfrac{dx}{x}=}\log x. Therefore,
logy=log(x1)+logc\log y=\log \left( x-1 \right)+\log c, where logc\log c is any arbitrary constant.
Now, using the property of logarithm given by: logm+logn=logmn\log m+\log n=\log mn, we get,
logy=logc(x1)\log y=\log c\left( x-1 \right)
Removing log from both sides, we get,
y=c(x1) y(x1)=c \begin{aligned} & y=c\left( x-1 \right) \\\ & \Rightarrow \dfrac{y}{\left( x-1 \right)}=c \\\ \end{aligned}

Note: One may note that, we have chosen ‘logc\log c’ and not ‘c’ as our arbitrary constant or you can say constant of integration. The reason is that we can easily use the properties of logarithm and simplify the expression. If we will use ‘c’ as the arbitrary constant then we have to use the property of exponents to simplify which will be lengthy. However, the answer will not change. The above method of finding a solution is known as a variable separable method.