How do I use a taylor series expansion to find effective spring constant

In summary, the conversation discusses using a Taylor series expansion to find the effective spring constant for oscillation about a stable equilibrium point, given only a potential energy function. The third term in the series corresponds to the elastic potential energy and is equal to 1/2 times the second derivative of the potential energy function at the equilibrium point. This method can be used for any potential energy function as long as the equilibrium point is stable.
  • #1
grandpa2390
474
14

Homework Statement


Let's pretend I am given a potential energy function and nothing else. I need to find the effective spring constant for oscillation about the equilibrium point using a taylor series expansion. I can't find an example or explanation anywhere on how to do this. the potential energy function I have has a stable equilibrium point.

forgive me for not posting the exact problem. I am hoping someone can walk me through an example or point me to one, that way I can learn how to do it, then apply that to my homework rather than just doing the homework problem first.

thankyou in advance for the trouble.

Homework Equations


taylor series expansion is
http://www.wolframalpha.com/input/?i=f(r)+++f'(r)*(x-r)+++f"(r)/2!+*(x-r)^2

and it goes on continually to the desired precision

as for the potential energy function for this system, I am hoping that one with a stable equilibrium can be invented just for the purpose of explaining to me how to do it. Then I can attempt to apply that to my homework problem. if not I guess I can change the function I am given by setting all the constants equal to 1, but I'd really prefer to have to think about the problem rather than just plugging and chugging it into an algorithm created by an explanation. If you understand what i mean. but if I must, I will.

The Attempt at a Solution



1. I took the first derivative of my potential energy function.
2. I set it equal to 0 and solved for my independent variable. This gave me the equilibrium point (and the answer to part a)

3. I plugged it into a taylor series expansion, but I am uncomfortable with this because it makes no sense as to why that would give me the effective spring constant. Spring constant is Force / mass. I feel like there is probably an equation that I am supposed to plug the equilibrium value into that will give me my spring constant. and then I plug that into the taylor series.

Please advise me, and I appreciate the advice.
 
Physics news on Phys.org
  • #2
Hmm. For a spring-mass oscillating system there is no need for a Taylor series expansion, assuming inter alia Hooke's law holds for the spring over its entire swing.

In other words the potential function is V = -1/2 kx2 so F = -grad V = + kx.

It would be different for a swinging pendulum where the approximation sin(θ) ~ θ is typically made.
 
  • #3
rude man said:
Hmm. For a spring-mass oscillating system there is no need for a Taylor series expansion, assuming inter alia Hooke's law holds for the spring over its entire swing.

In other words the potential function is V = -1/2 kx2 so F = -grad V = + kx.

It would be different for a swinging pendulum where the approximation sin(θ) ~ θ is typically made.

so what do I do. the question requires a taylor series. Does it help if I tell you that the constants and coefficients are all variables? I don't know if it is necessarily a spring. I think it is just referring to k= N/M
 
  • #4
grandpa2390 said:

The Attempt at a Solution



1. I took the first derivative of my potential energy function.
2. I set it equal to 0 and solved for my independent variable. This gave me the equilibrium point (and the answer to part a)

3. I plugged it into a taylor series expansion, but I am uncomfortable with this because it makes no sense as to why that would give me the effective spring constant. Spring constant is Force / mass. I feel like there is probably an equation that I am supposed to plug the equilibrium value into that will give me my spring constant. and then I plug that into the taylor series.

Please advise me, and I appreciate the advice.
The constant term in the Taylor series expansion is the potential energy at the equilibrium position. It can be the gravitational potential energy, for example, when a mass hangs on a spring.
The second term is zero as you expand about the point where f'=0.
The third term corresponds to the elastic potential energy 1/2 f"(r)(x-r)2=1/2 k (Δx)2. So the equivalent spring constant is k=f"(r).
 
  • Like
Likes grandpa2390
  • #5
ehild said:
The constant term in the Taylor series expansion is the potential energy at the equilibrium position. It can be the gravitational potential energy, for example, when a mass hangs on a spring.
The second term is zero as you expand about the point where f'=0.
The third term corresponds to the elastic potential energy 1/2 f"(r)(x-r)2=1/2 k (Δx)2. So the equivalent spring constant is k=f"(r).

That's interesting. I never seen that before. so I was heading in the right direction, even if i had no clue what I was doing.
the y value at the equilibrium point at the bottom of this... parabola-ish shaped graph is the potential energy?

the third term is the elastic potential energy.
is this always true?

or only for stable equilibriums. or what.
 
  • #6
grandpa2390 said:
so what do I do. the question requires a taylor series. Does it help if I tell you that the constants and coefficients are all variables? I don't know if it is necessarily a spring. I think it is just referring to k= N/M
That WOULD make life rougher, to be sure. You'd need to define the coefficients and constants.
 
  • #7
grandpa2390 said:
That's interesting. I never seen that before. so I was heading in the right direction, even if i had no clue what I was doing.
the y value at the equilibrium point at the bottom of this... parabola-ish shaped graph is the potential energy?
It is the equilibrium potential energy. If the position of the particle moving in the given potential "well" deviates from the equilibrium position, it has also elastic potential energy.
grandpa2390 said:
the third term is the elastic potential energy.
is this always true?

