# Mellin transform

In mathematics, the Mellin transform is an integral transform that may be regarded as the multiplicative version of the two-sided Laplace transform. This integral transform is closely connected to the theory of Dirichlet series, and is often used in number theory and the theory of asymptotic expansions; it is closely related to the Laplace transform and the Fourier transform, and the theory of the gamma function and allied special functions.

The Mellin transform of a function f is

$\left\{\mathcal{M}f\right\}(s) = \varphi(s)=\int_0^{\infty} x^{s-1} f(x)dx.$

The inverse transform is

$\left\{\mathcal{M}^{-1}\varphi\right\}(x) = f(x)=\frac{1}{2 \pi i} \int_{c-i \infty}^{c+i \infty} x^{-s} \varphi(s)\, ds.$

The notation implies this is a line integral taken over a vertical line in the complex plane. Conditions under which this inversion is valid are given in the Mellin inversion theorem.

The transform is named after the Finnish mathematician Hjalmar Mellin.

## Relationship to other transforms

The two-sided Laplace transform may be defined in terms of the Mellin transform by

$\left\{\mathcal{B} f\right\}(s) = \left\{\mathcal{M} f(-\ln x) \right\}(s)$

and conversely we can get the Mellin transform from the two-sided Laplace transform by

$\left\{\mathcal{M} f\right\}(s) = \left\{\mathcal{B} f(e^{-x})\right\}(s).$

The Mellin transform may be thought of as integrating using a kernel xs with respect to the multiplicative Haar measure, $\frac{dx}{x}$, which is invariant under dilation $x \mapsto ax$, so that $\frac{d(ax)}{ax} = \frac{dx}{x}$; the two-sided Laplace transform integrates with respect to the additive Haar measure $dx$, which is translation invariant, so that $d(x+a) = dx$.

We also may define the Fourier transform in terms of the Mellin transform and vice-versa; if we define the two-sided Laplace transform as above, then

$\left\{\mathcal{F} f\right\}(-s) = \left\{\mathcal{B} f\right\}(-is) = \left\{\mathcal{M} f(-\ln x)\right\}(-is).$

We may also reverse the process and obtain

$\left\{\mathcal{M} f\right\}(s) = \left\{\mathcal{B} f(e^{-x})\right\}(s) = \left\{\mathcal{F} f(e^{-x})\right\}(-is).$

The Mellin transform also connects the Newton series or binomial transform together with the Poisson generating function, by means of the Poisson–Mellin–Newton cycle.

## Examples

### Cahen–Mellin integral

For $c>0$, $\Re(y)>0$ and $y^{-s}$ on the principal branch, one has

$e^{-y}= \frac{1}{2\pi i} \int_{c-i\infty}^{c+i\infty} \Gamma(s) y^{-s}\;ds$

where $\Gamma(s)$ is the gamma function. This integral is known as the Cahen-Mellin integral.[1]

### Number theory

An important application in number theory includes the simple function $f(x)=\begin{cases} 0 & x < 1, \\ x^{a} & x > 1, \end{cases},$ for which

$\mathcal M f (s)= - \frac 1 {s+a}.$

## As a unitary operator on L2

In the study of Hilbert spaces, the Mellin transform is often posed in a slightly different way. For functions in $L^2(0,\infty)$ (see Lp space) the fundamental strip always includes $\tfrac{1}{2}+i\mathbb{R}$, so we may define a linear operator $\tilde{\mathcal{M}}$ as

$\tilde{\mathcal{M}}\colon L^2(0,\infty)\to L^2(-\infty,\infty), \{\tilde{\mathcal{M}}f\}(t) := \frac{1}{\sqrt{2\pi}}\int_0^{\infty} x^{\frac{1}{2}+it} f(x)\,\frac{dx}{x}.$

In other words we have set

$\{\tilde{\mathcal{M}}f\}(t):=\tfrac{1}{\sqrt{2\pi}}\{\mathcal{M}f\}(\tfrac{1}{2}+it).$

