Skip to content
Oakfield Operator Calculus Function Reference Site

q-Digamma Function

For 0<q<10 < q < 1, the q-Gamma function is

Γq(z)=(1q)1z(q;q)(qz;q),(a;q)=k=0(1aqk)\Gamma_q(z) = (1-q)^{1-z} \frac{(q;q)_\infty}{(q^{z}; q)_\infty}, \qquad (a;q)_\infty = \prod_{k=0}^{\infty} (1 - a q^{k})

The q-digamma function is defined as the logarithmic derivative

ψq(z)=ddzlogΓq(z)\psi_q(z) = \frac{d}{dz} \log \Gamma_q(z)

Meromorphic on C\mathbb{C} with simple poles at z=0,1,2,z = 0, -1, -2, \dots. Maps to C\mathbb{C}.


Series representation (absolutely convergent for 0<q<10<q<1):

ψq(z)=log(1q)+logqk=0qk+z1qk+z\psi_q(z) = -\log(1-q) + \log q \sum_{k=0}^{\infty} \frac{q^{k+z}}{1 - q^{k+z}}

Recurrence:

ψq(z+1)=ψq(z)qzlogq1qz\psi_q(z+1) = \psi_q(z) - \frac{q^{z}\log q}{1 - q^{z}}

  • Classical limit: as q1q \to 1^-, ψq(z)ψ(z)\psi_q(z) \to \psi(z) (the classical digamma).
  • At positive integers nn, ψq(n)\psi_q(n) can be expressed in terms of q-harmonic-type sums and log(1q)\log(1-q).

The limit q1q\to 1 recovers the classical digamma. q-polygamma functions arise from higher derivatives in zz. Many identities connect Γq\Gamma_q and ψq\psi_q to basic hypergeometric series and q-exponentials.


Oakfield includes q-digamma as part of its q-analog special-function suite:

  • Special function core implements sim_q_digamma and complex sim_q_digamma_complex, with “safe” variants returning diagnostic reports and supporting fallback handlers.
  • Lua API exposure: available as sim.qdigamma(x_or_complex, q) for q-series exploration and validation (currently not a built-in warp profile on its own).

q-analogs of gamma and digamma functions emerged from the development of q-calculus and basic hypergeometric series, providing deformations of classical special functions with geometric progression structure.

q-digamma functions are standard tools in q-series analysis and appear in deformed statistical and spectral models.


  • Gasper & Rahman, Basic Hypergeometric Series
  • Andrews, Askey, Roy, Special Functions