Close
Close window
Mathieu Functions Examples - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


Home : Support : Online Help : Mathematics : Mathematical Functions : Mathieu Functions Examples
[フレーム] [フレーム]

Mathieu Functions

Mathieu functions appear frequently in physical problems involving elliptical shapes or periodic potentials. These functions were first introduced by Mathieu (1868) when analyzing the solutions to the equation y''+a2qcos2zy=0, which arises from the separation of the 2-D or 3-D wave equation modeling the motion of an elliptic membrane. The rational form of Mathieu's equation has two regular singularities and one irregular singularity; hence, Mathieu functions are perhaps the simplest class of special functions (Heun type), which are not essentially hypergeometric. The Maple implementation of Mathieu functions includes: MathieuC and MathieuS , representing the solution to Mathieu's equation; MathieuCE and MathieuSE representing the periodic cases; MathieuFloquet representing the Floquet type solutions, and the set of auxiliary functions MathieuA , MathieuB , and MathieuExponent relating the parameters (a,q) entering Mathieu's equation.

>

restart

The MathieuC and MathieuS Functions

The Mathieu functions MathieuC(a,q,z) and MathieuS(a,q,z) are linearly independent solutions of Mathieu's equation

ⅆ2ⅆz2yz+a2qcos2zyz

where a and q are arbitrary parameters. MathieuC and MathieuS are even and odd functions of z. The derivatives of MathieuC and MathieuS with respect to z are MathieuCPrime and MathieuSPrime, respectively. From this definition and the differential equation, the differentiation rules for MathieuCPrime and MathieuSPrimeare:

>

FunctionAdvisordifferentiation_rule,MathieuCPrime

ⅆⅆzMathieuCPrimea,b,z=2bcos2zaMathieuCa,b,z

(1.1)
>

FunctionAdvisordifferentiation_rule,MathieuSPrime

ⅆⅆzMathieuSPrimea,b,z=2bcos2zaMathieuSa,b,z

(1.2)

Special values for MathieuC and MathieuS:

>

FunctionAdvisorspecial_values,MathieuC

MathieuCa,0,z=cosaz,MathieuCa,b,0=1

(1.3)
>

FunctionAdvisorspecial_values,MathieuS

MathieuSa,0,z=sinaza,MathieuSa,b,0=0

(1.4)

For q0 and arbitrary values of the first parameter a, the Mathieu functions are not periodic in z. There exist, however, infinitely many particular values of a, commonly known as characteristic values, such that the Mathieu functions have period kπ, where k is a positive integer, corresponding to periodic solutions yz=ykπ+zto Mathieu's equation.

For general complex q0, when a is a characteristic value the Mathieu functions are entire functions of z and the only linearly independent periodic solutions to Mathieu's equation. When the period is π or 2π, then only one periodic solution exists, otherwise both even and odd periodic solutions exist. In summary, given some (a,q), three different situations can happen:

1. Neither MathieuC(a,q,z) nor MathieuS(a,q,z) is periodic;

2. Mathieu's equation admits a solution with period π or 2π and only one of MathieuC(a,q,z) or MathieuS(a,q,z) is periodic - the other one is not;

3. Mathieu's equation admits solutions with period 2nπ, where n >= 2 is a positive integer, and both MathieuC(a,q,z) and MathieuS(a,q,z) are periodic.

The MathieuFloquet Function and the Normalization for MathieuC and MathieuS

According to Floquet's theorem, in all three cases Mathieu's equation admits a solution of the form Fa,q,z=ⅇIνa,qzPz, called a Floquet solution, where νa,q is an arbitrary complex number, commonly known as a characteristic exponent, and Pz has the same periodicity as the coefficients of Mathieu's equation, namely π. From the invariance of Mathieu's equation under zz it follows that Fa,q,z is also a solution, which is linearly independent of Fa,q,z if and only if νa,q is not an integer.

The cases 1, 2, and 3 above respectively correspond to the cases νa,q not a rational number, νa,q an integer, and νa,q a proper rational number, respectively. In case 2, when νa,q is an integer, a is called a characteristic value. Then Fa,q,z and Fa,q,z are proportional and a second (non-periodic) independent solution is constructed as in 20.3.6 and 20.3.7 of "Handbook of Mathematical Functions." For further details, see also Chap. IV of "Theory and Applications of Mathieu Functions" (see references below). Moreover, the period is π if νa,q is even, and 2π otherwise.

The Maple functions MathieuFloquet(a,q,z) and MathieuFloquetPrime(a,q,z) represent the Floquet solution Fa,q,z and its derivative with respect to z, respectively. In Maple, MathieuFloquet is normalized so that the L2 norm of P(z) is equal to 2π , and MathieuC and MathieuS are defined in terms of MathieuFloquet, as follows.

