Hermite Polynomial in LaTeX (H_n(x))
- LaTeX command
H_n(x)- Package
- No package needed: built into LaTeX
- Mode
- Math mode only
Where it is used
Hermite polynomial of degree n, orthogonal on the real line with Gaussian weight.
Physicists' Hermite polynomials follow H_n(x) = (-1)^n e^{x^2} \frac{d^n}{dx^n} e^{-x^2}, starting 1, 2x, 4x^2 - 2, and they give the quantum harmonic oscillator eigenfunctions \psi_n \propto H_n(x) e^{-x^2/2}. Probabilists use a different normalization, written He_n(x), with weight e^{-x^2/2}; the two are related by rescaling, so note which family you mean. The recurrence is H_{n+1} = 2x H_n - 2n H_{n-1}. H also names entropy, the Heaviside step, and Hamiltonians, so a short definition helps readers.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\begin{document}
Hermite Polynomial: $H_n(x)$
\[ H_{n+1}(x) = 2x H_n(x) - 2n H_{n-1}(x) \]
\end{document}Related symbols
- Laguerre Polynomial
L_n(x) - Legendre Q
Q_n(x) - Chebyshev T
T_n(x) - Legendre P
P_n(x) - Chebyshev U
U_n(x) - Modified Bessel K
K_n(x)
Frequently asked questions
- How do I write Hermite Polynomial in LaTeX?
- Type H_n(x) in math mode, for example $H_{n+1}(x) = 2x H_n(x) - 2n H_{n-1}(x)$. It works in plain LaTeX without loading any package.
- Which package do I need for H_n(x)?
- None. H_n(x) is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use H_n(x) in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $H_n(x)$ in running text.
Math poweredAI로 LaTeX 작성
최고의 AI LaTeX 편집기, Overleaf 대안
Octree는 15개 이상의 대학의 연구자들이 AI를 사용하여 논문을 더 빠르게 작성하도록 도움
- AI로 아름다운 TikZ 다이어그램 생성
- 이미지를 업로드하고 LaTeX로 원활하게 변환
- 논문 작성 및 서식에 대한 즉각적인 지원 받기