Preprint
Article

This version is not peer-reviewed.

Modified Lagrange-Jacobi Functions

Submitted:

06 January 2026

Posted:

08 January 2026

You are already at the latest version

Abstract
This paper presents modified Lagrange-Jacobi functions derived from the sine, exponential, and hyperbolic tangent coordinate transformations. The resulting Lagrange-Jacobi functions and their respective matrix elements for observables can be reduced to their respective Lagrange-Legendre, Lagrange-Chebyshev, and Lagrange-Gegenbauer functions. Furthermore, this paper postulates that the Lagrange-mesh functions form approximate complete set of basis, a property implied by their approximate orthogonality.
Keywords: 
;  ;  ;  ;  ;  

1. Introduction

The construction of accurate numerical solutions to quantum mechanical equations remain an important component in theoretical physics and chemistry. This is because the equations, like the Schrödinger equation and the few-body integrodifferential equations, can be solved exactly only for very few potential models. Such numerical solutions are used to extract many properties of quantum systems. Among the many numerical methods that researchers often rely on to generate accurate numerical solutions to quantum mechanical equations efficiently, even with “not so accurate” matrix elements [1,2], is the Lagrange-mesh method [3,4,5,6]. This method has the combined advantageous features of the finite difference method, the collocation method, and the variational method. It is for this reason that the Lagrange-mesh method tends to is more efficient than the three listed methods separately. Moreover, the Lagrange-mesh method still has room for further development.
Lagrange meshes are generally based on the zeros of orthogonal polynomials and trigonometric basis. The more popular meshes are those that are based on the zeros of classical orthogonal polynomials, such as the Laguerre mesh defined in the interval [ 0 , ) , the Hermite mesh defined in the interval ( , + ) , and the Jacobi mesh defined in the interval [ 1 , + 1 ] . All these meshes can be scaled, translated, and/or transformed to treat a desired non-standard domain. Some coordinate transformations lead to modified meshes that have interesting properties requiring special discussion [3,7,8,9]. This paper presents three modified Lagrange-Jacobi meshes derived from the sine, exponential, and hyperbolic tangent coordinate transformations. These transformations lead to Lagrange-mesh functions that have features desirable for describing assymptotic forms of trial wave functions for many quantum mechanical problems [10,11]. Applying coordinate transformations to quantum mechanical equations naturally transforms the equations, leading to transformed problems. This paper demonstrates ow the indicated coordinate transformations of the Jacobi mesh can be used to construct numerical solutions to quantum mechanical problems defined on finite and infinite domains.
The sine mesh is defined in the interval [ 1 2 + 1 2 ] and is symmetrical about zero. This mesh is the same as, but shifted relative to, the cosine mesh presented in [8]. The exponential mesh is defined in the interval [ 0 , ) , like the Laguerre mesh, while the hyperbolic mesh is defined in the interval ( , + ) , like the Hermite mesh. These meshes lead to the shifted trigonometric Lagrange-Jacobi functions, the exponential Lagrange-Jacobi functions, and the hyperbolic Lagrange-Jacobi functions that are discussed here for the first time. The shifted trigonometric Lagrange-Jacobi functions are similar to the trigonometric Lagrange-Jacobi functions dicussed in [8]. The three sets of functions and their respective matrix elements for derivative operators can be specialised to their respective Lagrange-Legendre, Lagrange-Chebyshev, and Lagrange-Gegenbauer functions. The results of this work have application in applied matematics, computational physics and chemistry.
This paper is organised as follows. Section 2 recalls properties of the Lagrange-mesh method focusing on the regularised Lagrange-Jacobi functions. The art of modifying the Lagrange-mesh functions is also briefly discussed. Section 3 presents trigonometric Lagrange-Jacobi functions derived from the sine transformation. Special cases of these functions are discussed. Section 4 and Section 5, respectively, present the exponential Lagrange-Jacobi functions and the hyperbolic Lagrange-Jacobi functions. Matrix elements for the first order and second order derivative operators with the functions are also discussed. Illustrative applications of the three sets of functions are presented in Section 6 while conclusions are presented in Section 7.

2. Lagrange-Jacobi Functions

A set of Lagrange-Jacobi functions f j ( u ) , where u [ 1 , + 1 ] , are constructed on the Jacobi mesh. The Jacobi mesh is defined by the N roots u j of a classical Jacobi polynomial P N α , β ( u ) of order N characterised by parameters ( α , β ) and the weight function w ( u ) = ( 1 u ) α ( 1 + u ) β . Regularised Lagrange-Jacobi functions are defined as
g j ( u ) = ( 1 ) N j 1 u j 2 C N α , β h N α , β 1 / 2 R ( u ) R ( u j ) w ( u ) P N α , β ( u ) u u j
where C N α , β = 2 N + α + β + 1 , h N α , β is the normalisation constant for the Jacobi polynomial, and R ( u ) = ( 1 u ) a / 2 ( 1 + u ) b / 2 a regularising function with regularising parameters ( a , b ) . The functions 1 are infinitely differentiable and obey the Lagrange properties
1 + 1 g i ( u ) g j ( u ) d u λ i 1 / 2 g j ( u i ) = δ i j
1 + 1 g i ( u ) f ( u ) g j ( u ) d u f ( u i ) δ i j
1 + 1 g i ( u ) g j ( k ) ( u ) d u λ i 1 / 2 g j ( k ) ( u i )
1 + 1 g i ( u ) f ( u ) g j ( k ) ( u ) d u λ i 1 / 2 f ( u i ) g j ( k ) ( u i )
where λ i = w i / w ( u i ) with w i being quadrature weights, g ( k ) = d k g / d u k for k = 0 , 1 , 2 , , and f ( u ) is a scalar function [3]. Property 5 follows from the assumption that the functions g i ( u ) form a complete set of basis. The assumption is derived from property 2. Note that properties 3 and 4 are special cases of property 5 [3].
Modified Lagrange-Jacobi functions g ^ j ( u ( x ) ) are constructed from Eq. 1 by introducing some coordinate transformation that defines a new coordinate x with a known range that may be different from that of u. For example, the cosine transformation u ( x ) = cos π x leads to the trigonometric Lagrange-Jacobi functions [8]. In general, the modified Lagrange-Jacobi functions have the form
g ^ j ( x ) = u ( x ) g j u ( x )
where u = d u / d x . If u is negative, then the absolute value | u | is introduced to keep the modified functions real [8]. The transformation leads to the transformed quadrature and modified weight function, see Ref. [3] for details. The resulting modified Lagrange-Jacobi functions satisfy the Lagrange properties.
It is useful to determine matrix elements for the first- and second-order derivative operators since they are used to calculate the kinetic energy of quantum mechanical systems. Thus, matrix elements for the d / d x and d 2 / d x 2 operators constructed with the modified functions 6 are calculated from
D i j = x 1 x 2 g ^ i ( x ) d g ^ j ( x ) d x d x
= 1 + 1 u ( x ) g i ( u ) d d x u ( x ) g j ( u ) d u u ( x )
and
T i j = 1 + 1 u ( x ) g i ( u ) d 2 d x 2 u ( x ) g j ( u ) d u u ( x ) ,
respectively, where x 1 and x 2 are the boundaries of the x domain. The mathematical structure of the transformed derivative operators d / d x and d 2 / d x 2 in terms of u depends on the form of the transformation considered. The integrals in 8 and 9 can be readily evaluated using properties of the Lagrange-Jacobi functions [3,7].