>

MathieuCa,q,z=MathieuFloqueta,q,z+MathieuFloqueta,q,z2MathieuFloqueta,q,0;MathieuSa,q,z=MathieuFloqueta,q,zMathieuFloqueta,q,z2MathieuFloquetPrimea,q,0

MathieuCa,q,z=MathieuFloqueta,q,z+MathieuFloqueta,q,z2MathieuFloqueta,q,0

MathieuSa,q,z=MathieuFloqueta,q,zMathieuFloqueta,q,z2MathieuFloquetPrimea,q,0

(2.1)

This yields the following normalization for MathieuC and MathieuS.

>

MathieuCa,q,0=MathieuCa,q,0; MathieuCPrimea,q,0=MathieuCPrimea,q,0; MathieuSa,q,0=MathieuSa,q,0; MathieuSPrimea,q,0=MathieuSPrimea,q,0

MathieuCa,q,0=1

MathieuCPrimea,q,0=0

MathieuSa,q,0=0

MathieuSPrimea,q,0=1

(2.2)

Note: To obtain the result shown in (2.2), after typing MathieuCa,q,0=MathieuCa,q,0, Maple must be told not to evaluate the left hand side of the equation. This was accomplished by highlighting the first MathieuC and selecting 2-D Math>Convert To>Atomic Variable from the context menu. This was done for all four equations above. This method is used throughout the worksheet. An alternative way to accomplish this is to place unevaluation quotes (' ') around each name.

You have the following special cases when q = 0.

>

MathieuFloqueta,0,z=MathieuFloqueta,0,z;MathieuFloquetPrimea,0,z=MathieuFloquetPrimea,0,z

MathieuFloqueta,0,z=ⅇIaz

MathieuFloquetPrimea,0,z=IaⅇIaz

(2.3)

The Auxiliary Functions MathieuA, MathieuB, and MathieuExponent

Given (a,q), the characteristic exponent ν entering Floquet solutions is computed using MathieuExponent(a,q). Conversely, given(ν,q), the values of a entering Floquet solutions and so entering MathieuC(a,q,z) and MathieuS(a,q,z) - regardless of whether ν is rational and so regardless of whether the functions are periodic - are respectively computed using MathieuA(nu,q) and MathieuB(nu,q).Therefore, the values returned by MathieuA and MathieuB are characteristic values of the corresponding Mathieu function only when ν is a rational number and MathieuA and MathieuB return a different number only when ν is an integer (Case 2 in the itemization of section entitled, The MathieuC and MathieuS Functions).

The Mathieu Characteristic functions can be viewed as inverses of each other in that they satisfy: nu = MathieuExponent(MathieuA(nu,q),q) and nu = MathieuExponent(MathieuB(nu,q),q).

The Periodic Solutions MathieuCE and MathieuSE

For a non-negative integer ν, the even periodic solution corresponding to the νth characteristic value is given by MathieuCE(nu,q,z). Similarly, for positiveinteger ν, the odd periodic solution corresponding to the νth characteristic value is MathieuSE(nu,q,z). Their first derivatives with respect to z are MathieuCEPrime(nu,q,z) and MathieuSEPrime(nu,q,z), respectively. These even and odd periodic Mathieu functions are normalized to have L2 norm equal to π if 0<ν, and MathieuCE(0,q,z) is normalized to have L2 norm equal to 2π. The following equalities hold.

>

MathieuCE&nu;&comma;q&comma;z&equals;MathieuCE&nu;&comma;q&comma;0MathieuCMathieuA&nu;&comma;q&comma;q&comma;z&semi;MathieuSE&nu;&comma;q&comma;z&equals;MathieuSEPrime&nu;&comma;q&comma;0MathieuSMathieuB&nu;&comma;q&comma;q&comma;z

MathieuCEν&comma;q&comma;z=MathieuCEν&comma;q&comma;0MathieuCMathieuAν&comma;q&comma;q&comma;z

MathieuSEν&comma;q&comma;z=MathieuSEPrimeν&comma;q&comma;0MathieuSMathieuBν&comma;q&comma;q&comma;z

(4.1)

The even and odd periodic Mathieu functions assume the following special values for q = 0:

>

MathieuCE&nu;&comma;0&comma;z&equals;MathieuCE&nu;&comma;0&comma;z&semi;MathieuCEPrime&nu;&comma;0&comma;z&equals;MathieuCEPrime&nu;&comma;0&comma;z&semi;MathieuSE&nu;&comma;0&comma;z&equals;MathieuSE&nu;&comma;0&comma;z&semi;MathieuSEPrime&nu;&comma;0&comma;z&equals;MathieuSEPrime&nu;&comma;0&comma;z

