Tool to calculate the values of the Dawson function (Dawson integral) F(x)=exp(-x^2) ∫_0^x exp(y^2) dy.
Dawson Function - dCode
Tag(s) : Functions
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
Dawson's function, noted $ F $ or $ D_+ $, also known as Dawson's integral, is a mathematical function defined as $$ F(x)= \exp(-x^2) \int_0^x \exp(y^2)\,\rm{d}y $$
Dawson's function is known to be a particular solution of the differential equation $ y'(x) + 2 x y(x) = 1 $
The formula for the Dawson function uses an integration, (hence the function is also like a Dawson integral).
It is possible to evaluate the function using an integer series expansion.
Taylor series in $ 0 $: $$ F(x) = \sum_{n=0}^{+\infty} \frac{(-2)^{n}}{1 \cdot 3 \cdot 5 \cdots (2n+1)} \, x^{2n+1} \\ = x - \frac{2}{3} x^3 + \frac{4}{15} x^{5} - \dots + O(x^{2n+1}) $$
Taylor series in $ +\infty $ : $$ F(x) = \frac{1}{2x} + \frac{1}{4x^3} + \frac{3}{8x^5} + \cdots + \frac{1 \cdot 3 \cdot 5 \cdots (2n-1)}{2^{n+1} x^{2n+1}} + O(x^{-2n-1}) $$
Example: $ F(1) \approx 0.53808 $
The notation $ D_{+}(x) $ for the Dawson function allows to differentiate it, from the symmetric Dawson function $$ D_{-}(x) = \exp(x^2) \int_0^x \exp(-y^2)\,\rm{d}y $$
Dawson's function shares a formula with the erf or erfi error functions $$ F(x)= \frac{\sqrt{\pi}}{2} \exp(-x^2) \operatorname{erfi}(x) = -i \frac{\sqrt{\pi}}{2} \exp(-x^2) \operatorname{erf}(ix) $$
Dawson's function is even, therefore symmetric, $ F(x) = -F(-x) $.
— $ F(0) = 0 $
— $ \lim_{x\to+\infty} F(x) = 0^+ $
— $ \lim_{x\to-\infty} F(x) = 0^- $
dCode retains ownership of the "Dawson Function" source code. Except explicit open source licence (indicated Creative Commons / free), the "Dawson Function" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or the "Dawson Function" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and all data download, script, or API access for "Dawson Function" are not public, same for offline use on PC, mobile, tablet, iPhone or Android app!
Reminder : dCode is free to use.
The copy-paste of the page "Dawson Function" or any of its results, is allowed (even for commercial purposes) as long as you credit dCode!
Exporting results as a .csv or .txt file is free by clicking on the export icon
Cite as source (bibliography):
Dawson Function on dCode.fr [online website], retrieved on 2024-11-18,