3. Shifted Trigonometric Lagrange-Jacobi Functions

Ref. [8] discusses trigonometric Lagrange-Jacobi functions derived from the cosine transformation. The structure of this section follows that of the reference for ease of comparison. The sine coordinate transformation has the form
u = sin π x , whence u = π cos π x ,
where x [ 1 2 + 1 2 ] . The coordinate transformation generates the modified quadrature roots x i = ( arcsin u i ) / π and the modified quadrature weights λ ^ i = λ i / ( π cos π x i ) [3]. The modified regularised Lagrange-Jacobi functions are here called shifted trigonometric Lagrange-Jacobi functions and have the form
g j ( x ) = ( 1 ) N j π cos 2 π x j ( 2 N + γ ) h N α , β 1 / 2 R ( sin π x ) R ( sin π x j ) w s ( sin π x ) P N α , β ( sin π x ) sin π x sin π x j ,
where γ = α + β + 1 , w s ( sin π x ) = w ( sin π x ) cos π x with w ( u ) as the weight function. These functions satisfy the Lagrange properties. It is interesting to note that the functions 11 can be obtained from Eq. (7) of Ref. [8] through the translation cos π ( x 1 2 ) = sin π x followed by the requirement that the interval x [ 0 , 1 ] be translated to x [ 1 2 , + 1 2 ] , a shifted interval.
The evaluation of the matrix elements for the operator d / d x with the regularised shifted trigonometric Lagrange-Jacobi functions leads to
D i j = π 1 + 1 g i ( u ) 1 u 2 d d u u 2 1 u 2 g j ( u ) d u ,
following Ref. [?]. Using the Lagrange properties, the Gauss approximation of the integral has the form
D i j π ( 1 ) i j w r ( x i ) w r ( x j ) cos π x i sin π x i sin π x j ; i j χ 0 + ( χ 1 1 ) sin π x i 2 cos π x i ; i = j
where w r ( x ) = ( 1 sin π x ) ( a 1 ) / 2 ( 1 + sin π x ) ( b 1 ) / 2 [9], χ 0 = a b , and χ 1 = a + b . As can be seen, these matrix element are similar to those presented in [8] but with sin π x substituted for cos π x and vice versa, and the interval x [ 0 , 1 ] shifted to x [ 1 2 , + 1 2 ] . The Gauss approximation of the matrix elements for the operator d 2 / d x 2 is readily evaluated as
T i j π 2 ( 1 ) i j w r ( x i ) w r ( x j ) 2 cos 2 π x i ( sin π x i sin π x j ) 2 + χ 0 + χ 1 sin π x i sin π x i sin π x j ; i j ( C N α , β ) 2 1 12 μ 0 + μ 1 sin π x i + μ 2 sin 2 π x i 12 cos 2 π x i ; i = j
where μ 0 = 2 ( α 2 + β 2 ) + 3 χ 0 2 6 χ 1 + 2 , μ 1 = 2 ( α 2 β 2 ) + 6 χ 0 ( χ 1 2 ) , and μ 2 = 3 ( χ 1 1 ) 2 . Again, the elements T i j are similar to those presented in [8] but with sin π x and cos π x interchanged, while the interval x [ 0 , 1 ] is shifted to x [ 1 2 , + 1 2 ] .
On one hand, trigonometric Lagrange-Jacobi functions [8] are polynomials of cos π x where x [ 0 , 1 ] . On the other hand, trigonometric Lagrange-Jacobi functions 11 are polynomials of sin π x in the interval x [ 1 2 , + 1 2 ] . The two sets of trigonometric Lagrange-Jacobi functions and their respective matrix elements for the first and second derivatives are congruous but with the sine and cosine functions interchanged and their respective intervals of definition shifted relative to each other. The shifted trigonometric Lagrange-Jacobi functions are defined on an interval that is symmetric about the origin, x = 0 , a property shared by the Lagrange-Fourier and the Lagrange-sinc functions. In addition, all these three types of Lagrange-mesh functions are defined as functions of sin π x .
As indicated above, the results of this section can be derived from the results of [8] by introducing the translation cos π ( x 1 2 ) = sin π x and requiring that the interval x [ 0 , 1 ] be replaced with x [ 1 2 , + 1 2 ] . The reverse argument is also true about deducing the results of Ref. [8] from the results of this section. The argument above suggests that the fact that some trigonometric Lagrange-mesh functions are polynomials of cos π x [12] is most likely a consequence of the definition interval x [ 0.1 ] . If the interval x [ 1 2 , + 1 2 ] is chosen to define the basis functions, then the resulting trigonometric Lagrange-mesh functions are polynomials of sin π x , instead. The shifted trigonometric Lagrange-Legendre functions and the shifted trigonometric Lagrange-Chebyshev functions are discussed below.

