Stuck trying to integrate e^-(x^2)/2

  • Thread starter Thread starter dooogle
  • Start date Start date
  • Tags Tags
    Integrate Stuck
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 38K views
dooogle
Messages
20
Reaction score
0

Homework Statement



find general solution of

dy/dx=xy+x

using integrating factor

Homework Equations



The Attempt at a Solution



rearange

dy/dx-xy=x

take integrating factor as
e^int(-x)=e^-(x^2)/2

multiply throughout

dy/dx(e^-(x^2)/2)y=(e^-(x^2)/2)x

integrate

e^-(x^2)/2*y=int (e^-(x^2)/2)*x dx

dont know how to integrate (e^-(x^2)/2)*x

cheers

dooogle
 
Physics news on Phys.org
dooogle said:

Homework Statement



find general solution of

dy/dx=xy+x

using integrating factor

Homework Equations



The Attempt at a Solution



rearange

dy/dx-xy=x

take integrating factor as
e^int(-x)=e^-(x^2)/2

multiply throughout

dy/dx(e^-(x^2)/2)y=(e^-(x^2)/2)x

integrate

e^-(x^2)/2*y=int (e^-(x^2)/2)*x dx

dont know how to integrate (e^-(x^2)/2)*x

An ordinary substitution can be used in this integral. Luckily you have that factor of x in the integrand.
[tex]\int xe^{\frac{-x^2}{2}} dx[/tex]
 
cheers for the help

i let u=-(x^2)/2

du/dx=-2x/2=-x

du=-x dx

so -int e^u du = int e^-(x^2)/2 dx

=-e^u =-e^-(x^2)/2 +c

dooogle
 
A few corrections...
dooogle said:
i let u=-(x^2)/2

du/dx=-2x/2=-x

du=-x dx

so -int e^u du = int e^-(x^2)/2 dx
It's the other way around, plus you left off the factor of x in the integral on the right.
[tex]\int xe^{\frac{-x^2}{2} dx ~=~ -\int e^u~du[/tex]
dooogle said:
=-e^u =-e^-(x^2)/2 +c
In the line above, the arbitrary constant comes in as soon as you have the antiderivative. Also, your 2nd exponential expression is not quite right.

This line should be
=-e^u + C = e^(-(x^2)/2) + C