ODE Hooke's Law, V(x) instead of V(t)

blieveucanfly
Messages
9
Reaction score
0

Homework Statement


A 50kg mass is attached to a spring and hung from an overhead beam. The Force on the spring when extended 2 meters from rest is 50N. The resting length of the spring is 1m.

1) Obtain the ODE to solve for the velocity as a function of position (NOT time)

2) Solve the ODE if the spring is dropped from it's rest length of 1m


Homework Equations


F= -kx, F=ma, a(t) = dv/dt, v(t)=dx/dt, F(2) = -50N, V(x0) = 0, x = distance below the overhead beam)


The Attempt at a Solution



I am mostly having trouble coming up with an equation to solve. We are specifically forbidden from using second order methods to solve. I know logically that it's a periodic function since the spring oscillated up and down once released. I also know (as per my professor) that the solution v(x) will NOT be a periodic function.

My attempted equation is: dv/dx = -kx+mg

I was able to solve that (presumably incorrect) equation and get -k/2m x2 +gx +c

Am I on the right track or have I completely missed a key concept somewhere.
Thanks.
 
Physics news on Phys.org
I think I may have figured it out: If my logic is correct dv/dt = dx/dt*dv/dx. Since I want a solution for v(x), I need to solve the differential with a dv/dx in it. I can get this by substituting v for dx/dt.

My new ODE looks like this: v * dv/dx = -k/m x +g
which I then solve by integrating both sides
 
blieveucanfly said:
I think I may have figured it out: If my logic is correct dv/dt = dx/dt*dv/dx. Since I want a solution for v(x), I need to solve the differential with a dv/dx in it. I can get this by substituting v for dx/dt.

My new ODE looks like this: v * dv/dx = -k/m x +g
which I then solve by integrating both sides
Yes, integrate both sides with respect to x.

(dv/dx)dx = dv .
 
blieveucanfly said:
I think I may have figured it out: If my logic is correct dv/dt = dx/dt*dv/dx.
Yup, that's the chain rule applied to v(x(t)).
 
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