3.1. Shifted Trigonometric Lagrange-Legendre Functions

When α and β are both set to zero ( α = β = 0 ) and ( a = b = 0 ) , Eq. 11 reduces to the shifted trigonometric Lagrange-Legendre functions
g j ( x ) = ( 1 ) N j π 2 cos π x j cos π x P n 0 , 0 ( sin π x ) sin π x sin π x j .
These functions are plotted in Figure 1(a) for N = 4 and they are seen to vanish at the boundaries of the interval, that is, g j ( 1 2 ) = g j ( + 1 2 ) = 0 . Using the same values for α , β , a, and b in Eq. 13 and 14 generates, respectively, matrix elements
D i j = π ( 1 ) i j cos π x j sin π x i sin π x j ; i j 1 2 tan π x i ; i = j
and
T i j = π 2 2 ( 1 ) i j 4 cos π x i cos π x j ( sin π x i sin π x j ) 2 ; i j 2 3 N ( N + 1 ) + 1 2 5 6 cos 2 π x i ; i = j ,
for the first and second derivatives of these functions. The elements T i j form a symmetric matrix.
The functions 15 can be regularised so that the resulting regularised functions do not vanish at either one or both of the boundaries. For example, regularising the functions by setting a = b = 1 / 2 leads to regularised functions that do not vanish at both boundaries. The so regularised functions have first derivatives that vanish at the boundaries, that is, g j ( 1 2 ) = g j ( + 1 2 ) = 0 . The regularised functions are plotted in Figure 1(b) for N = 4 . The matrix elements D i j and T i j with the regularised functions are generated from Eq. 13 and Eq. 14, respectively, with the same values of the parameters α , β , a, and b. The resulting matrix elements T i j form a centrosymmetric matrix that has eigenvalues ( π n ) 2 where n = 0 , 1 , 2 , , N 1 .

3.2. Shifted Trigonometric Lagrange-Chebyshev Functions

When α and β are both set to 1 / 2 ( α = β = 1 / 2 ) and ( a = b = 0 ) , Eq. 11 reduces to the shifted trigonometric Lagrange-Cebyshev functions
g j ( x ) = ( 1 ) N j cos π x j N P N 1 / 2 , 1 / 2 ( sin π x ) sin π x sin π x j ,
which are plotted in Figure 2(a) for N = 4 . The functions are seen to be non-zero at the boundary while their first derivative vanish at the same end-points, that is, g j ( 1 2 ) = g j ( + 1 2 ) = 0 . These functions generate matrix elements D i j that are identical to those given by Eq. 16. Their T i j matrix elements have the form
T i j = π 2 2 ( 1 ) i j 4 cos π x i cos π x j ( sin π x i sin π x j ) 2 ; i j 1 3 ( 2 N 2 + 1 ) 1 cos 2 π x i ; i = j .
The symmetric matrix formed by the elements T i j has eigenvalues ( π n ) 2 where n = 0 , 1 , 2 , , N 1 .
Equation 11 generates the shifted trigonometric Lagrange-Chebyshev functions of the second kind ( a = b = 0 )
g j ( x ) = ( 1 ) N j cos π x j N + 1 cos π x P N 1 / 2 , 1 / 2 ( sin π x ) sin π x sin π x j ,
when α and β are both set to 1 / 2 ( α = β = 1 / 2 ). The functions vanish at the end-points, x = 1 2 , + 1 2 , as seen in Figure 2(b) for N = 4 which shows a plot of these functions. Their matrix element D i j are identical to those given by 16. Their T i j matrix elements are given by
T i j = π 2 2 ( 1 ) i j 4 cos π x i cos π x j ( sin π x i sin π x j ) 2 ; i j 2 3 ( N + 1 ) 2 + 1 3 1 cos 2 π x i ; i = j . ,
that form a symmetric matrix with eigenvalues ( π n ) 2 where n = 1 , 2 , 3 , , N .
Figure 2. Plots of the shifted trigonometric Lagrange-Chebyshev functions for N = 4 and a = b = 0 . (a) Functions of the first kind. (b) Functions of the second kind.
Figure 2. Plots of the shifted trigonometric Lagrange-Chebyshev functions for N = 4 and a = b = 0 . (a) Functions of the first kind. (b) Functions of the second kind.
Preprints 193218 g002
Equation 11 reduces to the shifted trigonometric Lagrange-Chebyshev functions of the third and fourth kind ( a = b = 0 ) when α and β are set to α = 1 / 2 = β and α = 1 / 2 = β , respectively. The shifted trigonometric Lagrange-Chebyshev functions of the third kind display the boundary behaviour g j ( 1 2 ) = g j ( + 1 2 ) = 0 while the shifted trigonometric Lagrange-Chebyshev functions of the fourth kind display the boundary behaviour g j ( 1 2 ) = g j ( + 1 2 ) = 0 . Both kinds of functions generate D i j matrix element that are identical to Eq. 16. In addition, both kinds of functions generate identical matrix elements
T i j = π 2 2 ( 1 ) i j 4 cos π x i cos π x j ( sin π x i sin π x j ) 2 ; i j 2 3 N ( N + 1 ) + 1 2 1 cos 2 π x i ; i = j
that form a symmetric matrix that has eigenvalues π 2 ( n 1 / 2 ) 2 for n = 1 , 2 , N .

4. Exponential Lagrange-Jacobi Functions

