Could someone tell me why Mathematica just returns the input with this expression:
Gamma[2z]
Gamma[2 z]
?
I expected this result:
$Γ(2z)=\frac{2^{2z-1}Γ(z)Γ(z+1/2)}{\sqrt\pi}$
Mathematica Stack Exchange is a question and answer site for users of Wolfram Mathematica. It only takes a minute to sign up.
Sign up to join this communityYou can use an undocumented internal function to for this purpose:
Simplify`GammaTuplicate[Gamma[2z], 2] //TeXForm
$\frac{2^{2 z-1} \Gamma (z) \Gamma \left(z+\frac{1}{2}\right)}{\sqrt{\pi }}$
Another example:
Simplify`GammaTuplicate[Gamma[3z], 3] //TeXForm
$\frac{3^{3 z-1/2} \Gamma (z) \Gamma \left(z+\frac{1}{3}\right) \Gamma \left(z+\frac{2}{3}\right)}{2 \pi }$
A top level way to look up the identity is through MathematicalFunctionData
:
identity = MathematicalFunctionData[Gamma, "MultipliedArgumentFormulas",
"IncludedSubexpressions" -> {Gamma[2 _]}][[1]];
Activate[identity[z]]
Gamma[2 z] == (2^(-1 + 2 z) Gamma[z] Gamma[1/2 + z])/Sqrt[\[Pi]]
An obscure way of getting the identity is to take backward and forward Mellin transforms and to mix in some hackery that prevent simplifications along the way:
Block[{Simplify`SimplifyGamma = # &},
MellinTransform[MeijerGReduce[InverseMellinTransform[Gamma[2 z], z, s], s], s, z]
]
(2^(-1 + 2 z) Gamma[z] Gamma[1/2 + z])/Sqrt[\[Pi]]
Gamma[2 z]
expanded in exactly this way? For example, it could also returnGamma[2 z - 1] (2 z - 1)
. Or any other identity involving the $\Gamma$-function (there are probably really many identities at least as interesting as the one you gave). What I tried to explain to you: i) Computers cannot read your mind and ii) Mathematica just doesn't work this way. $\endgroup$