MathieuCEν&comma;0&comma;z=cosνz

MathieuCEPrimeν&comma;0&comma;z=νsinνz

MathieuSEν&comma;0&comma;z=sinνz

MathieuSEPrimeν&comma;0&comma;z=νcosνz

(4.2)

Maple recognizes the symmetry and periodicity of MathieuCE and MathieuSE and their derivatives.

>

MathieuCE&nu;&comma;q&comma;z&equals;MathieuCE&nu;&comma;q&comma;z&semi;MathieuCEPrime&nu;&comma;q&comma;z&equals;MathieuCEPrime&nu;&comma;q&comma;z&semi;MathieuSE&nu;&comma;q&comma;z&equals;MathieuSE&nu;&comma;q&comma;z&semi;MathieuSEPrime&nu;&comma;q&comma;z&equals;MathieuSEPrime&nu;&comma;q&comma;z

MathieuCEν,q,z=MathieuCEν,q,z

MathieuCEPrimeν&comma;q&comma;z=MathieuCEPrimeν&comma;q&comma;z

MathieuSEν&comma;q&comma;z=MathieuSEν&comma;q&comma;z

MathieuSEPrimeν&comma;q&comma;z=MathieuSEPrimeν&comma;q&comma;z

(4.3)
>

MathieuCE&nu;&comma;q&comma;z&plus;2 &pi; &equals; MathieuCE&nu;&comma;q&comma;z&plus;2 &pi;&semi;MathieuSE&nu;&comma;q&comma;z&plus;2 &pi; &equals; MathieuSE&nu;&comma;q&comma;z&plus;2 &pi;&semi;MathieuCE&nu;&comma;q&comma;z&plus;&pi; assuming &nu;even&semi;MathieuSE&nu;&comma;q&comma;z&plus;&pi; assuming &nu;even

MathieuCEν&comma;q&comma;z+2π=MathieuCEν&comma;q&comma;z

MathieuSEν&comma;q&comma;z+2π=MathieuSEν&comma;q&comma;z

MathieuCEν&comma;q&comma;z

MathieuSEν&comma;q&comma;z

(4.4)

A Rational Form for Mathieu's Equation and the Relation with Spheroidal Wave Functions

A rational form of Mathieu's equation, showing the connection between Mathieu and spheroidal wave functions, is obtained by changing variables zarccosz.

>

&DifferentialD;&DifferentialD;z&DifferentialD;&DifferentialD;zyz&equals;z1z2&DifferentialD;&DifferentialD;zyz&plus;4z22qa1z2yz

&DifferentialD;2&DifferentialD;z2yz=z&DifferentialD;&DifferentialD;zyzz2+1+4z22qayzz2+1

(5.1)

Comparing the above with the ODE satisfied by the spheroidal wave functions

>

&DifferentialD;&DifferentialD;z&DifferentialD;&DifferentialD;zyz&equals;2b&plus;1z1z2 &DifferentialD;&DifferentialD;zyz&plus;4qz2c1z2yz

&DifferentialD;2&DifferentialD;z2yz=2b+2z&DifferentialD;&DifferentialD;zyzz2+1+4qz2cyzz2+1

(5.2)

you see that Mathieu's equation is the special case of the above when b&equals;12&comma;c&equals;a&plus;2q. This rational form of Mathieu's equation has two regular singular points at 1&comma;1 and one irregular singular point at . Therefore, Mathieu functions admit only hypergeometric representation for some particular values of the parameters (a,q).

Series Expansions

Series expansions with respect to the argument are Taylor expansions.

>

seriesMathieuCa&comma;q&comma;z&comma;z

1+qa2z2+124a216aq+16q213qz4+Oz6

(6.1)
>

seriesMathieuSa&comma;q&comma;z&comma;z&equals;1&comma;3

MathieuSa&comma;q&comma;1+MathieuSPrimea&comma;q&comma;1z1+qcos2a2MathieuSa&comma;q&comma;1z12+Oz13

(6.2)
>

MathieuCa&comma;q&comma;z&equals;MathieuFloqueta&comma;q&comma;z&plus;MathieuFloqueta&comma;q&comma;z2MathieuFloqueta&comma;q&comma;0

MathieuCa&comma;q&comma;z=MathieuFloqueta&comma;q&comma;z+MathieuFloqueta&comma;q&comma;z2MathieuFloqueta&comma;q&comma;0

(6.3)
>

mapseries&comma;&comma;z&comma;3

1+qa2z2+Oz4=1+qa2z2+Oz3

(6.4)
>

seriesMathieuCEa&comma;q&comma;z&comma;z&comma;3

