Help with the phase of the solution for a driven oscillator

AI Thread Summary
The discussion focuses on the solution for the undamped driven oscillator, specifically the equation of motion and the derivation of the particular solution. The complementary solution is derived using the auxiliary equation, leading to a standard form of the solution. The participant questions why the phase in the ansatz for the particular solution can be ignored while still yielding the correct answer. It is clarified that the particular solution must have the driving frequency ω, not the natural frequency ω₀, and that a phase shift does not affect the outcome in the absence of damping. The conversation concludes with an acknowledgment of understanding the reasoning behind the solution approach.
etotheipi
Homework Statement
Obtain the general solution for an undamped harmonic oscillator with a forcing term proportional to a cosine wave, with a maximum of force at t = 0.
Relevant Equations
N/A
My question also applies to the damped driven oscillator, however for simplicity I will first consider an undamped oscillator.

The equation of motion is $$-kx + F_{0} \cos{\omega t} = m \ddot{x}$$ or in a more convenient form $$\ddot{x} + {\omega_{0}} ^{2}x = \frac{F_{0}}{m} \cos{\omega t}$$The auxiliary equation is {\lambda}^{2} + {\omega_{0}} ^{2} =0, which has solutions \lambda = \pm i \omega_{0}. So the complementary solution is $$x = A\cos{(\omega_{0}t + \phi)}$$Now for the particular solution. For a non-homogenous part relating to sine or cosine, the ansatz is of the form of a sine or cosine of the same argument plus a phase. However, most texts I've read just choose x = B\cos{\omega t}, which of course cancels out more nicely.

If we just use x = B\cos{\omega t}, the particular solution comes out to be x = \frac{F_{0} \cos{\omega t}} {m(\omega_{0} ^{2} - \omega ^{2})}.

However, if we choose the ansatz x = B\cos{(\omega t + \psi)} which is equivalent to x = Re(Be^{i(\omega t + \psi)}), we get $$- B \omega ^{2} e^{i \psi} + B \omega_{0} ^{2} e^{i \psi} = \frac{F_{0}}{m}$$ and thus B = \frac{F_{0} e^{-i \psi}}{m(\omega_{0} ^{2} - \omega ^{2})}. When we put this together, the e^{-i \psi} will cancel out and we end up with the same particular solution as before when we take the real part.

My question is why are we allowed to ignore the phase of the guess for the particular solution and still obtain the correct answer?
 
Last edited by a moderator:
Physics news on Phys.org
etotheipi said:
My question also applies to the damped driven oscillator, however for simplicity I will first consider an undamped oscillator.

The equation of motion is

−kx+F0cosωt=m¨x​
This is the equation of motion for the undamped driven harmonic oscillator.

Note that the particular solution should have frequency ##\omega##, not ##\omega_0## and that there is no phase shift in absence of a damping term (if you input a phase shift it will come out to be zero).
 
  • Like
Likes etotheipi
Orodruin said:
This is the equation of motion for the undamped driven harmonic oscillator.

Note that the particular solution should have frequency ##\omega##, not ##\omega_0## and that there is no phase shift in absence of a damping term (if you input a phase shift it will come out to be zero).

Yes sorry about the ##\omega_0##, it was a typo.

That makes perfect sense. Thanks!
 
I multiplied the values first without the error limit. Got 19.38. rounded it off to 2 significant figures since the given data has 2 significant figures. So = 19. For error I used the above formula. It comes out about 1.48. Now my question is. Should I write the answer as 19±1.5 (rounding 1.48 to 2 significant figures) OR should I write it as 19±1. So in short, should the error have same number of significant figures as the mean value or should it have the same number of decimal places as...
Thread 'A cylinder connected to a hanging mass'
Let's declare that for the cylinder, mass = M = 10 kg Radius = R = 4 m For the wall and the floor, Friction coeff = ##\mu## = 0.5 For the hanging mass, mass = m = 11 kg First, we divide the force according to their respective plane (x and y thing, correct me if I'm wrong) and according to which, cylinder or the hanging mass, they're working on. Force on the hanging mass $$mg - T = ma$$ Force(Cylinder) on y $$N_f + f_w - Mg = 0$$ Force(Cylinder) on x $$T + f_f - N_w = Ma$$ There's also...
Back
Top