Diff EQ with the boundary conditions

Click For Summary

Homework Help Overview

The discussion revolves around solving a second-order ordinary differential equation (ODE) with specific initial conditions. The equation is of the form \(\frac{d^2u}{dt^2} + {\omega}^2u = f_osin({\mu}t)\), and the initial conditions are \(u(0) = 0\) and \(\frac{du}{dt}(0) = 0\).

Discussion Character

  • Mixed

Approaches and Questions Raised

  • The original poster attempts to solve the homogeneous equation first and then apply the initial conditions, leading to confusion about the coefficients. Some participants suggest finding a particular solution and combining it with the general solution. Others question the use of initial versus boundary conditions and the form of the particular solution.

Discussion Status

Participants are exploring different approaches to the problem, including the need for a particular solution and the implications of the initial conditions. There is acknowledgment of a potential error in the coefficients derived from the initial conditions, and some guidance has been offered regarding the form of the particular solution.

Contextual Notes

There is a discussion about the conditions under which the solution exists, specifically regarding the relationship between \(\mu\) and \(\omega\). Participants are also considering the implications of using different forms for the particular solution.

Warr
Messages
119
Reaction score
0
I took an ODE course last year, but I seem to have forgotten some stuff. I need to solve this equation:

\frac{d^2u}{dt^2} + {\omega}^2u = f_osin({\mu}t)

with the boundary conditions:

u(0) = 0, du/dt(0) = 0

When I tried to solve the homogenenous equation first, I got

u_g(t)=c_1e^{i{\omega}t}+c_2e^{-i{\omega}t}

I then differentiated and set up the system with the two boundy conditions...but I got c1+c2=0 and c1-c2=0...c1=c2=0.

This seems wrong. Any help would be appreciated
 
Physics news on Phys.org
I think those might be called initial conditions, not boundary conditions, not that it matters. Anyways, you need to find a particular solution, add it to your ug, then find the ci by looking at the initial conditions.
 
Here is what I did now:

let the particular solution be of the form u_p=Asin({\mu}t})

differentiated twices gives u_p''=-A{\mu}^2sin({\mu}t})

so now from my original diff eq I get

A({\omega}^2-{\mu}^2)sin({\mu}t)=f_osin({\mu}t)

henceA = \frac{f_o}{{\omega}^2-{\mu}^2}

and therefore

u_p=\frac{f_o}{{\omega}^2-{\mu}^2}sin({\mu}t})

so now the general solution is

u=c_1e^{i{\omega}t}+c_2e^{-i{\omega}t}+\frac{f_o}{{\omega}^2-{\mu}^2}sin({\mu}t})

plugging in the initial conditions from the first post, I got

c_1=\frac{{\mu}f_o}{2({\mu}^2-{\omega}^2)}

c_2=-\frac{{\mu}f_o}{2({\mu}^2-{\omega}^2)}

and therefore the entire solution to be

u=\frac{{\mu}f_o}{2({\mu}^2-{\omega}^2)}e^{i{\omega}t}-\frac{{\mu}f_o}{2({\mu}^2-{\omega}^2)}e^{-i{\omega}t}+\frac{f_o}{{\omega}^2-{\mu}^2}sin({\mu}t})
 
Last edited:
I think you're missing a factor of i\omega in the denominators of c1 and c2.
 
You are right. Also, is it right to say that the solution exists as long as |\mu| {\neq} |\omega| (assuming that they are both real)?

Thanks for the help!
 
Last edited:
If you are going to use sin(\mu t) as you particular solution, why not use sin(\omega t) and cos(\omega t) in the general solution?

Yes, the solution is what you have as long as |\mu|\ne|\omega|. However, if you are thinking that when they are equal, a solution does not exist, that is not necessarily so. You just need to use a more complicated function as your specific solution.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
0
Views
1K
Replies
4
Views
2K
Replies
8
Views
9K
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K