Hermite Polynomial in LaTeX (H_n(x))

Hn(x)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.

Hn+1(x)=2xHn(x)−2nHn−1(x)H_{n+1}(x) = 2x H_n(x) - 2n H_{n-1}(x)
\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

All الدوال الخاصة →

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 poweredاكتب LaTeX باستخدام الذكاء الاصطناعي

أفضل محرر LaTeX بالذكاء الاصطناعي، بديل Overleaf

يساعد Octree الباحثين من أكثر من 15 جامعة على كتابة أوراق البحث بشكل أسرع باستخدام الذكاء الاصطناعي

  • أنشئ رسوم TikZ جميلة باستخدام الذكاء الاصطناعي
  • ارفع صورة وحولها إلى LaTeX بسلاسة
  • احصل على مساعدة فورية في كتابة وتنسيق أوراق البحث