Expressing time-dependent ODE

  • Thread starter CentreShifter
  • Start date
  • Tags
    Ode
  • #1
CentreShifter
24
0
This is surely the simplest problem imaginable in DE, but it's been a few years and I'm having trouble recalling. The goal of my task doesn't necessitate relearning DE, so I thought I would take a shot at asking directly.

Simply, I wish to express the time-dependent rate equation [itex]\frac{dy(t)}{dt}=x-\frac{y(t)}{z}[/itex] as a function of time where [itex]x[/itex] and [itex]z[/itex] are known constants. I've been given a solution of [itex]y(t)=xz(1-e^{-t/z})[/itex] but I would very much like to remember how to get there. I do not have initial conditions, although [itex]y(0)=0[/itex] is a fair assumption for this problem.

Thank you very much in advance.

Note: this is not homework for a DE course.
 
Physics news on Phys.org
  • #2
Your equation is first order linear, so the standard technique is to solve it using an integrating factor. Here is a link that explains:
http://en.wikipedia.org/wiki/Integrating_factor

If you look up integrating factor on Youtube, you can see people do the technique there.
 
  • #3
Excellent. Thank you.
 
  • #4
Another way, though it really applies mostly to higher order equations, is to use the fact that this equation is "linear". You have dy/dt+ By= C where B= 1/a and C= x are constants.

We start by looking at the "associated homogeneous equation- just drop the "C" to get dy/dt+ By= 0. If we "try" a solution of the form [itex]y= ce^{at}[/itex], with a and c constants, [itex]dy/dx= ace^{at}[/itex] so the equation becomes [itex]ace^{at}+ Bce^{at}= 0[/itex]. Since [itex]e^{at}[/itex] is never 0 we can divide by [itex]ce^{at}[/itex] to get the "characteristic equation", [itex]a+ B= 0[/itex] so that a= -B. That is, the general solution to the associated homogeneous equation is [itex]y= ce^{-Bt}[/itex] for c any constant.

Now, we recognize that the derivative of any constant is 0 so if y(t)= D for some constant D, the entire equation becomes dy/dt+ By= 0+ BD= C and D must be C/B. That is, the associated homogeneous equation has general solution [itex]ce^{Bt}[/itex] while [itex]y(t)= C/B[/itex] satisfies the entire equation. Because this differential equation is linear, it is easy to show that adding them gives [itex]y(t)= ce^{Bt}+ C/B[/itex] is the general solution to the entire equation.

Putting B= 1/z and C= x again, that gives us [itex]y(t)= ce^{t/z}+ xz[/itex] as the general solution to the entire equation.

If we have y(0)= 0, the setting both y and t equal to 0 gives [itex]y(0)= 0= ce^{0/z}+ xz= c+ xz[/itex] so that c= -xz. Then [itex]y(t)= -xze^{t/z}+ xz= xz(1- e^{t/z})[/itex].
 
  • #5


Hello,

Thank you for reaching out and expressing your difficulty in recalling how to express a time-dependent rate equation as a function of time. It is understandable that after a few years, it can be challenging to remember certain concepts and equations. However, as a scientist, it is always important to have a strong understanding and knowledge of the basics in our field.

To help you with your task, let's break down the given rate equation and the solution provided. The rate equation, \frac{dy(t)}{dt}=x-\frac{y(t)}{z}, represents the change in the quantity y(t) with respect to time t. This can also be written as \frac{d}{dt}[y(t)] = x - \frac{y(t)}{z}. This equation follows the typical form of a first-order, linear, non-homogeneous ordinary differential equation (ODE).

To solve this type of ODE, we can use the method of integrating factors. In this case, the integrating factor is e^{\int \frac{1}{z} dt} = e^{\frac{t}{z}}. Multiplying both sides of the equation by this integrating factor, we get:

e^{\frac{t}{z}} \frac{dy(t)}{dt} + \frac{e^{\frac{t}{z}}}{z} y(t) = xe^{\frac{t}{z}}

Notice that the left side of the equation can be rewritten using the product rule of differentiation as \frac{d}{dt}[e^{\frac{t}{z}} y(t)]. Therefore, our equation becomes:

\frac{d}{dt}[e^{\frac{t}{z}} y(t)] = xe^{\frac{t}{z}}

Integrating both sides with respect to t, we get:

e^{\frac{t}{z}} y(t) = \int xe^{\frac{t}{z}} dt = xz e^{\frac{t}{z}} + C

Where C is an arbitrary constant of integration. Solving for y(t), we get:

y(t) = xz + Ce^{-\frac{t}{z}}

Now, we can use the initial condition y(0) = 0 to find the value of C. Substituting t = 0 and y = 0 into the equation above, we get:

0 = xz + Ce^{
 

1. What are time-dependent ODEs and how are they different from regular ODEs?

Time-dependent ODEs (ordinary differential equations) are mathematical equations that involve a dependent variable and its derivatives with respect to time. Unlike regular ODEs, which involve only the dependent variable and its derivatives with respect to a single independent variable, time-dependent ODEs involve derivatives with respect to time.

2. How are time-dependent ODEs used in scientific research?

Time-dependent ODEs are used to model and understand various natural phenomena that involve changes over time, such as chemical reactions, population dynamics, and physical processes. They are also used in engineering to analyze and optimize systems that evolve over time.

3. What is the process of solving a time-dependent ODE?

The process of solving a time-dependent ODE involves first identifying the independent and dependent variables, as well as any initial conditions. Then, the equation is manipulated and integrated to obtain a solution that describes the behavior of the dependent variable over time.

4. How do you express a time-dependent ODE mathematically?

A time-dependent ODE can be expressed mathematically as:

dY/dt = f(t, Y)

where Y is the dependent variable, t is the independent variable (time), and f(t, Y) is a function that describes the relationship between the two variables.

5. What are some common techniques for solving time-dependent ODEs?

Some common techniques for solving time-dependent ODEs include separation of variables, substitution, and using numerical methods such as Euler's method or Runge-Kutta methods. Advanced techniques, such as Laplace transforms or Fourier series, may also be used for certain types of time-dependent ODEs.

Similar threads

  • Differential Equations
Replies
3
Views
1K
Replies
3
Views
1K
Replies
1
Views
1K
  • Differential Equations
Replies
16
Views
873
  • Differential Equations
Replies
5
Views
2K
  • Differential Equations
Replies
5
Views
640
  • Differential Equations
Replies
8
Views
1K
  • Differential Equations
Replies
3
Views
2K
  • Differential Equations
Replies
1
Views
5K
Replies
2
Views
2K
Back
Top