Undergrad Closed form solution for this integral

Click For Summary
The integral under discussion is ##\int_0^\infty \exp(-Kx) \arctan(x) dx##, which lacks a closed form solution. Attempts to manipulate the integral suggest it can be expressed in terms of cosine and sine integrals, specifically ##\textrm{Ci}(K)## and ##\textrm{Si}(K)##, after applying integration by parts. The discussion highlights the complexity of optimizing the variable K, as the resulting expressions involve the exponential integral ##\text{Ei}(x)##, which complicates finding a straightforward solution. Despite these manipulations, achieving an optimal K analytically remains challenging, as the derivative of ##\text{Ei}(x)## does not simplify the overall optimization problem. The conversation underscores the intricate relationship between the integral and its dependence on K for optimization purposes.
Oedipus
Messages
4
Reaction score
0
After series of algebraic simplifications, I ended up with the following integral:

##\int_0^\infty \exp(-Kx) \arctan(x) dx ##

As far as I searched, there is no closed form solution for the integral. But, K is my design variable that I need to optimize later. To do this, I need to take K out of the integral. Can you manipulate this integral to express e.g., as a closed form function of K, multiplied with an integral independent of K?
 
Physics news on Phys.org
Oedipus said:
As far as I searched, there is no closed form solution for the integral.
I guess there is a closed form in terms of cosine and sine integrals, Ci(x) and Si(x) respectively. If you are interested in this way, try solving that integral using partial integration first by choosing ##dv = e^{-Kx}dx## and ##u = \arctan x##. For the integral ##\int v \ du## you will get
$$
\int_0^{\infty} \frac{\exp(-Kx)}{1+x^2} \ dx
$$
This integral can be shown to have the result expressible in terms of ##\textrm{Ci}(K)## and ##\textrm{Si}(K)##. These integrals have a "friendly" derivative when you want to find the optimal ##K##. Although the ultimate solution for ##K## might not be solvable analytically.
 
  • Like
Likes Oedipus
Thank you blue_leaf77. I tried but it is still very difficult to solve for optimal K. My overall expression for the objective is in fact a function of this integral. Here I only provided the most problematic part.

After integration by parts I have,

## \begin{aligned}
\frac{1}{K}\int_0^\infty \frac{\exp(-Kx)}{1+x^2}dx &= \frac{i}{2K}\left[ e^{iK}\text{Ei}(-K(x+i)) - e^{-iK}\text{Ei}(-K(x-i)) \right]^{x=\infty}_{x=0}\\
&=\frac{i}{2K}\left[ -e^{iK}\text{Ei}(-iK)) + e^{-iK}\text{Ei}(iK) \right]\end{aligned}##

where ##\text{Ei}(x)=-\int_{-x}^\infty\frac{e^{-t}}{t}dt## or ##\text{Ei}(x)=-\int_{1}^\infty\frac{e^{tx}}{t}dt##. This is the same as what you said when ##\text{Ci(x)}## and ##\text{Si(x)}## are replaced with ##\text{Ei(x)}##.
 
Oedipus said:
Thank you blue_leaf77. I tried but it is still very difficult to solve for optimal K. My overall expression for the objective is in fact a function of this integral. Here I only provided the most problematic part.

After integration by parts I have,

## \begin{aligned}
\frac{1}{K}\int_0^\infty \frac{\exp(-Kx)}{1+x^2}dx &= \frac{i}{2K}\left[ e^{iK}\text{Ei}(-K(x+i)) - e^{-iK}\text{Ei}(-K(x-i)) \right]^{x=\infty}_{x=0}\\
&=\frac{i}{2K}\left[ -e^{iK}\text{Ei}(-iK)) + e^{-iK}\text{Ei}(iK) \right]\end{aligned}##

where ##\text{Ei}(x)=-\int_{-x}^\infty\frac{e^{-t}}{t}dt## or ##\text{Ei}(x)=-\int_{1}^\infty\frac{e^{tx}}{t}dt##. This is the same as what you said when ##\text{Ci(x)}## and ##\text{Si(x)}## are replaced with ##\text{Ei(x)}##.
If you can get the derivative of ##\textrm{Ei}(x)## in terms of basic functions I think that will be helpful, have you found it?
 
blue_leaf77 said:
If you can get the derivative of ##\textrm{Ei}(x)## in terms of basic functions I think that will be helpful, have you found it?
The derivative of ##\text{Ei}(x)## can be calculated, but the overall optimization problem I am attempting cannot be solved simply by setting the derivative to zero.
 

Similar threads

  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 21 ·
Replies
21
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K