Answer on Question #69646, Math / Differential Equations
Solve the differential equation y′=−y+x2y2
Solution
It's not hard to see that this is a Bernoulli differential equation
y′+p(x)y=q(x)yn
In this case, we have that n=2
y′+y=x2y2.
Then to find the solution, change the dependent variable from y to z,
where z=y−1. This gives a differential equation in x and z that is linear, and can be solved using the integrating factor method.
y=z1,y′=(z1)′=−z21z′−z21z′+z1=x2z21−z′+z=x2z′−z=−x2
Integrating Factor =v(x)=e∫p(x)dx=e∫(−1)dx=e−x
Constant of integration is 0, so v is simple as possible.
Multiple both sides by a positive function v(x) that transforms the left-hand side into the derivative of the product v(x)⋅z.
e−xdxdz−e−xz=−x2e−xdxd(e−xz)=e−xdxdz−e−xzdxd(e−xz)=−x2e−x∫d(e−xz)=∫(−x2e−x)dx∫(−x2e−x)dx=x2e−x−2∫xe−xdx=x2e−x+2xe−x+2e−x+C∫udv=uv−∫vduu=x2,du=2xdxdv=−e−xdx,v=e−x−2∫xe−xdx=2xe−x−2∫e−xdx=2xe−x+2e−x+C∫udv=uv−∫vduu=2x,du=2dxdv=−e−xdx,v=e−xe−xz=x2e−x+2xe−x+2e−x+Cz=x2+2x+2+CexPut back z=y−1y=x2+2x+2+Cex1
Answer: y=x2+2x+2+Cex1.
Answer provided by https://www.AssignmentExpert.com