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

  • Thread starter Thread starter dooogle
  • Start date Start date
  • Tags Tags
    Integrate Stuck
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.
\int xe^{\frac{-x^2}{2}} dx
 
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.
\int xe^{\frac{-x^2}{2} dx ~=~ -\int e^u~du
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
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top