Mathematica Integro-Differential Equation with mathematica

  • Thread starter Thread starter yashar
  • Start date Start date
  • Tags Tags
    Mathematica
AI Thread Summary
To solve a system of Integro-Differential Equations (IDEs) in Mathematica, one effective approach is to start with a simpler equation, such as y'(x) = 2 - 1/4 x^2 + 1/4∫_0^x y(t) dt, with the initial condition y(0) = 0. A modified Euler method can be employed, where at each time step, the integral ∫_0^{x_k} y(t) dt is computed numerically using values of y(t) from previous calculations. This method allows for the integration of the IDE into the numerical solution process. Although Mathematica lacks built-in commands specifically for IDEs, there are community-developed numerical methods available. After mastering the simpler case, users can progress to more complex systems.
yashar
Messages
31
Reaction score
0
hi
how can i solve a system of Integro-Differential Equations in mathematica numerically or analytically?
thanks
 
Physics news on Phys.org
yashar said:
hi
how can i solve a system of Integro-Differential Equations in mathematica numerically or analytically?
thanks

By starting off with just one. Say:

y'(x)=2-1/4 x^2+1/4\int_0^x y(t)dt,\quad y(0)=0

Now, modify for example the Euler method so that at evey time step, compute the developing integral for example at time step x_k, compute (numerically)

\int_0^{x_k} y(t)dt

where the values of y(t) are obtained from the previous calculations. Then just add that part to the regular calculations for that method. Try to write a Mathematica program to implement this and see if you come out with y(x)=2x. Get that perfected, then move on to more complicated ones. There are no built-in commands to compute IDEs in Mathematica although I'm sure the Mathematica community has written some numerical ones.
 
Last edited:

Similar threads

Back
Top