Solving an integral equation

5 views (last 30 days)
I'm looking to implement a solution to the following equation:
, where a is a known constant, for demonstration purposes set to 5 below.
Code that I tried:
syms r(t)
i=int(1/(r.^4),0,t)
solve(r==(1-5*i),r)
No clue how to tackle the problem. Thanks in advance!

Accepted Answer

Bjorn Gustavsson
Bjorn Gustavsson on 3 Jun 2021
For this I think pen-and-paper might be easier than using the symbolic toolbox. Simply differentiate both sides of your definition of r and convert your integral equation into a differential equation:
This simplifies to (at least for some nice-constraints on r):
That way you now have a reasonably ordinary ODE instead. This is most hand-wavy lacking mathematical rigor, but you should be able to add that if required.
HTH
  2 Comments
Kaz Middelhoek
Kaz Middelhoek on 3 Jun 2021
Thank you very much! A smart way to tackle the problem.
Bjorn Gustavsson
Bjorn Gustavsson on 3 Jun 2021
You're welcome. This is the standard way (I've been taught) of attacking this type of integral equations, for others you might start to look at the methods for solving integral equations in chebfun.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!