The exponential coordinates transformation is here defined by
u = 1 2 e x , whence u = 1 u ,
and x [ 0 , ) . Applying this transformation to 6 leads to the regularised exponential Lagrange-Jacobi functions
g ^ j ( x ) = ( 1 ) N j e x j ( 1 e x j ) C N α , β h N α , β 1 / 2 R ( 1 2 e x ) R ( 1 2 e x j ) w e ( x ) P N α , β ( 1 2 e x ) e x j e x
where w e ( x ) = 2 α + β + 1 / 2 e ( α + 1 ) x ( 1 e x ) β . These functions satisfy the Lagrange conditions. When the regularising parameters are set to a = b = 0 in 24, one obtains the exponential Lagrange-Jacobi functions. When the Jacobi polynomial parameters are set to α = β = 0 , with a , b 0 , one obtains the regularised exponential Lagrange-Legendre functions. The regularised exponential Lagrange-Gegenbauer functions and the regularised exponential Lagrange-Chebyshev functions are obtained by setting α = β and ( α , β ) = ( ± 1 2 , ± 1 2 ) , respectively.
Figure 3(a) shows a plot of the exponential Lagrange-Legendre functions for N = 5 . The functions are seen to be non-zero at the origin but approach zero as x . Recall that the functions can be regularised to vanish at x = 0 . The behaviour of these functions is similar to that of the Lagrange-Laguerre functions [3]. A scaling factor h can be used to shift the grid points along the x-axis for the purpose of optimising the accuracy of the results. For this purpose, the functions are modified to g ¯ i ( x ) = g ^ i ( x / h ) / h . Figure 3(b) displays a comparison of the exponential Lagrange-Legendre functions g 1 ( x ) and the scaled exponential Lagrange-Legendre functions g ¯ 1 ( x ) for N = 5 and h = 2 . This figure reveals the effect of h 1 have on the distribution of the grid points.
Figure 4(a) and Figure 4(b) show plots of the scaled exponential Lagrange-Chebyshev functions of the first and second kind, respectively. The functions are scaled by h = 2 simply to show their behaviour at small values of x. As can be seen in the figures, the exponential Lagrange-Chebyshev functions of the first kind are non-zero at x = 0 while the functions of the second kind vanish at the same point. The exponential Lagrange-Chebyshev functions of the first kind have a form similar to that of the exponential Lagrange-Legendre functions discussed above. In addition, the exponential Lagrange-Chebyshev functions of the second kind display a form similar to that of the exponential Lagrange-Chebyshev functions regularised to vanish at x = 0 . Furthermore, both kinds of functions approach zero as x increases.
The construction of the matrix elements for the first-order and second-order differential operators in x requires the transformation of these operators. The transformed operators have the form
d d x = ( 1 u ) d d u and d 2 d x 2 = ( 1 u ) ( 1 u ) d 2 d u 2 d d u ,
with the associated integration measure d x = d u 1 u . Matrix elements of the first-order differential operator d / d x constructed with the functions 24 are calculated from
D i j = 1 + 1 g i ( u ) ( 1 u ) d d u 1 2 g j ( u ) d u .
This integral is evaluated with the help of the Lagrange properties as well as properties of the Lagrange-Jacobi functions discussed in [3]. The results of the evaluation are
D i j w r ( x i ) w r ( x j ) ( 1 ) i j e x i e x j e x i ; i j ( χ 1 1 ) e x i a 2 ( 1 e x i ) ; i = j
where w r ( x ) = e ( a 1 ) x / 2 ( 1 e x ) ( b 1 ) / 2 . Note that use was made of the Lagrange property 5 to evaluate the integral of the first term in the square brackets in 26.
Matrix elements for the second-order differential operator d 2 / d x 2 calculated with the functions 24 are given by
T i j = 1 + 1 g i ( u ) 1 u 1 + u ( 1 u 2 ) d 2 d u 2 2 ( 1 + u ) d d u + 1 4 1 + u 1 u g j ( u ) d u .
This integral is evaluated in two steps. The first step is to evaluate the integral for the first two terms in the square brackets, independent of the factor ( 1 u ) / ( 1 + u ) . This leads to
T i j = 1 + 1 g i ( u ) ( 1 u 2 ) d 2 d u 2 2 ( 1 + u ) d d u g j ( u ) d u
( 1 ) i j w r ( x i ) w r ( x j ) 8 e x i ( 1 e x i ) ( e x j e x i ) 2 2 ( χ 1 e x i a 1 ) e x j e x i ; i j ( C N α , β ) 2 1 12 μ 0 / 4 + μ 1 e x i + μ 2 e 2 x i 12 e x i ( 1 e x i ) ; i = j
where μ 0 = 4 α 2 + 3 ( χ 1 2 ) ( 2 a χ 0 + 4 ) + 3 χ 0 ( χ 0 4 ) 6 χ 1 + 8 , μ 1 = α 2 β 2 + 6 a ( χ 1 2 ) , and μ 2 = 3 χ 1 ( χ 1 2 ) . Here, use was made of the general matrix elements given in Eq. (29) of Ref. [13] by setting α 0 = β 0 = 1 and u = 1 2 e x . The second step is to then use the Lagrange property 5 with Eq. 28 to obtain
T i j e x i 1 e x i T i j + 1 4 δ i j ,
where ( 1 u ) / ( 1 + u ) = e x i ( 1 e x i ) 1 . Matrix elements D i j and T i j for the special cases of the regularised exponential Lagrange-Jacobi functions are obtained from 27 and 31, respectively, by setting a, b, α , and β to their desired values.

5. Hyperbolic Lagrange-Jacobi Functions

