Help solving 2nd order differential equation

  • Thread starter woodie37
  • Start date
  • #1
woodie37
14
0
Help solving 2nd order differential equation plz

While solving for the time it takes an object of mass, m, with initial velocity, v, to compress a spring with spring constant, k to the maximum compression, I came accross the following differential equation

m(d[tex]^{2}[/tex]x/dt[tex]^{2}[/tex]) = kx - mg

I drew a f.b.d. of the forces on the object, mg down and kx (force of spring) up, and that's why I got kx - mg as the net force, the spring is on the bottom.

Can someone show me the technique to solving this please? I'm in grade 12 and have never learned differential equations before, but I finished both integration and differentiation calculus on my own in the summer.
 

Answers and Replies

  • #2
pbandjay
118
0


Isn't this just a second order homogeneous linear ODE?

mx'' - kx = -mg
(-1/g)x'' + (k/mg)x = 0

With auxiliary polynomial:

(-1/g)r2 + k/mg = 0

So just solve for r and the answer is of the form:

[tex]x(t)=c_1e^{r_1t}+c_2e^{r_2t}[/tex]

where c_1 and c_2 are constants.
 
Last edited:
  • #3
woodie37
14
0


Thanks i didnt see that!
 
  • #4
woodie37
14
0


Wait a min...-mg/-mg = 1 not 0...
 
  • #5
pbandjay
118
0


Wait a min...-mg/-mg = 1 not 0...

Yes, sorry. My excuse is that I just woke up when I originally replied. I replied to your private message with an explanation of how to find the (correct) solution.
 
Last edited:
  • #6
woodie37
14
0


Yes this helped a lot! =D Thanks! ps sry it took me so long to get back, but i've read the solution right after you mailed it to me and i hadnt have time to respond
 

Suggested for: Help solving 2nd order differential equation

Replies
7
Views
746
Replies
1
Views
202
Replies
10
Views
1K
  • Last Post
Replies
1
Views
481
Replies
3
Views
569
Replies
4
Views
1K
Replies
6
Views
818
Replies
4
Views
4K
Replies
3
Views
1K
Top