Help solving 2nd order differential equation

Click For Summary

Discussion Overview

The discussion revolves around solving a second-order differential equation related to the motion of an object compressing a spring. The context includes the application of physics principles to derive the equation and techniques for solving it, with participants sharing insights on differential equations.

Discussion Character

  • Homework-related
  • Mathematical reasoning
  • Technical explanation

Main Points Raised

  • One participant presents the differential equation m(d^{2}x/dt^{2}) = kx - mg, explaining the forces acting on the object and seeking assistance in solving it.
  • Another participant identifies the equation as a second-order homogeneous linear ordinary differential equation (ODE) and provides a transformation to a standard form, suggesting a solution involving exponential functions.
  • A subsequent reply acknowledges the clarification and expresses gratitude for the insight provided.
  • One participant corrects a misunderstanding regarding a mathematical simplification, indicating a mistake in their earlier response.
  • A later reply confirms that the provided explanation was helpful and expresses appreciation for the assistance received.

Areas of Agreement / Disagreement

Participants generally agree on the classification of the differential equation and the approach to solving it, though there are moments of clarification and correction regarding specific mathematical details.

Contextual Notes

Some assumptions regarding the initial conditions and constants in the solution are not explicitly stated, and the discussion does not resolve all potential complexities in solving the differential equation.

woodie37
Messages
14
Reaction score
0
Help solving 2nd order differential equation please

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 across the following differential equation

m(d^{2}x/dt^{2}) = 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.
 
Physics news on Phys.org


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:

x(t)=c_1e^{r_1t}+c_2e^{r_2t}

where c_1 and c_2 are constants.
 
Last edited:


Thanks i didnt see that!
 


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


woodie37 said:
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:


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
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
8K