The hyperbolic tangent coordinate transformation is defined by
u = tanh x , whence u = 1 u 2 ,
with x ( , + ) . When this transformation is applied to 6, one obtains the regularised hyperbolic Lagrange-Jacobi functions
g ^ j ( x ) = ( 1 ) N j sech 2 x j C N α , β h N α , β 1 / 2 R ( tanh x ) R ( tanh x j ) w h ( tanh x ) P N α , β ( tanh x ) tanh x tanh x j
where w h ( tanh x ) = w ( tanh x ) sech 2 x . These functions satisfy the Lagrange conditions. The regularised hyperbolic Lagrange-Legendre functions are obtained from Eq. 33 by setting α = β = 0 . The regularised hyperbolic Lagrange-Chebyshev functions are obtained by setting ( α , β ) = ( ± 1 2 , ± 1 2 ) .
Figure 5 shows plots of some of the special cases, indicated above, of the hyperbolic Lagrange-Jacobi functions 33 for N = 5 . Specifically, Figure 5(a) displays the hyperbolic Lagrange-Chebyshev functions of the first kind, Figure 5(b) shows the hyperbolic Lagrange-Chebyshev functions of the second kind, and Figure 5(c) shows the hyperbolic Lagrange-Legendre functions. The plots of the three sets of functions display a form similar to that of the Lagrange-Hermite functions [3]. All the functions approach zero as the magnitude of x is increased. To assess the extent of the similarity of the functions, the functions g 1 ( x ) from Figure 5(a), Figure 5(b), and Figure 5(c) are compared in Figure 5(d). As can be seen from the figure, the form of the three functions does not differ significantly.
To construct matrix elements for the first-order and second-order differential operators with the hyperbolic functions, the operator transformations
d d x = ( 1 u 2 ) d d u and d 2 d x 2 = ( 1 u 2 ) ( 1 u 2 ) d 2 d u 2 2 u d d u ,
are required, with the integration measures d x = d u 1 u 2 . Using these relations, the matrix elements of the first-order differential operator d / d x constructed with the functions 33 have the form
D i j = 1 + 1 g i ( u ) ( 1 u 2 ) d d u u g j ( u ) d u
w r ( x i ) w r ( x j ) ( 1 ) i j sech 2 x i tanh x i tanh x j ; i j 1 2 ( χ 0 χ 1 tanh x i ) ; i = j
where w r ( x ) = ( 1 tanh x ) ( a 1 ) / 2 ( 1 + tanh x ) ( b 1 ) / 2 . Again, use was made of the Lagrange property 5 to evaluate the integral of the first term in the square brackets in 35.
Matrix elements of the second-order differential operator d 2 / d x 2 constructed using the functions 33 have the form
T i j = 1 + 1 g i ( u ) ( 1 u 2 ) ( 1 u 2 ) d 2 d u 2 4 u d d u + 2 u 2 1 1 u 2 g j ( u ) d u ,
which are evaluated like in the previous subsection. Evaluating the matrix elements of the first two terms in the square brackets, i.e. without considering the factor 1 u 2 outside the brackets, leads to
T i j = 1 + 1 g i ( u ) ( 1 u 2 ) d 2 d u 2 4 u d d u g j ( u ) d u
( 1 ) i j w r ( x i ) w r ( x j ) 2 sech 2 x i ( tanh x i tanh x j ) 2 χ 0 ( χ 1 + 2 ) tanh x i tanh x i tanh x j ; i j ( C N α , β ) 2 1 12 μ 0 + μ 1 tanh x i + μ 2 tanh 2 x i 12 sech 2 x i ; i = j
where μ 0 = 2 ( α 2 + β 2 ) + 3 χ 0 2 6 χ 1 + 8 , μ 1 = 2 ( α 2 β 2 ) + 6 χ 0 ( 4 χ 1 ) , and μ 2 = 3 ( χ 1 + 4 ) ( χ 1 2 ) . In this case the general matrix elements in Eq. (29) of Ref. [13] are modified by setting α 0 = β 0 = 1 and u = tanh x to obtain the elements 44. When α = β = 0 and a = b = 0 , the matrix formed by the elements T i j is verified by the eigenvalues n ( n + 3 ) where n = 0 , 1 , , N 1 . The elements T i j in 37 are then evaluated as
T i j sech 2 x i T i j + ( 2 tanh 2 x i 1 ) δ i j
by using the Lagrange property 5 to obtain the first term. Matrix elements D i j and T i j for the special cases of the regularised hyperbolic Lagrange-Jacobi functions are obtained from 36 and 40, respectively, by choosing ( a , b , α , β ) appropriately.

6. Illustrative Applications

The one-dimensional Schrödinger equation for some potential V ( x ) ,
2 2 m d 2 d x 2 + V ( x ) ψ ( x ) = E ψ ( x ) , x ( c , d ) ,
is solved numerically, where ψ ( x ) and E are the eigenfunctions and eigenvalues, respectively. Of interest are bound-state solutions of this equation which satisfy boundary conditions ψ ( c ) = ψ ( d ) = 0 . The trial wave function is approximated by the expansion
ψ ( x ) = 1 h i = 1 N p i g ¯ i ( x / h )
where p i are variational parameters. This approximation generates the matrix eigenvalue problem
j = 1 N 1 h 2 T i j + V ( h x i ) δ i j p j = E p i ,
from Eq. 41, where the elements T i j do not depend on h. The system of equations 43 were solved with basis sizes N = 20 , 30 , 40 , 50 using different Lagrange-Jacobi functions. The relative errors ϵ n = 1 E n N / E n A of the numerical eigenvalues were calculated, where E n N and E n A denote numerical and analytical eigenvalues, respectively.

6.1. Shifted Trigonometric Lagrange-Jacobi Functions