or only for stable equilibriums. or what.
Yes, the equilibrium must be stable otherwise oscillations about it can not occur. So the potential need to have a minimum at the equilibrium position. At a minimum, the second derivative of the function is positive, The elastic potential energy has to be also positive.
 
  • Like
Likes grandpa2390
  • #8
ehild said:
It is the equilibrium potential energy. If the position of the particle moving in the given potential "well" deviates from the equilibrium position, it has also elastic potential energy.
Ok I think that makes sense. at the bottom of the well, it has the equilibrium potential energy of f(r).
does that mean that if it is not oscillating, then all the other terms in the series equal zero. but if it is oscillating, then the third term has some value greater than zero and that is the elastic potential energy (which contains the spring constant) is being added to the equilibrium potential energy.

Yes, the equilibrium must be stable otherwise oscillations about it can not occur. So the potential need to have a minimum at the equilibrium position. At a minimum, the second derivative of the function is positive, The elastic potential energy has to be also positive.

right because if it is unstable, like a ball at the top of a hill, and I give it a kick, it won't oscillate it will just fall.

so what I need to do in my solution is take my third term and set it equal to 1/2 f"(r)(x-r)2 = 1/2 k (dx)^2 and show that k is equal to f"(r)?
I can't help but admire the beauty. the simplicity of this and how it works out.
 
  • #9
ehild said:
It is the equilibrium potential energy. If the position of the particle moving in the given potential "well" deviates from the equilibrium position, it has also elastic potential energy.

Yes, the equilibrium must be stable otherwise oscillations about it can not occur. So the potential need to have a minimum at the equilibrium position. At a minimum, the second derivative of the function is positive, The elastic potential energy has to be also positive.

so in the taylor function. what is x? is it just distance the spring is stretched relative to the origin? so that x-r is the distance it is stretched from equilibrium. the further you stretch the mass, the amount of energy it contains increases exponentially.
or with a pendulum, x would be the distance from ground. and r would be the lowest point of the pendulum swing (equilibrium point).

and is there a difference between effective spring constant and spring constant?
 
  • #10
I don't know if I am allowed to tack on another question. but I hate to keep starting threads.

part c is to find the frequency of oscillation for small displacements form equilibrium of a mass m.
my spring constant is a formula (I don't have a number)
and they don't give me a value for mass m.

Do I just say sqrt(k/m) and just write my formula for k over m and put it under a square root sign? Forgive me, it just seems to simple to be correct. So I just want to ask to be sure.
 
  • #11
grandpa2390 said:
so in the taylor function. what is x? is it just distance the spring is stretched relative to the origin? so that x-r is the distance it is stretched from equilibrium. the further you stretch the mass, the amount of energy it contains increases exponentially.
It is not exponential, but it increases at least quadratically :)

grandpa2390 said:
or with a pendulum, x would be the distance from ground. and r would be the lowest point of the pendulum swing (equilibrium point).

and is there a difference between effective spring constant and spring constant?

The effective spring constant refers to something that is not a spring. The pendulum is an example. The potential energy depends on the height of the bob above the deepest position, and it is PE= mgL(1-cosθ) if you choose the zero of the potential energy there.
You have to note that to get the spring constant, you need a variable with dimension of length. θ=s/L where s is the length of the arc along the circle the bob moves on. So you need the Taylor expansion with respect to s of the function f(s)=mgL(1-cos(s/L)). f"(s) = mgLsin(cos(s/L)/L2 which is mg/L at s=0. So k = mg/L .

An other example: consider a bead with mass m=1g and positive charge q =0.1 mC able to move along the x-axis between two other positive charges, Q1=0.2 mC and Q2 = 0.8 mC, 1 m apart. What is the potential energy of the bead as function of x? Where is the equilibrium position ? Displaced slightly, how would it move? What is the period of small oscillations?
 
  • Like
Likes grandpa2390
  • #12
grandpa2390 said:
I don't know if I am allowed to tack on another question. but I hate to keep starting threads.

part c is to find the frequency of oscillation for small displacements form equilibrium of a mass m.
my spring constant is a formula (I don't have a number)
and they don't give me a value for mass m.

Do I just say sqrt(k/m) and just write my formula for k over m and put it under a square root sign? Forgive me, it just seems to simple to be correct. So I just want to ask to be sure.

sqrt(k/m) is equal to the angular frequency, ω.
##ω=\sqrt{k/m}##. The frequency is ##f=ω/(2π) ##.
 
  • Like
Likes grandpa2390
  • #13
ehild said:
It is not exponential, but it increases at least quadratically :)
The effective spring constant refers to something that is not a spring. The pendulum is an example. The potential energy depends on the height of the bob above the deepest position, and it is PE= mgL(1-cosθ) if you choose the zero of the potential energy there.
You have to note that to get the spring constant, you need a variable with dimension of length. θ=s/L where s is the length of the arc along the circle the bob moves on. So you need the Taylor expansion with respect to s of the function f(s)=mgL(1-cos(s/L)). f"(s) = mgLsin(cos(s/L)/L2 which is mg/L at s=0. So k = mg/L .

