English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

(y+x^2y) dy/dx = 2x with y(0) = -2

2007-10-18 00:24:16 · 2 answers · asked by Mani 1 in Science & Mathematics Mathematics

2 answers

rewrite

y(1+x^2) dy = 2x dx
y dy = 2x/(1 + x^2) dx
(1/2)y^2 = log (x^2 + 1) + C
y^2 = 2log(x^2 + 1) + C1
y = sqrt(2log(x^2 + 1)) + C2
since y(0) = -2
-2 = sqrt(2log(1)) + C2
C2 = -2
so therefore

y = sqrt(2log(x^2 + 1)) - 2

2007-10-18 00:33:42 · answer #1 · answered by theanswerman 3 · 0 0

The previous solution is correct to the point where he has

y^2 = 2 log(x^2 + 1) + C1.

But the next step is wrong, because sqrt(a + b) NE sqrt(a) + sqrt(b). Using the above displayed equation with the initial condition, we find C1 = 4, so the answer is
y^2 = 2 log(x^2 + 1) + 4.
We can easily check that by using implicit differentiation:
(2y) dy/dx = 2*2x/(x^2 + 1). A little algebra puts this into the given form.

2007-10-18 08:31:48 · answer #2 · answered by Tony 7 · 0 0

fedest.com, questions and answers