An instructive example application of these functions is the one-dimensional harmonic oscillator V ( x ) = x 2 is defined in the x ( , + ) . This problem was solved numerical by, first, mapping the interval x [ 1 2 , + 1 2 ] onto the interval z [ h , + h ] where h was set to 15 fm. The magnitude of h tends to affect the accuracy of the highly excited states in the system. The Schrödinger equation for this potential ( = 2 m = 1 ) admits exact solutions with eigenvalues E n = 2 n + 1 where n = 0 , 1 , 2 , , which allow comparison with the numerical results. Then, the numerical wave functions were approximated with the shifted trigonometric Lagrange-Legendre functions ( α = β = 0 ) and Lagrange-Chebyshev functions ( α = β = 1 2 and α = β = + 1 2 ). The shifted trigonometric Lagrange-Chebyshev functions of the first kind were regularised with a = b = 1 2 so that the resulting functions vanish at the boundaries. For this problem, te matrix elements T i j were calculated from
T i j = k = 1 N D k i D k j g i z h g j z h h + h
to test the validity of the D i j matrix elements. Table 1 presents results for the relative errors ϵ n of the states n = 0 , 5 , 10 , 15 .
In the table, the results for the shifted trigonometric Lagrange-Legendre functions are presented in the top panel while the results for the regularised shifted trigonometric Lagrange-Chebyshev of the first kind are presented in the middle panel. The bottom panel shows results for the shifted trigonometric Lagrange-Chebyshev of the second kind. In all the three cases the results were generated using 44 for the kinetic energy matrix. As can be seen in the table, in all the three cases, the accuracy of the numerical eigenvalues improves as the basis size N is increased. The eigenvalues for lower states, E 0 and E 5 , are already obtained with machine accuracy at N = 40 . The performance of the three sets of functions is almost similar. The relative errors of the eigenvalues of the excited states E 10 and E 15 are of the orders of 10 * 11 and 10 7 , respectively. The accuracy of the numerical eigenvalues for excited states is known to be dependent on the choice of the range h [14]. The results in Table 1 also verify the validity of the matrix elements D i j in 13.

6.2. Exponential Lagrange-Jacobi Functions

The exponentially modified Lagrange-Jacobi mesh is defined in the infinite interval like the Laguerre mesh. Whereas the Laguerre mesh is spread accross the interval, the exponentially modified Lagrange-Jacobi mesh is clustered near the origin. As a result, this mesh will often need to be scaled out with h > 1 to spead the mesh to the outer regions of the interval. An example application of this mesh is one of the widely used molecular potential models, the Morse potential [15]
V ( x ) = D e 2 ν ( x r e ) 2 e ν ( x r e ) ; x [ 0 , )
where r e , a, and D are parameters related to properties of molecules. This potential has a repulsive core and a short range. The eigenvalues E n of the Morse potential are accurately approximated by
E n = D ν 2 m n + 1 2 2 .
where n = 0 , 1 , 2 , , . Equations 43 were solved for the Morse potential with parameters values 2 m = 1836 , r e = 2 , ν = 0.72 , and D = 0.10262 , which were also adopted in [8] for a similar exercise. This problem was solved as indicated above with h = 2 . Note that h may be optimised for more accurate results. The results for the lowest four odd eigenvalues are presented in Table 2.
The results show that the calculated lowest eigenvalues show a gradual increase in accuracy as the basis size is increased. The three sets of functions generate eigenvalues to the similar accuracy for up to N = 40 . For N > 40 , the regularised exponential Lagrange-Legendre and the exponential Lagrange-Chebyshev functions of the second kind generate results of similar accuracy that converge relatively faster, approximately three to six orders of magnitude, than the results of the regularised exponential Lagrange-Chebyshev functions of the first kind. Therefore, these results confirm the validity of the matrix elements in 31 and, by extention, the Lagrange property 5.

6.3. Hyperbolic Lagrange-Jacobi Functions

As indicated earlier, the hyperbolic Lagrange-Jacobi functions have a similar form as the eigen functions of the one-dimentional harmonic oscilator which are accurately represented by te Lagrange-Hermite functions. It will, therefore, be interesting to learn how accurate these functions reproduce the eigen values of the oscillator. The one-dimensional harmonic oscillator V ( x ) = 1 2 x 2 is defined in the x ( , + ) . The Schrödinger equation for this problem has analytical solutions with eigenvalues E n = n + [ 1 ] 2 where n = 0 , 1 , 2 , . It is important to note that the Hermite mesh, which supports analytical solutions to the harmonic oscillator, is well distrubuted accross the infinite interval. However, the hyperbolic tangent Lagrange-Jacobi mesh is clustered around the origin. Hence, the hyperbolic Lagrange-Jacobi functions require scaling to spread the mesh further into the outer regions of the interval.
Numerical solutions for the harmonic oscillator were constructed with the functions 33 for a = b = 0 in the interval x ( 10 , + 10 ) considering the special cases α = β = 0 , α = β = 1 / 2 , and α = β = 1 / 2 . These cases correspond to the hyperbolic Lagrange-Legendre functions, the hyperbolic Lagrange-Chebyshev functions of the first kind, and the hyperbolic Lagrange-Chebyshev functions of the second kind, respectively. The effect of the basis size N on the accuracy of the calculated eigenvalues was tested by solving the equations as indicated above with h = 4 . Table 3 presents the relative errors ϵ n of the calculated lowest first four odd eigenvalues. It can be seen in the table, that the results show a rapid increase in accuracy of the calculated eigenvalues as the basis size is increased. The calculated lower eigenvalues are already reproduced at machine accuracy when N = 40 while the accuracy of the calculated higher eigenvalues reach machine accuracy at N = 50 . These results confirm the validity of the matrix elements in 40 as well as the Lagrange property 5.

7. Conclusion

