QGamma[z,q]
gives the
-gamma function
.
QGamma
QGamma[z,q]
gives the
-gamma function
.
Details
- Mathematical function, suitable for both symbolic and numerical manipulation.
for
.
for
.- QGamma automatically threads over lists.
Examples
open all close allBasic Examples (3)
Scope (25)
Numerical Evaluation (6)
QGamma[.5, 1]QGamma[12, .8]N[QGamma[1 / 3, 6], 50]The precision of the output tracks the precision of the input:
QGamma[1.3330000000000000000000, 5]N[QGamma[.3 + I, 5 - I]]Evaluate efficiently at high precision:
QGamma[1 / 7, 82`100]//TimingQGamma[1 / 3, 56`10000];//TimingCompute average-case statistical intervals using Around:
QGamma[Around[3, 0.01], .5]Compute the elementwise values of an array:
QGamma[{{4, 2}, {2, 4}}, 1 / 2]Or compute the matrix QGamma function using MatrixFunction:
MatrixFunction[QGamma[#, 1 / 2]&, {{4, 2}, {2, 4}}]Specific Values (5)
Table[QGamma[x, 1 / 2], {x, 1, 4}]QGamma has a singularity at x=0:
QGamma[0, 5]Evaluate for symbolic x at integer and half-integer parameters:
QGamma[x, {-1 / 2, 1 / 2}]//FunctionExpandQGamma[x, 6]//FunctionExpandEvaluate for symbolic q at integer and half-integer parameters:
QGamma[{-1 / 2, 1 / 2}, q]//FunctionExpandQGamma[4, q]//FunctionExpandFind a value of x for which QGamma[x,2]=10:
xval = x /. N@Solve[QGamma[x, 2] == 10 && 0 < x < 2, x, Reals][[1]]//QuietPlot[QGamma[x, 2], {x, -0.5, 0.5}, Epilog -> Style[Point[{xval, QGamma[xval, 2]}], PointSize[Large], Red]]Visualization (3)
Plot the QGamma function:
Plot[QGamma[x, 1 / 2], {x, -2, 2}]Plot the QGamma as a function of its second parameter q:
Plot[{QGamma[1 / 4, q], QGamma[1 / 3, q], QGamma[1 / 2, q]}, {q, 0, 2}]ComplexContourPlot[Re[QGamma[z, 1 / 2]], {z, -4 - 4I, 4 + 4I}, Contours -> 20]ComplexContourPlot[Im[QGamma[z, 1 / 2]], {z, -4 - 4I, 4 + 4I}, Contours -> 20]Function Properties (9)
The real domain of QGamma:
FunctionDomain[QGamma[x, q], {x, q}]FunctionDomain[QGamma[z, q], {z, q}, Complexes]QGamma threads elementwise over lists:
QGamma[{1, 2, 3, 4, 5}, 1 / 10]FunctionAnalytic[QGamma[z, q], {z, q}]It has both singularities and discontinuities for
and for
:
FunctionSingularities[QGamma[z, q], z]FunctionDiscontinuities[QGamma[z, q], z]
is neither nonincreasing nor nondecreasing:
FunctionMonotonicity[QGamma[z, 1 / 5], z]FunctionInjective[QGamma[z, q], z, Assumptions -> q > 0]Plot[{QGamma[z, 1 / 5], 1.5}, {z, 0, 5}]FunctionSurjective[QGamma[z, q], z, Assumptions -> q > 0]Plot[{QGamma[z, 1 / 5], 0}, {z, -4, 4}]
is neither non-negative nor non-positive:
FunctionSign[QGamma[z, 1 / 5], z]QGamma is neither convex nor concave:
FunctionConvexity[QGamma[z, q], {q, z}]TraditionalForm formatting:
QGamma[n, q]//TraditionalFormDifferentiation (2)
The first derivative with respect to z:
D[QGamma[z, q], z]Higher derivatives with respect to z:
Table[D[QGamma[z, q], {z, k}], {k, 1, 3}]//FullSimplifyPlot the higher derivatives with respect to z when q=3:
Plot[Evaluate[% /. { q -> 3}], {z, -3, 3}, PlotLegends -> {"First Derivative", "Second Derivative", "Third Derivative"}]Applications (2)
Properties & Relations (1)
QGamma does not automatically produce polynomial symbolic answers; use FunctionExpand:
QGamma[7, q]//FunctionExpand% /. q -> 1See Also
Related Guides
Related Links
History
Text
Wolfram Research (2008), QGamma, Wolfram Language function, https://reference.wolfram.com/language/ref/QGamma.html.
CMS
Wolfram Language. 2008. "QGamma." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/QGamma.html.
APA
Wolfram Language. (2008). QGamma. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/QGamma.html
BibTeX
@misc{reference.wolfram_2026_qgamma, author="Wolfram Research", title="{QGamma}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/QGamma.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_qgamma, organization={Wolfram Research}, title={QGamma}, year={2008}, url={https://reference.wolfram.com/language/ref/QGamma.html}, note=[Accessed: 13-June-2026]}