How to solve an integral?

1 回表示 (過去 30 日間)
Vahid
Vahid 2012 年 1 月 7 日
Dear all,
I am trying to solve the following integral with the use of the Symbolic Math Toolbox of the MATLAB:
syms b x;
int(tan(b*atan(x)),x);
but MATLAB gives the following warning:
Warning: Explicit integral could not be found.
I would be grateful if anybody would suggest how to overcome the problem.
Thanks in advance,

採用された回答

Andrew Newell
Andrew Newell 2012 年 1 月 7 日
If you get that warning from the Symbolic Math Toolbox, it may mean that there really is no symbolic solution. You could still integrate it numerically for specific values of b using quadl.
  1 件のコメント
Vahid
Vahid 2012 年 1 月 7 日
Since this integral is a part of my main integral problem which is related to finding the trajectory of a particle, it would be nice if I could somehow have a symbolic solution if there is!

サインインしてコメントする。

その他の回答 (2 件)

Walter Roberson
Walter Roberson 2012 年 1 月 7 日
Nope, no integral in general. There are some (non-zero) cases that I can give answers for, but those have to do with various complex values for x and the answers in the situations are that the integral is undefined. No useful simplification for x and b real, just
i*(-x+2*(int(1/(exp((2*i)*b*atan(x))+1), x)))
where "i" is sqrt(-1) .

Vahid
Vahid 2012 年 1 月 7 日
Thanks a lot! Fortunately, I got a straightforward integral by solving my problem in the hyperbolic coordinates :-D

Community Treasure Hunt

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

Start Hunting!

Translated by