Answer on Question #66141 – Math – Differential Equations
Question
Solve
dxdy+xy=2sinxy2ex2Solution
dxdy+xy=2sinx′y2ex2y2y′+yx=2sinxex2
is the first-order nonlinear ordinary differential equation
First we solve the linear differential equation in order to use the method of variation of the constant
y2y′+yx=0yy′+x=0ydy+xdx=0∫ydy+∫xdx=Cln(y)=−2x2+Cy=Ae2−x2,C and A are arbitrary constants of integration
y=Ae2−x2
We use the method of variation of constant. Let A be a function which depends on x:
A=A(x)
We find the derivative and substitute y and y′ in the original equation:
y′=A′e2−x2+A(−x)e2−x2A′e2−x2+A(−x)e2−x2+Axe2−x2=2sinxex2(Ae2−x2)2A′e−2x2=2sinxex2A2e−x2
Solving the equation
A2dA=2sinxe2x2dxA−1=∫2sinxe2x2dx+B,B is an integration constant.
The integral is not expressed in elementary functions. Therefore we introduce
I(x)=∫2sinxe2x2dx.
Finally we get
A−1=I(x)+B,A=I(x)+B−1,e−2x2y(x)=−I(x)+B1,y(x)=I(x)+B−e2−x2.
Answer: y(x)=I(x)+B−e−2x2 .
Answer provided by https://www.AssignmentExpert.com