Abstract
In this study, a semi-analytical solution to the inhomogeneous Whittaker equation is developed for both initial and boundary value problems. A new class of special integral functions , along with their derivatives, is introduced to facilitate the construction of the solution. The analytical properties of  are rigorously investigated, and explicit closed-form expressions for  and its derivatives are derived in terms of Whittaker functions  and , confluent hypergeometric functions, and other special functions including Bessel functions, modified Bessel functions, and the incomplete gamma functions, along with their respective derivatives. These expressions are obtained for specific parameter values using symbolic computation in Maple. The results contribute to the broader analytical framework for solving inhomogeneous linear differential equations with applications in engineering, mathematical physics, and biological modeling.
    Keywords:
                                                                    inhomogeneous Whittaker equations;                    Whittaker functions;                    integral Whittaker functions;                    Bessel functions;                    incomplete gamma functions;                    confluent hypergeometric function        MSC:
                33C15
            1. Introduction
The homogeneous Whittaker equation, first formulated in 1903, represents a classical second-order linear differential equation and is expressed in the form []:
      
        
      
      
      
      
    
      wherein  and  are parameters and z and  are variables that could be real or complex. Whittaker [] introduced the functions  and  as linearly independent solutions to the homogeneous Whittaker equation. The pairs of functions ,  and  discussed below are linearly independent solutions of Equation (1). The Wronskian of the Whittaker functions is provided in detail in []:
      
        
      
      
      
      
    
Equation (1) represents the reduced form of a degenerate hypergeometric equation and possesses a regular singular point at  and an irregular singular point at . A broad class of second-order linear differential equations including Whittaker’s and Weber’s equations can be systematically transformed, through suitable changes of variables and function substitutions, into the canonical confluent hypergeometric form []:
      
        
      
      
      
      
    
This structural reducibility reveals a profound analytical equivalence among these equations, thereby establishing a unified framework for their investigation. The solution framework for the Whittaker equation, as presented in this work, can be derived from the results in [] via an appropriate change of variables. This connection not only highlights the versatility of the Whittaker formulation but also underscores the broader applicability of methods developed for the Weber-type equations. In the homogeneous case, the correspondence between their respective solutions and classical special functions is well established in the literature. However, in the inhomogeneous case, the transformation of the forcing term often leads to complicated integrals. These difficulties become particularly pronounced when employing the method of variation of parameters to construct particular solutions, as the transformed forcing function may not yield to standard integration techniques. The solution of the inhomogeneous Weber’s equation has been thoroughly analyzed in [], where both theoretical and computational aspects are addressed. For practical applications, particularly in fluid dynamics and engineering, refer to [], which demonstrates the relevance of the inhomogeneous Weber equation in modeling and simulation.
Whittaker’s Equation (1) arises in various areas of physics, particularly in quantum mechanics, and plays a significant role in solving the radial Schrödinger equation in spherical coordinates and in the solution to the wave equation in parabolic coordinates [], in addition to describing the behavior of charged particles in a Coulomb potential []. Akbarzadeh [] utilized the Whittaker differential equation in deriving an exact, analytical solution for convective heat transfer of thermally fully developed laminar nanofluid flow in a circular tube, where the pipe wall is exposed to a constant temperature. Gupta and Bhengra [] applied Whittaker functions to the derivation of the dispersion equation governing the propagation of torsional surface waves in an anisotropic layer sandwiched between two anisotropic inhomogeneous media. Conway [] employed the Wronskian of the Whittaker functions to calculate indefinite integrals involving Whittaker’s functions and their products.
In the analysis of processes governed by time fractional diffusion and diffusion-wave equations, the Whittaker functions are important both as special functions and for their broad applications in mathematical physics, as they play a central role in the theory of uniform asymptotic expansions of differential equations with coalescing turning points and simple poles, as discussed in [,,]. Mainardi et al. [] compared Wright functions of the second kind with Whittaker functions in specific cases of fractional order. Their work in [] underscores the importance of Whittaker functions in the context of higher transcendental functions. Szmytkowski and Bielski [] investigated the orthogonality of Whittaker functions of the second kind, , where , with the weight function . Chang et al. [] investigated the asymptotic behavior of the Whittaker function of the second kind for large values of the parameters and the independent variable z. Dunster [] derived uniform asymptotic expansions for the Whittaker functions  and , as well as the numerically satisfactory companion function . The expansions are uniformly valid for  and for a specific ratio of the parameters  and , with . Using appropriate connection and analytic continuation, the expansions are extended to all unbounded non-zero complex values of z.
Izarra et al. [] applied Pade approximants in combination with Wynn’s algorithm on a specific asymptotic expansion to achieve precise numerical computations of the Whittaker functions  for various values of the argument z and the parameters  and . Ragab [] systematically evaluated integrals involving products of Whittaker and Bessel functions.
A general solution to Equation (1) can be expressed as a linear combination of these two solutions as
      
        
      
      
      
      
    
      where  and  are parameters.
The Whittaker functions can be expressed as []:
      
        
      
      
      
      
    
      where  denotes Kummer’s confluent hypergeometric function of the first kind, and  denotes the confluent hypergeometric function of the second kind (also known as Tricomi’s function). The functions  and  constitute the two standard linearly independent solutions of the confluent hypergeometric differential Equation (3). Their definitions are given as follows []:
      
        
      
      
      
      
    
      where  denotes the Pochhammer symbol, defined by  for , with . For non-integer values of b, the function  can be expressed in terms of :
      
        
      
      
      
      
    
Equation (7) is equivalent to []:
      
        
      
      
      
      
    
In the case where b assumes integer values, the function  can be computed via appropriate limiting procedures or alternative representations, due to singularities at integer values of b, where , in Equation (8). Regarding the calculation of the function  for integer values of the parameter b, the reader is referred to []. The function  is undefined when . Therefore, hereafter, it is understood that , unless otherwise specified. For specific values of these parameters, the Whittaker functions  and  can be simplified to various elementary and special functions, including modified Bessel functions, incomplete gamma functions, parabolic cylinder functions, error functions, and logarithmic and cosine integrals, as well as generalized Hermite and Laguerre polynomials. For more details, see [] and the references therein. In view of potential applications to engineering problems, we restrict our analysis of the inhomogeneous Whittaker equation to the case where the independent variable z is real; hence,
      
        
      
      
      
      
    
The Whittaker function  can be expressed in terms of the Whittaker functions of the first kind , provided that , as follows [,]:
      
        
      
      
      
      
    
It is important to note that both  and  constitute two linearly independent solutions of the homogeneous Whittaker equation.
In this work, we present a method for obtaining the general solution to Whittaker’s inhomogeneous equation. The approach is based on the introduction of an integral function, denoted by , whose evaluation relies on a generalization of the Whittaker integrals previously discussed by Appleblatt and Santandar []. Accordingly, the function  serves as a fundamental instrument for representing solutions to the initial and boundary value problems associated with the inhomogeneous Whittaker equation.
To achieve this objective, the manuscript is organized as follows.
Section 2 introduces the inhomogeneous Whittaker equation and presents the function  as part of its solution. The section also outlines the properties of  and explains how it can be evaluated. In Section 3, we evaluate the function  for specific parameter values and various forms of the function . Section 4 presents the derivative of , derived using the known derivatives of the Whittaker functions. In Section 5, we provide solutions to the inhomogeneous Whittaker differential equation for both initial and boundary value problems. Finally, the conclusion summarizes the key results and suggests possible directions for future research.
2. Inhomogeneous Whittaker Equation
In this section, we will investigate the inhomogeneous Whittaker equation, which is given by
      
        
      
      
      
      
    
A particular solution to the differential equation can be found using the method of variation of parameters. To this end, we introduce the following function:
      
        
      
      
      
      
    
The principal role of the integral function  is to underpin the formulation of solutions to the inhomogeneous Whittaker equation. Accordingly, we commence the analysis with the following foundational theorem.
Theorem 1. 
The general solution of the inhomogeneous Whittaker Equation (11) is given by
      
        
      
      
      
      
    
Proof.  
The general solution of (11) can be expressed as
      
        
      
      
      
      
    
        where  denotes the general solution of the associated homogeneous equation, whereas  corresponds to a particular solution of the inhomogeneous problem. The homogeneous solution  is given by Equation (4); hence,
      
        
      
      
      
      
    
To complete the solution, it remains to construct a particular solution. This is achieved through the method of variation of parameters, yielding the following expression:
      
        
      
      
      
      
    