MathieuCEa&comma;q&comma;0+qMathieuAa&comma;q2MathieuCEa&comma;q&comma;0z2+Oz3

(6.5)
>

seriesMathieuSEPrimea&comma;q&comma;z&comma;z&comma;3

MathieuSEPrimea&comma;q&comma;0+qMathieuBa&comma;q2MathieuSEPrimea&comma;q&comma;0z2+Oz3

(6.6)

Series expansions in the parameter q about 0 and asymptotic expansions are implemented for MathieuCE, MathieuSE, their derivatives, and the characteristic value functions. The series expansions about 0 require the first argument to be an integer, whereas for asymptotic expansions, the first parameter can be symbolic as well.

>

seriesMathieuCE1&comma;q&comma;z&comma;q&comma;3

cosz18cos3zq+cosz128cos3z64+cos5z192q2+Oq3

(6.7)
>

seriesMathieuSEPrime2&comma;q&comma;z&comma;q&comma;3

2cos2z13cos4zq+cos2z144+cos6z64q2+Oq3

(6.8)
>

seriesMathieuA3&comma;q&comma;q

9+116q2+164q3+1320480q4516384q5+Oq6

(6.9)
>

asymptMathieuSE1&comma;q&comma;z&comma;q&comma;1

sinz&ExponentialE;qcosz2HermiteH0&comma;q14cosz2π1423421q18+π14sinzHermiteH0&comma;q14cosz223432+234HermiteH2&comma;q14cosz264HermiteH4&comma;q14cosz2234512&ExponentialE;qcosz21q38+π14sinz27HermiteH0&comma;q14cosz22342048+5234HermiteH2&comma;q14cosz25129HermiteH4&comma;q14cosz22348192234HermiteH6&comma;q14cosz216384+HermiteH8&comma;q14cosz2234262144&ExponentialE;qcosz21q78+O1q

(6.10)
>

asymptMathieuBn&comma;q&comma;q&comma;3

2q+4n21qn122n2+14+332n2332n+132116n31q+11256n32565256n4+5128n3116n2q+2258192n+538192334096n5+1658192n41854096n3+1954096n21q32+141365536n29765536+18916384n56316384n6220565536n4+157532768n3143132768n2q2+206491048576n+39611048576527262144n76671262144n5+3689524288n6+482651048576n47613131072n3+11695262144n21q52+O1q3

(6.11)

Plots

The following plots are from "Handbook of Mathematical Functions" (see references below). Note that the Maple normalization of MathieuCE(0,q,z) differs from that in the referenced book by a factor of 2.

>

plotsetupinline&semi;plotMathieuA5n&comma;q&dollar;n&equals;0..5&comma;q&equals;0..15&comma;legend&equals;&apos;a||5n&apos;&dollar;n&equals;0..5

>

plotsetupinline&semi;plotMathieuB6n&comma;q&dollar;n&equals;1..5&comma;q&equals;0..15&comma;legend&equals;&apos;b||6n&apos;&dollar;n&equals;1..5

>

plotsetupinline&semi;plotMathieuCEn&comma;1&comma;z&dollar;n&equals;0..5&comma;z&equals;0..&pi;2&comma;title&equals;Even periodic Mathieu functions, q=1&comma;legend&equals;&apos;ce||n&apos;&dollar;n&equals;0..5

>

plotsetupinline&semi;plotMathieuSEn&comma;1&comma;z&dollar;n&equals;1..5&comma;z&equals;0..&pi;2&comma;title&equals;Odd periodic Mathieu functions, q=1&comma;legend&equals;&apos;se||n&apos;&dollar;n&equals;1..5

>

plotsetupinline&semi;plotMathieuCEn&comma;10&comma;z&dollar;n&equals;0..5&comma;z&equals;0..&pi;2&comma;title&equals;Even periodic Mathieu functions, q=10&comma;legend&equals;&apos;ce||n&apos;&dollar;n&equals;0..5

>

plotsetupinline&semi;plotMathieuSEn&comma;10&comma;z&dollar;n&equals;1..5&comma;z&equals;0..&pi;2&comma;title&equals;Odd periodic Mathieu functions, q=10&comma;legend&equals;&apos;se||n&apos;&dollar;n&equals;1..5

>

References

Abramowitz, M., and Stegun, I.A. Handbook of Mathematical Functions. Dover, 1965.

Frenkel, D., and Portugal, R. "Algebraic methods to compute Mathieu functions." Journal of Physics A: Mathematical and General, Vol. 34,(2001): 3541-3551.

McLachlan, N.W. Theory and Applications of Mathieu Functions. Oxford, 1951.

Return to Index for Example Worksheets


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /