Definite integral $int_0^infty e^{-y}e^{-xy}y^2dy$
$begingroup$
I successfully solved the following integral of $int _0^infty e^{-y}e^{-xy}y^2dy$ by using partial integration two times, which was pretty hell long, and since solving this integral was not the main issue in the exercise I was doing, I wondered if there's an easier way to integrate it. Is there?
Thanks!
(btw my result was $frac{2}{(x+1)^3}$)
P.S I am not familiar with gamma functions or anything beyond "common B.SC calculus".
calculus integration
$endgroup$
add a comment |
$begingroup$
I successfully solved the following integral of $int _0^infty e^{-y}e^{-xy}y^2dy$ by using partial integration two times, which was pretty hell long, and since solving this integral was not the main issue in the exercise I was doing, I wondered if there's an easier way to integrate it. Is there?
Thanks!
(btw my result was $frac{2}{(x+1)^3}$)
P.S I am not familiar with gamma functions or anything beyond "common B.SC calculus".
calculus integration
$endgroup$
$begingroup$
This integral looks very definite...
$endgroup$
– user
Jan 23 at 21:26
$begingroup$
@user I edited it to include limits to match the stated result. I'll fix the title.
$endgroup$
– J.G.
Jan 23 at 21:31
add a comment |
$begingroup$
I successfully solved the following integral of $int _0^infty e^{-y}e^{-xy}y^2dy$ by using partial integration two times, which was pretty hell long, and since solving this integral was not the main issue in the exercise I was doing, I wondered if there's an easier way to integrate it. Is there?
Thanks!
(btw my result was $frac{2}{(x+1)^3}$)
P.S I am not familiar with gamma functions or anything beyond "common B.SC calculus".
calculus integration
$endgroup$
I successfully solved the following integral of $int _0^infty e^{-y}e^{-xy}y^2dy$ by using partial integration two times, which was pretty hell long, and since solving this integral was not the main issue in the exercise I was doing, I wondered if there's an easier way to integrate it. Is there?
Thanks!
(btw my result was $frac{2}{(x+1)^3}$)
P.S I am not familiar with gamma functions or anything beyond "common B.SC calculus".
calculus integration
calculus integration
edited Jan 23 at 21:32
J.G.
30.1k23048
30.1k23048
asked Jan 23 at 21:08
superuser123superuser123
48628
48628
$begingroup$
This integral looks very definite...
$endgroup$
– user
Jan 23 at 21:26
$begingroup$
@user I edited it to include limits to match the stated result. I'll fix the title.
$endgroup$
– J.G.
Jan 23 at 21:31
add a comment |
$begingroup$
This integral looks very definite...
$endgroup$
– user
Jan 23 at 21:26
$begingroup$
@user I edited it to include limits to match the stated result. I'll fix the title.
$endgroup$
– J.G.
Jan 23 at 21:31
$begingroup$
This integral looks very definite...
$endgroup$
– user
Jan 23 at 21:26
$begingroup$
This integral looks very definite...
$endgroup$
– user
Jan 23 at 21:26
$begingroup$
@user I edited it to include limits to match the stated result. I'll fix the title.
$endgroup$
– J.G.
Jan 23 at 21:31
$begingroup$
@user I edited it to include limits to match the stated result. I'll fix the title.
$endgroup$
– J.G.
Jan 23 at 21:31
add a comment |
5 Answers
5
active
oldest
votes
$begingroup$
To prove by induction that $int_0^infty y^n e^{-zy}dy=frac{n!}{y^{n+1}}$ (for $Re z>0$), note that $$int_0^infty e^{-zy}dy=frac{1}{z},,int_0^infty y^{n+1} e^{-zy}dy=-partial_zint_0^infty y^{n+1} e^{-zy}dy.$$For your stated problem, you only need to differentiate the base case twice; the induction is in case you want to generalise it.
$endgroup$
$begingroup$
Well, that's interesting. Is this some kind of a known theorem?
$endgroup$
– superuser123
Jan 23 at 21:18
1
$begingroup$
@superuser123 en.wikipedia.org/wiki/Leibniz_integral_rule
$endgroup$
– J.G.
Jan 23 at 21:20
add a comment |
$begingroup$
begin{align}
int_0^infty e^{-(1+x)y}y^2dy &= frac{d^2}{dx^2}int_0^infty e^{-(1+x)y}dy
\
&= frac{d^2}{dx^2}frac{1}{(1+x)}e^{-(1+x)y}bigg|_0^infty
\
&= frac{d^2}{dx^2}frac{1}{(1+x)}
\
&= frac{2}{(1+x)^3}
end{align}
$endgroup$
$begingroup$
Thanks! can you please explain the first step? $int_0^infty e^{-(1+x)y}y^2dy =frac{d^2}{dx^2}int_0^infty e^{-(1+x)y}dy $
$endgroup$
– superuser123
Jan 24 at 7:40
1
$begingroup$
First, notice that $(1+x)$ is a constant with respect to the integral. Then notice that taking derivatives of the exponential with respect to $(1+x)$ or equivalently $x$ in this case will bring down factors of $y$ $$frac{d^2}{dx^2}e^{-(1+x)y} = e^{-(1+x)y} y^2$$ So you can say the integral is equal to $int_0^infty frac{d^2}{dx^2}e^{-(1+x)y}dy$. Roughly speaking then, since the integral doesn't depend on $x$, we can then interchange the order of integration and differentiation to get $$frac{d^2}{dx^2} int_0^infty e^{-(1+x)y}dy$$ This method is often referring to as Feynman's trick.
$endgroup$
– zahbaz
Jan 24 at 8:55
$begingroup$
Why does it bring down the factors of y? I just don't get it :(
$endgroup$
– superuser123
Jan 24 at 13:01
$begingroup$
Nothing fancy is going on. We're exploiting the properties of a derivative. Recall Calc I. The derivative of an exponential function is equal to the exponential times the derivative of its argument (i.e. chain rule applies). Consider these examples: $$frac{d}{dx} e^{ax} = a e^{ax}$$ $$frac{d^2}{dx^2} e^{ax} = a frac{d}{dx} e^{ax} = a^2 e^{ax}$$
$endgroup$
– zahbaz
Jan 24 at 20:43
add a comment |
$begingroup$
Since your questions are related to random variables, this answer uses an exponential RV to compute the integral. Note that for an exponential RV, $Y$, with pdf
$$f(y) = lambda e^{-lambda y}, quad lambda,y>0,$$
we have
$$E[Y] = frac{1}{lambda},$$
$$var(Y) = frac{1}{lambda^2} implies E[Y^2] = frac{2}{lambda^2}.$$
That is,
$$lambdaint_0^{infty} y^2 e^{-lambda y} dy = frac{2}{lambda^2} implies int_0^{infty} y^2 e^{-lambda y} dy = frac{2}{lambda^3}.$$
Can you guess $lambda$ in your problem?
$endgroup$
$begingroup$
How would you prove $E[Y^2]=2lambda^{-2}$ without evaluating the integral? (I'm guessing you'd use a moment-generating or characteristic function, but it's worth explaining in your answer.)
$endgroup$
– J.G.
Jan 23 at 21:21
$begingroup$
I am presuming that OP is aware of this relationship. I agree that calculating the variance itself requires evaluation of an integral. One approach is to use MGF to get $E[Y^n] = frac{n!}{lambda^n}$ which is quite easy to evaluate.
$endgroup$
– Math Lover
Jan 23 at 21:26
add a comment |
$begingroup$
$I(x) = int_0^{infty} e^{-y}e^{-xy}y^2 dy$
Integration under the integral
$I(x) = frac {d}{dx} int_0^{infty} e^{-y}y^2(int e^{-xy} dx) dy = frac {d}{dx}int_0^{infty} e^{-y(1+x)}y dy$
And one more time.
$I(x) = frac {d^2}{dx^2}int_0^{infty} e^{-y(1+x)} dy = frac {d^2}{dx^2}frac {1}{1+x} = frac {1}{2(1+x)^3}$
$endgroup$
add a comment |
$begingroup$
Try separating the integral like this
$$int _0^infty e^{-y(x+1)}y^2dy=int _0^1 e^{-y(x+1)}y^2dy+int _1^infty e^{-y(x+1)}y^2dy$$
you can see that the first integral is a proper one hence the integral converges.
For the second one try taking the cases when $x+1 lt0 $, $x+1 =0$ and $x+1 gt0$
for $x+1 gt0$ from $$lim_{yto infty}frac{e^{-y(x+1)}y^2}{frac{1}{y2}}=0$$ this implies that $$int _1^infty e^{-y(x+1)}y^2dyleint _1^infty frac{1}{y^2}dy$$
the last integral converges, from the comparison test so will the integral $int _1^infty e^{-y(x+1)}y^2dy$
Can you try the other cases?
$endgroup$
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3085082%2fdefinite-integral-int-0-infty-e-ye-xyy2dy%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
5 Answers
5
active
oldest
votes
5 Answers
5
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
To prove by induction that $int_0^infty y^n e^{-zy}dy=frac{n!}{y^{n+1}}$ (for $Re z>0$), note that $$int_0^infty e^{-zy}dy=frac{1}{z},,int_0^infty y^{n+1} e^{-zy}dy=-partial_zint_0^infty y^{n+1} e^{-zy}dy.$$For your stated problem, you only need to differentiate the base case twice; the induction is in case you want to generalise it.
$endgroup$
$begingroup$
Well, that's interesting. Is this some kind of a known theorem?
$endgroup$
– superuser123
Jan 23 at 21:18
1
$begingroup$
@superuser123 en.wikipedia.org/wiki/Leibniz_integral_rule
$endgroup$
– J.G.
Jan 23 at 21:20
add a comment |
$begingroup$
To prove by induction that $int_0^infty y^n e^{-zy}dy=frac{n!}{y^{n+1}}$ (for $Re z>0$), note that $$int_0^infty e^{-zy}dy=frac{1}{z},,int_0^infty y^{n+1} e^{-zy}dy=-partial_zint_0^infty y^{n+1} e^{-zy}dy.$$For your stated problem, you only need to differentiate the base case twice; the induction is in case you want to generalise it.
$endgroup$
$begingroup$
Well, that's interesting. Is this some kind of a known theorem?
$endgroup$
– superuser123
Jan 23 at 21:18
1
$begingroup$
@superuser123 en.wikipedia.org/wiki/Leibniz_integral_rule
$endgroup$
– J.G.
Jan 23 at 21:20
add a comment |
$begingroup$
To prove by induction that $int_0^infty y^n e^{-zy}dy=frac{n!}{y^{n+1}}$ (for $Re z>0$), note that $$int_0^infty e^{-zy}dy=frac{1}{z},,int_0^infty y^{n+1} e^{-zy}dy=-partial_zint_0^infty y^{n+1} e^{-zy}dy.$$For your stated problem, you only need to differentiate the base case twice; the induction is in case you want to generalise it.
$endgroup$
To prove by induction that $int_0^infty y^n e^{-zy}dy=frac{n!}{y^{n+1}}$ (for $Re z>0$), note that $$int_0^infty e^{-zy}dy=frac{1}{z},,int_0^infty y^{n+1} e^{-zy}dy=-partial_zint_0^infty y^{n+1} e^{-zy}dy.$$For your stated problem, you only need to differentiate the base case twice; the induction is in case you want to generalise it.
answered Jan 23 at 21:14
J.G.J.G.
30.1k23048
30.1k23048
$begingroup$
Well, that's interesting. Is this some kind of a known theorem?
$endgroup$
– superuser123
Jan 23 at 21:18
1
$begingroup$
@superuser123 en.wikipedia.org/wiki/Leibniz_integral_rule
$endgroup$
– J.G.
Jan 23 at 21:20
add a comment |
$begingroup$
Well, that's interesting. Is this some kind of a known theorem?
$endgroup$
– superuser123
Jan 23 at 21:18
1
$begingroup$
@superuser123 en.wikipedia.org/wiki/Leibniz_integral_rule
$endgroup$
– J.G.
Jan 23 at 21:20
$begingroup$
Well, that's interesting. Is this some kind of a known theorem?
$endgroup$
– superuser123
Jan 23 at 21:18
$begingroup$
Well, that's interesting. Is this some kind of a known theorem?
$endgroup$
– superuser123
Jan 23 at 21:18
1
1
$begingroup$
@superuser123 en.wikipedia.org/wiki/Leibniz_integral_rule
$endgroup$
– J.G.
Jan 23 at 21:20
$begingroup$
@superuser123 en.wikipedia.org/wiki/Leibniz_integral_rule
$endgroup$
– J.G.
Jan 23 at 21:20
add a comment |
$begingroup$
begin{align}
int_0^infty e^{-(1+x)y}y^2dy &= frac{d^2}{dx^2}int_0^infty e^{-(1+x)y}dy
\
&= frac{d^2}{dx^2}frac{1}{(1+x)}e^{-(1+x)y}bigg|_0^infty
\
&= frac{d^2}{dx^2}frac{1}{(1+x)}
\
&= frac{2}{(1+x)^3}
end{align}
$endgroup$
$begingroup$
Thanks! can you please explain the first step? $int_0^infty e^{-(1+x)y}y^2dy =frac{d^2}{dx^2}int_0^infty e^{-(1+x)y}dy $
$endgroup$
– superuser123
Jan 24 at 7:40
1
$begingroup$
First, notice that $(1+x)$ is a constant with respect to the integral. Then notice that taking derivatives of the exponential with respect to $(1+x)$ or equivalently $x$ in this case will bring down factors of $y$ $$frac{d^2}{dx^2}e^{-(1+x)y} = e^{-(1+x)y} y^2$$ So you can say the integral is equal to $int_0^infty frac{d^2}{dx^2}e^{-(1+x)y}dy$. Roughly speaking then, since the integral doesn't depend on $x$, we can then interchange the order of integration and differentiation to get $$frac{d^2}{dx^2} int_0^infty e^{-(1+x)y}dy$$ This method is often referring to as Feynman's trick.
$endgroup$
– zahbaz
Jan 24 at 8:55
$begingroup$
Why does it bring down the factors of y? I just don't get it :(
$endgroup$
– superuser123
Jan 24 at 13:01
$begingroup$
Nothing fancy is going on. We're exploiting the properties of a derivative. Recall Calc I. The derivative of an exponential function is equal to the exponential times the derivative of its argument (i.e. chain rule applies). Consider these examples: $$frac{d}{dx} e^{ax} = a e^{ax}$$ $$frac{d^2}{dx^2} e^{ax} = a frac{d}{dx} e^{ax} = a^2 e^{ax}$$
$endgroup$
– zahbaz
Jan 24 at 20:43
add a comment |
$begingroup$
begin{align}
int_0^infty e^{-(1+x)y}y^2dy &= frac{d^2}{dx^2}int_0^infty e^{-(1+x)y}dy
\
&= frac{d^2}{dx^2}frac{1}{(1+x)}e^{-(1+x)y}bigg|_0^infty
\
&= frac{d^2}{dx^2}frac{1}{(1+x)}
\
&= frac{2}{(1+x)^3}
end{align}
$endgroup$
$begingroup$
Thanks! can you please explain the first step? $int_0^infty e^{-(1+x)y}y^2dy =frac{d^2}{dx^2}int_0^infty e^{-(1+x)y}dy $
$endgroup$
– superuser123
Jan 24 at 7:40
1
$begingroup$
First, notice that $(1+x)$ is a constant with respect to the integral. Then notice that taking derivatives of the exponential with respect to $(1+x)$ or equivalently $x$ in this case will bring down factors of $y$ $$frac{d^2}{dx^2}e^{-(1+x)y} = e^{-(1+x)y} y^2$$ So you can say the integral is equal to $int_0^infty frac{d^2}{dx^2}e^{-(1+x)y}dy$. Roughly speaking then, since the integral doesn't depend on $x$, we can then interchange the order of integration and differentiation to get $$frac{d^2}{dx^2} int_0^infty e^{-(1+x)y}dy$$ This method is often referring to as Feynman's trick.
$endgroup$
– zahbaz
Jan 24 at 8:55
$begingroup$
Why does it bring down the factors of y? I just don't get it :(
$endgroup$
– superuser123
Jan 24 at 13:01
$begingroup$
Nothing fancy is going on. We're exploiting the properties of a derivative. Recall Calc I. The derivative of an exponential function is equal to the exponential times the derivative of its argument (i.e. chain rule applies). Consider these examples: $$frac{d}{dx} e^{ax} = a e^{ax}$$ $$frac{d^2}{dx^2} e^{ax} = a frac{d}{dx} e^{ax} = a^2 e^{ax}$$
$endgroup$
– zahbaz
Jan 24 at 20:43
add a comment |
$begingroup$
begin{align}
int_0^infty e^{-(1+x)y}y^2dy &= frac{d^2}{dx^2}int_0^infty e^{-(1+x)y}dy
\
&= frac{d^2}{dx^2}frac{1}{(1+x)}e^{-(1+x)y}bigg|_0^infty
\
&= frac{d^2}{dx^2}frac{1}{(1+x)}
\
&= frac{2}{(1+x)^3}
end{align}
$endgroup$
begin{align}
int_0^infty e^{-(1+x)y}y^2dy &= frac{d^2}{dx^2}int_0^infty e^{-(1+x)y}dy
\
&= frac{d^2}{dx^2}frac{1}{(1+x)}e^{-(1+x)y}bigg|_0^infty
\
&= frac{d^2}{dx^2}frac{1}{(1+x)}
\
&= frac{2}{(1+x)^3}
end{align}
answered Jan 23 at 21:29
zahbazzahbaz
8,43921937
8,43921937
$begingroup$
Thanks! can you please explain the first step? $int_0^infty e^{-(1+x)y}y^2dy =frac{d^2}{dx^2}int_0^infty e^{-(1+x)y}dy $
$endgroup$
– superuser123
Jan 24 at 7:40
1
$begingroup$
First, notice that $(1+x)$ is a constant with respect to the integral. Then notice that taking derivatives of the exponential with respect to $(1+x)$ or equivalently $x$ in this case will bring down factors of $y$ $$frac{d^2}{dx^2}e^{-(1+x)y} = e^{-(1+x)y} y^2$$ So you can say the integral is equal to $int_0^infty frac{d^2}{dx^2}e^{-(1+x)y}dy$. Roughly speaking then, since the integral doesn't depend on $x$, we can then interchange the order of integration and differentiation to get $$frac{d^2}{dx^2} int_0^infty e^{-(1+x)y}dy$$ This method is often referring to as Feynman's trick.
$endgroup$
– zahbaz
Jan 24 at 8:55
$begingroup$
Why does it bring down the factors of y? I just don't get it :(
$endgroup$
– superuser123
Jan 24 at 13:01
$begingroup$
Nothing fancy is going on. We're exploiting the properties of a derivative. Recall Calc I. The derivative of an exponential function is equal to the exponential times the derivative of its argument (i.e. chain rule applies). Consider these examples: $$frac{d}{dx} e^{ax} = a e^{ax}$$ $$frac{d^2}{dx^2} e^{ax} = a frac{d}{dx} e^{ax} = a^2 e^{ax}$$
$endgroup$
– zahbaz
Jan 24 at 20:43
add a comment |
$begingroup$
Thanks! can you please explain the first step? $int_0^infty e^{-(1+x)y}y^2dy =frac{d^2}{dx^2}int_0^infty e^{-(1+x)y}dy $
$endgroup$
– superuser123
Jan 24 at 7:40
1
$begingroup$
First, notice that $(1+x)$ is a constant with respect to the integral. Then notice that taking derivatives of the exponential with respect to $(1+x)$ or equivalently $x$ in this case will bring down factors of $y$ $$frac{d^2}{dx^2}e^{-(1+x)y} = e^{-(1+x)y} y^2$$ So you can say the integral is equal to $int_0^infty frac{d^2}{dx^2}e^{-(1+x)y}dy$. Roughly speaking then, since the integral doesn't depend on $x$, we can then interchange the order of integration and differentiation to get $$frac{d^2}{dx^2} int_0^infty e^{-(1+x)y}dy$$ This method is often referring to as Feynman's trick.
$endgroup$
– zahbaz
Jan 24 at 8:55
$begingroup$
Why does it bring down the factors of y? I just don't get it :(
$endgroup$
– superuser123
Jan 24 at 13:01
$begingroup$
Nothing fancy is going on. We're exploiting the properties of a derivative. Recall Calc I. The derivative of an exponential function is equal to the exponential times the derivative of its argument (i.e. chain rule applies). Consider these examples: $$frac{d}{dx} e^{ax} = a e^{ax}$$ $$frac{d^2}{dx^2} e^{ax} = a frac{d}{dx} e^{ax} = a^2 e^{ax}$$
$endgroup$
– zahbaz
Jan 24 at 20:43
$begingroup$
Thanks! can you please explain the first step? $int_0^infty e^{-(1+x)y}y^2dy =frac{d^2}{dx^2}int_0^infty e^{-(1+x)y}dy $
$endgroup$
– superuser123
Jan 24 at 7:40
$begingroup$
Thanks! can you please explain the first step? $int_0^infty e^{-(1+x)y}y^2dy =frac{d^2}{dx^2}int_0^infty e^{-(1+x)y}dy $
$endgroup$
– superuser123
Jan 24 at 7:40
1
1
$begingroup$
First, notice that $(1+x)$ is a constant with respect to the integral. Then notice that taking derivatives of the exponential with respect to $(1+x)$ or equivalently $x$ in this case will bring down factors of $y$ $$frac{d^2}{dx^2}e^{-(1+x)y} = e^{-(1+x)y} y^2$$ So you can say the integral is equal to $int_0^infty frac{d^2}{dx^2}e^{-(1+x)y}dy$. Roughly speaking then, since the integral doesn't depend on $x$, we can then interchange the order of integration and differentiation to get $$frac{d^2}{dx^2} int_0^infty e^{-(1+x)y}dy$$ This method is often referring to as Feynman's trick.
$endgroup$
– zahbaz
Jan 24 at 8:55
$begingroup$
First, notice that $(1+x)$ is a constant with respect to the integral. Then notice that taking derivatives of the exponential with respect to $(1+x)$ or equivalently $x$ in this case will bring down factors of $y$ $$frac{d^2}{dx^2}e^{-(1+x)y} = e^{-(1+x)y} y^2$$ So you can say the integral is equal to $int_0^infty frac{d^2}{dx^2}e^{-(1+x)y}dy$. Roughly speaking then, since the integral doesn't depend on $x$, we can then interchange the order of integration and differentiation to get $$frac{d^2}{dx^2} int_0^infty e^{-(1+x)y}dy$$ This method is often referring to as Feynman's trick.
$endgroup$
– zahbaz
Jan 24 at 8:55
$begingroup$
Why does it bring down the factors of y? I just don't get it :(
$endgroup$
– superuser123
Jan 24 at 13:01
$begingroup$
Why does it bring down the factors of y? I just don't get it :(
$endgroup$
– superuser123
Jan 24 at 13:01
$begingroup$
Nothing fancy is going on. We're exploiting the properties of a derivative. Recall Calc I. The derivative of an exponential function is equal to the exponential times the derivative of its argument (i.e. chain rule applies). Consider these examples: $$frac{d}{dx} e^{ax} = a e^{ax}$$ $$frac{d^2}{dx^2} e^{ax} = a frac{d}{dx} e^{ax} = a^2 e^{ax}$$
$endgroup$
– zahbaz
Jan 24 at 20:43
$begingroup$
Nothing fancy is going on. We're exploiting the properties of a derivative. Recall Calc I. The derivative of an exponential function is equal to the exponential times the derivative of its argument (i.e. chain rule applies). Consider these examples: $$frac{d}{dx} e^{ax} = a e^{ax}$$ $$frac{d^2}{dx^2} e^{ax} = a frac{d}{dx} e^{ax} = a^2 e^{ax}$$
$endgroup$
– zahbaz
Jan 24 at 20:43
add a comment |
$begingroup$
Since your questions are related to random variables, this answer uses an exponential RV to compute the integral. Note that for an exponential RV, $Y$, with pdf
$$f(y) = lambda e^{-lambda y}, quad lambda,y>0,$$
we have
$$E[Y] = frac{1}{lambda},$$
$$var(Y) = frac{1}{lambda^2} implies E[Y^2] = frac{2}{lambda^2}.$$
That is,
$$lambdaint_0^{infty} y^2 e^{-lambda y} dy = frac{2}{lambda^2} implies int_0^{infty} y^2 e^{-lambda y} dy = frac{2}{lambda^3}.$$
Can you guess $lambda$ in your problem?
$endgroup$
$begingroup$
How would you prove $E[Y^2]=2lambda^{-2}$ without evaluating the integral? (I'm guessing you'd use a moment-generating or characteristic function, but it's worth explaining in your answer.)
$endgroup$
– J.G.
Jan 23 at 21:21
$begingroup$
I am presuming that OP is aware of this relationship. I agree that calculating the variance itself requires evaluation of an integral. One approach is to use MGF to get $E[Y^n] = frac{n!}{lambda^n}$ which is quite easy to evaluate.
$endgroup$
– Math Lover
Jan 23 at 21:26
add a comment |
$begingroup$
Since your questions are related to random variables, this answer uses an exponential RV to compute the integral. Note that for an exponential RV, $Y$, with pdf
$$f(y) = lambda e^{-lambda y}, quad lambda,y>0,$$
we have
$$E[Y] = frac{1}{lambda},$$
$$var(Y) = frac{1}{lambda^2} implies E[Y^2] = frac{2}{lambda^2}.$$
That is,
$$lambdaint_0^{infty} y^2 e^{-lambda y} dy = frac{2}{lambda^2} implies int_0^{infty} y^2 e^{-lambda y} dy = frac{2}{lambda^3}.$$
Can you guess $lambda$ in your problem?
$endgroup$
$begingroup$
How would you prove $E[Y^2]=2lambda^{-2}$ without evaluating the integral? (I'm guessing you'd use a moment-generating or characteristic function, but it's worth explaining in your answer.)
$endgroup$
– J.G.
Jan 23 at 21:21
$begingroup$
I am presuming that OP is aware of this relationship. I agree that calculating the variance itself requires evaluation of an integral. One approach is to use MGF to get $E[Y^n] = frac{n!}{lambda^n}$ which is quite easy to evaluate.
$endgroup$
– Math Lover
Jan 23 at 21:26
add a comment |
$begingroup$
Since your questions are related to random variables, this answer uses an exponential RV to compute the integral. Note that for an exponential RV, $Y$, with pdf
$$f(y) = lambda e^{-lambda y}, quad lambda,y>0,$$
we have
$$E[Y] = frac{1}{lambda},$$
$$var(Y) = frac{1}{lambda^2} implies E[Y^2] = frac{2}{lambda^2}.$$
That is,
$$lambdaint_0^{infty} y^2 e^{-lambda y} dy = frac{2}{lambda^2} implies int_0^{infty} y^2 e^{-lambda y} dy = frac{2}{lambda^3}.$$
Can you guess $lambda$ in your problem?
$endgroup$
Since your questions are related to random variables, this answer uses an exponential RV to compute the integral. Note that for an exponential RV, $Y$, with pdf
$$f(y) = lambda e^{-lambda y}, quad lambda,y>0,$$
we have
$$E[Y] = frac{1}{lambda},$$
$$var(Y) = frac{1}{lambda^2} implies E[Y^2] = frac{2}{lambda^2}.$$
That is,
$$lambdaint_0^{infty} y^2 e^{-lambda y} dy = frac{2}{lambda^2} implies int_0^{infty} y^2 e^{-lambda y} dy = frac{2}{lambda^3}.$$
Can you guess $lambda$ in your problem?
edited Jan 23 at 21:31
answered Jan 23 at 21:20
Math LoverMath Lover
14.1k31437
14.1k31437
$begingroup$
How would you prove $E[Y^2]=2lambda^{-2}$ without evaluating the integral? (I'm guessing you'd use a moment-generating or characteristic function, but it's worth explaining in your answer.)
$endgroup$
– J.G.
Jan 23 at 21:21
$begingroup$
I am presuming that OP is aware of this relationship. I agree that calculating the variance itself requires evaluation of an integral. One approach is to use MGF to get $E[Y^n] = frac{n!}{lambda^n}$ which is quite easy to evaluate.
$endgroup$
– Math Lover
Jan 23 at 21:26
add a comment |
$begingroup$
How would you prove $E[Y^2]=2lambda^{-2}$ without evaluating the integral? (I'm guessing you'd use a moment-generating or characteristic function, but it's worth explaining in your answer.)
$endgroup$
– J.G.
Jan 23 at 21:21
$begingroup$
I am presuming that OP is aware of this relationship. I agree that calculating the variance itself requires evaluation of an integral. One approach is to use MGF to get $E[Y^n] = frac{n!}{lambda^n}$ which is quite easy to evaluate.
$endgroup$
– Math Lover
Jan 23 at 21:26
$begingroup$
How would you prove $E[Y^2]=2lambda^{-2}$ without evaluating the integral? (I'm guessing you'd use a moment-generating or characteristic function, but it's worth explaining in your answer.)
$endgroup$
– J.G.
Jan 23 at 21:21
$begingroup$
How would you prove $E[Y^2]=2lambda^{-2}$ without evaluating the integral? (I'm guessing you'd use a moment-generating or characteristic function, but it's worth explaining in your answer.)
$endgroup$
– J.G.
Jan 23 at 21:21
$begingroup$
I am presuming that OP is aware of this relationship. I agree that calculating the variance itself requires evaluation of an integral. One approach is to use MGF to get $E[Y^n] = frac{n!}{lambda^n}$ which is quite easy to evaluate.
$endgroup$
– Math Lover
Jan 23 at 21:26
$begingroup$
I am presuming that OP is aware of this relationship. I agree that calculating the variance itself requires evaluation of an integral. One approach is to use MGF to get $E[Y^n] = frac{n!}{lambda^n}$ which is quite easy to evaluate.
$endgroup$
– Math Lover
Jan 23 at 21:26
add a comment |
$begingroup$
$I(x) = int_0^{infty} e^{-y}e^{-xy}y^2 dy$
Integration under the integral
$I(x) = frac {d}{dx} int_0^{infty} e^{-y}y^2(int e^{-xy} dx) dy = frac {d}{dx}int_0^{infty} e^{-y(1+x)}y dy$
And one more time.
$I(x) = frac {d^2}{dx^2}int_0^{infty} e^{-y(1+x)} dy = frac {d^2}{dx^2}frac {1}{1+x} = frac {1}{2(1+x)^3}$
$endgroup$
add a comment |
$begingroup$
$I(x) = int_0^{infty} e^{-y}e^{-xy}y^2 dy$
Integration under the integral
$I(x) = frac {d}{dx} int_0^{infty} e^{-y}y^2(int e^{-xy} dx) dy = frac {d}{dx}int_0^{infty} e^{-y(1+x)}y dy$
And one more time.
$I(x) = frac {d^2}{dx^2}int_0^{infty} e^{-y(1+x)} dy = frac {d^2}{dx^2}frac {1}{1+x} = frac {1}{2(1+x)^3}$
$endgroup$
add a comment |
$begingroup$
$I(x) = int_0^{infty} e^{-y}e^{-xy}y^2 dy$
Integration under the integral
$I(x) = frac {d}{dx} int_0^{infty} e^{-y}y^2(int e^{-xy} dx) dy = frac {d}{dx}int_0^{infty} e^{-y(1+x)}y dy$
And one more time.
$I(x) = frac {d^2}{dx^2}int_0^{infty} e^{-y(1+x)} dy = frac {d^2}{dx^2}frac {1}{1+x} = frac {1}{2(1+x)^3}$
$endgroup$
$I(x) = int_0^{infty} e^{-y}e^{-xy}y^2 dy$
Integration under the integral
$I(x) = frac {d}{dx} int_0^{infty} e^{-y}y^2(int e^{-xy} dx) dy = frac {d}{dx}int_0^{infty} e^{-y(1+x)}y dy$
And one more time.
$I(x) = frac {d^2}{dx^2}int_0^{infty} e^{-y(1+x)} dy = frac {d^2}{dx^2}frac {1}{1+x} = frac {1}{2(1+x)^3}$
answered Jan 23 at 21:27
Doug MDoug M
45.3k31954
45.3k31954
add a comment |
add a comment |
$begingroup$
Try separating the integral like this
$$int _0^infty e^{-y(x+1)}y^2dy=int _0^1 e^{-y(x+1)}y^2dy+int _1^infty e^{-y(x+1)}y^2dy$$
you can see that the first integral is a proper one hence the integral converges.
For the second one try taking the cases when $x+1 lt0 $, $x+1 =0$ and $x+1 gt0$
for $x+1 gt0$ from $$lim_{yto infty}frac{e^{-y(x+1)}y^2}{frac{1}{y2}}=0$$ this implies that $$int _1^infty e^{-y(x+1)}y^2dyleint _1^infty frac{1}{y^2}dy$$
the last integral converges, from the comparison test so will the integral $int _1^infty e^{-y(x+1)}y^2dy$
Can you try the other cases?
$endgroup$
add a comment |
$begingroup$
Try separating the integral like this
$$int _0^infty e^{-y(x+1)}y^2dy=int _0^1 e^{-y(x+1)}y^2dy+int _1^infty e^{-y(x+1)}y^2dy$$
you can see that the first integral is a proper one hence the integral converges.
For the second one try taking the cases when $x+1 lt0 $, $x+1 =0$ and $x+1 gt0$
for $x+1 gt0$ from $$lim_{yto infty}frac{e^{-y(x+1)}y^2}{frac{1}{y2}}=0$$ this implies that $$int _1^infty e^{-y(x+1)}y^2dyleint _1^infty frac{1}{y^2}dy$$
the last integral converges, from the comparison test so will the integral $int _1^infty e^{-y(x+1)}y^2dy$
Can you try the other cases?
$endgroup$
add a comment |
$begingroup$
Try separating the integral like this
$$int _0^infty e^{-y(x+1)}y^2dy=int _0^1 e^{-y(x+1)}y^2dy+int _1^infty e^{-y(x+1)}y^2dy$$
you can see that the first integral is a proper one hence the integral converges.
For the second one try taking the cases when $x+1 lt0 $, $x+1 =0$ and $x+1 gt0$
for $x+1 gt0$ from $$lim_{yto infty}frac{e^{-y(x+1)}y^2}{frac{1}{y2}}=0$$ this implies that $$int _1^infty e^{-y(x+1)}y^2dyleint _1^infty frac{1}{y^2}dy$$
the last integral converges, from the comparison test so will the integral $int _1^infty e^{-y(x+1)}y^2dy$
Can you try the other cases?
$endgroup$
Try separating the integral like this
$$int _0^infty e^{-y(x+1)}y^2dy=int _0^1 e^{-y(x+1)}y^2dy+int _1^infty e^{-y(x+1)}y^2dy$$
you can see that the first integral is a proper one hence the integral converges.
For the second one try taking the cases when $x+1 lt0 $, $x+1 =0$ and $x+1 gt0$
for $x+1 gt0$ from $$lim_{yto infty}frac{e^{-y(x+1)}y^2}{frac{1}{y2}}=0$$ this implies that $$int _1^infty e^{-y(x+1)}y^2dyleint _1^infty frac{1}{y^2}dy$$
the last integral converges, from the comparison test so will the integral $int _1^infty e^{-y(x+1)}y^2dy$
Can you try the other cases?
edited Jan 23 at 21:34
answered Jan 23 at 21:24
J.DaneJ.Dane
368114
368114
add a comment |
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3085082%2fdefinite-integral-int-0-infty-e-ye-xyy2dy%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
$begingroup$
This integral looks very definite...
$endgroup$
– user
Jan 23 at 21:26
$begingroup$
@user I edited it to include limits to match the stated result. I'll fix the title.
$endgroup$
– J.G.
Jan 23 at 21:31