Solveeit Logo

Question

Question: Find the general solution for the following differential equation, \[x\dfrac{{dy}}{{dx}} - y = 2{x^3...

Find the general solution for the following differential equation, xdydxy=2x3x\dfrac{{dy}}{{dx}} - y = 2{x^3}?

Explanation

Solution

Here we need to find the general solution. If we observe the given differential equation and on further simplification it is of the form dydx+Py=Q\dfrac{{dy}}{{dx}} + Py = Q. The general solution is given by y.(I.F)=Q.(I.F)dx+cy.\left( {I.F} \right) = \int {Q.(I.F)dx + c} , where I.F is the integrating factor.

Complete step-by-step solution:
Given,
xdydxy=2x3x\dfrac{{dy}}{{dx}} - y = 2{x^3}
Divide the whole D.E by ‘x’ we have,
dydxyx=2x3x\dfrac{{dy}}{{dx}} - \dfrac{y}{x} = \dfrac{{2{x^3}}}{x}
dydxyx=2x2\dfrac{{dy}}{{dx}} - \dfrac{y}{x} = 2{x^2}
On comparing with dydx+Py=Q\dfrac{{dy}}{{dx}} + Py = Q, we have,
P=1xP = - \dfrac{1}{x} and Q=2x2Q = 2{x^2}.
Now we need to find the integrating factor,
I.F=ePdxI.F = {e^{\int {Pdx} }}
On substituting we have,
I.F=e1xdxI.F = {e^{\int { - \dfrac{1}{x}dx} }}
On integrating we have,
I.F=elogxI.F = {e^{ - \log x}}
I.F=elogx1I.F = {e^{\log {x^{ - 1}}}}
On applying logarithm power rule,
I.F=elog1xI.F = {e^{\log \dfrac{1}{x}}}
Thus we have,
I.F=1x\Rightarrow I.F = \dfrac{1}{x}
We know the general solution is
y.(I.F)=Q.(I.F)dx+cy.\left( {I.F} \right) = \int {Q.(I.F)dx + c}
Then
y.(1x)=2x2.(1x)dx+cy.\left( {\dfrac{1}{x}} \right) = \int {2{x^2}.\left( {\dfrac{1}{x}} \right)dx + c}
y.(1x)=2x.dx+cy.\left( {\dfrac{1}{x}} \right) = \int {2x.dx + c}
yx=2x22+c\dfrac{y}{x} = 2\dfrac{{{x^2}}}{2} + c
multiply the whole equation by x we have,
y=x3+cx\Rightarrow y = {x^3} + cx. This is the general solution and ‘c’ is the integration constant.

Thus the required answer is y=x3+cx y = {x^3} + cx.

Note: We know that the integration of xn{x^n} with respect to ‘x’ is xn.dx=xn+1n+1+c\int {{x^n}.dx} = \dfrac{{{x^{n + 1}}}}{{n + 1}} + c, where ‘c’ is the integration constant. In case of indefinite integral we will have integration constant and in definite integral we will have upper limit and lower limit hence we will not have integration content in case of definite integral.