_N3WTON_
- 350
- 3
Homework Statement
Solve the given differential equations with missing x.
y'' + y = 0
Homework Equations
y = c_1cos(x) + c_2sin(x)
This is the answer given in the back of the book. However, I can't sem to get my answer to agree
The Attempt at a Solution
First, I made some substitutions:
y' = v y'' = v'
Using the chain rule I obtained:
\frac{dv}{dx} = v\frac{dv}{dy} = v'
So the equation becomes:
v\frac{dv}{dy} + y = 0
vdv = -ydy
\int vdv = -\int ydy
\frac{v^2}{2} = - \frac{y^2}{2} + C_1
v = +- sqrt(-y + C_1)
\frac{dy}{dx} = sqrt(-y + C_1)
\int\frac{dy}{dx} = \int sqrt(-y+C_1),dx
y = \frac{2}{3} (-y+C_1)^{\frac{3}{2}} + C_2
Clearly this solution is nowhere close to the one in the back of the book, so I was hoping somebody could point out where I have gone wrong :)