This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


Dawson integral





dawson(X) represents the Dawson integral.


Dawson Integral for Numeric and Symbolic Arguments

Depending on its arguments, dawson returns floating-point or exact symbolic results.

Compute the Dawson integrals for these numbers. Because these numbers are not symbolic objects, dawson returns floating-point results.

A = dawson([-Inf, -3/2, -1, 0, 2, Inf])
A =
         0   -0.4282   -0.5381         0    0.3013         0

Compute the Dawson integrals for the numbers converted to symbolic objects. For many symbolic (exact) numbers, dawson returns unresolved symbolic calls.

symA = dawson(sym([-Inf, -3/2, -1, 0, 2, Inf]))
symA =
[ 0, -dawson(3/2), -dawson(1), 0, dawson(2), 0]

Use vpa to approximate symbolic results with floating-point numbers:

ans =
[ 0,...

Plot the Dawson Integral

Plot the Dawson integral on the interval from -10 to 10. Prior to R2016a, use ezplot instead of fplot.

syms x
fplot(dawson(x), [-10, 10])
grid on

Handle Expressions Containing Dawson Integral

Many functions, such as diff and limit, can handle expressions containing dawson.

Find the first and second derivatives of the Dawson integral:

syms x
diff(dawson(x), x)
diff(dawson(x), x, x)
ans =
1 - 2*x*dawson(x)
ans =
2*x*(2*x*dawson(x) - 1) - 2*dawson(x)

Find the limit of this expression involving dawson:

limit(x*dawson(x), Inf)
ans =

Input Arguments

collapse all

Input, specified as a symbolic number, variable, expression, or function, or as a vector or matrix of symbolic numbers, variables, expressions, or functions.

More About

collapse all

Dawson Integral

The Dawson integral, also called the Dawson function, is defined as follows:


Symbolic Math Toolbox™ uses this definition to implement dawson.

The alternative definition of the Dawson integral is



  • dawson(0) returns 0.

  • dawson(Inf) returns 0.

  • dawson(-Inf) returns 0.

See Also


Introduced in R2014a

Was this topic helpful?