2nd order ODE - undetermined coefficients?

Click For Summary
SUMMARY

The discussion focuses on solving the second-order ordinary differential equation (ODE) given by y'' + ω02 = Ccos3(ωx) using the method of undetermined coefficients. The participants clarify that the right-hand side can be expressed as a Fourier series, specifically as (1/4)cos(3ωx) + (3/4)cos(ωx), which simplifies the algebra involved. They also discuss the concept of resonance, identifying that resonance occurs at two specific frequencies where the amplitude of the solution increases indefinitely, similar to the case of a single cosine function. The final general solution incorporates both the homogeneous and particular solutions, confirming the approach is valid.

PREREQUISITES
  • Understanding of second-order ordinary differential equations (ODEs)
  • Familiarity with the method of undetermined coefficients
  • Knowledge of Fourier series and trigonometric identities
  • Basic concepts of resonance in harmonic motion
NEXT STEPS
  • Study the method of undetermined coefficients in depth
  • Learn how to derive Fourier series for trigonometric functions
  • Explore the concept of resonance in forced vibrations
  • Review Euler's formula and its applications in solving ODEs
USEFUL FOR

Students studying differential equations, particularly those focusing on second-order ODEs, as well as educators and tutors looking to clarify concepts related to resonance and Fourier series in mathematical contexts.

chipotleaway
Messages
174
Reaction score
0

Homework Statement


1) Find the general solution of y''+ω02=Ccos3(ωx)

2) Show there exists two frequencies at which resonance occurs and determine them

The Attempt at a Solution


I've tried the method of undetermined coefficients, assuming a solution of the form y=(Acos(ωx)+Bsin(ωx))3. I'm not 100% sure about this - if the RHS was just one trigonometric function, then you assume a solution that's a linear combination of sines and cosines. The trig function here is cubed so I just assumed you cube the linear combination.
Is this correct the correct approach? Algebra is real hairy if it is!

For the second part, what exactly is resonance in this context - what am I supposed to show?
 
Physics news on Phys.org
I guess you made a typo in the equation and it should be ##y''+\omega_0^2 y = C\cos^3(\omega x)##.

The algebra is probably easier if you write ##\cos^3(\omega x)## as a Fourier series. (The series only has 2 non-zero terms).

Resonance means the same as in any other context. There are two values of ##\omega## where the general solution has a different form and the amplitude increases to infinity - just like the general solution of ##y''+\omega_0^2 y = C\cos(\omega x)## for one value of ##\omega##.
 
  • Like
Likes 1 person
Ah yeah, thanks for pointing that out. We haven't done Fourier series yet - I don't think it's even in the syllabus for this course but I'll have a look into it.
 
You don't need to think of it as "Fourier series". Just use trig identities.

cos(2x)= cos^2(x)- sin^2(x)= 2cos^2(x)- 1 so that cos^2(x)= (1/2)(cos(2x)+ 1). Then cos^3(x)= (cos^2(x))cos(x)= (1/2)(cos(2x)+ 1)cos(x)= (1/2)cos(x)cos(2x)+ (1/2)cos(x).

And cos(a+b)= cos(a)cos(b)- sin(a)sin(b) so that cos(3x)= cos(2x+ x)= cos(2x)cos(x)- sin(2x)sin(x) while cos(x)= cos(2x- x)= cos(2x)cos(-x)- sin(2x)sin(-x)= cos(2x)cos(x)+ sin(2x)sin(x). Adding those two equations, the "sin(2x)sin(x)" terms cancel giving cos(3x)+ cos(x)= 2cos(2x)cos(x) so that cos(2x)cos(x)= (1/2)cos(3x)+(1/2) cos(x).

Putting that into the previous equation, cos^3(\omega x)=(1/2)((1/2)cos(3\omega x)+ (1/2)cos(\omega x))+ (1/2)cos(\omega x)= (1/4)cos(3\omega x)+ (3/4)cos(\omega x). Those are the "two non-zero terms" AlephZero referred to.
 
  • Like
Likes 2 people
The reason I said Fourier series was to give some motivation for what HallsofIvy did. The left hand side of the ODE is the equation for simple harmonic motion, and you might already know about forced vibration and resonance if the right hand side was a single sine or cosine function. So converting the ##\cos^3## into a sum of cosines seems like a good thing to try ...

Otherwise, it might look a bit like a conjuring trick that you couldn't be expected to figure out for yourself.

But if you didn't know about what a Fourier series was, communication failure!
 
Wow, thanks a lot! Would never have thought of that - trig was one of my extra weaker points back in high school.

I've solved the non-homogenous case, gotten the resonance frequencies and now doing the homogenous case to get the general solution. The solution I've got for y''=\omega_0^2y=0 is y=iC_1e^{-i\omega_0t}+C_2e^{i\omega_0t}. Using Euler's formula, I expanded this out:
y=iC_1cos(w_0t)+C_1sin(w_0t)+C_2cos(w_0t)+iC_2sin(w_0t).

There's a theorem that says that if the real and imaginary parts of a solution are also solutions (in this context), so then it would be correct to take the real part

y=C_1sin(w_0t)+C_2cos(w_0t)

and add on one of the inhomogeneous solutions to obtain the general solution, right?
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

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