Hermite Polynomial Calculator
Evaluating physicists' and probabilists' Hermite polynomials
Hermite polynomials appear whenever a problem naturally lives next to a Gaussian curve. That is why they show up in quantum harmonic oscillator wavefunctions, Gaussian derivatives, probability theory, spectral methods, and Gauss-Hermite quadrature. This calculator focuses on the practical Hermite task: given a degree n, a real input x, and a convention, it evaluates the corresponding polynomial value quickly and consistently. Instead of expanding a long Hermite polynomial by hand, the page uses the standard recurrence relations, which are convenient for moderate degrees and much easier to work with than raw coefficients.
The most important choice on this page is the Hermite convention. Many references use the physicists' family, written as Hn(x), while probability texts often use the probabilists' family, written as Hen(x). They are closely related, but they are not numerically identical. If you copy a formula from one source and evaluate it with the other convention, your answer can be off by a scaling factor or more. The form below makes that choice explicit so the result matches the textbook or paper you are using.
This Hermite polynomial page is most useful when you want a quick numeric check. You might be verifying a symbolic derivation, checking whether a suspected root really makes the polynomial vanish, comparing the two conventions at the same x, or building intuition before coding a larger model. In all of those cases, the calculator turns a notation-heavy expression into a simple workflow: choose the family, enter the degree, enter the evaluation point, and read off the value.
Hermite polynomial inputs: degree, x, and convention
For a Hermite polynomial, Degree n is the polynomial degree. It must be a non-negative integer: 0, 1, 2, 3, and so on. Degree 0 gives the constant polynomial 1. Degree 1 gives the first nontrivial linear case. Each step up in degree adds another layer of structure and, importantly, another real root. If you enter a negative value or a non-integer, the calculator rejects it because Hermite polynomials in this form are indexed by whole-number degree.
In a Hermite evaluation, x is the point where you want the polynomial evaluated. It can be any real number. In most applications, x is dimensionless because the physical or statistical variable has already been scaled into a normalized coordinate. That is why the form does not ask for units. If your original variable had units, make sure you do the scaling required by your formula before entering x here. The output has the same status: it is a polynomial value, not a measured physical unit by itself.
Polynomial convention tells the calculator whether to use the physicists' version or the probabilists' version. This is not a cosmetic label. For example, at degree 1 the physicists' polynomial is 2x, while the probabilists' polynomial is just x. At higher degrees the difference becomes even more noticeable, so it is worth pausing to confirm which notation your source uses before you click Evaluate.
If you are not sure which Hermite family you need, look at the first few terms in your reference. A formula that starts with H1(x) = 2x is using the physicists' convention. A formula that starts with He1(x) = x is using the probabilists' convention. That quick check often prevents an hour of confusion later.
Hermite recurrence formulas used by the calculator
This Hermite calculator evaluates values by recurrence. That approach avoids building huge coefficient lists and follows the same definitions used in standard references. The physicists' family starts with 1 and 2x, then generates higher degrees from the two previous values. The probabilists' family does the same, but with a different scaling.
The two Hermite conventions are linked by a simple scaling relation. If you know one family, you can convert it to the other. This is useful when a physics source and a probability source appear to disagree even though they are describing the same mathematical object in different normalization.
Two quick Hermite checks fall straight out of these formulas. First, all odd-degree Hermite polynomials vanish at x = 0, so if you enter an odd degree and zero for x, the result should be 0. Second, Hermite polynomials have parity: replacing x by -x flips the sign only when the degree is odd. Those checks are handy when you want to confirm that a result is plausible before using it elsewhere.
Why recurrence is used for Hermite evaluation
For this calculator, the recurrence starts from the two defining low-degree Hermite values and repeatedly keeps only the two preceding values needed for the next degree. The computation therefore depends specifically on the selected family, n, and x; it does not add unrelated inputs or use a weighted-sum model. As the degree rises, changes in either x or convention can produce substantially different values, so confirm both before comparing a result with another source.
Worked example: third-degree Hermite values at x = 1
For a concrete Hermite comparison, suppose you enter degree 3 and x = 1. If you choose the physicists' convention, the third Hermite polynomial is H3(x) = 8x3 - 12x. Evaluating at 1 gives 8 - 12 = -4. If you switch to the probabilists' convention, the third polynomial is He3(x) = x3 - 3x, which gives 1 - 3 = -2. Same degree, same input point, different convention, different numeric answer. That is exactly why the convention selector matters.
A second useful Hermite check is x = 0. For any odd degree, both conventions return 0 because the polynomial is odd. For even degree, the result is generally nonzero. These small test cases are good habits when you are debugging a formula or comparing code from two different sources.
| Degree n | Physicists' Hn(1) | Probabilists' Hen(1) | What to notice |
|---|---|---|---|
| 0 | 1 | 1 | Both families start from the same constant polynomial. |
| 1 | 2 | 1 | The normalization difference is visible immediately. |
| 2 | 2 | 0 | At the same input, one family can vanish while the other does not. |
| 3 | -4 | -2 | Odd degree preserves sign symmetry but not identical scaling. |
| 4 | -20 | -2 | Differences can grow quickly as the degree increases. |
How to interpret a Hermite polynomial value
A Hermite result reports the convention, the degree, the chosen value of x, and the computed polynomial value. Read that number as a direct evaluation of the selected Hermite polynomial at one point. It is not a probability, not an integral, and not a root list by itself. If your goal is to find a root, evaluate at several nearby x values and look for a sign change. If your goal is to compare conventions, keep n and x fixed while switching only the selector.
Magnitude matters for Hermite values too. Hermite polynomials can become large very quickly, especially for bigger degrees or larger absolute values of x. That is normal behavior, not necessarily an error. What should trigger a double-check is an input mismatch. For example, if your derivation uses a standardized variable but you enter an unscaled physical coordinate, the output may be mathematically correct for the entered number while still being useless for your application.
Another good Hermite interpretation habit is to think qualitatively before relying on the exact numeric value. Does the parity make sense? Is the sign consistent with nearby sample points? Does switching from physicists' to probabilists' roughly change the scale the way you expect? Those quick questions catch many mistakes faster than staring at a single large number.
Where Hermite polynomials are used
Hermite polynomial calculations arise in several recurring contexts. In physics, the polynomials appear in solutions to the quantum harmonic oscillator. In probability and statistics, the probabilists' family is tied to Gaussian moments and expansions. In numerical analysis, the roots of Hermite polynomials help define Gauss-Hermite quadrature nodes for integrating functions against a Gaussian weight. In signal processing and differential equations, derivatives of Gaussian-shaped functions often bring Hermite structure along with them.
Even if your own problem does not use those exact phrases, the Hermite pattern is similar: a Gaussian weight or a Gaussian-shaped state is present somewhere in the background, and Hermite polynomials are the natural basis that organizes the algebra. That is why the mini-game below focuses on roots and symmetry. The roots are not just decorative facts; they are part of why these polynomials matter in approximation methods and orthogonality arguments.
Assumptions and limits of this Hermite calculator
This Hermite calculator is numeric and intentionally focused. It assumes that n is a non-negative integer and that x is a finite real number. It does not symbolically simplify the polynomial, print all coefficients, or list every root for you. Instead, it evaluates the value directly from the recurrence relation. That makes the tool fast and reliable for ordinary use, but it also means it is not a full computer algebra system.
The page warns for degrees above 100 because floating-point overflow and loss of precision become increasingly likely. Hermite values can explode in size, and once that happens a browser calculator can only do so much. If you genuinely need very high degrees, arbitrary-precision software or a specialized numerical library is a better choice. For classroom work, routine engineering checks, and many probability examples, however, this calculator is a practical fit.
Finally, remember that a Hermite output is only as meaningful as the convention and scaling you feed into it. The mathematics on the page is exact for the chosen definitions, but your application may still depend on outside choices such as nondimensionalization, normalization of basis functions, or weight functions in an integral. In other words, the calculator gives the right number for the selected polynomial. Your job is to make sure it is the right polynomial for the problem you are solving.
Mini-game: Hermite Node Hunt
This optional canvas game turns a core Hermite idea into a quick challenge. Each round shows a Hermite curve and several glowing candidate points on the x-axis. Your job is to spot the point that is actually a root, meaning the place where the displayed polynomial crosses zero. Some rounds ask for a specific root such as the positive one closest to zero, so watching symmetry and convention pays off. The game does not change the calculator's math; it simply helps you build intuition for how degree and convention affect the curve.
Click Start game to begin a short Hermite root hunt.
