Solving First-Order ODEs: Tips & Strategies

  • Thread starter Thread starter tandoorichicken
  • Start date Start date
  • Tags Tags
    Odes Tips
tandoorichicken
Messages
245
Reaction score
0

Homework Statement



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

Any tips/strategies on solving the first-order ODE:
K\frac{dp(t)}{dt} + \frac{p(t)}{R} = Q_0 \sin{(2\pi t)}
where K, R and Q_0 are constants?
 
Physics news on Phys.org
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?
 
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 differential equation 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
K\frac{dp(t)}{dt} + \frac{p(t)}{R} = Q_0 \sin{(2\pi t)}

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

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

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

Upon integrating, one gets
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}]

Thus,
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}
 
Last edited:
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