So I am confused. k is the second derivative of this: f(s)=mgL(1-cos(s/L)) not my potential energy function? I am supposed to take my equilibrium value and plug it into the expansion of f(s)=mgL(1-cos(s/L))?
I am confused because the 2nd term of expansion of the potential energy function did turn out to be zero like you said. so I thought that that was what you were saying to expand.

also I am not told if this is a spring or a pendulum. so I don't know if it has an arc.

or are you just showing me the proof for mg/l
 
Last edited:
  • #14
grandpa2390 said:
So I am confused. k is the second derivative of this: f(s)=mgL(1-cos(s/L)) not my potential energy function? I am supposed to take my equilibrium value and plug it into the expansion of f(s)=mgL(1-cos(s/L))?
I am confused because the 2nd term of expansion of the potential energy function did turn out to be zero like you said. so I thought that that was what you were saying to expand.
f(s)=mgL(1-cos(s/L)) is the potential energy function if the potential energy is chosen zero at the bottom of the trajectory. We use s= Lθ instead of the angle, as we want the Taylor expansion with respect a variable of length dimension. Only this way is the second derivative at the equilibrium position (s=0) equal to the spring constant.
The fist term, of the expansion is the potential energy at the equilibrium: it is zero in this case.
The second term is proportional with f', and it is zero at equilibrium, as the potential energy has minimum there.
The third term gives the elastic potential energy.
 
  • Like
Likes grandpa2390
  • #15
ehild said:
f(s)=mgL(1-cos(s/L)) is the potential energy function if the potential energy is chosen zero at the bottom of the trajectory. We use s= Lθ instead of the angle, as we want the Taylor expansion with respect a variable of length dimension. Only this way is the second derivative at the equilibrium position (s=0) equal to the spring constant.
The fist term, of the expansion is the potential energy at the equilibrium: it is zero in this case.
The second term is proportional with f', and it is zero at equilibrium, as the potential energy has minimum there.
The third term gives the elastic potential energy.

ok so that is just an example if a potential energy function was in terms of theta, such as a pendulum with an equilibrium point at zero potential energy. my potential energy function is not written in terms of cosine or theta. just in terms of x. so I am good. I to the second derivative of my potential energy function and used f"(r) as k. I didn't have to put it in terms of cosine or anything.

so if I am ever given a potential energy function that is in terms of theta, I'll have to convert that theta to a variable of length (such as s/l) in order to find k.

then found the angular frequency w
and converted it to frequency v
 
Last edited:
  • #16
Correct!
 
  • #17
ehild said:
Correct!

yay I learned something! Thanks. for all your help. now I just need to learn how to set up extremization problems
 
  • #18
grandpa2390 said:
or are you just showing me the proof for mg/l
It was showing how the "spring constant" of the pendulum is mg/l.

And I am pleased that you understood something. :)
 

Related to How do I use a taylor series expansion to find effective spring constant

1. What is a Taylor series expansion?

A Taylor series expansion is a mathematical tool used to approximate a function by representing it as an infinite sum of polynomials. It is useful for finding the values of a function at a given point, as well as for calculating derivatives and integrals.

2. How does a Taylor series expansion help in finding the effective spring constant?

A Taylor series can be used to approximate the behavior of a spring by representing it as a polynomial function. By calculating the coefficients of the polynomial, we can determine the effective spring constant at a given point.

3. What information do I need to use a Taylor series for finding the effective spring constant?

To use a Taylor series for finding the effective spring constant, you will need the initial displacement of the spring, the spring constant, and the mass attached to the spring. You may also need to know other relevant parameters, such as the damping coefficient or the frequency of oscillation.

4. Are there any limitations to using a Taylor series for finding the effective spring constant?

Yes, there are limitations to using a Taylor series for finding the effective spring constant. The accuracy of the approximation depends on how closely the function can be represented by the series. This means that the series may not provide an accurate result for highly nonlinear or complex spring systems.

5. Can I use a Taylor series to find the effective spring constant for any type of spring?

Yes, a Taylor series can be used to find the effective spring constant for different types of springs, such as linear, nonlinear, and damped springs. However, the accuracy of the result may vary depending on the complexity of the spring system and the order of the Taylor series used.

Similar threads

  • Introductory Physics Homework Help
Replies
2
Views
81
  • Introductory Physics Homework Help
Replies
17
Views
362
  • Introductory Physics Homework Help
Replies
7
Views
733
  • Introductory Physics Homework Help
Replies
29
Views
981
  • Introductory Physics Homework Help
Replies
10
Views
957
  • Introductory Physics Homework Help
Replies
17
Views
1K
  • Introductory Physics Homework Help
Replies
2
Views
3K
  • Introductory Physics Homework Help
Replies
8
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Introductory Physics Homework Help
Replies
14
Views
2K
Back
Top