Differentiating a 1st order ODE: really dumb question

Click For Summary
The discussion revolves around solving a first-order linear ordinary differential equation (ODE) represented as \(\dot{\omega} = -k\omega\). The user initially differentiates the equation, leading to a second-order ODE, \(\ddot{\omega} = -k\dot{\omega}\), and finds a new solution for \(\alpha(t)\) that appears different from the original \(\omega(t)\). The oversight identified is that the initial condition for \(\alpha_0\) is not independent; it is derived from the original condition, \(\alpha_0 = -k\omega_0\). By substituting this relation back into the new solution for \(\omega(t)\), the original solution is recovered. The user expresses satisfaction in resolving the confusion through the discussion.
cepheid
Staff Emeritus
Science Advisor
Gold Member
Messages
5,197
Reaction score
38
Suppose I have a really simple first order linear ODE like:$$\dot{\omega} = -k\omega$$ where k is some constant, ω(t) is a function of time that I want to solve for, and the overdot denotes the derivative w.r.t. time. This is really easy to solve, and we all know that with the initial condition ω(0) = ω0, the solution is given by ω(t) = ω0exp(-kt). Now, I was thinking. You can find a solution that makes this equation true. If this equation is true, then if I differentiate both sides, then the result should also be true right :rolleyes: (realizes there may be some sketchy reasoning here). So if I differentiate both sides, I get$$\ddot{\omega} = -k\dot{\omega}$$If the first ODE was true given the solution above, this ODE should also be true given that solution. And that is the case, because for that solution, ##\ddot{\omega} = k^2\omega = -k\dot{\omega}##. Now, if I use the symbol ##\alpha## to denote ##\dot{\omega}## then the equation is $$\dot{\alpha} = -k\alpha$$The solution to *this* equation, assuming an initial condition of α(0) = α0, is, of course, α(t) = α0exp(-kt). Now, if I solve for ω(t) by integrating α(t), still assuming that ω(0) = ω0, then I get:$$\omega(t) - \omega_0 = \int_0^t \alpha_0\exp(-kt^\prime)\,dt^\prime$$ $$\omega(t) = \omega_0 + \frac{\alpha_0}{k}[1 - \exp(-kt)] $$So, this solution doesn't have the same form as the original ω(t). What stupid thing have I overlooked here? :redface:
 
Physics news on Phys.org
What you've overlooked is that \alpha_0 is not a free variable. It is instead given by \alpha_0 = -k\omega_0. Substitute this into your second \omega(t) and tada! you recover the first one.
 
Thanks for the help! This occurred to me on the walk home. I kind of wish it had occurred to me before posting, but posting definitely helped me sort things out.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K