The shifted trigonometric Lagrange-Jacobi functions, the exponential Lagrange-Jacobi functions, and the hyperbolic Lagrange-Jacobi functions have been presented. The functions are derived from the Lagrange-Jacobi functions by introducing the sine, exponential, and hyperbolic tangent coordinate transformations, respectively. The three sets of functions generate analytical matrix elements for the Hamiltonian of quantum mechanical equations. Matrix elements of derivative operators using these functions are evaluated using the postulate that the Lagrange-mesh functions form approximate complete set of basis. These modified Lagrange-Jacobi functions and their respective matrix elements for the Hamiltonian can be specialised to their respective Lagrange-Legendre, the Lagrange-Chebyshev, and Lagrange-Gegenbauer functions. Empirical results show that these functions are efficient in generating accurate numerical solutions to quantum mechanical equations.

Funding

This research received no external funding.

Data Availability Statement

All data supporting reported results are included in this article.

Conflicts of Interest

The author declares no conflicts of interest.

References

  1. Baye, D.; Hesse, M.; Vincke, M. The unexplained accuracy of the Lagrange-mesh method. Phys. Rev. E 2002, 65, 026701. [Google Scholar] [CrossRef] [PubMed]
  2. Szalay, V.; Szidarovszky; Czakó, G.T.; Császár, A.G. A paradox of grid-based representation techniques: accurate eigenvalues from inaccurate matrix elements. J. Math. Chem. 2012, 50, 636–651. [Google Scholar] [CrossRef]
  3. Baye, D. The Lagrange-mesh method. Physics Reports 2015, 565, 1–107. [Google Scholar] [CrossRef]
  4. Rampho, G.J. The Schrödinger equation on a Lagrange mesh. J. Phys.: Conf. Ser. 2017, 905, 012037. [Google Scholar] [CrossRef]
  5. Rampho, G.J. Accuracy of ground-state solutions of boson systems in the revised few-body integrodifferential equations approach. Phys. Rev. C 2022, 105, 054003. [Google Scholar] [CrossRef]
  6. Baye, D. Klein-Gordon equation on a Lagrange mesh. Phys. Rev. E 2024, 109, 045303. [Google Scholar] [CrossRef] [PubMed]
  7. Rampho, G.J. Perspective on the Lagrange-Jacobi mesh. J. Phys. A: Math. Theor. 2016, 49, 27501. [Google Scholar] [CrossRef]
  8. Rampho, G.J. Trigonometric Lagrange-Jacobi functions. Phys. Scr. 2024, 99, 085220. [Google Scholar] [CrossRef]
  9. Rampho, G.J. Corrigendum: trigonometric Lagrange-Jacobi functions (2024 Phys. Scr. 99 085220). Phys. Scr. 2025, 100, 089501. [Google Scholar] [CrossRef]
  10. Belyaev, V.R.; Rakityansky, S.A.; Gopane, I.M. Recovering the two-body potential from a given three-body wave function. Few-body Systems 2023, 64, 4. [Google Scholar] [CrossRef]
  11. Ikot, A.N.; Okorie, U.S.; Rampho, G.J.; Amadi, P.O. Approximate Analytical Solutions of the Klein–Gordon Equation with Generalized Morse Potential. Int. J Thermophys 2021, 42, 10. [Google Scholar] [CrossRef]
  12. Karabulut, H.; Sibert, E.L., III. Trigonometric discrete variable representations. J. Phys. B: At. Mol. Opt. Phys. 1997, 30, L513–L516. [Google Scholar] [CrossRef]
  13. Rampho, G.J. Lagrange-mesh solution of Faddeev integrodifferential equations. Few-Body Systems 2023, 64, 8. [Google Scholar] [CrossRef]
  14. Colbert, D.T.; Miller, W.H. A novel discrete variable representation for quantum mechanical reactive scattering via the S-matrix Kohn method. J. Chem. Phys. 1992, 96, 1982–1991. [Google Scholar] [CrossRef]
  15. Morse, P.M. Diatomic molecules according to the wave mechanics. II. Vibrational Levels. Phys. Rev. 1929, 34, 57–64. [Google Scholar] [CrossRef]
