Differentiating a 1st order ODE: really dumb question

  • Context: Undergrad 
  • Thread starter Thread starter cepheid
  • Start date Start date
  • Tags Tags
    Differentiating Ode
Click For Summary
SUMMARY

The discussion centers on solving a first-order linear ordinary differential equation (ODE) represented by $$\dot{\omega} = -k\omega$$, where k is a constant and ω(t) is a function of time. The solution is established as $$\omega(t) = \omega_0 \exp(-kt)$$ with the initial condition ω(0) = ω0. The user explores differentiating the original equation, leading to a second ODE $$\ddot{\omega} = -k\dot{\omega}$$, and subsequently derives a new expression for ω(t). The key insight is recognizing that the initial condition for α, denoted as α(0) = -k\omega_0, must be substituted back to recover the original solution.

PREREQUISITES
  • Understanding of first-order linear ordinary differential equations (ODEs)
  • Familiarity with differentiation and integration of functions
  • Knowledge of exponential functions and their properties
  • Basic grasp of initial conditions in differential equations
NEXT STEPS
  • Study the method of solving higher-order ODEs, such as second-order linear ODEs
  • Learn about the Laplace transform and its applications in solving differential equations
  • Explore the concept of stability in solutions of differential equations
  • Investigate the role of initial conditions in determining unique solutions to ODEs
USEFUL FOR

Students, mathematicians, and engineers interested in differential equations, particularly those solving first-order linear ODEs and their applications in various fields.

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
3K
  • · Replies 0 ·
Replies
0
Views
4K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K