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, xdxdy−y=2x3?
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 dxdy+Py=Q. The general solution is given by y.(I.F)=∫Q.(I.F)dx+c, where I.F is the integrating factor.
Complete step-by-step solution:
Given,
xdxdy−y=2x3
Divide the whole D.E by ‘x’ we have,
dxdy−xy=x2x3
dxdy−xy=2x2
On comparing with dxdy+Py=Q, we have,
P=−x1 and Q=2x2.
Now we need to find the integrating factor,
I.F=e∫Pdx
On substituting we have,
I.F=e∫−x1dx
On integrating we have,
I.F=e−logx
I.F=elogx−1
On applying logarithm power rule,
I.F=elogx1
Thus we have,
⇒I.F=x1
We know the general solution is
y.(I.F)=∫Q.(I.F)dx+c
Then
y.(x1)=∫2x2.(x1)dx+c
y.(x1)=∫2x.dx+c
xy=22x2+c
multiply the whole equation by x we have,
⇒y=x3+cx. This is the general solution and ‘c’ is the integration constant.
Thus the required answer is y=x3+cx.
Note: We know that the integration of xn with respect to ‘x’ is ∫xn.dx=n+1xn+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.