Integro-Differential Equation with mathematica

  • Context: Mathematica 
  • Thread starter Thread starter yashar
  • Start date Start date
  • Tags Tags
    Mathematica
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 7K views
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:

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

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

[tex]\int_0^{x_k} y(t)dt[/tex]

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 [itex]y(x)=2x[/itex]. 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: