2,332
Views
2
CrossRef citations to date
0
Altmetric
Research Articles

Indefinite integrals involving the exponential integral function

Pages 1-15 | Received 27 Oct 2020, Accepted 18 Feb 2021, Published online: 09 Mar 2021

Abstract

The exponential integral function Ei(x) is given as an indefinite integral of an elementary expression. This allows a second-order linear differential equation for the function to be constructed, which is of conventional form. A limitless number of differential equations can be derived from the original by elementary transformations, and many integrals are given by applying the method of fragments to some of these transformed equations. Results are presented here both for simple transformations and other transformations obtained by solving simple Riccati equations. Some of the Integrals are presented combine Ei(x) with Bessel functions, modified Bessel functions and Whittaker functions. All results have been checked by differentiation using Mathematica.

AMS Subject Classifications:

1. Introduction

The exponential integral function is defined by the integral [Citation1,Citation2] (1.1) Ei(x)=xettdt(1.1) for which (1.2) Ei(x)=exx.(1.2) Any arbitrary function y(x) trivially obeys a differential equation of the form (1.3) y¯(x)(y(x)y(x))y¯(x)=0(1.3) which has the general solution y¯(x)=C1+C2y(x).From Equations (Equation1.1)–(Equation1.3) the function y(x)=Ei(x) obeys the differential equation (1.4) y¯(x)+(1x1)y¯(x)=0(1.4) which is of conventional form. This paper applies the method of fragments introduced in [Citation3,Citation4] to derive indefinite integrals involving Ei(x). As Equation (Equation1.4) by itself provides only a limited number of fragments, various transformations will be applied to this equation, which provide in principle an unlimited number of cases, but only a limited number of these are interesting.

1.1. The method of fragments

The general second-order linear homogeneous differential equation is (1.5) y(x)+p(x)y(x)+q(x)y(x)=0(1.5) and in [Citation3,Citation4] the integration formula (1.6) f(x)(h(x)+p(x)h(x)+q(x)h(x))y(x)dx=f(x)(h(x)y(x)h(x)y(x))(1.6) was derived, where y(x) is any solution of Equation (Equation1.1) and h(x) is an arbitrary twice differentiable complex- valued function of x. The function f(x) in Equation (Equation1.2) is the reciprocal of the Wronskian for Equation (Equation1.1) and is also the integrating factor for the two leftmost terms of this equation. It also appears in the Lagrangian form [Citation3] of Equation (Equation1.1) and is given by (1.7) f(x)=exp(p(x)dx).(1.7) Suitable choices of the arbitrary function h(x) in Equation (Equation1.6) give integrals involving y(x). A useful technique for obtaining interesting integrals is to take h(x) to be a solution of a fragment of Equation (Equation1.5), where a fragment is defined [Citation3] as the differential equation with one or more terms deleted or modified, for example h(x)+q(x)h(x)=0.For an equation of the form (Equation1.3), the factor f(x) in Equation (Equation1.7) is given as f¯(x)=exp(y(x)y(x)dx)and as any constant multiplicative factor in the definition of f(x) would cancel in Equation (Equation1.2), we can always take f¯(x)=1y(x)and for Equation (Equation1.4) this gives f¯(x)=xex.Equation (Equation1.4) is simple with few terms, and the small number of obvious fragments are h(x)=0h(x)=xh(x)+1xh(x)=0h(x)=ln(x)h(x)h(x)=0h(x)=ex.Substituting these results into Equation (Equation1.6) gives the three integrals (1.8) (1x)exEi(x)dx=x(exEi(x)1)(1.8) (1.9) exEi(x)dx=ln(x)exEi(x)Ei(x)dx=xEi(x)ex(1.9) and subtracting Equation (Equation1.9) from Equation (Equation1.8) gives the additional integral xexEi(x)dx=x+ln(x)(1+x)exEi(x).All of these cases are known integrals [Citation2].

1.2. Transformations of the differential equation

Equation (Equation1.4) is of the baseline form y¯(x)+p¯(x)y¯(x)=0with (1.10) f¯(x)=exp(p¯(x)dx).(1.10) Equation (Equation1.10) can be transformed [Citation3] to an equation in y(x) by the substitution y¯(x)=g(x)y(x), which gives (1.11) y(x)+(2g(x)g(x)+p¯(x))y(x)+(g(x)g(x)+p¯(x)g(x)g(x))y(x)=0.(1.11) In [Citation3] there was a typographical error equivalent to stating y(x)=g(x)y¯(x), but all the related formulas were given correctly. Defining p(x)=2g(x)g(x)+p¯(x)then g(x)=f(x)f¯(x)y(x)=f¯(x)f(x)y¯(x)and Equation (Equation1.11) can be expressed as [Citation3] (1.12) y(x)+p(x)y(x)+[12(p(x)p¯(x))+14(p2(x)p¯2(x))]y(x)=0.(1.12) The general solution of Equation (Equation1.12) is given in terms of the general solution of Equation (Equation1.4) by [Citation3] y(x)=f¯(x)f(x)y¯(x).For Equation (Equation1.4) for Ei(x), the transformed Equation (Equation1.12) becomes (1.13) y(x)+p(x)y(x)+[p(x)2+p2(x)414+12x+14x2]y(x)=0.(1.13) Employing Equation (Equation1.13) in Equation (Equation1.6) gives a large number of integrals involving y¯(x)=C1+C2Ei(x), as p(x) is arbitrary, but only sample results can be given here. As in [Citation3,Citation4], interesting integrals can be obtained by applying the method of fragments to various forms of Equation (Equation1.13). Equation (Equation1.13) can be given concrete form either by directly specifying the function p(x) or by solving a Riccati equation for p(x) such that the term in square brackets takes some desired simpler form. Sample cases obtained by specifying p(x) are examined in Section 2 below, and some cases where p(x) is the solution of a Riccati equation are examined in Section 3. All results presented have been checked using Mathematica [Citation5].

2. Integrals from specifying p(x) directly

Choosing p(x)=0 in Equation (Equation1.13) gives the differential equation (2.1) y(x)+(14+12x+14x2)y(x)=0(2.1) with the general solution (2.2) y(x)=xe12x(C1+C2Ei(x))(2.2) and with the first derivative y(x)=1x(1x2e12x(C1+C2Ei(x))+C2e12x).Equation (Equation2.1) is a special case of the general Whittaker equation (2.3) y(x)+(14+λx+14μ2x2)y(x)=0(2.3) which has the general solution y(x)=W^λ,μ(x)C3Mλ,μ(x)+C4Wλ,μ(x).It might be expected that the solution given by Equation (Equation2.2) could also be expressed in terms of the two Whittaker functions M12,0(x) and W12,0(x), but this is not the case. An equation for Mλ,μ(x) in terms of Wλ,μ(x) and Wλ,μ(x) is given in [Citation6] as Mλ,μ(x)=Γ(2μ+1)Γ(μλ+12)eiπλWλ,μ(eiπx)+Γ(2μ+1)Γ(μ+λ+12)exp[iπ(λμ12)]Wλ,μ(x)and for λ=12 and μ=0 this equation reduces to M12,0(x)=W12,0(x), so that Equation (Equation2.1) is a degenerate case of the Whittaker equation. The relation [Citation6] Mn+μ+12,μ(x)=x12μe1xx(2μ+1)(2μ+2)(2μ+n)dndxn(xn+2μex)reduces for n = 0 and μ=0 to M12,0(x)=xex2.Hence for this degenerate case M12,0(x) and W12,0(x) both reduce to the elementary function in Equation (Equation2.2) and the extra solution of the degenerate equation is y(x)=xe12xEi(x).

Taking the differential equation in Equation (Equation1.6) to be Equation (Equation2.1) and specifying h(x) to be any solution of the general Whittaker Equation (Equation2.3) gives the integral ex2x(12λ+μ2x)W^λ,μ(x)(C1+C2Ei(x))dx=W^λ,μ(x)xe12x(C1+C2Ei(x))W^λ,μ(x)(xe12x(C1+C2Ei(x))).For C2=0 this integral reduces to ex2x(12λ+μ2x)W^λ,μ(x)dx=xex2[W^λ,μ(x)+12(11x)W^λ,μ(x)]and for C1=0 it reduces to ex2x(12λ+μ2x)W^λ,μ(x)Ei(x)dx=xe12x[W^λ,μ(x)Ei(x)+W^λ,μ(x)(12(11x)Ei(x)exx)].Further simplifications of these integrals are obtained for λ=12 or μ=0 and W^λ,μ(x)=Mλμ(x) or Wλμ(x).

Choosing h(x) to be a solution of the equation (2.4) h(x)+(14+14x2)h(x)=0(2.4) gives h(x) in terms of a general modified Bessel function of order zero as h(x)=xK^0(12x).where K^0(12x)C3I0(12x)+C4K0(12x).The modified Bessel function I0(12x) and the MacDonald function K0(12x) both obey Equation (Equation2.4), but they have different formulas for their derivatives [Citation7], with I0(12x)=12I1(12x)K0(12x)=12K1(12x)and when deriving explicit integration formulas it is simpler to treat the two cases separately. We have the alternative formulas h(x)=xI0(12x);h(x)=12x(I0(12x)+xI1(12x))h(x)=xK0(12x);h(x)=12x(K0(12x)xK1(12x))Substituting substituting these choices into Equation (Equation1.6) and simplifying gives the integrals (2.5) I0(12x)e12x(C1+C2Ei(x))dx=xe12x(I0(12x)+I1(12x))(C1+C2Ei(x))2C2e12xI0(12x)(2.5) (2.6) K0(12x)e12x(C1+C2Ei(x))dx=xe12x(K0(12x)K1(12x))(C1+C2Ei(x))2C2e12xK0(12x)(2.6) For C2=0 Equations (Equation2.5)–(Equation2.6) reduce to exI0(x)dx=xex(I0(x)+I1(x))exK0(x)dx=xex(K0(x)K1(x))which are known integrals [Citation2]. For C1=0, Equations (Equation2.5)–(Equation2.6) reduce to (2.7) exI0(x)Ei(2x)dx=xex(I0(x)+I1(x))Ei(2x)exI0(x)(2.7) (2.8) exK0(x)Ei(2x)dx=xex(K0(x)K1(x))Ei(2x)exK0(x)(2.8) and Equations (Equation2.7)–(Equation2.8) appear to be new.

Choosing h(x) to be a solution of the fragment h(x)+(12x+14x2)h(x)=0gives (2.9) h(x)=xZ0(2x);h(x)=Z0(2x)2xZ1(2x)2x(2.9) where Z0(x)C3J0(x)+C4Y0(x) is the general cylinder function of order zero. Substituting Equations (Equation2.9) into Equation (Equation1.6) gives the integral (2.10) xe12xZ0(2x)(C1+C2Ei(x))dx=22xZ1(2x)e12x(C1+C2Ei(x))Z0(2x)(2xe12x(C1+C2Ei(x))4C2e12x).(2.10) For C2=0 Equation (Equation2.10) reduces to xe12xZ0(2x)dx=2e12x(2xZ1(2x)xZ0(2x)t)and for C1=0 this equation reduces to xe12xZ0(2x)Ei(x)dx=2(2xZ1(2x)e12xEi(x)Z0(2x)(xe12xEi(x)2e12x)).Choosing p(x)=1/x gives the differential equation (2.11) y(x)+1xy(x)+(12x14)y(x)=0(2.11) with f(x)=x and the general solution is y(x)=e12x(C1+C2Ei(x)).Only the special case y(x)=e12xEi(x) will be considered here, for which y(x)=e12xxe12x2Ei(x).Some fragments of Equation (Equation2.11) are h(x)+1xh(x)=0h(x)=C3+C4ln(x)h(x)+1xh(x)14h(x)=0h(x)=K^0(x2)1xh(x)+(12x14)h(x)=0h(x)=e18x(x4)and these give the respective integrals below for the special case y(x)=Ei(x). (1x2)ln(x)e12xEi(x)dx=2e12xEi(x)+ln(x)(xe12xEi(x)2e12x)for h(x)=ln(x). I0(x2)e12xEi(x)dx=x(I0(x2)+I1(12x))e12xEi(x)2I0(x2)e12xK0(x2)e12xEi(x)dx=x(K0(x2)K1(12x))e12xEi(x)2K0(x2)e12xx(x24x+8)e18x2xEi(x)dx=4x2e18x2xEi(x)16e18x2.Choosing p(x)=1 gives the differential equation y(x)y(x)+1+2x4x2y(x)=0for which f(x)=exy(x)=C1x+C2xEi(x)y(x)=C1+C2Ei(x)2x+C2exx.For y(x)=xEi(x) the fragments h(x)=0h(x)=C1+C2xh(x)h(x)=0h(x)=C1+C2exh(x)+1+2x4x2h(x)=0h(x)=xe14xgive the integrals 1+2xx32exEi(x)dx=2exEi(x)x4x12xxexEi(x)dx=2x(exEi(x)2)1+2xx32Ei(x)dx=(4x2)Ei(x)4exx4x2+4x1x3e14xxEi(x)dx=4e14x(41xexEi(x))

3. Equations from solutions of Riccati equations

The expression in square brackets in Equation (Equation1.13) is p(x)2+p2(x)414+12x+14x2and this can be simplified by setting various combinations of the terms equal to zero and solving the resulting Riccati equations for p(x). One case is p(x)2+p2(x)414=0which is separable in p(x), such that dp1p2=12dx.This equation gives (3.1) arctanh(p(x))=x2+c(3.1) where c is an arbitrary constant. Setting c = 0 and taking the tanh of both sides of Equation (Equation3.1) gives the solution (3.2) p(x)=ex1ex+1(3.2) Equation (Equation3.2) gives the differential equation (3.3) y(x)+ex1ex+1y(x)+1+2x4x2y(x)=0(3.3) with (3.4) f(x)=exp(ex1ex+1dx)=ex(ex+1)2(3.4) and solution (3.5) y(x)=x(C1+C2Ei(x))ex+1.(3.5) The most interesting case of this solution is (3.6) y(x)=xEi(x)ex+1(3.6) with y(x)=(ex+12xex)Ei(x)2x(ex+1)2+exx(ex+1).Employing Equations (Equation3.3)–(Equation3.6) with h(x)=1 in Equation (Equation1.6) gives, after some simplification, the integral (1+2x)(1+ex)x32Ei(x)dx=2(12x+ex)Ei(x)+2(ex+1)x.A simpler integral can be obtained by taking h(x) to be a solution of the fragment h(x)+ex1ex+1h(x)=0for which h(x)=1ex+1;h(x)=ex(ex+1)2.Employing these results in Equation (Equation1.6) gives the integral 1+2xx32exEi(x)dx=2x(exEi(x)+2).Another separable case is p(x)2+p2(x)4=0which has a solution p(x)=2xand this gives the differential equation (3.7) y(x)+2xy(x)+(14+12x+14x2)y(x)=0(3.7) with the solution y(x)=e12xx(C1+C2Ei(x))and f(x)=x2.For C1=0 and C2=1 then y(x)=e12xxEi(x)and y(x)=e12xx32e12x(1+x)Ei(x)2x32.The fragment h(x)+(14+12x+14x2)h(x)=0of Equation (Equation3.7) is identical to Equation (Equation2.1) and has the same solution given by Equation (Equation2.2). For C1=0 and C2=1 then h(x)=e12xxEi(x)h(x)=e12x(1x)Ei(x)2x+e12xxand substituting these results in the integral formula (Equation1.6) allows an integral in Ei2(x) to be derived. Employing these formulas in Equation (Equation1.6) gives initially (ex(1x)Ei(x)+2)Ei(x)dx=xexEi2(x)which can be simplified using Equation (Equation1.8) to give (3.1) ex(1x)Ei2(x)dx=xexEi2(x)2xEi(x)+2ex.(3.1)

3.1. Non separable cases of the Riccati equation

A Riccati equation of the form 12dpdx+12p2+Q(x)=0can be solved by the substitution p(x)=2u(x) which gives u(x)+u2(x)+Q(x)=0.Euler [Citation8] showed that solutions of the Riccati equation u(x)+u2(x)+P(x)u(x)+Q(x)=0are given by (3.8) u(x)=z(x)z(x)(3.8) where z(x) obeys the linear equation z(x)+P(x)z(x)+Q(x)z(x)=0.The form of Equation (3.10) means that f(x) is trivially given by f(x)=z2(x)Hence solutions of the equation (3.9) 12p(x)+p2(x)4+12x=0(3.9) are given by solutions of the equation z(x)+12xz(x)=0which has the general solution z(x)=2xZ1(2x)where Z1(x)C3J1(x)+C4Y1(x) is the general cylinder function of order one, and z(x)=Z0(2x).Hence a solution of Equation (Equation3.10) is given by p(x)=2Z0(2x)2xZ1(x)and a transformed form of Equation (Equation1.13) is y(x)+2Z0(2x)2xZ1(2x)y(x)+1x24x2y(x)=0.for which f(x)=xZ12(2x).Equation (3.10) has the general solution y(x)=e12x(C1+C2Ei(x))Z1(2x)with y(x)=((1x)Z1(2x)2xZ0(2x))e12x(C1+C2Ei(x))2xZ1(2x)2+C2e12xxZ1(2x).For the differential equation (Equation3.8), taking h(x)=1 in the integration formula (Equation1.6) gives the integral: 1x2xZ1(2x)e12x(C1+C2Ei(x))dx=2((x1)Z1(2x)+2xZ0(2x))e12x(C1+C2Ei(x))4C2Z1(2x)e12x.For C2=0 this equation reduces to 1x2xZ1(2x)e12x=2((x1)Z1(2x)+2xZ0(2x))e12xand for C1=0 it reduces to 1x2xZ1(2x)e12xEi(x)dx=2((x1)Z1(2x)+2xZ0(2x))e12xEi(x)4Z1(2x)e12x.Both of these integrals appear to be new.

The equation 12dpdx+p24+(14+14x2)=0has the solutions p(x)=1x+I1(12x)I0(12x)f(x)=xI02(12x)p(x)=1xK1(12x)K0(12x)f(x)=xK02(12x).These equations give the respective differential equations, solutions and derivatives: (3.11) y(x)+(1x+I1(12x)I0(12x))y(x)+12xy(x)=0y(x)=e12x(C1+C2Ei(x))I0(12x)y(x)=C2e12xxI0(12x)e12xI0(12x)+I1(12x)2I0(12x)2(C1+C2Ei(x))(3.11) and (3.12) y(x)+(1xK1(12x)K0(12x))y(x)+12xy(x)=0y(x)=e12x(C1+C2Ei(x))K0(12x).(3.12) The fragment h(x)+1xh(x)+12xh=0of both Equation (Equation3.11) and (Equation3.12) has the exact solution and derivative h(x)=Z0(2x);h(x)=Z1(2x)2x.Employing these results in the integration formula (Equation1.6) gives the integrals 2xZ1(2x)I1(x2)e12x(C1+C2Ei(x))dx=2xZ1(2x)I0(x2)e12x(C1+C2Ei(x))+Z0(2x)(2C2e12xI0(x2)xe12x(I0(12x)+I1(12x))(C1+C2Ei(x)))2xZ1(2x)K1(x2)e12x(C1+C2Ei(x))dx=2xZ1(2x)K0(x2)e12x(C1+C2Ei(x))+Z0(2x)(xe12x(K0(12x)K1(12x))(C1+C2Ei(x))2C2e12xK0(x2)).The four main special cases of these integrals are 2xZ1(2x)I1(x2)e12xEi(x)dx=2xZ1(2x)I0(x2)e12xEi(x)+Z0(2x)(2e12xI0(x2)xe12x(I0(12x)+I1(12x))Ei(x))2xZ1(2x)I1(x2)e12xdx=2xZ1(2x)I0(x2)e12xxZ0(2x)e12x(I0(12x)+I1(12x))2xZ1(2x)K1(x2)e12xEi(x)dx=2xZ1(2x)K0(x2)e12xEi(x)+Z0(2x)(xe12x(K0(12x)K1(12x))Ei(x)2e12xK0(x2)).2xZ1(2x)K1(x2)e12xdx=2xZ1(2x)K0(x2)e12x+xe12xZ0(2x)(K0(12x)K1(12x)).All of these integrals appear to be new.

For the simpler where case h(x)=1 we obtain the integrals I0(x2)e12x(C1+C2Ei(x))dx=xe12x(I0(12x)+I1(12x))(C1+C2Ei(x))2C2e12xI0(12x)K0(x2)e12x(C1+C2Ei(x))dx=xe12x(K0(12x)K1(12x))(C1+C2Ei(x))2C2e12xK0(12x)and these have the special cases (3.13) I0(x2)e12xEi(x)dx=xe12x(I0(12x)+I1(12x))Ei(x)2e12xI0(12x)(3.13) (3.14) I0(x2)e12xdx=xe12x(I0(12x)+I1(12x))(3.14) (3.15) K0(x2)e12xEi(x)dx=xe12x(K0(12x)K1(12x))Ei(x)2e12xK0(12x)(3.15) (3.16) K0(x2)e12xdx=xe12x(K0(12x)K1(12x)).(3.16) The integrals (Equation3.13) and (Equation3.15) appear to be new, but the integrals (Equation3.14) and (Equation3.16) are given in [Citation2].

Disclosure statement

No potential conflict of interest was reported by the author(s).

References

  • Spanier K, Oldham KB. An atlas of functions. New York (NY): Hemisphere; 1987.
  • Prudnikov AP, Brychkov YuA, Marichev OI. Integrals and series, Vol. 2, special functions. New York (NY): Gordon and Breach; 1986.
  • Conway JT. A Lagrangian method for deriving new indefinite integrals of special functions. Integral Transforms Spec Funct. 2015;26(10):812–824.
  • Conway JT. Indefinite integrals of some special functions from a new method. Integral Transforms Spec Funct. 2015;26(11):845–858.
  • Wolfram S. The mathematica book. 5th ed. Champaign (IL): Wolfram Media; 2003.
  • Gradshteyn IS, Ryzhik IM. Table of integrals, series and products. New York (NY): Academic; 2007.
  • Brychkov YuA. Handbook of special functions: derivatives, integrals, series and other formulas. Boca Raton (FL): Chapman & Hall/CRC; 2008.
  • Euler L. Institutionum calculi integralis. Vol. 2. St. Petersburg: Imperial Academy of Science; 1769.