My Work:
My Questions:
4a) How do you go from dy = -u^-2du to dy/dx = -u^-2dy/dx?
4b) Why are you allowed to remove the absolute values from u+1?
My Work:
My Questions:
4a) How do you go from dy = -u^-2du to dy/dx = -u^-2dy/dx?
4b) Why are you allowed to remove the absolute values from u+1?
For the first part, note that $u=\frac{1}{y} \Rightarrow y=\frac{1}{u}$. Therefore differentiating gives $dy=-\frac{1}{u^2}~du$.
Substitute this into your ODE: $$\frac{dy}{dx}+2xy=-2xy^2$$ $$-\frac{1}{u^2}\cdot \frac{du}{dx}+2x\frac{1}{u}=-2x\frac{1}{u^2}$$ You can now multiply both sides by $-u^2$ to obtain the desired linear ODE.
As pointed out by @Nadiels, you can solve part (b) as a separable differential equation. You can factor your original ODE as:
$$\frac{du}{dx}=2x(u+1)$$
I'll leave you to separate it and solve for $u(x)$.
For part (c), just use the solution for $u(x)$ you have on part (b) and substitute $u=\frac{1}{y}$.
For the second question, see this.
– projectilemotion Feb 23 '17 at 00:01