Modified Bessel K in LaTeX (K_n(x))

Kn(x)K_n(x)
LaTeX command
K_n(x)
Package
No package needed: built into LaTeX
Mode
Math mode only

Where it is used

Modified Bessel function of the second kind, the decaying solution of the modified Bessel equation.

K_n, sometimes called the Macdonald function, decays like \sqrt{\pi/(2x)}\,e^{-x} for large x and blows up at the origin. It pairs with I_n as the two independent solutions of the modified Bessel equation. It appears in the Matern covariance kernel used in Gaussian processes, in the Yukawa potential in two dimensions, and in the normalizing constants of generalized inverse Gaussian distributions. Be careful: K(k) also denotes the complete elliptic integral and K_n the complete graph, so specify which K you mean when fields overlap.

Minimal compilable example

Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.

Kn(x)∼π2x e−x,x→∞K_n(x) \sim \sqrt{\frac{\pi}{2x}}\, e^{-x}, \quad x \to \infty
\documentclass{article}
\begin{document}
Modified Bessel K: $K_n(x)$

\[ K_n(x) \sim \sqrt{\frac{\pi}{2x}}\, e^{-x}, \quad x \to \infty \]
\end{document}

Related symbols

All Speciale Functies →

Frequently asked questions

How do I write Modified Bessel K in LaTeX?
Type K_n(x) in math mode, for example $K_n(x) \sim \sqrt{\frac{\pi}{2x}}\, e^{-x}, \quad x \to \infty$. It works in plain LaTeX without loading any package.
Which package do I need for K_n(x)?
None. K_n(x) is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use K_n(x) in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $K_n(x)$ in running text.
Math poweredSchrijf LaTeX met AI

Beste AI LaTeX Editor, Overleaf Alternatief

Octree helpt onderzoekers van 15+ universiteiten sneller onderzoeksartikelen schrijven met AI

  • Genereer mooie TikZ-diagrammen met AI
  • Upload afbeelding en converteer naadloos naar LaTeX
  • Krijg directe hulp bij het schrijven en opmaken van onderzoeksartikelen