gives the -Pochhammer symbol TemplateBox[{a, q, n}, QPochhammer].


gives the -Pochhammer symbol TemplateBox[{a, q}, QPochhammer2].


gives the -Pochhammer symbol TemplateBox[{q}, QPochhammer1].


  • Mathematical function, suitable for both symbolic and numerical manipulation.
  • TemplateBox[{a, q}, QPochhammer2]=product_(k=0)^infty(1-a q^k).
  • TemplateBox[{a, q, n}, QPochhammer]=TemplateBox[{a, q}, QPochhammer2]/TemplateBox[{{a,  , {q, ^, n}}, q}, QPochhammer2].
  • QPochhammer automatically threads over lists.


open allclose all

Basic Examples  (4)

Evaluate numerically:

Plot over a subset of the reals:

Plot over a subset of the complexes:

Series expansion at the origin:

Scope  (20)

Numerical Evaluation  (4)

Evaluate numerically:

Evaluate to high precision:

The precision of the output tracks the precision of the input:

Complex number inputs:

Evaluate efficiently at high precision:

Specific Values  (4)

Values of QPochhammer at fixed points:

QPochhammer for symbolic parameters:

Finite products evaluate for all Gaussian rational numbers:

Find the maximum of QPochhammer[x]:

Visualization  (2)

Plot the QPochhammer function:

Plot the real part of TemplateBox[{{x, +, {i,  , y}}, {1, /, 2}}, QPochhammer2]:

Plot the imaginary part of TemplateBox[{{x, +, {i,  , y}}, {1, /, 2}}, QPochhammer2]:

Function Properties  (9)

The real domain of TemplateBox[{x}, QPochhammer1]:

Approximate function range of TemplateBox[{x}, QPochhammer1]:

TemplateBox[{x}, QPochhammer1] is not an analytic function:

Has both singularities and discontinuities for x-1 or for x1:

TemplateBox[{x}, QPochhammer1] is neither nonincreasing nor nondecreasing:

QPochhammer is not injective:

QPochhammer is not surjective:

QPochhammer is neither non-negative nor non-positive:

QPochhammer is neither convex nor concave:

TraditionalForm formatting:

Series Expansions  (1)

Find the Taylor expansion using Series:

Plots of the first three approximations around :

Applications  (5)

-series are building blocks of other -factorial functions:

The -binomial theorem:

Build -analogs of sine and cosine:

Verify some analogs of the usual trigonometric identities:

Plot the functions:

-analog of :

-analog of :

Find RamanujanTau from its generating function, the modular discriminant:

Neat Examples  (2)

Hirschhorn's modular identity (TemplateBox[{q, q}, QPochhammer2])^5=TemplateBox[{{q, ^, 5}, {q, ^, 5}}, QPochhammer2] mod 5:

The boundary of the unit circle contains a dense subset of essential singularities of TemplateBox[{q}, QPochhammer1]:

Wolfram Research (2008), QPochhammer, Wolfram Language function, https://reference.wolfram.com/language/ref/QPochhammer.html.


Wolfram Research (2008), QPochhammer, Wolfram Language function, https://reference.wolfram.com/language/ref/QPochhammer.html.


Wolfram Language. 2008. "QPochhammer." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/QPochhammer.html.


Wolfram Language. (2008). QPochhammer. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/QPochhammer.html


@misc{reference.wolfram_2023_qpochhammer, author="Wolfram Research", title="{QPochhammer}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/QPochhammer.html}", note=[Accessed: 23-September-2023 ]}


@online{reference.wolfram_2023_qpochhammer, organization={Wolfram Research}, title={QPochhammer}, year={2008}, url={https://reference.wolfram.com/language/ref/QPochhammer.html}, note=[Accessed: 23-September-2023 ]}