Solving an ordinary differential equation.

In summary, the point t=0 is special because the initial condition was given there. However, in the integral you could choose any specific lower limit you want, which would just change the needed value of c. By using 0 as the lower limit, we can easily solve for y(t) since we know y(0)=1. Other methods, such as using definite integration of both LHS and RHS, can also be used to impose the initial conditions without having to explicitly calculate the constant of integration.
  • #1
theBEAST
364
0

Homework Statement


Here is an example from the book:

https://dl.dropbox.com/u/64325990/MATH%20255/EX%204.PNG


Does anyone know why they chose t to be equal to 0?

Thanks!
 
Last edited by a moderator:
Physics news on Phys.org
  • #2
I think it's just convention. Once my DE book used the general x0 as the lower limit (where the independent variable was x).
 
  • #3
theBEAST said:

Homework Statement


Here is an example from the book:

https://dl.dropbox.com/u/64325990/MATH%20255/EX%204.PNG


Does anyone know why they chose t to be equal to 0?

Thanks!

The point t=0 is special, because the initial condition was given there. However, in the integral you could choose any specific lower limit you want; that would just change the needed value of c. For example, we could choose the lower limit = 2. Then we would have
[tex] e^{t^2/4}y= \int_2^t e^{s^2/4}\, ds + c,[/tex]
so we would determine [itex]c[/itex] by equating [itex] e^0 y(0) = y(0) = 1[/itex] to
[tex] \int_2^0 e^{s^2/4}\, ds + c, [/tex] to get
[tex] c = 1 - \int_2^0 e^{s^2/4}\, ds = 1 + \int_0^2 e^{s^2/4}\, ds,[/tex] and this gives
[tex] y = e^{-t^2/4} \left[1 + \int_0^2 e^{s^2/4}\, ds + \int_2^t e^{s^2/4}\, ds \right]\\
\;\;\; = e^{-t^2/4}\left[1 + \int_0^t e^{s^2/4}\, ds \right].[/tex] You would have gotten this right away if you had used 0 in the lower limit right from the start.

RGV
 
Last edited by a moderator:
  • #4
To add to what others have said, you can write the step before you integrate as$$
(e^{\frac {t^2} 4}y)' = e^{\frac {t^2} 4}$$
Now by the fundamental theorem of calculus if you integrate from 0 to t you get $$
e^{\frac {t^2} 4}y(t)-e^0y(0)=\int_0^te^{\frac {s^2} 4}ds$$The point of using 0 for the lower limit is you know ##y(0)=1##, and it is a simple step to solve for ##y(t)##.
 
  • #5
I find the neatest way to impose the initial conditions is by using definite integration of both LHS and RHS. The lower bounds correspond to the initial conditions, the upper are left variable. This way you never have to bother to calculate the constant of integration explicitly.
 

FAQ: Solving an ordinary differential equation.

What is an ordinary differential equation (ODE)?

An ordinary differential equation is a mathematical equation that describes the relationship between a variable and its derivatives. It involves a function and its derivatives with respect to one or more independent variables.

How do you solve an ordinary differential equation?

The process of solving an ordinary differential equation involves finding a function that satisfies the equation. This can be done using analytical methods, such as separation of variables, or numerical methods, such as Euler's method or Runge-Kutta methods.

What is the difference between an initial value problem and a boundary value problem in ODEs?

An initial value problem involves finding a solution to an ODE that satisfies a given set of initial conditions, while a boundary value problem involves finding a solution that satisfies a set of conditions at different points. In other words, an initial value problem has one set of conditions, while a boundary value problem has multiple sets of conditions.

Can all ODEs be solved analytically?

No, not all ODEs have analytical solutions. Some ODEs are considered "stiff" and require numerical methods for approximation. Additionally, some ODEs are non-linear, making them difficult to solve using analytical methods.

How are ordinary differential equations used in science?

ODEs are used in many scientific fields, including physics, engineering, biology, and economics. They are used to describe and model various phenomena, such as motion, heat transfer, population growth, and chemical reactions. ODEs also play a crucial role in the development of mathematical models and simulations for scientific research and analysis.

Similar threads

Replies
1
Views
857
Replies
7
Views
988
Replies
2
Views
1K
Replies
2
Views
910
Replies
5
Views
492
Replies
33
Views
3K
Back
Top