Plot of Si(x ) for 0 ≤ x ≤ 8π .
Plot of the cosine integral function Ci(z ) in the complex plane from −2 − 2i to 2 + 2i with colors created with Mathematica 13.1 function ComplexPlot3D
The different sine integral definitions are
Si
(
x
)
=
∫
0
x
sin
t
t
d
t
{\displaystyle \operatorname {Si} (x)=\int _{0}^{x}{\frac {\sin t}{t}}\,dt}
si
(
x
)
=
−
∫
x
∞
sin
t
t
d
t
.
{\displaystyle \operatorname {si} (x)=-\int _{x}^{\infty }{\frac {\sin t}{t}}\,dt~.}
Note that the integrand
sin
(
t
)
t
{\displaystyle {\frac {\sin(t)}{t}}}
is the sinc function , and also the zeroth spherical Bessel function .
Since sinc is an even entire function (holomorphic over the entire complex plane), Si is entire, odd, and the integral in its definition can be taken along any path connecting the endpoints.
By definition, Si(x ) is the antiderivative of sin x / x whose value is zero at x = 0 , and si(x ) is the antiderivative whose value is zero at x = ∞ . Their difference is given by the Dirichlet integral ,
Si
(
x
)
−
si
(
x
)
=
∫
0
∞
sin
t
t
d
t
=
π
2
oder
Si
(
x
)
=
π
2
+
si
(
x
)
.
{\displaystyle \operatorname {Si} (x)-\operatorname {si} (x)=\int _{0}^{\infty }{\frac {\sin t}{t}}\,dt={\frac {\pi }{2}}\quad {\text{ or }}\quad \operatorname {Si} (x)={\frac {\pi }{2}}+\operatorname {si} (x)~.}
In signal processing , the oscillations of the sine integral cause overshoot and ringing artifacts when using the sinc filter , and frequency domain ringing if using a truncated sinc filter as a low-pass filter .
Related is the Gibbs phenomenon : If the sine integral is considered as the convolution of the sinc function with the heaviside step function , this corresponds to truncating the Fourier series , which is the cause of the Gibbs phenomenon.
Plot of Ci(x ) for 0 < x ≤ 8π .
The different cosine integral definitions are
Cin
(
x
)
=
∫
0
x
1
−
cos
t
t
d
t
,
{\displaystyle \operatorname {Cin} (x)=\int _{0}^{x}{\frac {1-\cos t}{t}}\,dt~,}
Ci
(
x
)
=
−
∫
x
∞
cos
t
t
d
t
=
γ
+
ln
x
−
∫
0
x
1
−
cos
t
t
d
t
for
|
Arg
(
x
)
|
<
π
,
{\displaystyle \operatorname {Ci} (x)=-\int _{x}^{\infty }{\frac {\cos t}{t}}\,dt=\gamma +\ln x-\int _{0}^{x}{\frac {1-\cos t}{t}}\,dt\qquad ~{\text{ for }}~\left|\operatorname {Arg} (x)\right|<\pi ~,}
where γ ≈ 0.57721566 ... is the Euler–Mascheroni constant . Some texts use ci instead of Ci .
Ci(x ) is the antiderivative of cos x / x (which vanishes as
x
→
∞
{\displaystyle x\to \infty }
). The two definitions are related by
Ci
(
x
)
=
γ
+
ln
x
−
Cin
(
x
)
.
{\displaystyle \operatorname {Ci} (x)=\gamma +\ln x-\operatorname {Cin} (x)~.}
Cin is an even , entire function . For that reason, some texts treat Cin as the primary function, and derive Ci in terms of Cin .
Hyperbolic sine integral
edit
The hyperbolic sine integral is defined as
Shi
(
x
)
=
∫
0
x
sinh
(
t
)
t
d
t
.
{\displaystyle \operatorname {Shi} (x)=\int _{0}^{x}{\frac {\sinh(t)}{t}}\,dt.}
It is related to the ordinary sine integral by
Si
(
i
x
)
=
i
Shi
(
x
)
.
{\displaystyle \operatorname {Si} (ix)=i\operatorname {Shi} (x).}
Hyperbolic cosine integral
edit
The hyperbolic cosine integral is
Plot of the hyperbolic cosine integral function Chi(z) in the complex plane from -2-2i to 2+2i with colors created with Mathematica 13.1 function ComplexPlot3D
Chi
(
x
)
=
γ
+
ln
x
+
∫
0
x
cosh
t
−
1
t
d
t
for
|
Arg
(
x
)
|
<
π
,
{\displaystyle \operatorname {Chi} (x)=\gamma +\ln x+\int _{0}^{x}{\frac {\cosh t-1}{t}}\,dt\qquad ~{\text{ for }}~\left|\operatorname {Arg} (x)\right|<\pi ~,}
where
γ
{\displaystyle \gamma }
is the Euler–Mascheroni constant .
It has the series expansion
Chi
(
x
)
=
γ
+
ln
(
x
)
+
x
2
4
+
x
4
96
+
x
6
4320
+
x
8
322560
+
x
10
36288000
+
O
(
x
12
)
.
{\displaystyle \operatorname {Chi} (x)=\gamma +\ln(x)+{\frac {x^{2}}{4}}+{\frac {x^{4}}{96}}+{\frac {x^{6}}{4320}}+{\frac {x^{8}}{322560}}+{\frac {x^{10}}{36288000}}+O(x^{12}).}
Trigonometric integrals can be understood in terms of the so-called "auxiliary functions"
f
(
x
)
≡
∫
0
∞
sin
(
t
)
t
+
x
d
t
=
∫
0
∞
e
−
x
t
t
2
+
1
d
t
=
Ci
(
x
)
sin
(
x
)
+
[
π
2
−
Si
(
x
)
]
cos
(
x
)
,
g
(
x
)
≡
∫
0
∞
cos
(
t
)
t
+
x
d
t
=
∫
0
∞
t
e
−
x
t
t
2
+
1
d
t
=
−
Ci
(
x
)
cos
(
x
)
+
[
π
2
−
Si
(
x
)
]
sin
(
x
)
.
{\displaystyle {\begin{array}{rcl}f(x)&\equiv &\int _{0}^{\infty }{\frac {\sin(t)}{t+x}}\,dt&=&\int _{0}^{\infty }{\frac {e^{-xt}}{t^{2}+1}}\,dt&=&\operatorname {Ci} (x)\sin(x)+\left[{\frac {\pi }{2}}-\operatorname {Si} (x)\right]\cos(x)~,\\g(x)&\equiv &\int _{0}^{\infty }{\frac {\cos(t)}{t+x}}\,dt&=&\int _{0}^{\infty }{\frac {te^{-xt}}{t^{2}+1}}\,dt&=&-\operatorname {Ci} (x)\cos(x)+\left[{\frac {\pi }{2}}-\operatorname {Si} (x)\right]\sin(x)~.\end{array}}}
Using these functions, the trigonometric integrals may be re-expressed as
(cf. Abramowitz & Stegun, p. 232 )
π
2
−
Si
(
x
)
=
−
si
(
x
)
=
f
(
x
)
cos
(
x
)
+
g
(
x
)
sin
(
x
)
,
and
Ci
(
x
)
=
f
(
x
)
sin
(
x
)
−
g
(
x
)
cos
(
x
)
.
{\displaystyle {\begin{array}{rcl}{\frac {\pi }{2}}-\operatorname {Si} (x)=-\operatorname {si} (x)&=&f(x)\cos(x)+g(x)\sin(x)~,\qquad {\text{ and }}\\\operatorname {Ci} (x)&=&f(x)\sin(x)-g(x)\cos(x)~.\\\end{array}}}
Nielsen's spiral.
The spiral formed by parametric plot of si , ci is known as Nielsen's spiral.
x
(
t
)
=
a
×
ci
(
t
)
{\displaystyle x(t)=a\times \operatorname {ci} (t)}
y
(
t
)
=
a
×
si
(
t
)
{\displaystyle y(t)=a\times \operatorname {si} (t)}
The spiral is closely related to the Fresnel integrals and the Euler spiral . Nielsen's spiral has applications in vision processing, road and track construction and other areas.[ 1]
Various expansions can be used for evaluation of trigonometric integrals, depending on the range of the argument.
Asymptotic series (for large argument)
edit
Si
(
x
)
∼
π
2
−
cos
x
x
(
1
−
2
!
x
2
+
4
!
x
4
−
6
!
x
6
⋯
)
−
sin
x
x
(
1
x
−
3
!
x
3
+
5
!
x
5
−
7
!
x
7
⋯
)
{\displaystyle \operatorname {Si} (x)\sim {\frac {\pi }{2}}-{\frac {\cos x}{x}}\left(1-{\frac {2!}{x^{2}}}+{\frac {4!}{x^{4}}}-{\frac {6!}{x^{6}}}\cdots \right)-{\frac {\sin x}{x}}\left({\frac {1}{x}}-{\frac {3!}{x^{3}}}+{\frac {5!}{x^{5}}}-{\frac {7!}{x^{7}}}\cdots \right)}
Ci
(
x
)
∼
sin
x
x
(
1
−
2
!
x
2
+
4
!
x
4
−
6
!
x
6
⋯
)
−
cos
x
x
(
1
x
−
3
!
x
3
+
5
!
x
5
−
7
!
x
7
⋯
)
.
{\displaystyle \operatorname {Ci} (x)\sim {\frac {\sin x}{x}}\left(1-{\frac {2!}{x^{2}}}+{\frac {4!}{x^{4}}}-{\frac {6!}{x^{6}}}\cdots \right)-{\frac {\cos x}{x}}\left({\frac {1}{x}}-{\frac {3!}{x^{3}}}+{\frac {5!}{x^{5}}}-{\frac {7!}{x^{7}}}\cdots \right)~.}
These series are asymptotic and divergent, although can be used for estimates and even precise evaluation at ℜ(x ) ≫ 1 .
Si
(
x
)
=
∑
n
=
0
∞
(
−
1
)
n
x
2
n
+
1
(
2
n
+
1
)
(
2
n
+
1
)
!
=
x
−
x
3
3
!
⋅
3
+
x
5
5
!
⋅
5
−
x
7
7
!
⋅
7
±
⋯
{\displaystyle \operatorname {Si} (x)=\sum _{n=0}^{\infty }{\frac {(-1)^{n}x^{2n+1}}{(2n+1)(2n+1)!}}=x-{\frac {x^{3}}{3!\cdot 3}}+{\frac {x^{5}}{5!\cdot 5}}-{\frac {x^{7}}{7!\cdot 7}}\pm \cdots }
Ci
(
x
)
=
γ
+
ln
x
+
∑
n
=
1
∞
(
−
1
)
n
x
2
n
2
n
(
2
n
)
!
=
γ
+
ln
x
−
x
2
2
!
⋅
2
+
x
4
4
!
⋅
4
∓
⋯
{\displaystyle \operatorname {Ci} (x)=\gamma +\ln x+\sum _{n=1}^{\infty }{\frac {(-1)^{n}x^{2n}}{2n(2n)!}}=\gamma +\ln x-{\frac {x^{2}}{2!\cdot 2}}+{\frac {x^{4}}{4!\cdot 4}}\mp \cdots }
These series are convergent at any complex x , although for |x | ≫ 1 , the series will converge slowly initially, requiring many terms for high precision.
Derivation of series expansion
edit
From the Maclaurin series expansion of sine:
sin
x
=
x
−
x
3
3
!
+
x
5
5
!
−
x
7
7
!
+
x
9
9
!
−
x
11
11
!
+
⋯
{\displaystyle \sin \,x=x-{\frac {x^{3}}{3!}}+{\frac {x^{5}}{5!}}-{\frac {x^{7}}{7!}}+{\frac {x^{9}}{9!}}-{\frac {x^{11}}{11!}}+\cdots }
sin
x
x
=
1
−
x
2
3
!
+
x
4
5
!
−
x
6
7
!
+
x
8
9
!
−
x
10
11
!
+
⋯
{\displaystyle {\frac {\sin \,x}{x}}=1-{\frac {x^{2}}{3!}}+{\frac {x^{4}}{5!}}-{\frac {x^{6}}{7!}}+{\frac {x^{8}}{9!}}-{\frac {x^{10}}{11!}}+\cdots }
∴
∫
sin
x
x
d
x
=
x
−
x
3
3
!
⋅
3
+
x
5
5
!
⋅
5
−
x
7
7
!
⋅
7
+
x
9
9
!
⋅
9
−
x
11
11
!
⋅
11
+
⋯
{\displaystyle \therefore \int {\frac {\sin \,x}{x}}dx=x-{\frac {x^{3}}{3!\cdot 3}}+{\frac {x^{5}}{5!\cdot 5}}-{\frac {x^{7}}{7!\cdot 7}}+{\frac {x^{9}}{9!\cdot 9}}-{\frac {x^{11}}{11!\cdot 11}}+\cdots }
Relation with the exponential integral of imaginary argument
edit
The function
E
1
(
z
)
=
∫
1
∞
exp
(
−
z
t
)
t
d
t
for
ℜ
(
z
)
≥
0
{\displaystyle \operatorname {E} _{1}(z)=\int _{1}^{\infty }{\frac {\exp(-zt)}{t}}\,dt\qquad ~{\text{ for }}~\Re (z)\geq 0}
is called the exponential integral . It is closely related to Si and Ci ,
E
1
(
i
x
)
=
i
(
−
π
2
+
Si
(
x
)
)
−
Ci
(
x
)
=
i
si
(
x
)
−
ci
(
x
)
for
x
>
0
.
{\displaystyle \operatorname {E} _{1}(ix)=i\left(-{\frac {\pi }{2}}+\operatorname {Si} (x)\right)-\operatorname {Ci} (x)=i\operatorname {si} (x)-\operatorname {ci} (x)\qquad ~{\text{ for }}~x>0~.}
As each respective function is analytic except for the cut at negative values of the argument, the area of validity of the relation should be extended to (Outside this range, additional terms which are integer factors of π appear in the expression.)
Cases of imaginary argument of the generalized integro-exponential function are
∫
1
∞
cos
(
a
x
)
ln
x
x
d
x
=
−
π
2
24
+
γ
(
γ
2
+
ln
a
)
+
ln
2
a
2
+
∑
n
≥
1
(
−
a
2
)
n
(
2
n
)
!
(
2
n
)
2
,
{\displaystyle \int _{1}^{\infty }\cos(ax){\frac {\ln x}{x}}\,dx=-{\frac {\pi ^{2}}{24}}+\gamma \left({\frac {\gamma }{2}}+\ln a\right)+{\frac {\ln ^{2}a}{2}}+\sum _{n\geq 1}{\frac {(-a^{2})^{n}}{(2n)!(2n)^{2}}}~,}
which is the real part of
∫
1
∞
e
i
a
x
ln
x
x
d
x
=
−
π
2
24
+
γ
(
γ
2
+
ln
a
)
+
ln
2
a
2
−
π
2
i
(
γ
+
ln
a
)
+
∑
n
≥
1
(
i
a
)
n
n
!
n
2
.
{\displaystyle \int _{1}^{\infty }e^{iax}{\frac {\ln x}{x}}\,dx=-{\frac {\pi ^{2}}{24}}+\gamma \left({\frac {\gamma }{2}}+\ln a\right)+{\frac {\ln ^{2}a}{2}}-{\frac {\pi }{2}}i\left(\gamma +\ln a\right)+\sum _{n\geq 1}{\frac {(ia)^{n}}{n!n^{2}}}~.}
Similarly
∫
1
∞
e
i
a
x
ln
x
x
2
d
x
=
1
+
i
a
[
−
π
2
24
+
γ
(
γ
2
+
ln
a
−
1
)
+
ln
2
a
2
−
ln
a
+
1
]
+
π
a
2
(
γ
+
ln
a
−
1
)
+
∑
n
≥
1
(
i
a
)
n
+
1
(
n
+
1
)
!
n
2
.
{\displaystyle \int _{1}^{\infty }e^{iax}{\frac {\ln x}{x^{2}}}\,dx=1+ia\left[-{\frac {\pi ^{2}}{24}}+\gamma \left({\frac {\gamma }{2}}+\ln a-1\right)+{\frac {\ln ^{2}a}{2}}-\ln a+1\right]+{\frac {\pi a}{2}}{\Bigl (}\gamma +\ln a-1{\Bigr )}+\sum _{n\geq 1}{\frac {(ia)^{n+1}}{(n+1)!n^{2}}}~.}
Efficient evaluation
edit
Mathar, R.J. (2009). "Numerical evaluation of the oscillatory integral over exp(iπ x )·x 1/x between 1 and ∞". Appendix B. arXiv :0912.3844 [math.CA ].
Press, W.H.; Teukolsky, S.A.; Vetterling, W.T.; Flannery, B.P. (2007). "Section 6.8.2 – Cosine and Sine Integrals" . Numerical Recipes: The Art of Scientific Computing (3rd ed.). New York: Cambridge University Press. ISBN 978-0-521-88068-8 .
Sloughter, Dan. "Sine Integral Taylor series proof" (PDF) . Difference Equations to Differential Equations .
Temme, N.M. (2010), "Exponential, Logarithmic, Sine, and Cosine Integrals" , in Olver, Frank W. J. ; Lozier, Daniel M.; Boisvert, Ronald F.; Clark, Charles W. (eds.), NIST Handbook of Mathematical Functions , Cambridge University Press, ISBN 978-0-521-19225-5 , MR 2723248 .