Awesomesauce
- 24
- 0
Homework Statement
(i) find \int^{X}_{0} xe^{-x^{2}} dx in terms of X.
(ii) Find \int^{X}_{0} xe^{-x^{2}} dx for X= 1, 2, 3 and 4.
Homework Equations
-
The Attempt at a Solution
(i) \int^{X}_{0} xe^{-x^{2}}dx
-x^{2} = X
dX/dx=-2x hence -1/2 dX = xdx
so, -\frac{1}{2} \int^{X}_{0} e^{x} dx
then \frac{1}{2} [1 - e^{x^{2}} ]
Ok, here is the first problem I have encountered. For my answer, \frac{1}{2} [1 - e^{x^{2}} ], this is wrong according to wolfram and my textbook. the answer should be
\frac{1}{2} [1 - e^{-x^{2}} ], where there is a minus before the x^{2}. I can not think of how to come to this! :(
I assume substituting -x^{2} = X is correct, as that is what i normally do with standard u-substitution problems.
Ok, second part (ii) So this problem also applies to other problems as well with negative powers of x.
Using the answer the textbook got, I input, \frac{1}{2} [1 - e^{(-1)^{2}} ] and get -0.859. The answer should be 0.3161, and to get this I need to remove the brackets from (-1) hence\frac{1}{2} [1 - e^{-1^{2}} ]
I'm not sure if my brain is playing up and this is a stupid question, or my calculator; but I always thought you place brackets around the negative number when squaring hence -1 x -1 = 1... rather than -1. This problem also happens with other integration problems I have gone through. Someone help me!
Thanks for your time!