3

I am relearning differential equation on my own, and came across a problem that gives the integral as erf function. Why is it defined in this way $\int{e^{-t^2}dt}=\frac{\sqrt{\pi}}{2}erf(t)+c$? I couldn't integrate it, and I am guessing it's not possible to integrate so that's why it's defined?

drerD
  • 589

2 Answers2

7

Imagine you're in a world where the $ \log $ function doesn't exist. How do you integrate $ \int 1/t \, dt $?

Here's one way: we simply define a function called $ \operatorname{plog} $ such that

$$ \operatorname{plog}(x) := \int_{1}^{x} \frac{1}{t} \, dt. $$

Then $ \int 1/t \, dt = \operatorname{plog}(t) + C $ and we can continue as we would in the world where $ \log $ exists but instead we have $ \operatorname{plog} $.

How about $ e^{-t^2} $? You're correct, it turns out it cannot be integrated in terms of so called "elementary" functions (combinations of: powers, roots, $\exp, \log, \sin, \cos, \sin^{-1}, \cos^{-1}, \ldots$). This can apparently be shown using the Risch Algorithm.

We therefore define a function called the error function by

$$ \operatorname{erf}(x) := \frac{2}{\sqrt{\pi}} \int_{0}^{x} e^{-t^2} \, dt, $$

so that, as you say, $\int{e^{-t^2}dt}=\frac{\sqrt{\pi}}{2}\operatorname{erf}(t)+C$. Then $ \operatorname{erf} $ can't be expressed in terms elementary functions, so we add it to our list of "non-elementary" functions which contains a bunch of other special functions that cannot be expressed in terms of the elementary functions. Examples include

Some non-elementary functions can't even be written in terms of an integral (these functions are called non-Liouvillian if that's the case). Examples of those are:

You might be wondering: what's with the funny $ \frac{2}{\sqrt{\pi}} $ out the front of the integral in the definition of $\operatorname{erf}$? That's a normalisation constant to ensure $ \operatorname{erf}(x) = \pm 1 $ as $x \to \pm \infty$, which is important to the statisticians and physicists, have a look here: Why is the error function defined as it is?

Ben
  • 2,774