Cosas en las que pienso mientras me titulo

Solving Ordinary Differential Equation (ODEs):

ODEs: Single variable equations that involve an arbitrary amount of derivatives of that function wrt that variable.

ODE System: System of ODEs. Linear or non linear.

Problem w non linear equations: harder. Linear eqs are simpler given boundary conditions.

Classical computers can only use non continuous data. So one can only estimate solutions of hard ODEs in a 1D region [t0, tf] by obtaining their images given a mesh {ti} = i(tf-t_0)/n, where n is a natural number greater than 0 that we can choose. Bigger n implies finer mesh but longer computation time (usualy of order O(n)O(n)).

Euler's Method

Given an ODE x=f(x)x' = f(x):

If we choose bad step sizes, steps, etc, we might mess up and get an unstable model (i.e. a divergent model).

for 2nd order ODE n dimensional systems we have the option to create a 2n dimensional system where there are the n original 2nd order eqs written as the derivatives of the other n 1st order eqs that you can define. That way you can use vector Euler method. This strategy to augment the dimensionality of the system has been used in Hamiltonian mechanics.

The basic procedure is:

In general we want y(t)=totfdtf(t)+y(to)y(t) = \int_{t_o}^{t_f}dt f(t) + y(t_o).

Alternative methods for approximating ODEs:

Given a function y(t)=f(t)y'(t) = f(t) we can obtain its Taylor Series expansion around tot_o:

y(t)=y(to)+(tto)y(to)+O(t2)y(t) = y(t_o) + (t-t_o)y'(t_o) + O(t^2)

up to t2t^2.

Local error

Considering an approximation of order O(hp+1)O(h^{p+1}), we have the total number of steps being N=ΔhN = \frac{\Delta}{h}.

Predictor-Corrector Euler Method

Predictor:

Corrector:

Runge-Kutta Methods

Family of methods based on the ability one has to obtain a Taylor approximation of a given function described as an ODE.

Simplectic Method/Euler-Cromer Method

You can't conserve energy by solving the system using previous methods. The symplectic methods kinda conserve the energy by modifying Euler's method the following way:

CC BY-SA 4.0 Eduardo Vázquez Kuri. Last modified: March 24, 2025. Website built with Franklin.jl and the Julia programming language.