Solveeit Logo

Question

Question: The D.E whose solution is \[y = a{x^2} + bx\] :...

The D.E whose solution is y=ax2+bxy = a{x^2} + bx :

Explanation

Solution

Before we get into the problem, we need to know some differentiation formulae.
ddxxn=nxn1\dfrac{d}{{dx}}{x^n} = n{x^{n - 1}}, using this formula we need to find the first and second derivative of the given solution.
From that we will find the values of a and b.

Complete step-by-step solution:
It is given that the solution of the differential equation is, y=ax2+bxy = a{x^2} + bx.
Let us find the first and second derivatives of yy.
We know that, ddxxn=nxn1\dfrac{d}{{dx}}{x^n} = n{x^{n - 1}}.
Therefore, dydx=ddx(ax2+bx)\dfrac{{dy}}{{dx}} = \dfrac{d}{{dx}}(a{x^2} + bx)
On differentiating this with respect to xx we get,
dydx=2ax+b\Rightarrow \dfrac{{dy}}{{dx}} = 2ax + b
Let us rename it as, y1=2ax+b{y_1} = 2ax + b.
Now let us find the second derivative of yy.
d2ydx2=ddx(2ax+b)\dfrac{{{d^2}y}}{{d{x^2}}} = \dfrac{d}{{dx}}\left( {2ax + b} \right)
On differentiating the above expression with respect to x we get,
d2ydx2=2a\Rightarrow \dfrac{{{d^2}y}}{{d{x^2}}} = 2a
Let us rename it as, y2=2a{y_2} = 2a.
From this we get, a=y22a = \dfrac{{{y_2}}}{2}. And from y1{y_1}we get, b=y1y2xb = {y_1} - {y_2}x.
Thus, we got the vales of a and b. Now let us substitute these in the given solution we get,
y=y22x2+(y1y2x)xy = \dfrac{{{y_2}}}{2}{x^2} + ({y_1} - {y_2}x)x
On simplifying this we get,
y=y22x2+y1xy2x2\Rightarrow y = \dfrac{{{y_2}}}{2}{x^2} + {y_1}x - {y_2}{x^2}
On further simplification we get
y=y2x2+2y1x2y2x22\Rightarrow y = \dfrac{{{y_2}{x^2} + 2{y_1}x - 2{y_2}{x^2}}}{2}
Lets simplify it further.
y=2y1xy2x22\Rightarrow y = \dfrac{{2{y_1}x - {y_2}{x^2}}}{2}
Taking the 22to the other side we get,
2y=2y1xy2x2\Rightarrow 2y = 2{y_1}x - {y_2}{x^2}
Let us get all the terms to one side.
2y2y1x+y2x2=0\Rightarrow 2y - 2{y_1}x + {y_2}{x^2} = 0
Rearranging the terms, we get
y2x22y1x+2y=0\Rightarrow {y_2}{x^2} - 2{y_1}x + 2y = 0
Thus, this is the required differential equation whose solution is y=ax2+bxy = a{x^2} + bx.

Note: When the solution is given, we first try to find the values of a and b. This can be done by reducing the given solution by finding its derivative since a and b are the constant values. After finding the values of a and b in terms of derivatives of y, we will substitute it in the solution to find the required differential equation.