Solveeit Logo

Question

Question: What is the general solution of the differential equation \[\dfrac{{dy}}{{dx}} = x + 2y\]?...

What is the general solution of the differential equation dydx=x+2y\dfrac{{dy}}{{dx}} = x + 2y?

Explanation

Solution

Hint : The given differential equation is of the form: dydx+P(x)y=Q(x)\dfrac{{dy}}{{dx}} + P\left( x \right)y = Q\left( x \right)
Where P(x)P\left( x \right) and Q(x)Q\left( x \right) are functions of x only or constants. To find the general solution of the differential equation, we need to find the integrating factor of the differential equation and then use the standard method to solve the problem.

Complete step-by-step answer :
Given: The differential equation is given as:
dydx2y=x.......(i)\dfrac{{dy}}{{dx}} - 2y = x.......(i)
The given differential equation is of the form
dydx+P(x)y=Q(x).........(ii)\dfrac{{dy}}{{dx}} + P\left( x \right)y = Q\left( x \right).........(ii)
On comparing (i) and (ii) , we get
P(x)=2P\left( x \right) = - 2 and Q(x)=xQ\left( x \right) = x
The integrating factor is given by eP(x)dx{e^{\int {P\left( x \right)dx} }}
Therefore integrating factor (I.F)=eP(x)dx=e2dx=e2x\left( {I.F} \right) = {e^{\int {P\left( x \right)dx} }} = {e^{\int { - 2dx} }} = {e^{ - 2x}} as xndx=xnn+1+c\int {{x^n}dx} = \dfrac{{{x^n}}}{{n + 1}} + c dx=x \Rightarrow \int {dx} = x
The general solution of the given form of differential equation is given by
y(I.F)=Q(x)dx+Cy\left( {I.F} \right) = \int {Q\left( x \right)dx} + C
ye2x=xdx+C\Rightarrow y{e^{ - 2x}} = \int {xdx + C}
ye2x=x22+C\Rightarrow y{e^{ - 2x}} = \dfrac{{{x^2}}}{2} + C(as xndx=xnn+1+c\int {{x^n}dx} = \dfrac{{{x^n}}}{{n + 1}} + c take value n=1n = 1)
Hence, the general solution of the given differential equation is
ye2x=x22+Cy{e^{ - 2x}} = \dfrac{{{x^2}}}{2} + C
So, the correct answer is “ye2x=x22+Cy{e^{ - 2x}} = \dfrac{{{x^2}}}{2} + C”.

Note : We use the concepts of the standard forms of differential equation
dydx+P(x)y=Q(x)\dfrac{{dy}}{{dx}} + P\left( x \right)y = Q\left( x \right)
dxdy+P(y)x=Q(y)\dfrac{{dx}}{{dy}} + P\left( y \right)x = Q\left( y \right)
Both these forms are extremely important. One must be very careful while finding the expressions for P(x),P(y),Q(x) and Q(y)P(x),P(y),Q(x){\text{ and }}Q(y).Choosing the wrong expression can lead to the calculation of wrong integrating factor and ultimately you will not be able to solve the problem. It is therefore advised to the students to solve as many problems of the two forms of differential equations. The Bernoulli equation is one of the well-known nonlinear differential equations of first order. In order to solve the Bernoulli differential equation, it is first converted into one of the two differential equation forms mentioned above by using a method of substitution. The new differential equation obtained is solved by the same procedure used in our calculation and the final solution is obtained.