Symbolic integration when the answer is not in a closed form
3 views (last 30 days)
Show older comments
I want to integrate the expression tanh(T(x^2 + G^2)^(1/2))/(x^2 + G^2)^(1/2) from 0 to a. Here I can input a row matrix for T values, so that G should be obtained as a function of T and a. The integral does not exist in a closed form, and hence must be done numerically while still retaining parameters. From what I read, integration using the symbolic toolbox cannot handle integrals that do not have closed form solutions. Please help.
3 Comments
Answers (1)
arvind thakur
on 25 Sep 2021
only closed form integral can solve by int function
1 Comment
Walter Roberson
on 25 Sep 2021
int() can create closed form solutions for some (but not all) functions that have closed form integral solutions.
int() cannot create closed form solutions for any function that does not have a closed form integral solution.
So if int() returns something that is not closed form, there are three possibilities:
- No closed form integral exists for the expression; OR
- No closed form integral for the expression is known to current mathematics (so MATLAB could not be expected to solve it); OR
- Techiques to solve the integral in closed form exist, but MATLAB does not implement them yet; some might be rare and difficult to compute, some might just not be implemented yet due to limited funding and limited time
See Also
Categories
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!