keisoku

Whittaker Function Calculator

Enter parameters kappa, mu and positive z to compute the first kind M and second kind W Whittaker functions via confluent hypergeometric functions.

Input

Enter the parameters kappa, mu and a positive argument z to compute the first kind M and second kind W using confluent hypergeometric functions.

Any real number

Avoid half integers

Positive real number

Result

First kind Whittaker function M

0.9356558772

at kappa = 0.5, mu = 0.3, z = 1.5

Second kind W

0.6069081668

Kummer M(a;b;z)

1.4320692

Tricomi U(a;b;z)

0.92890401

Parameter a

0.3

Parameter b

1.6

Series terms

19

Plot of M against z

The horizontal axis z runs from 0 to 4. The orange dot marks the value at the entered z.

M and W for varying z

Values at several z including the one you entered. The highlighted row matches your input.

zMW
0.333333330.375433520.56682783
0.666666670.5953220.64073994
10.756019010.64828497
1.333333330.881564430.62497989
1.50.935655880.60690817
1.666666670.985718080.5862098
21.07790020.54016182
2.333333331.165177690.49156066
2.666666671.253203350.44321278
31.34675660.39677672
3.333333331.450098320.35319354
3.666666671.567227340.31294561
41.702081370.27621981

How it works

  • The first kind is M_kappa,mu(z) = e^(-z/2) z^(mu+1/2) M(mu-kappa+1/2; 2mu+1; z), where M is the Kummer confluent hypergeometric function.
  • The second kind is W_kappa,mu(z) = e^(-z/2) z^(mu+1/2) U(mu-kappa+1/2; 2mu+1; z), where U is the Tricomi function.
  • The Kummer function M(a;b;z) is evaluated by the series sum (a)_n/(b)_n z^n/n!. This series converges for every complex z, but for large z intermediate terms can grow and cause loss of precision.
  • Only positive z is accepted. The tool does not compute for z less than or equal to zero.
  • When b = 2mu+1 is close to an integer (mu a half integer), the linking formula for U becomes singular, so the calculation is skipped. Shift mu slightly away from integers and half integers.
  • If the series fails to converge or the value overflows, an error is shown.
  • The gamma function is evaluated with the Lanczos approximation, so extreme parameters may carry larger numerical error.

Reviews

Tell us what you think of this calculator.

Write a review

  1. Home
  2. Whittaker Function Calculator