6
$\begingroup$

I am looking for functions and/or constants that when being integrated from minus infinity to infinity produce 1. I think the Dirac delta function is one example but perhaps there are some more? References on useful material is also greatly appreciated.

  • 2
    Too open-ended.2010-07-28
  • 0
    Of course the Dirac delta function is **not** a function in the sense used by those answering your question.2011-07-26
  • 0
    Pick any function such that $\int_{-\infty}^{+\infty} f(x)\,dx=L\in\Bbb R$. Then, $$g(x)=\frac{f(x)}{\int_{-\infty}^{+\infty}f(t)\,dt}$$ does what you want.2016-02-08
  • 0
    Pick any function $g$ such that $\int_{-\infty}^{+\infty} g(x)\,dx=L\in\Bbb R$. Then, $$f(x)=\frac{g(x)}{\int_{-\infty}^{+\infty}g(t)\,dt}$$ does what you want.2016-02-08

9 Answers 9

19

Any integrable functions that gives a finite nonzero answer can be modified to suit your need.

Suppose $\int f(x)dx=A$, then let $g(x)=f(x)/A$, automatically we have $\int g(x) dx=A/A=1$.

(Actually, all continuous probability distribution function must have this property.)

  • 0
    KennyTM: Thank you - the question remains what kind of integrals from -oo to oo give a finite nonzero answer?2010-07-28
  • 0
    A good place to start would be functions that tend towards 0 as they approach both positive and negative infinity.2010-07-28
  • 0
    @vonjd, this answer is accurate, but I want to emphasize one thing. It seems that all examples in this page are actually probability distributions. Though this is an interesting class of examples, these are by no means the only examples. For instance, the function $\frac{1}{\sqrt{2\pi}} (1+x) e^{-x^2}$ fits the requirements as well.2011-07-26
  • 0
    @vonjd Any $L^1$ function will do that ;)2013-08-11
9

This should be a comment but I cannot comment...

The Dirac delta function is not a function!

  • 0
    It is a linear functional, what do you mean not a function?2011-07-26
  • 4
    @Jonas: it is not a function $\mathbb R\to\mathbb R$, sense in which OP is obviously using the word.2011-07-26
7

Any function $f(x)$ which integrates to $1$ over any range $[a,b]$ fits this bill, since we can define $g(x)=f(x)$ on $[a,b]$, and $0$ everywhere else.

Even if you only want continuous functions, restricting ourselves above to $f(x)$ where $f(a)=f(b)=0$ still satisfies this.

If you want continuous functions strictly $>0$ everywhere, these are known as probability distributions (continuous on $[-\infty,\infty]$). A large list of such functions can be found here. A few more notable examples are:

5

One good example is the standard Gaussian distribution, $\phi(x) = \frac{1}{\sqrt{2\pi}} e^{-x^2/2}$. This is the most straightforward example of a continuous probability distribution function as mentioned by KennyTM above.

4

The function which is 1 on the interval [0;1], and 0 elsewhere, is a non-continuous probability distribution function. The function which is 3 on [0;1] and -1 on (1;3], and so on and on. What kind of answer do you want? What kind of properties do you want your functions to have?

There really are too many functions to list, since multiplying any function by a C^oo function with compact support and then applying Kenny's trick gives you an answer.

2

If you take any odd function $F$ differentiable on $\mathbb{R}$ and such that $F(x)\to l$ (with $l$ a nonzero real) for $x\to \infty$, then $f(x) = \frac{1}{2l}F'(x)$ statisfies your request. For example $F(x) = \operatorname{arctan}(x)$

2

Most practical mother wavelet have square norm 1.

$\int_{-\infty}^\infty |\psi(t)|^2 dt = 1$

2

$$\int_{-\infty}^{\infty}e^{-\pi[x-\sum_{k=1}^N A_k/(x+B_k)]^2}dx=1$$ for any positive numbers $A_k$ and any real numbers $B_k$ and any positive integer $N$. (Glasser, Math. Comp. Vol 40, p. 561 (1983))

1

I've got quite a few: $$f(x)=\frac{1}{2}e^{-|x|}$$

$$f(x)=\frac{1}{\sqrt \pi} e^{{-x}^2}$$

And on and on.

The point I am trying to prove it that any function $\phi$ such that $$\int_{-\infty}^\infty \phi(x)=B \text{ s.t. }$$

$$B\in\Bbb{R}$$

Can give yet another solution to your integral:

$$f(x)=\frac{1}{B}\phi(x)$$