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.
Editor LaTeX AI Terbaik, Alternatif Overleaf
Octree membantu peneliti dari 15+ universitas menulis makalah penelitian lebih cepat menggunakan AI
- Hasilkan diagram TikZ yang indah menggunakan AI
- Unggah gambar dan konversi ke LaTeX dengan mulus
- Dapatkan bantuan instan untuk menulis dan memformat makalah penelitian