Seperation of variable differential

ahhgidaa
Messages
11
Reaction score
0

Homework Statement



2y dy/dx = xy^2 + x

y(0)= 2



The Attempt at a Solution



the first step i did was take out the x on the right for x(y^2+1)

2y dy/dx = x(y^2+1)

then shift things around

2y/(y^2+1) dy = x dx
then integrate
u substitution gives

ln y^2+1 = 1/2 x^2 + C

turn e^c into A

y^2+1 = A e^ 1/2 x^2

now my algebra and other stuff gets rusty and dnt know if I am right

y= sqrt ( A e^(1/2x^2) - 1

with y(0) = 2 i multiply the A and (e^0) 1 first right? then subtract 1 . so A=5?
.x=0 y=2.

so would the final answer be y=sqrt(5e^(1/2x^2)+1)

i got a = 4 the first time but thought my math was wrong.
 
Physics news on Phys.org
Yes, A = 5.

So, y = sqrt{5e^(x2/2) - 1}

You changed the sign on the 1 when you wrote your final result.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top