Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Problem with 2nd order linear differential equation

  • 10-04-2010 3:26pm
    #1
    Closed Accounts Posts: 11,924 ✭✭✭✭


    hi all,
    i'm doing a bit of applied maths study for exams, and i'm having trouble with 2nd order linear diff. equations. on the prob sheet given to us, i've solved the equation but the answer doesn't seem right.

    Equation: d^2 x/dt^2 + x = cos(t)
    initial conditions: x(0) = 0 and dx(0)/dt = 0

    letting the LHS equal 0, i'm getting a characteristic equation by letting x = e^rt
    (r^2 + 1)x=0
    r = +i or r = -i

    x= C cos(t) + D sin(t), for arbitrary constants C,D
    this is the homogeneous solution

    Particular solution: f(t) = cos(t)
    x=E cos(t) + F sin(t)

    the general solution is got by adding the homogeneous and particular solutions.
    so...

    x(t) = (C+E)cos(t) + (D+F)sin(t)

    subject to the initial conditions, i'm getting that x(t) = 0, but i don't think this is right.
    can someone point out where i'm going wrong?

    thanks
    whiteman19


Comments

  • Posts: 0 [Deleted User]


    Your particular solution is wrong. It is supposed to be any solution to your original equation d2x/dt^2 + x = cos t
    So firstly, you wouldn't need to say E cos(t) + F sin(t) because you only need one solution. Secondly, watch what happens when you integrate this. Let's call it xp(t).

    xp'(t) = -E sin (t) + F cos (t)
    xp''(t) = -E cos (t) - F sin (t)

    So xp''(t) + xp(t) = 0, while we want it to be cos(t).
    Hope this helps.
    Conor.


  • Closed Accounts Posts: 11,924 ✭✭✭✭RolandIRL


    thanks, i think i figured it out.

    x'' + x = cos(t)

    Homogeneous: x(h) = C cos(t) + D sin(t)

    Particular: x(p) = t/2 sin(t)

    x(t) = x(h) + x(h)
    = C cos(t) + D sin(t) + t/2 sin(t)

    x(0) = 0 C=0

    x'(0) = 0 D= 0

    x(t) = t/2 sin(t)

    in relation to simple harmonic motion, this is an example of resonance, isn't it? where the amplitude is increasing as t tends to infinity.


  • Posts: 0 [Deleted User]


    Yes, the solution is right, and it is an example of resonance. In fact, the cos (t) in the inhomogeneous function would be an external force. Notice that the external force has the same period as your function. :)


Advertisement