bitrex
- 190
- 0
Homework Statement
Substitute p = \frac{dx}{dt} to solve x\prime\prime + \omega^2x = 0
Homework Equations
\frac{dp}{dx} = v + x\frac{dv}{dx}
v = \frac{p}{x}
The Attempt at a Solution
p = \frac{dx}{dt}, \frac{dp}{dt} = \frac{d^2x}{dt^2}
\frac{dp}{dt} = \frac{dp}{dx}\frac{dx}{dt} = \frac{dp}{dx}p
\frac{dp}{dx} + \frac{\omega^2x}{p} = 0
v + x\frac{dv}{dx} = \frac{-\omega^2}{v}
\frac{-v}{\omega^2 + v^2}dv = \frac{1}{x} dx
\frac{-1}{2}ln(\omega^2 + v^2) = ln|x| + C
\frac{1}{\sqrt{\omega^2 + v^2}} = x + C
I get tripped up here and I'm not sure how to go forward, with regards to all the various substitutions I've made! I see the beginnings of an integral involving trigonometric substitution, so I hope I may be on the right track. A hint would be much appreciated.