1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

First-order ODE

  1. Jan 11, 2007 #1
    1. The problem statement, all variables and given/known data

    It's been a couple years since diff. eq.

    Any tips/strategies on solving the first-order ODE:
    [tex]K\frac{dp(t)}{dt} + \frac{p(t)}{R} = Q_0 \sin{(2\pi t)}[/tex]
    where K, R and Q_0 are constants?
     
  2. jcsd
  3. Jan 11, 2007 #2

    Gokul43201

    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    TC, you know we can't help you unless you first show some effort on your part. What do you know about solving linear ODEs?
     
  4. Jan 11, 2007 #3
    its been a really long time since I've had to solve ODEs for any class, so I'm just using the cookie cutter of an example in my old diffeq book to help. Please correct me if I am wrong in my work. (Note: I've disregarded the constants of integration for now).

    The original equation is
    [tex]K\frac{dp(t)}{dt} + \frac{p(t)}{R} = Q_0 \sin{(2\pi t)}[/tex]

    I first solved the homogeneous equation
    [tex]K\frac{dp(t)}{dt} + \frac{p(t)}{R} = 0[/tex]
    [tex]K\frac{dp}{dt} = -\frac{1}{R} p[/tex]
    [tex]p(t) = e^{-\frac{t}{RK}}[/tex]

    Taking [itex]p_1 (t) = v(t)e^{-\frac{t}{RK}}[/itex], I substituted for p in the original inhomogeneous equation and simplified:

    [tex]p_1' = v' e^{-\frac{t}{RK}} - \frac{1}{RK} ve^{-\frac{t}{RK}[/tex]
    [tex]Kv' e^{-\frac{t}{RK} = Q_0 \sin{2\pi t}[/tex]
    [tex]v' (t) = \frac{Q_0}{K}\frac{\sin{2\pi t}}{e^{-\frac{t}{RK}}}[/tex]

    Upon integrating, one gets
    [tex]v(t) = e^{\frac{t}{RK}} [\frac{Q_0 R\sin{2\pi t} - 2Q_0 R^2 K\pi\cos{2\pi t}}{4R^2 K^2\pi^2 + 1}] [/tex]

    Thus,
    [tex] p(t) = v(t)e^{-\frac{t}{RK}} = \frac{Q_0 R\sin{2\pi t} - 2Q_0 R^2 K\pi\cos{2\pi t}}{4R^2 K^2\pi^2 + 1} [/tex]
     
    Last edited: Jan 11, 2007
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: First-order ODE
  1. First order ode (Replies: 5)

  2. First order ODE. (Replies: 12)

  3. First Order ODE (Replies: 2)

  4. First Order ODE (Replies: 11)

Loading...