Differential equations: period of a mass on a hanging spring

Click For Summary

Homework Help Overview

The discussion revolves around a homework problem related to differential equations, specifically focusing on the period of simple harmonic motion for a mass hanging from a spring. The original poster attempts to derive the period formula, 2 π √(l/g), where l is the distance beyond the spring's natural length at equilibrium.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Problem interpretation, Assumption checking

Approaches and Questions Raised

  • Participants discuss the differential equation governing the system, with some suggesting a transformation to simplify the problem by shifting to an equilibrium position variable. There are mentions of using methods like undetermined coefficients and variation of parameters, with mixed results leading to confusion about particular solutions.

Discussion Status

There is an ongoing exploration of the correct initial conditions and the nature of particular solutions. Some participants have provided alternative perspectives on the setup and assumptions, while others express uncertainty about the methods employed. The conversation reflects a mix of interpretations and attempts to clarify the problem without reaching a consensus.

Contextual Notes

Participants note potential issues with the initial conditions provided by the original poster, suggesting that they may not accurately represent the physical situation of the spring-mass system. There is also a recognition that the problem may involve more complex reasoning than initially anticipated.

OEP
Messages
6
Reaction score
0
Hey guys. This was a homework problem (I could never figure it out) and I asked my instructor for help as well as researching on the Internet, but still no dice. It seems basic enough but it bothers me that I still don't know how to solve it.

Homework Statement



Show that the period of the simple harmonic motion of a mass hanging from a spring is 2 \pi \sqrt{l/g}, where l denotes the distance beyond the spring's natural length when the mass is at equilibrium.


Homework Equations



I figured the differential equation we should solve is a simple mass-on-a-spring case but with the external force being mass-gravity. That is:
my'' + ky = mg.

The Attempt at a Solution



The general solution looks something like:

c_1 cos(\sqrt{\frac{k}{m}}t) + c_2 sin(\sqrt{\frac{k}{m}}t) + y_p

For now, let's say:

\omega := \sqrt{\frac{k}{m}}

Now we need to solve for y_p.

I did this in the two ways I know how, that being method of undetermined coefficients and variation of parameters. Both of them ended in some pretty nonsensical solutions (0 = mg??).

For the sake of comparison, after using the method of variation of parameters, I ended up with this particular solution and resulting position function:

y_p = \frac{g}{\omega(1+\omega)}

(I know that can't be right since it's a constant.)

y(t) = (L - \frac{g}{\omega(1+\omega)}) cos(\omega t) + \frac{g}{\omega(1+\omega)}

Where L is the natural length of the spring (I used the initial conditions y(0) = L, y'(0) = 0).

Anyone want to take a whack at it or point me to where someone already has?
 
Physics news on Phys.org
You usually want to do this by working in a variable where u=0 is the equilibrium position. Then mu''+ku=0. I.e. y=u+mg/k. What's wrong with that? A particular solution in the variable y is y=mg/k, isn't it? No call for variation of parameters or anything.
 
OEP said:
Hey guys. This was a homework problem (I could never figure it out) and I asked my instructor for help as well as researching on the Internet, but still no dice. It seems basic enough but it bothers me that I still don't know how to solve it.

Homework Statement



Show that the period of the simple harmonic motion of a mass hanging from a spring is 2 \pi \sqrt{l/g}, where l denotes the distance beyond the spring's natural length when the mass is at equilibrium.


Homework Equations



I figured the differential equation we should solve is a simple mass-on-a-spring case but with the external force being mass-gravity. That is:
my'' + ky = mg.

The Attempt at a Solution



The general solution looks something like:

c_1 cos(\sqrt{\frac{k}{m}}t) + c_2 sin(\sqrt{\frac{k}{m}}t) + y_p

For now, let's say:

\omega := \sqrt{\frac{k}{m}}

Now we need to solve for y_p.

I did this in the two ways I know how, that being method of undetermined coefficients and variation of parameters. Both of them ended in some pretty nonsensical solutions (0 = mg??).

For the sake of comparison, after using the method of variation of parameters, I ended up with this particular solution and resulting position function:

y_p = \frac{g}{\omega(1+\omega)}

(I know that can't be right since it's a constant.)

y(t) = (L - \frac{g}{\omega(1+\omega)}) cos(\omega t) + \frac{g}{\omega(1+\omega)}

Where L is the natural length of the spring (I used the initial conditions y(0) = L, y'(0) = 0).

Anyone want to take a whack at it or point me to where someone already has?
"where l denotes the distance beyond the spring's natural length when the mass is at equilibrium."
The initial conditions "y(0)= L, y'(0)= 0" give no motion at all! The spring is sitting motionless at its natural length so there is no force on it. You want y(0)= L+ l, y'(0)= 0.
 
Dick said:
You usually want to do this by working in a variable where u=0 is the equilibrium position. Then mu''+ku=0. I.e. y=u+mg/k. What's wrong with that? A particular solution in the variable y is y=mg/k, isn't it? No call for variation of parameters or anything.

I get the feeling there's some sort of progression of logic that does involve variation of parameters given that this is from a math book and is from a chapter that is trying to teach how to use MUC/VoP.

HallsofIvy said:
The initial conditions "y(0)= L, y'(0)= 0" give no motion at all! The spring is sitting motionless at its natural length so there is no force on it. You want y(0)= L+ l, y'(0)= 0.

There wouldn't be? I thought of it like this:

y(0) = L would be like if the spring were hanging with no mass on it. The spring, under its own weight, wouldn't stretch noticeably beyond its natural length. As soon as you attach a mass to it and let the oscillations settle, the mass would be at length L + l.
 
A particular solution IS a constant. If you used VOP and got yp=g/(w*(w+1)) you came pretty close but you made a mistake. Not surprising, VOP is complicated. You should have gotten g/w^2=g/sqrt(k/m)^2=g/(k/m)=mg/k. But VOP is massive overkill for that. You can tell a constant is a solution by inspection.
 
Last edited:
Thanks :)

Since you mentioned that, I remembered another time where I solved for a particular solution mg/k with just algebra, but it didn't occur to me to use it as y_p.
 

Similar threads

Replies
6
Views
1K
Replies
12
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K