ODE for a forced, undamped oscillator.

In summary, the conversation discusses a physics problem involving an undamped forced mass-spring system. To find the solution, the general ODE is rewritten using Euler's Identity and solved for the resonant and non-resonant cases. The particular integral for the resonant case is corrected, and the real part of the solution is found by expanding the exponentials and keeping only the real terms.
  • #1
skate_nerd
176
0
I have a physics problem right now, and I am so close to finishing it...
The problem is to consider an undamped (no friction) forced mass-spring system. The forcing is given by $$F(t)=F_o\cos{\omega_ft}$$
The general ODE for this would be $$\ddot{x}+(0)\dot{x}+\omega_o^2x=f_o\cos{\omega_ft}$$
The problem requires us to consider the resonant case (\(\omega_o=\omega_f\)) and the non-resonant case (\(\omega_o\neq\omega_f\)).
To acquire these two solutions, I began by using Euler's Identity to rewrite our ODE into one using exponentials rather than trigonometric functions on the right side, which was an encouraged step by the professor.
Using \(x+iy=z\), I turned
$$\ddot{x}+\omega_o^2x=f_o\cos{\omega_ft}$$
into
$$\ddot{z}+\omega_o^2z=f_oe^{i\omega_ft}$$
(the \(y\) part of the identity is just with a sine function on the right hand side and the variable is changed to \(y\), with the whole thing multiplied by \(i\).)
Solving the differential equations for the resonant case gave
$$z(t)=C_1e^{-i\omega{t}}+C_2e^{i\omega{t}}-\frac{if_o}{2\omega}e^{i\omega{t}}$$
and the non-resonant case
$$z(t)=C_1e^{-i\omega_o{t}}+C_2e^{i\omega_o{t}}+\frac{f_o}{ \omega_o^2- \omega_f^2}e^{i\omega_f{t}}$$

Now I have kind of a simple problem for the amount of stuff I just typed out...but I'm not quite sure how to find the solution in terms of \(x(t)\).
I know that I need to take the real part of \(z(t)\), but I am somewhat new to working with complex functions like this so I don't really know how to do that.
 
Physics news on Phys.org
  • #2
skatenerd said:
I have a physics problem right now, and I am so close to finishing it...
The problem is to consider an undamped (no friction) forced mass-spring system. The forcing is given by $$F(t)=F_o\cos{\omega_ft}$$
The general ODE for this would be $$\ddot{x}+(0)\dot{x}+\omega_o^2x=f_o\cos{\omega_ft}$$
The problem requires us to consider the resonant case (\(\omega_o=\omega_f\)) and the non-resonant case (\(\omega_o\neq\omega_f\)).
To acquire these two solutions, I began by using Euler's Identity to rewrite our ODE into one using exponentials rather than trigonometric functions on the right side, which was an encouraged step by the professor.
Using \(x+iy=z\), I turned
$$\ddot{x}+\omega_o^2x=f_o\cos{\omega_ft}$$
into
$$\ddot{z}+\omega_o^2z=f_oe^{i\omega_ft}$$
(the \(y\) part of the identity is just with a sine function on the right hand side and the variable is changed to \(y\), with the whole thing multiplied by \(i\).)
Solving the differential equations for the resonant case gave
$$z(t)=C_1e^{-i\omega{t}}+C_2e^{i\omega{t}}-\frac{if_o}{2\omega}e^{i\omega{t}}$$
and the non-resonant case
$$z(t)=C_1e^{-i\omega_o{t}}+C_2e^{i\omega_o{t}}+\frac{f_o}{ \omega_o^2-\omega_f^2}e^{i\omega_f{t}}$$

Now I have kind of a simple problem for the amount of stuff I just typed out...but I'm not quite sure how to find the solution in terms of \(x(t)\).
I know that I need to take the real part of \(z(t)\), but I am somewhat new to working with complex functions like this so I don't really know how to do that.

Your particular integral for the resonant case is wrong. It cannot be periodic with frequency \(\displaystyle \omega/(2\pi)\) which is what you have. The particular integral should be of the form \(\displaystyle y(t)=Kte^{i\omega_f t}
\)

The solution in the absence of forcing will oscillate at the resonant frequency, but with forcing at resonance you are pumping energy into the system which in the absence of damping will result in the amplitude growing without bound as time passes.
.
 
Last edited:
  • #3
Did you mean to write \(y(t)\) instead of \(z(t)\)? I thought that the \(y(t)\) function would be with sine forcing, not complex exponentials. Also, when I do use the particular solution you provided, I still am unsure of how to rewrite my answer back as a function \(x(t)\).
 
  • #4
skatenerd said:
Did you mean to write \(y(t)\) instead of \(z(t)\)? I thought that the \(y(t)\) function would be with sine forcing, not complex exponentials. Also, when I do use the particular solution you provided, I still am unsure of how to rewrite my answer back as a function \(x(t)\).

It is an arbitrary label to denote a trial function to find the correct particular integral. The name itself is of no importance.
 
  • #5
Oh okay. Well my original question is how would I change my answer from \(z(t)\) back to \(x(t)\)? In other words, from exponentials to cosine forcing?
 
  • #6
skatenerd said:
Oh okay. Well my original question is how would I change my answer from \(z(t)\) back to \(x(t)\)? In other words, from exponentials to cosine forcing?

Take the real part of the solution.

.
 
  • #7
skatenerd said:
Now I have kind of a simple problem for the amount of stuff I just typed out...but I'm not quite sure how to find the solution in terms of \(x(t)\).
I know that I need to take the real part of \(z(t)\), but I am somewhat new to working with complex functions like this so I don't really know how to do that.

@zzephod
 
  • #8
skatenerd said:
@zzephod

To find the real part of the solution, just expand the exponentials using \(\displaystyle e^{ik} = \cos(k)+i \sin(k)\), where \(\displaystyle k\) is real. Simplify and keep the terms that are real.

.
 

FAQ: ODE for a forced, undamped oscillator.

What is an "ODE for a forced, undamped oscillator"?

An "ODE for a forced, undamped oscillator" is a mathematical equation that describes the behavior of a system that is being forced to oscillate, but does not experience any damping or resistance. It is commonly used in physics and engineering to model the motion of objects, such as a swinging pendulum or a vibrating spring.

How is the "ODE for a forced, undamped oscillator" different from other oscillation equations?

The "ODE for a forced, undamped oscillator" differs from other oscillation equations in that it includes a forcing term, which represents an external force or input acting on the system. This can be a periodic force, such as a sine or cosine function, or a non-periodic force, such as a sudden impulse.

What are the key components of the "ODE for a forced, undamped oscillator"?

The key components of the "ODE for a forced, undamped oscillator" include the mass of the object, the spring constant, and the forcing term. The equation also includes the displacement and the acceleration of the object, as well as the initial conditions, such as the initial displacement and velocity.

How is the "ODE for a forced, undamped oscillator" solved?

The "ODE for a forced, undamped oscillator" can be solved using various methods, such as separation of variables, substitution, or using a specific formula for a particular type of forcing term. The solution will typically involve determining the amplitude and frequency of the oscillation, as well as the phase shift.

What are some real-world applications of the "ODE for a forced, undamped oscillator"?

The "ODE for a forced, undamped oscillator" has many real-world applications, including modeling the motion of a swinging pendulum, analyzing the vibrations of a guitar string, or understanding the behavior of a bouncing ball. It is also used in engineering to design and analyze structures, such as bridges and buildings, to ensure they can withstand external forces and oscillations.

Back
Top