This operator is usually denoted by just plain $\mathcal{M}$ and called the "Mellin transform", but $\tilde{\mathcal{M}}$ is used here to distinguish from the definition used elsewhere in this article. The Mellin inversion theorem then shows that $\tilde{\mathcal{M}}$ is invertible with inverse

$\tilde{\mathcal{M}}^{-1}\colon L^2(-\infty,\infty) \to L^2(0,\infty), \{\tilde{\mathcal{M}}^{-1}\varphi\}(x) = \frac{1}{\sqrt{2\pi}}\int_{-\infty}^{\infty} x^{-(\frac{1}{2}+it)} \varphi(t)\,dt.$

Furthermore this operator is an isometry, that is to say $\|\tilde{\mathcal{M}} f\|_{L^2(-\infty,\infty)}=\|f\|_{L^2(0,\infty)}$ for all $f\in L^2(0,\infty)$ (this explains why the factor of $1/\sqrt{2\pi}$ was used). Thus $\tilde{\mathcal{M}}$ is a unitary operator.

## In probability theory

In probability theory Mellin transform is an essential tool in studying the distributions of products of random variables.[2] If X is a random variable, and X+ = max{X,0} denotes its positive part, while X − = max{−X,0} is its negative part, then the Mellin transform of X is defined as [3]

$\mathcal{M}_X(s) = \int_0^\infty x^s dF_{X^+}(x) + \gamma\int_0^\infty x^s dF_{X^-}(x),$

where γ is a formal indeterminate with γ2 = 1. This transform exists for all s in some complex strip D = {s: a ≤ Re(s) ≤ b}, where a ≤ 0 ≤ b.[3]

The Mellin transform $\scriptstyle\mathcal{M}_X(it)$ of a random variable X uniquely determines its distribution function FX.[3] The importance of the Mellin transform in probability theory lies in the fact that if X and Y are two independent random variables, then the Mellin transform of their products is equal to the product of the Mellin transforms of X and Y:[4]

$\mathcal{M}_{XY}(s) = \mathcal{M}_X(s)\mathcal{M}_Y(s)$

## Applications

The Mellin Transform is widely used in computer science for the analysis of algorithms because of its scale invariance property. The magnitude of the Mellin Transform of a scaled function is identical to the magnitude of the original function. This scale invariance property is analogous to the Fourier Transform's shift invariance property. The magnitude of a Fourier transform of a time-shifted function is identical to the original function.

This property is useful in image recognition. An image of an object is easily scaled when the object is moved towards or away from the camera.

## Examples

• Perron's formula describes the inverse Mellin transform applied to a Dirichlet series.
• The Mellin transform is used in analysis of the prime-counting function and occurs in discussions of the Riemann zeta function.
• Inverse Mellin transforms commonly occur in Riesz means.
• The Mellin transform can be used in Audio timescale-pitch modification (needs substantive reference).

## Notes

1. Hardy, G. H.; Littlewood, J. E. (1916). "Contributions to the Theory of the Riemann Zeta-Function and the Theory of the Distribution of Primes". 41 (1): 119–196. doi:10.1007/BF02422942.  (See notes therein for further references to Cahen's and Mellin's work, including Cahen's thesis.)
2. ^ a b c

## References

• Galambos, Janos; Simonelli, Italo (2004). Products of random variables: applications to problems of physics and to arithmetical functions. Marcel Dekker, Inc. ISBN 0-8247-5402-6.
• Paris, R. B.; Kaminski, D. (2001). Asymptotics and Mellin-Barnes Integrals. Cambridge University Press.
• Polyanin, A. D.; Manzhirov, A. V. (1998). Handbook of Integral Equations. Boca Raton: CRC Press. ISBN 0-8493-2876-4.
• Flajolet, P.; Gourdon, X.; Dumas, P. (1995). "Mellin transforms and asymptotics: Harmonic sums". Theoretical Computer Science 144 (1-2): 3–58.
• Tables of Integral Transforms at EqWorld: The World of Mathematical Equations.
• Hazewinkel, Michiel, ed. (2001), "Mellin transform", , Springer, ISBN 978-1-55608-010-4
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 34, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.3, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.854218065738678, "perplexity_flag": "head"}