KelvinKei
Details
- Mathematical function, suitable for both symbolic and numerical manipulation.
- For positive real values of parameters,
. For other values,
is defined by analytic continuation. - KelvinKei[n,z] has a branch cut discontinuity in the complex z plane running from
to
. - KelvinKei[z] is equivalent to KelvinKei[0,z].
- For certain special arguments, KelvinKei automatically evaluates to exact values.
- KelvinKei can be evaluated to arbitrary numerical precision.
- KelvinKei automatically threads over lists.
Examples
open all close allBasic Examples (6)
KelvinKei[2.5]KelvinKei[2, 2.5]Plot
over a subset of the reals:
ReImPlot[KelvinKei[x], {x, 0, 5}]Plot over a subset of the complexes:
ComplexPlot3D[KelvinKei[3, z], {z, -2 - 2I, 2 + 2I}, PlotLegends -> Automatic]Series expansion at the origin:
Series[KelvinKei[x], {x, 0, 5}]Series expansion at Infinity:
Series[KelvinKei[x], {x, ∞, 2}]//FullSimplify//NormalSeries expansion at a singular point:
Series[KelvinKei[n, x], {x, -1, 2}, Assumptions -> x > 1]//FullSimplifyScope (34)
Numerical Evaluation (6)
KelvinKei[7.]KelvinKei[-1, .5]N[KelvinKei[-6, 8], 50]N[KelvinKei[2], 25]The precision of the output tracks the precision of the input:
KelvinKei[3, 0.20444444000555555008005]N[KelvinKei[2.7, 5 - I]]N[KelvinKei[I + 1.47, 5]]Evaluate efficiently at high precision:
KelvinKei[7, 5`100]//TimingKelvinKei[7, 5`1000];//TimingCompute average-case statistical intervals using Around:
KelvinKei[Around[1 / 9, 0.01]]Compute the elementwise values of an array:
KelvinKei[{{0, 1.2}, {1.2, 0}}]Or compute the matrix KelvinKei function using MatrixFunction:
MatrixFunction[KelvinKei, {{0, 1.2}, {1.2, 0}}]Specific Values (3)
KelvinKei[0]KelvinKei[2, 0]Find the first positive maximum of KelvinKei[0,x]:
xmax = x /. FindRoot[D[KelvinKei[0, x], x] == 0, {x, 5}]Plot[Re[KelvinKei[0, x]], {x, 0, 20}, Epilog -> Style[Point[{xmax, KelvinKei[0, xmax]}], PointSize[Large], Red]]For some half-integer orders, KelvinKei evaluates to the same elementary functions:
Table[KelvinKei[n, x Sqrt[2]], {n, {1 / 2, 3 / 2}}]//FunctionExpandVisualization (3)
Plot the KelvinKei function for integer (
) and half-integer (
) orders:
Plot[{KelvinKei[0, x], KelvinKei[1, x], KelvinKei[-1 / 2, x]}, {x, 0, 10}]ComplexContourPlot[Re[KelvinKei[0, z]], {z, -3 - 6I, 3 + 6I}, IconizedObject[«PlotOptions»]]ComplexContourPlot[Im[KelvinKei[0, z]], {z, -3 - 6I, 3 + 6I}, IconizedObject[«PlotOptions»]]ComplexContourPlot[Re[KelvinKei[-1 / 4, z]], {z, -3 - 6I, 3 + 6I}, IconizedObject[«PlotOptions»]]ComplexContourPlot[Im[KelvinKei[-1 / 4, z]], {z, -3 - 6I, 3 + 6I}, IconizedObject[«PlotOptions»]]Function Properties (11)
FunctionDomain[KelvinKei[0, x], x]FunctionDomain[KelvinKei[0, z], z, Complexes]
is defined for all real values greater than 0:
FunctionDomain[KelvinKei[-1 / 2, x], x]The complex domain is the whole plane except
:
FunctionDomain[KelvinKei[-1 / 2, z], z, Complexes]Approximate function range of
:
FunctionRange[KelvinKei[0, x], x, y]//N//QuietApproximate function range of
:
FunctionRange[KelvinKei[1, x], x, y]//QuietKelvinKei[n, x] == -KelvinKei[2 + n, x] - (Sqrt[2] (1 + n) (KelvinKei[1 + n, x] + KelvinKer[1 + n, x])/x)//FullSimplifyFunctionAnalytic[KelvinKei[n, z], z, Assumptions -> n∈Reals]KelvinKei is neither non-decreasing nor non-increasing:
Table[FunctionMonotonicity[KelvinKei[n, x], x, PositiveReals], {n, 4}]Table[FunctionMonotonicity[KelvinKei[1 / n, x], x, PositiveReals], {n, 4}]KelvinKei is not injective:
Table[FunctionInjective[KelvinKei[n, x], x], {n, 4}]Table[FunctionInjective[KelvinKei[1 / n, x], x], {n, 4}]Plot[{KelvinKei[1, x], KelvinKei[2, x], KelvinKei[1 / 3, x], .009}, {x, 0, 8}]KelvinKei is neither non-negative nor non-positive:
Table[FunctionSign[KelvinKei[n, x], x, PositiveReals], {n, 4}]
has both singularity and discontinuity for
:
FunctionSingularities[KelvinKei[n, x], x]FunctionDiscontinuities[KelvinKei[n, x], x]KelvinKei is neither convex nor concave:
Table[FunctionConvexity[{KelvinKei[a, x], x > 0}, x], {a, 5}]TraditionalForm formatting:
KelvinKei[n, x]//TraditionalFormDifferentiation (3)
The first derivative with respect to
:
D[KelvinKei[x], x]The first derivative with respect to
when
:
D[KelvinKei[1, x], x]Higher derivatives with respect to
:
Table[D[KelvinKei[x], {x, k}], {k, 1, 5}]//SimplifyPlot the higher derivatives with respect to
:
Plot[%, {x, 0, 5}, PlotLegends -> {"First Derivative", "Second Derivative", "Third Derivative", "Fourth Derivative", "Fifth Derivative"}]Formula for the ![]()
derivative with respect to
:
D[KelvinKei[x], {x, k}]// FullSimplifyIntegration (3)
Compute the indefinite integral using Integrate:
Integrate[KelvinKei[x], x]// FullSimplifyFullSimplify[D[%, x]]// FullSimplifyIntegrate[KelvinKei[x], {x, 0, 3}]Integrate[x KelvinKei[x]^2 , x]// FullSimplifyIntegrate[x^2KelvinKei[x], {x, 0, 10}]// FullSimplifySeries Expansions (5)
Find the Taylor expansion using Series:
Series[KelvinKei[n, x], {x, 0, 3}]Plots of the first three approximations around
:
terms = Normal@Table[Series[KelvinKei[x], {x, 0, m}], {m, 1, 5, 2}];
Plot[{KelvinKei[x], terms}, {x, 0, 6}]The general term in the series expansion using SeriesCoefficient:
SeriesCoefficient[KelvinKei[x], {x, 1, m}]//FullSimplifyFind the series expansion at Infinity:
Series[KelvinKei[x], {x, Infinity, 1}]//FullSimplifyFind the series expansion for an arbitrary symbolic direction
:
Series[KelvinKei[x], {x, DirectedInfinity[z], 1}, Assumptions -> x > 0 && z > 0]//Normal//FullSimplify//QuietThe Taylor expansion at a generic point:
Series[KelvinKei[x], {x, x0, 2}]//FullSimplifyGeneralizations & Extensions (1)
KelvinKei can be applied to a power series:
KelvinKei[1, Sin[x] + O[x] ^ 3]Applications (3)
Solve the Kelvin differential equation:
DSolve[x^4 Derivative[4][f][x] + 2 x^3 Derivative[3][f][x] - (1 + 2 n^2) (-x Derivative[1][f][x] + x^2 Derivative[2][f][x]) + (-4 n^2 + n^4 + x^4) f[x] == 0, f[x], x]Plot the radial density profile for alternating current within a hollow cylinder:
Plot[Abs[KelvinKer[0, r] + I KelvinKei[0, r]], {r, 1, 4}]For some values, expressions with MeijerG are represented with KelvinKei:
-(1/4) MeijerG[{{}, {(n/2)}}, {{-(n/4), (n/4), (-n + 2/4), (n + 2/4)}, {(n/2)}}, (x/4), (1/4)]//FullSimplifyProperties & Relations (5)
The one‐argument form evaluates to the two-argument form:
KelvinKei[x]Use FullSimplify to simplify expressions involving Kelvin functions:
D[x KelvinKei[1, Sqrt[2]x], x]FullSimplify[%]Use FunctionExpand to expand Kelvin functions of half-integer orders:
FunctionExpand[KelvinKei[1 / 2, x]]Integrate expressions involving Kelvin functions:
Integrate[x(KelvinKer[0, x]^2 + KelvinKei[0, x]^2), x]KelvinKei can be represented in terms of MeijerG:
MeijerGReduce[KelvinKei[n, x], x]Activate[%]//FullSimplifyTech Notes
Related Guides
Related Links
History
Text
Wolfram Research (2007), KelvinKei, Wolfram Language function, https://reference.wolfram.com/language/ref/KelvinKei.html.
CMS
Wolfram Language. 2007. "KelvinKei." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/KelvinKei.html.
APA
Wolfram Language. (2007). KelvinKei. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/KelvinKei.html
BibTeX
@misc{reference.wolfram_2026_kelvinkei, author="Wolfram Research", title="{KelvinKei}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/KelvinKei.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_kelvinkei, organization={Wolfram Research}, title={KelvinKei}, year={2007}, url={https://reference.wolfram.com/language/ref/KelvinKei.html}, note=[Accessed: 13-June-2026]}