The Wronskian  of the Whittaker functions is given in Equation (2) as
      
        
      
      
      
      
    
By substituting Equation (17) into Equation (16) and simplifying, we obtain a particular solution to Equation (11) given by
      
        
      
      
      
      
    
Using Equations (4) and (18), a general solution of the inhomogeneous Whittaker Equation (11) is given by
      
        
      
      
      
      
    
□
The properties of the function  are influenced by the properties of the Whittaker functions for different values of the parameters  and , as well as by the characteristics of the function . Before presenting a solution to the inhomogeneous Whittaker equation, we will first investigate the function  for various parameter values and different forms of .
In their analysis of integrals involving Whittaker functions, Apelblat et al. [] define the integral functions  and  that can offer examples of the function  for various parameter values, especially when . These Whittaker integral functions are defined as follows []:
      
        
      
      
      
      
    
      and
      
        
      
      
      
      
    
For simplicity, we will generalize the notation from [] as follows:
      
        
      
      
      
      
    
Hence, in the newly introduced generalized notation, the functions
 and  are represented as
      
        
      
      
      
      
    
Therefore, we can rewrite the function  given by Equation (12) as follows:
      
        
      
      
      
      
    
From (24), it is easy to see that . Apelblat et al. [] used the Mathematica program to express the Whittaker integral functions in terms of elementary special functions and obtained specific cases of the Whittaker integral functions for different values of the parameters  and . We used those expressions to derive the following Table 1 for the function :
       
    
    Table 1.
    Example of .
  
Apelblat et al. [] used the following recurrence relations between the Whittaker functions [,]:
      
        
      
      
      
      
    
      
        
      
      
      
      
    
By rearranging this expression, Equation (26) can thus be reformulated as
      
        
      
      
      
      
    
Consequently, we express integrals involving Whittaker functions in terms of the Whittaker functions  and  in the following relation:
      
        
      
      
      
      
    
Equation (28) can be used to derive an expression for the function  as follows:
      
        
      
      
      
      
    
3. Values of the Function for Specific Values of and Parameters and
In this section, we derive closed-form expressions for the function . The resulting formulas are obtained either by leveraging established relations and known identities of the Whittaker functions or through symbolic computation using Maple to evaluate the relevant integral expressions. We list below some of the expressions obtained in [] for  and  for selected values of the parameters  and , and then use Maple’s symbolic computation to define the corresponding values of .
- and :from [] we haveHence, the following closed-form expressions for the function can be derived:Additionally, by employing Maple computations, we derive the following closed-form expressions for the function :
 - :and from [] we havewhere is the lower incomplete gamma function defined byThe lower incomplete gamma function can be evaluated from Maple usingwhere represents the upper incomplete gamma function, defined byand Equation (37) will lead to the following result:
 - :Here, denotes the lower incomplete gamma function as defined in Equation (39), while represents the upper incomplete gamma function defined in Equation (41).Using Maple we obtain the following:
 - :and [] to deriveTherefore,and using Maple we obtain
 - and : from [] we haveFurthermore, using Maple symbolic computation, we derive the following closed-form expressions for the function :
 - and :using Maple we obtain the following:
 
The notation , as it appears in the above expressions, denotes the generalized hypergeometric function, which is defined in [] as follows:
      
        
      
      
      
      
    
Equivalently, the function may be written as , or, more concisely, .
      
    
    Figure 1.
       for different values of f(x).
  
      
    
    Figure 2.
       for different values of f(x).
  
4. Derivatives of the Function
The derivatives of the Whittaker functions are given in [] as
      
        
      
      
      
      
    
      
        
      
      
      
      
    
The derivative of the function  is equal to
      
        
      
      
      
      
    
5. Initial and Boundary Value Problems
In this section, we explore examples of initial and boundary value problems related to the inhomogeneous Whittaker equation. To compute the solutions efficiently, we will employ Maple for the necessary calculations and provide the corresponding graphical representations. By doing so, we aim to illustrate the behavior of the solutions under various conditions and gain insights into the underlying mathematical structures of the equation.
5.1. Initial Value Problems
Theorem 2. 
Consider the inhomogeneous Whittaker Equation (11) with the initial conditions:
      
        
      
      
      
      
    where α and β are known constants. Then, the solution to the initial value problem is given by
      
        
      
      
      
      
    where
      
        
      
      
      
      
    and
      
        
      
      
      
      
    
