PRODUCTS
Products Overview
Mathematica
Mathematica Student Edition
Mathematica Home Edition
Wolfram
CDF Player
(free download)
Computable Document Format (CDF)
web
Mathematica
grid
Mathematica
Wolfram
Workbench
Wolfram
SystemModeler
Wolfram
Finance Platform
Mathematica
Add-Ons
Wolfram|Alpha Products
SOLUTIONS
Solutions Overview
Engineering
Aerospace Engineering & Defense
Chemical Engineering
Control Systems
Electrical Engineering
Image Processing
Industrial Engineering
Materials Science
Mechanical Engineering
Operations Research
Optics
Petroleum Engineering
Biotechnology & Medicine
Bioinformatics
Medical Imaging
Finance, Statistics & Business Analysis
Actuarial Sciences
Data Analysis & Mining
Econometrics
Economics
Financial Engineering & Mathematics
Financial Risk Management
Statistics
Software Engineering & Content Delivery
Authoring & Publishing
Interface Development
Software Engineering
Web Development
Science
Astronomy
Biological Sciences
Chemistry
Environmental Sciences
Geosciences
Social & Behavioral Sciences
Design, Arts & Entertainment
Game Design, Special Effects & Generative Art
Education
STEM Education Initiative
Higher Education
Community & Technical College Education
Primary & Secondary Education
Students
Technology
Computable Document Format (CDF)
High-Performance & Parallel Computing (HPC)
See Also: Technology Guide
PURCHASE
Online Store
Other Ways to Buy
Volume & Site Licensing
Contact Sales
Software
Service
Upgrades
Training
Books
Merchandise
SUPPORT
Support Overview
Mathematica
Documentation
Knowledge Base
Learning Center
Technical Services
Community & Forums
Training
Does My Site Have a License?
Wolfram User Portal
COMPANY
About Wolfram Research
News
Events
Wolfram Blog
Partnerships
Employment Opportunities
History of
Mathematica
Stephen Wolfram's Home Page
Contact Us
OUR SITES
All Sites
Wolfram|Alpha
Demonstrations Project
MathWorld
Integrator
Wolfram Functions Site
Mathematica Journal
Wolfram Media
Wolfram
Tones
Wolfram Science
Stephen Wolfram
SEARCH MATHEMATICA 8 DOCUMENTATION
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE
DOCUMENTATION CENTER
FOR THE LATEST INFORMATION.
Mathematica
>
Mathematics and Algorithms
>
Mathematical Functions
>
Special Functions
>
Error and Exponential Integral Functions
>
Built-in
Mathematica
Symbol
Special Functions
Tutorials »
|
InverseErf
Erfc
Erfi
ExpIntegralE
ExpIntegralEi
FresnelC
FresnelS
NormalDistribution
GaussianMatrix
See Also »
|
Error and Exponential Integral Functions
Functions Used in Statistics
Mathematical Functions
Special Functions
More About »
Erf
Erf
[
z
]
gives the error function
.
Erf
[
z
0
,
z
1
]
gives the generalized error function
.
MORE INFORMATION
Mathematical function, suitable for both symbolic and numerical manipulation.
Erf
[
z
]
is the integral of the Gaussian distribution, given by
.
Erf
[
z
0
,
z
1
]
is given by
.
Erf
[
z
]
is an entire function of
z
with no branch cut discontinuities.
For certain special arguments,
Erf
automatically evaluates to exact values.
Erf
can be evaluated to arbitrary numerical precision.
Erf
automatically threads over lists.
EXAMPLES
CLOSE ALL
Basic Examples
(3)
Evaluate numerically:
Evaluate numerically:
In[1]:=
Out[1]=
In[1]:=
Out[1]=
In[1]:=
Out[1]=
Scope
(6)
Evaluate for complex arguments:
Evaluate to high precision:
The precision of the output tracks the precision of the input:
Erf
threads element-wise over lists:
Simple exact values are generated automatically:
Parity transformation is automatically applied:
Generalizations & Extensions
(3)
The two-argument form gives the difference:
Erf
can be applied to a power series:
Infinite arguments give symbolic results:
Applications
(2)
CDF of normal distribution:
Cumulative probabilities for values of normal random variable to lie between
-n
and
n
:
Solution of the heat equation for piecewise-constant initial condition:
A check that the solution fulfills the heat equation:
Plot of the solution for different times:
Properties & Relations
(5)
Compose with inverse functions:
Solve a transcendental equation:
Integrals:
Integral transforms:
Erf
appears in special cases of many mathematical functions:
Possible Issues
(3)
For large arguments, intermediate values may underflow:
The error function for large real-part arguments can be very close to 1:
Very large arguments can give unevaluated results:
Neat Examples
(1)
A neat continued fraction:
Its limit can be expressed through
Erf
:
SEE ALSO
InverseErf
Erfc
Erfi
ExpIntegralE
ExpIntegralEi
FresnelC
FresnelS
NormalDistribution
GaussianMatrix
TUTORIALS
Special Functions
RELATED LINKS
Demonstrations with Erf
(
Wolfram Demonstrations Project
)
MathWorld
The Wolfram Functions Site
NKS|Online
(
A New Kind of Science
)
MORE ABOUT
Error and Exponential Integral Functions
Functions Used in Statistics
Mathematical Functions
Special Functions
New in 1