2nd order non-homogeneneous ODE - how to find PI

  • Thread starter Thread starter andrew.c
  • Start date Start date
  • Tags Tags
    2nd order Ode Pi
andrew.c
Messages
46
Reaction score
0

Homework Statement



Find the general and, if possible, particular solutions of the following ordinary differential equations:

y''+9y=36sin3x
(hint: modification rule for PI)

Homework Equations


Knowledge of ODE's
y = y_{aux}+y_{particular}

The Attempt at a Solution


I get the compementary function;
y''+9y = 0

and then using lambda-notation

\lambda^2 + 9 = 0

therefore

\lambda = \pm 3i
(complex roots)

so
y_{aux} = A cos 3x + B sin 3x

but now how do I get y_{particular}??
 
Physics news on Phys.org
Notice that '3' is a root in the auxiliary equation.

what is the PI for sin3x? Since '3' is a root, you will need to modify the PI by multiplying it by x.
 
PI = particular ?

To expand on what rock.freak667 said, your particular solution should be yp = Axcos(3x) + Bxsin(3x).
 
rock.freak667 said:
Notice that '3' is a root in the auxiliary equation

I don't really understand what you mean by this..

However, the PI for sin3x is Acos3x + Bsin3x, i think...
so if you have to multiply by x (don't really understand why?) then the PI would be
x(Acos3x + Bsin3x)?
 
Mark44 said:
PI = particular ?

PI = Particular Integral :)
 
andrew.c said:
I don't really understand what you mean by this..

However, the PI for sin3x is Acos3x + Bsin3x, i think...
so if you have to multiply by x (don't really understand why?) then the PI would be
x(Acos3x + Bsin3x)?
Not if the complementary solution yc is c1cos3x + c2sin3x, which means that no matter what the values of c1 and c2, yc'' + 9yc = 0. In other words, there is no way you will end up with 36sin3x on the right side.

Your particular solution (I prefer this term to particular integral) must therefore be Axcos3x + Bxsin3x. You need to find the coefficients A and B so that yp'' + 9yp = 36sin(3x).

Your general solution will be y = yc + yp = c1cos3x + c2sin3x + Axcos3x + Bxsin3x, where you will have determined A and B.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top