In ODE solutions Mathemathica uses Erf
and DawsonF
functions instead of the integral expressions they represent. How can I force Mathematica to show the integrals in its output? For example,
ClearAll[A];
A[x] /. DSolve[A'[x] == E^-x^2, A[x], x] /. C[1] -> 0
{1/2 Sqrt[π] Erf[x]}
But I would like to see the integral for Erf
.
Block
ingErf
andDawsonF
would not work. Perhaps usingInheritedBlock
to locally modifyIntegrate
's rules that have to do with the definition of those special functions could help? Look at the second part of this answer: mathematica.stackexchange.com/questions/34589/… $\endgroup$Erf[ ]
. $\endgroup$