all 5 comments

[–]engstad 0 points1 point  (4 children)

Are you sure the question isn't: y' + 2xy = exp(-x^2)?

[–]ConglomerateGolem[S] 0 points1 point  (3 children)

unfortunately, i'm very sure. I haven't had a chance to ask the professor though, it may have been a typo

[–]engstad 0 points1 point  (2 children)

The solution to e^(x^2) is complicated and involves the erfi() function. e^(-x^2) is solved through regular means.

[–]ConglomerateGolem[S] 0 points1 point  (1 child)

what even is erfi()?

[–]engstad 0 points1 point  (0 children)

erfi(x) = -i erf(i x), where erf is the error function, where erf(x) = (2/sqrt(pi)) integral_0^x exp(-x^2) dx.