Proof.  
By applying the initial conditions (63) in (19), we obtain
      
        
      
      
      
      
    
          which can be rewritten in matrix form as
      
        
      
      
      
      
    
Upon solving the system, we obtain
      
        
      
      
      
      
    
      
        
      
      
      
      
    
□
Since , the values of the constants  and  in case  are
      
        
      
      
      
      
    
      
        
      
      
      
      
    
The limiting behavior of the Whittaker functions for  and real parameters [] are
      
        
      
      
      
      
    
      
        
      
      
      
      
    
        where,  is given by
      
        
      
      
      
      
    
The solution of the initial value problem is shown in in Figure 3 for various . It should be emphasized that all numerical results presented in the figures were obtained through the application of the function , in conjunction with Theorem 2.
      
    
    Figure 3.
      Solution of  for different values of .
  
5.2. Boundary Value Problems
In the previous section, we derived the solution to the inhomogeneous Whittaker equation under a set of prescribed initial conditions. This formulation allowed us to explore the time-evolution and dynamic behavior of the system starting from known initial states. The focus was primarily on the temporal aspect of the solution, assuming the spatial domain and boundary influences were either trivial or not the primary concern.
In the present section, we shift our attention to a more general and practically significant case: the solution of the inhomogeneous Whittaker equation subject to boundary conditions. This framework is especially pertinent to physical systems in which spatial boundary behavior significantly influences the overall dynamics, such as quantum mechanical potential problems, heat conduction processes, fluid flow through porous media, and wave propagation in confined or bounded domains. To this end, we consider the inhomogeneous Whittaker Equation (11) subject to the following boundary conditions:
      
        
      
      
      
      
    
        where  and  are known constants.
Theorem 3. 
Consider the inhomogeneous Whittaker equation given by (11) subject to the boundary conditions
      
        
      
      
      
      
    where  are prescribed constants.
Then, the solution to the boundary value problem is given by
      
        
      
      
      
      
    where
      
        
      
      
      
      
    
      
        
      
      
      
      
    
Proof.  
Applying the boundary conditions (77) in (19), we obtain
      
        
      
      
      
      
    
The equations in (81) can be rewritten in matrix form as
      
        
      
      
      
      
    
Upon solving the system, we obtain
      
        
      
      
      
      
    
          and
      
        
      
      
      
      
    
□
Figure 4 shows the solution of the inhomogeneous Whittaker equation for  and  with boundary conditions.
      
    
    Figure 4.
      Solution of  for different values of .
  
Figure 5 illustrates the behavior of the solution to the boundary value problem near zero.
      
    
    Figure 5.
      Solution of  for different values of .
  
6. Conclusions
The primary objective of this work has been to develop a method for solving the inhomogeneous Whittaker differential equation. To achieve this, we introduced a novel class of special integral functions, denoted by , which facilitate the construction of particular solutions to the inhomogeneous form of the Whittaker equation. A detailed analytical study of the function  was carried out, including the investigation of its fundamental properties and the derivation of expressions for its derivatives. Computational formulas were established for certain representative cases, especially when the forcing function  and the associated parameters  and  take specific, analytically tractable forms.
To complement the theoretical analysis, we provided graphical representations of the function , which reveal its behavior under various parameter regimes. These visualizations not only illustrate the properties of the  function but also highlight the structure of the corresponding solutions to initial and boundary value problems associated with the Whittaker inhomogeneous differential equation.
The results presented in this work contribute to the broader understanding of special function theory in the context of linear differential equations with inhomogeneous terms. The approach developed here opens up further avenues for the study of related differential systems and may serve as a foundation for applications in mathematical physics and engineering where such equations naturally arise.
Author Contributions
Conceptualization, M.H.H.; Methodology, M.H.H.; Software, M.S.A.Z.; Validation, H.A.A.; Formal analysis, M.S.A.Z.; Resources, H.A.A.; Data curation, H.A.A.; Writing—original draft, M.S.A.Z.; Writing—review and editing, H.A.A. and M.H.H.; Visualization, M.S.A.Z. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Data Availability Statement
No data were generated or analyzed in this study. All computations were performed symbolically using Maple.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Whittaker, E. An expression of certain known functions as generalized hypergeometric functions. Bull. Am. Math. Soc. 1903, 10, 125–134. [Google Scholar] [CrossRef]
 - Olver, F.; Lozier, D.; Boisvert, R.; Clark, C. NIST Handbook of Mathematical Functions; Cambridge University Press: Cambridge, UK, 2010. [Google Scholar]
 - Abu Zaytoon, M.S.; Alderson, T.L.; Hamdan, M.H. Weber’s inhomogeneous differential equation with initial and boundary con-ditions. Int. J. Open Problems Compt. Math. 2016, 9, 1–11. [Google Scholar] [CrossRef]
 - Abu Zaytoon, M.S.; Hamdan, M.H. Weber equation model of flow through a variable-permeability porous core bounded by fluid layers. J. Fluids Eng. Trans. ASME 2022, 144, 041302. [Google Scholar] [CrossRef]
 - Hochstadt, H. The Functions of Mathematical Physics; John Wiley & Sons, Inc.: New York, NY, USA, 1971. [Google Scholar]
 - Gaspard, D. Connection formulas between Coulomb wave functions. J. Math. Phys. 2018, 59, 112104. [Google Scholar] [CrossRef]
 - Akbarzadeh, P. A new exact-analytical solution for convective heat transfer of nanofluids flow in isothermal pipes. J. Mech. 2017, 35, 233–242. [Google Scholar] [CrossRef]
 - Gupta, S.; Bhengra, N. Dispersion study of propagation of torsional surface wave in a layered structure. J. Mech. 2017, 33, 303–315. [Google Scholar] [CrossRef]
 - Conway, J.T. Indefinite integrals from Wronskians for Whittaker and Gauss hypergeometric functions. Integral Transform. Spec. Funct. 2022, 33, 609–622. [Google Scholar] [CrossRef]
 - Abramowitz, M.; Stegun, I.A. Handbook of Mathematical Functions; Dover: New York, NY, USA, 1984. [Google Scholar]
 - Magnus, W.; Oberhettinger, F.; Soni, R. Formulas and Theorems for the Special Functions of Mathematical Physics, 3rd ed.; Springer: Berlin/Heidelberg, Germany, 1966. [Google Scholar]
 - Mainardi, F.; Paris, R.B.; Consiglio, A. Wright functions of the second kind and Whittaker functions. Fract. Calc. Appl. Anal. 2022, 25, 858–875. [Google Scholar] [CrossRef]
 - Szmytkowski, R.; Bielski, S. An orthogonality relation for the Whittaker functions of the second kind of imaginary order. Integral Transform. Spec. Funct. 2010, 21, 739–744. [Google Scholar] [CrossRef]
 - Chang, C.-C.; Chu, B.-T.; O’Brien, V. Asymptotic expansion of the Whittaker’s function Wk,m(z) for large values of k,m,z. J. Frankl. Inst. 1953, 255, 215–236. [Google Scholar] [CrossRef]
 - Dunster, T.M. Uniform asymptotic expansions for the Whittaker functions Mκ,μ(z) and Wκ,μ(z) with μ large. Proc. Roy. Soc. London A 2021, 477, 20210360. [Google Scholar]
 - Izarra, C.; Vallée, O.; Picart, J.; Minh, N.T. Computation of the Whittaker functions Wκ,μ(z) with series expansions and Padé Approximants. Comput. Phys. 1995, 9, 318–323. [Google Scholar] [CrossRef]
 - Ragab, F.M. Integrals involving Whittaker functions. Ann. Di Mat. Pura Ed Appl. 1964, 65, 49–79. [Google Scholar] [CrossRef]
 - Slater, L.J. Confluent Hypergeometric Functions; Cambridge University Press: Cambridge, UK, 1960. [Google Scholar]
 - Mathews, W.N., Jr.; Esrick, M.A.; Teoh, Z.Y.; Freericks, J.K. A physicist’s guide to the solution of Kummer’s equation and confluent hypergeometric functions. Condens. Matter Phys. 2022, 25, 33203. [Google Scholar] [CrossRef]
 - Apelblat, A.; González-Santander, J.L. The integral Mittag-Leffler, Whittaker and Wright functions. Mathematics 2021, 9, 3255. [Google Scholar] [CrossRef]
 
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.  | 
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).