Question Regarding Initial Conditions.

In summary, the initial condition for a differential equation is an arbitrary parameter that secures the uniqueness of a solution. Without it, there are an infinite number of solutions. In this specific problem, the general solution includes two functions, Y1(t) and Y2(t), where Y1(t) is the solution for y(0)=0 and Y2(t) is the solution for any other choice of y(0). To avoid issues with numerical integration, it is recommended to assume y(0)=-a^(2), where a is a real number.
  • #1
abcd200x
1
0
I was doing a question which involved using euler's method to numerically integrate the equation dy/dt=2ty^2 in the interval [0,1], with h=0.2 but no initial conditions were given. How do I find them. I know it's something simple but I can't get it.

Thanks
 
Physics news on Phys.org
  • #2
You cannot "find" an initial condition if you only have a differential equation to begin with.
The initial condition is an arbitrary parameter which secures the uniqueness of a solution to a differential equation problem. Without it, you have, in general, an infinity of solutions (the general solution).

However, knowing the general solution can give you a good hint as to which initial conditions may cause you trouble in a numerical procedure.

In your case, the general solution consists of the following functions:
Y1(t)=0
Y2(t)=-1/(C+t^(2)), C not eq. 0.

Y1(t) is the unique solution to the problem with init. cond. y(0)=0,
while Y2(t) yields the unique solution for any other choice of y(0).

Note however, that if y(0) is positive, C will be negative, and there will exist two singularities in your solution, at t1=-sqrt(-C), t2=sqrt(-C).

For a numerical integration with an arbitrary parameter y(0) included, this will be destructive.
The most general and safe way to proceed is to assume y(0)=-a^(2), where a is a real number.
 
  • #3
for reaching out with your question! In order to use Euler's method to numerically integrate a differential equation, we do need to have initial conditions. These initial conditions represent the starting point for our integration and help us determine the value of the solution at each step. In this case, since no initial conditions were given, you will need to make assumptions or estimates for the initial values of y and t in order to proceed with the integration.

One approach could be to assume a value for y at t=0, and then use that to calculate the value of y at t=0.2, 0.4, 0.6, and so on until you reach t=1. You can then compare your calculated values with the actual solution at those time points to see how close your initial assumption was. If it is not accurate enough, you can adjust your initial assumption and repeat the process until you are satisfied with the results.

Another approach could be to use a graphing tool or software to plot the differential equation and visually estimate the initial values of y and t based on where the solution curve intersects the t-axis at t=0. This can give you a rough estimate to start with and then you can refine it as needed.

I hope this helps and good luck with your problem!
 

1. What are initial conditions?

Initial conditions refer to the starting values or parameters of a system or process. They are the values that are set at the beginning of a simulation or experiment.

2. Why are initial conditions important in scientific research?

Initial conditions are important because they can significantly impact the outcome of a study or experiment. They can determine the behavior and evolution of a system, and can also affect the accuracy and reliability of results.

3. How do scientists determine the initial conditions for their experiments?

Scientists typically use previous research, theoretical models, and data analysis to determine the most appropriate initial conditions for their experiments. They may also conduct pilot studies to test different initial conditions before beginning the main experiment.

4. Can initial conditions be changed during an experiment?

In most cases, initial conditions should not be changed during an experiment as this can introduce bias and affect the validity of the results. However, there may be instances where changes to initial conditions are necessary for the success of the experiment, but these changes must be carefully documented and justified.

5. How do initial conditions relate to the concept of causality?

Initial conditions are a key factor in determining causality in scientific research. By controlling and keeping the initial conditions constant, scientists can establish a cause-and-effect relationship between variables and confidently draw conclusions about their relationship.

Similar threads

Replies
7
Views
2K
Replies
10
Views
2K
  • Differential Equations
Replies
1
Views
2K
Replies
1
Views
1K
Replies
8
Views
2K
Replies
1
Views
1K
Replies
9
Views
2K
Replies
6
Views
2K
Replies
8
Views
2K
Replies
1
Views
1K
Back
Top