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. Any algorithm for the "Dawson Function" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "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.) or any database download or API access for "Dawson Function" or any other element are not public (except explicit open source licence like Creative Commons). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.
The content of the page "Dawson Function" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source.
Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).
To cite dCode.fr on another website, use the link:
In a scientific article or book, the recommended bibliographic citation is: Dawson Function on dCode.fr [online website], retrieved on 2025-04-16,