Phase-normalized Fricke functional equation (source code)

= Phase-normalized Fricke functional equation
{title2=$\Lambda_N(f,s)=\Lambda_N(i^kf|_kW_N,k-s)$}

For a weight-$k$ <cusp form> on $\Gamma_1(N)$, use the <determinant-normalized slash operator> and set $Jf=i^kf|_kW_N$, with $W_N=\begin{pmatrix}0&-1\\N&0\end{pmatrix}$. Then $J^2=1$. Define
$$
\Lambda_N(f,s)=\left(\frac{\sqrt N}{2\pi}\right)^s\Gamma(s)L(f,s).
$$
For $F(y)=f(iy/\sqrt N)$ and $G(y)=(Jf)(iy/\sqrt N)$, direct substitution in the <slash operator for modular forms> gives $F(y)=y^{-k}G(1/y)$. The <Mellin transform> and the change of variable $y\mapsto1/y$ therefore give
$$
\Lambda_N(f,s)=\Lambda_N(Jf,k-s).
$$
Both integrals are entire in $s$, by exponential <cusp form> decay at both endpoints after inversion. If $Jf=\varepsilon f$, then $\varepsilon\in\{1,-1\}$ and $\Lambda_N(f,s)=\varepsilon\Lambda_N(f,k-s)$. The factor $i^k$ is part of this phase convention; changing it changes the sign in the <functional equation>.