Question
Question: Solve the following equation \(\dfrac{dy}{dx}-xy={{y}^{2}}{{e}^{x2}}{{/}^{2}}.\sin x\) . A. \({{e}...
Solve the following equation dxdy−xy=y2ex2/2.sinx .
A. ex2/2=y(c+cosx).
B. e−x2/2=y(c+cosx).
C. ex2+2=y(c−cosx).
D. e−x2/2=y(c−cosx).
Solution
Hint: At first take y as 41 and then transform the equation. Also substitute dxdy as 42−1dxdy. Then multiply by 42 throughout the equation and thus further solve the differential equation.
Complete step-by-step answer:
In the question a differential equation is given dxdy−xy=y2ex2/2sinx and we have to find the original equation.
The given differential equation is, dxdy−xy=y2ex2/2sinx .
It is in the form of Bernoulli equation which is represented as,
dxdy+P(x)y=Q(x)yn.
Where n is the real number but not be 0 or 1 and P(x) and Q(x) are referred to as functions of x.
Now to solve it we have substituted y1−n as 4.
Here the value of n is 2 so, 4 is equal to y1 .
So instead of substituting y1 as we will substitute y as 41 .
So we can write it as,
dxdy−4x=42ex2/2 .
As y=41 so, dxdy=42−1dxdy .
So, we will substitute dxdy as 42−1dxdy. In the equation and get, 42−1dxdy−4−x=42e−x2/2sinx .
Now by multiplying by −42 we get,
dxdy+4x=−e−x2/2sinx .
So, the new equation in terms of 4 , x is,
dxdy+4x=−e−x2/2sinx .
Now to solve the equation we have to multiply by integration factor which is e∫P(x)dx
Here P(x) is x and Q(x) is e−x2/2sinx .
So the integration factor is e∫xdx or ex2/2 .
Now we will multiply by ex2/2 through the equation so we get,
ex2/2dxdy+4xex2/2=−e−x2/2sinx−ex2/2 or, ex2/2dxdy+4xex2/2=−sinx.
So, we can further rewrite equation as, ex2/2dxd(4)+4.dxd(ex2/2)=−sinx or, dxd(4.ex2/2)=−sinx
So, we can write it as, d(4.ex2/2)=−sinxdx.
Now on integrating on both the sides we get, ∫d(4.ex2/2)=∫−sinxdx .
So, on integrating we get,
4.ex2/2=c+cosx .
Here c is constant of integration.
Now as we took y1 as 4 in the beginning so we will write as,
y1ex2/2=c+cosx or, ex2/2=y(c+cosx) .
Hence the answer is ′A′.
Note: In the Bernoulli equation used, the value of n cannot be 0 or 1 because when n=0 the equation will be solved by first or linear differential equation and if n=1 then it will be solved by using separation of variables.