So, for your problem, the correct value of f(-1) is 1/e, not e.

Awesomesauce
Messages
24
Reaction score
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!
 
Physics news on Phys.org
You are jumping ahead of yourself in the choice of substitution. Rather than using the upper limit X of the definite integral, instead choose u = x^2 (where x is the variable of integration).
 
SteamKing said:
You are jumping ahead of yourself in the choice of substitution. Rather than using the upper limit X of the definite integral, instead choose u = x^2 (where x is the variable of integration).

Hurray I got it! Thank you x1000. But why do I not substitute the minus aswell, so u= -x^2? rather than just u=x^2
Edit: Checked over it, seems like it only works if I substitute u=-x^2 not u=x^2, ...or not? Confusion! :(
Do you know why my second part is wrong?
 
Last edited:
The substitution u = -x^2 is probably better.

I don't know why your second part is wrong because nothing of you work is shown.
 
Ah sorry, didn't make my workings clear. :p(ii) Find \int^{X}_{0} xe^{-x^{2}} dx for X= 1, 2, 3 and 4
I will just do X=1, so I understand how to do the others on my own later.

\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}} ]

Why do I not include brackets around -1? That would be -1 x 1, hence not (-1)^2 then in my calculator.

Thanks again :)
 
In evaluating e^-x^2, for x = 1,2,3,4, the convention is the value of x is squared before application of the minus sign. Similarly, if you were given the polynomial f(x) = -x^2+2x-4 to evaluate at x = -1, you would calculate as follows:

f(-1) = -[(-1)^2)] + 2*(-1) - 4 = -1-2-4 = -7
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top