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 특수 함수 →

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 poweredAI로 LaTeX 작성

최고의 AI LaTeX 편집기, Overleaf 대안

Octree는 15개 이상의 대학의 연구자들이 AI를 사용하여 논문을 더 빠르게 작성하도록 도움

  • AI로 아름다운 TikZ 다이어그램 생성
  • 이미지를 업로드하고 LaTeX로 원활하게 변환
  • 논문 작성 및 서식에 대한 즉각적인 지원 받기