Figure 1. Plots of the shifted trigonometric Lagrange-Legendre functions for N = 4 . (a) a = b = 0 , (b) a = b = 1 / 2 .
Figure 1. Plots of the shifted trigonometric Lagrange-Legendre functions for N = 4 . (a) a = b = 0 , (b) a = b = 1 / 2 .
Preprints 193218 g001
Figure 3. (a) A plot of the exponential Lagrange-Legendre functions for N = 5 . (b) Comparison of the function g 1 ( x ) in (a) and its scaled version g ¯ 1 ( x ) for h = 2 .
Figure 3. (a) A plot of the exponential Lagrange-Legendre functions for N = 5 . (b) Comparison of the function g 1 ( x ) in (a) and its scaled version g ¯ 1 ( x ) for h = 2 .
Preprints 193218 g003
Figure 4. Plots of the exponential Lagrange-Chebyshev functions (a) of the first kind and (b) of the second kind, for N = 5 .
Figure 4. Plots of the exponential Lagrange-Chebyshev functions (a) of the first kind and (b) of the second kind, for N = 5 .
Preprints 193218 g004
Figure 5. Plot of the indicated special cases in (a), (b), and (c) of the hyperbolic Lagrange-Jacobi functions for N = 5 . (d) Comparison of the functions g 1 ( x ) in (a), (b), and (c).
Figure 5. Plot of the indicated special cases in (a), (b), and (c) of the hyperbolic Lagrange-Jacobi functions for N = 5 . (d) Comparison of the functions g 1 ( x ) in (a), (b), and (c).
Preprints 193218 g005
Table 1. The deference ϵ n between the numerical and the analytical eigenvalues of the simple harmonic oscillator for the states n = 0 , n = 5 , n = 10 , and n = 15 at different basis sizes N, with h = 15 fm. The notation p ( q ) p × 10 q is used.
Table 1. The deference ϵ n between the numerical and the analytical eigenvalues of the simple harmonic oscillator for the states n = 0 , n = 5 , n = 10 , and n = 15 at different basis sizes N, with h = 15 fm. The notation p ( q ) p × 10 q is used.
g ¯ i ( x ) N ϵ 0 ϵ 5 ϵ 10 ϵ 15
α = β = 0 20 8.86(-08) 2.28(-03) 8.19(-02) 1.71(-01)
a = b = 0 30 1.27(-14) 5.34(-11) 8.82(-07) 9.04(-04)
40 0.00(00) 6.66(-16) 1.28(-11) 1.05(-07)
50 0.00(00) 1.33(-15) 1.20(-11) 9.82(-08)
α = β = 1 2 20 1.67(-07) 4.05(-02) 4.26(-02) 1.90(-01)
a = b = 1 2 30 0.00(00) 9.17(-10) 8.11(-07) 6.44(-02)
40 9.21(-15) 3.11(-15) 1.34(-13) 3.45(-02)
50 1.42(-14) 6.66(-16) 1.19(-13) 4.58(-09)
α = β = 1 2 20 3.58(-08) 1.33(-03) 6.26(-02) 1.34(-01)
a = b = 0 30 2.00(-15) 1.73(-11) 3.27(-07) 4.89(-04)
40 1.42(-14) 1.67(-15) 2.17(-11) 1.76(-07)
50 1.89(-14) 5.11(-15) 1.85(-11) 1.49(-07)
Table 2. The relative errors ϵ n , expressed as y ( x ) y × 10 x , of the calculated eigenvalues of the first four odd states of the Morse potential as a function of the basis size N with h = 2 , and a = b = 0.5 for the (a) and (b) cases of the exponential Lagrange-Jacobi functions.
Table 2. The relative errors ϵ n , expressed as y ( x ) y × 10 x , of the calculated eigenvalues of the first four odd states of the Morse potential as a function of the basis size N with h = 2 , and a = b = 0.5 for the (a) and (b) cases of the exponential Lagrange-Jacobi functions.
N g ¯ i ( x ) ϵ 1 ϵ 3 ϵ 5 ϵ 7
(a) 8.32 (-03) 1.79 (-01) 2.95 (-01) 4.71 (-01)
20 (b) 9.33 (-03) 3.20 (-02) 3.42 (-01) 5.29 (-01)
(c) 6.78 (-03) 2.87 (-03) 2.51 (-01) 4.15 (-01)
(a) 1.75 (-05) 1.21 (-03) 1.62 (-03) 5.58 (-02)
30 (b) 3.24 (-05) 8.83 (-04) 1.24 (-02) 3.32 (-02)
(c) 7.13 (-06) 1.12 (-03) 6.23 (-03) 5.94 (-02)
(a) 3.95 (-09) 3.77 (-07) 2.45 (-05) 8.22 (-04)
40 (b) 4.54 (-09) 1.70 (-07) 7.31 (-05) 1.63 (-03)
(c) 2.67 (-09) 5.06 (-07) 3.70 (-06) 1.57 (-04)
(a) 6.61 (-14) 2.58 (-11) 3.46 (-09) 2.00 (-07)
50 (b) 6.19 (-11) 1.28 (-08) 1.02 (-06) 2.41 (-05)
(c) 4.48 (-14) 2.05 (-11) 2.83 (-09) 1.48 (-07)
(a) 7.97 (-16) 1.62 (-15) 6.54 (-15) 9.90 (-13)
60 (b) 1.80 (-12) 3.06 (-09) 8.44 (-08) 5.70 (-06)
(c) 1.59 (-16) 2.64 (-15) 1.10 (-14) 9.07 (-13)
(a) α = β = 0 , (b) α = β = 1 2 , and (c) α = β = 1 2 , a = b = 0 .
Table 3. The relative errors ϵ n of the calculated eigenvalues of the first four odd states of the one-dimensional harmonic oscillator as a function of the basis size N of the hyperbolic Lagrange-Jacobi functions at a fixed h = 4 .
Table 3. The relative errors ϵ n of the calculated eigenvalues of the first four odd states of the one-dimensional harmonic oscillator as a function of the basis size N of the hyperbolic Lagrange-Jacobi functions at a fixed h = 4 .
N g ¯ i ( x ) ϵ 1 ϵ 3 ϵ 5 ϵ 7
(a) 8.49 (-10) 3.30 (-07) 3.28 (-05) 8.50 (-04)
20 (b) 7.82 (-09) 6.18 (-07) 1.01 (-05) 9.29 (-04)
(c) 2.71 (-09) 3.93 (-07) 2.22 (-05) 3.86 (-04)
(a) 3.20 (-14) 8.22 (-12) 9.44 (-10) 4.92 (-08)
30 (b) 5.09 (-14) 9.72 (-12) 9.89 (-10) 4.51 (-08)
(c) 1.48 (-15) 9.33 (-13) 1.95 (-10) 1.22 (-08)
(a) 3.26 (-15) 7.61 (-16) 4.81 (-14) 6.01 (-12)
40 (b) 7.11 (-15) 1.27 (-16) 1.25 (-13) 9.71 (-12)
(c) 4.14 (-15) 1.65 (-15) 3.04 (-14) 1.05 (-12)
(a) 7.11 (-15) 3.43 (-15) 2.42 (-15) 4.74 (-15)
50 (b) 1.48 (-16) 2.54 (-16) 4.84 (-16) 7.11 (-16)
(c) 7.11 (-15) 1.02 (-15) 2.91 (-15) 4.74 (-16)
(a) 1.05 (-14) 5.08 (-15) 5.17 (-15) 5.92 (-16)
60 (b) 4.74 (-15) 6.09 (-15) 1.61 (-15) 1.89 (-15)
(c) 1.05 (-14) 5.08 (-15) 5.17 (-15) 5.92 (-16)
(a) α = β = 0 , (b) α = β = 1 2 , and (c) α = β = 1 2 .
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.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

Disclaimer

Terms of Use

Privacy Policy

Privacy Settings

© 2026 MDPI (Basel, Switzerland) unless otherwise stated