Obtaining Laplace distribution from bivariate transformation











up vote
2
down vote

favorite












So this is the problem




Let $X_1$ and $X_2$ be $i.i.d.$ random variables with a common density function $chi_2^2$. Let $Y_1 = frac{1}{2}(X_1-X_2)$ and $Y_2 = X_2$. Show that $Y_1$ follows a Laplace distribution with density function given by
$$f(y) = frac{1}{2}e^{-|y|} $$
for $y in mathbb{R}.$




Now, here is my reasoning:



Since $X_1,X_2 sim chi_2^2$ (Chi-squared distribution) , then each of these random variables have their density function given by
$$f(x)= frac{1}{2} e^{-x/2}$$
for $x >0.$ Now,we have the transformations:



$$y_1 =g_1(x_1,x_2) = frac{1}{2}(x_1-x_2), y_2 =g_2 (x_1,x_2)= x_2$$
and their inverses
$$x_1 = g_1^{-1}(y_1,y_2) = 2y_1+y_2, x_2 = g_2^{-1} (y_1,y_2)= y_2. $$



Now we obtain the Jacobian of the transformation, which is
$$J =begin{vmatrix}
2 & 1 \ 0 & 1
end{vmatrix} = 2$$

Thus the joint density of $Y_1,Y_2$ is given by
$$f_{Y_1,Y_2}(y_1,y_2) = f_{X_1,X_2}(x_1,x_2) cdot |J|$$
and since $X_1$ and $X_2$ are independent we have that
begin{align*}
f_{Y_1,Y_2}(y_1,y_2) &= f_{X_1}(x_1) cdot f_{X_2}(x_2) cdot 2\
&= 2 cdot left(frac{e^{-(2y_1+y_2)/2}}{2} right)cdot left(frac{e^{-y_2/2}}{2} right)\
&= frac{1}{2}cdot e^{-(y_1+y_2)}.
end{align*}

Now, we are asked to find the distribution of $Y_1$, so
begin{align*}
f_{Y_1}(y_1) &= int_{0}^{infty} f_{Y_1,Y_2}(y_1,y_2) dy_{2}\
&= int_{0}^{infty} frac{1}{2}cdot e^{-(y_1+y_2)}dy_{2}\
&=frac{1}{2}cdot e^{-y_1} cdot int_{0}^{infty}e^{-y_2}dy_{2}
end{align*}

and since $ int_{0}^{infty}e^{-y_2}dy_{2} = 1$ we can conclude that
$$f_{Y_1}(y_1)= frac{1}{2}cdot e^{-y_1}.$$



Clearly this is not entirely correct since the $y$ exponent should be in absolute value. If anyone could point out my mistake and/or provide some intuition as to how the absolute value plays a role in this problem, I would appreciate it very much!










share|cite|improve this question


















  • 2




    When you plug in $f_{X_1}(x_1) = f_{X_1}(2y_1 + y_2)$, you forget to check the support of $X_1$ that requires $2y_1 + y_2 > 0$, which in turns give $y_2 > -2y_1$. Combine with $y_2 > 0$, it gives the joint support of $(Y_1, Y_2)$ to be $y_1 in mathbb{R}, y_2 > max{0, -2y_1}$. Once you replace your integration lower limit by $max{0, -2y_1}$ and you should get your desired result.
    – BGM
    Nov 20 at 7:30















up vote
2
down vote

favorite












So this is the problem




Let $X_1$ and $X_2$ be $i.i.d.$ random variables with a common density function $chi_2^2$. Let $Y_1 = frac{1}{2}(X_1-X_2)$ and $Y_2 = X_2$. Show that $Y_1$ follows a Laplace distribution with density function given by
$$f(y) = frac{1}{2}e^{-|y|} $$
for $y in mathbb{R}.$




Now, here is my reasoning:



Since $X_1,X_2 sim chi_2^2$ (Chi-squared distribution) , then each of these random variables have their density function given by
$$f(x)= frac{1}{2} e^{-x/2}$$
for $x >0.$ Now,we have the transformations:



$$y_1 =g_1(x_1,x_2) = frac{1}{2}(x_1-x_2), y_2 =g_2 (x_1,x_2)= x_2$$
and their inverses
$$x_1 = g_1^{-1}(y_1,y_2) = 2y_1+y_2, x_2 = g_2^{-1} (y_1,y_2)= y_2. $$



Now we obtain the Jacobian of the transformation, which is
$$J =begin{vmatrix}
2 & 1 \ 0 & 1
end{vmatrix} = 2$$

Thus the joint density of $Y_1,Y_2$ is given by
$$f_{Y_1,Y_2}(y_1,y_2) = f_{X_1,X_2}(x_1,x_2) cdot |J|$$
and since $X_1$ and $X_2$ are independent we have that
begin{align*}
f_{Y_1,Y_2}(y_1,y_2) &= f_{X_1}(x_1) cdot f_{X_2}(x_2) cdot 2\
&= 2 cdot left(frac{e^{-(2y_1+y_2)/2}}{2} right)cdot left(frac{e^{-y_2/2}}{2} right)\
&= frac{1}{2}cdot e^{-(y_1+y_2)}.
end{align*}

Now, we are asked to find the distribution of $Y_1$, so
begin{align*}
f_{Y_1}(y_1) &= int_{0}^{infty} f_{Y_1,Y_2}(y_1,y_2) dy_{2}\
&= int_{0}^{infty} frac{1}{2}cdot e^{-(y_1+y_2)}dy_{2}\
&=frac{1}{2}cdot e^{-y_1} cdot int_{0}^{infty}e^{-y_2}dy_{2}
end{align*}

and since $ int_{0}^{infty}e^{-y_2}dy_{2} = 1$ we can conclude that
$$f_{Y_1}(y_1)= frac{1}{2}cdot e^{-y_1}.$$



Clearly this is not entirely correct since the $y$ exponent should be in absolute value. If anyone could point out my mistake and/or provide some intuition as to how the absolute value plays a role in this problem, I would appreciate it very much!










share|cite|improve this question


















  • 2




    When you plug in $f_{X_1}(x_1) = f_{X_1}(2y_1 + y_2)$, you forget to check the support of $X_1$ that requires $2y_1 + y_2 > 0$, which in turns give $y_2 > -2y_1$. Combine with $y_2 > 0$, it gives the joint support of $(Y_1, Y_2)$ to be $y_1 in mathbb{R}, y_2 > max{0, -2y_1}$. Once you replace your integration lower limit by $max{0, -2y_1}$ and you should get your desired result.
    – BGM
    Nov 20 at 7:30













up vote
2
down vote

favorite









up vote
2
down vote

favorite











So this is the problem




Let $X_1$ and $X_2$ be $i.i.d.$ random variables with a common density function $chi_2^2$. Let $Y_1 = frac{1}{2}(X_1-X_2)$ and $Y_2 = X_2$. Show that $Y_1$ follows a Laplace distribution with density function given by
$$f(y) = frac{1}{2}e^{-|y|} $$
for $y in mathbb{R}.$




Now, here is my reasoning:



Since $X_1,X_2 sim chi_2^2$ (Chi-squared distribution) , then each of these random variables have their density function given by
$$f(x)= frac{1}{2} e^{-x/2}$$
for $x >0.$ Now,we have the transformations:



$$y_1 =g_1(x_1,x_2) = frac{1}{2}(x_1-x_2), y_2 =g_2 (x_1,x_2)= x_2$$
and their inverses
$$x_1 = g_1^{-1}(y_1,y_2) = 2y_1+y_2, x_2 = g_2^{-1} (y_1,y_2)= y_2. $$



Now we obtain the Jacobian of the transformation, which is
$$J =begin{vmatrix}
2 & 1 \ 0 & 1
end{vmatrix} = 2$$

Thus the joint density of $Y_1,Y_2$ is given by
$$f_{Y_1,Y_2}(y_1,y_2) = f_{X_1,X_2}(x_1,x_2) cdot |J|$$
and since $X_1$ and $X_2$ are independent we have that
begin{align*}
f_{Y_1,Y_2}(y_1,y_2) &= f_{X_1}(x_1) cdot f_{X_2}(x_2) cdot 2\
&= 2 cdot left(frac{e^{-(2y_1+y_2)/2}}{2} right)cdot left(frac{e^{-y_2/2}}{2} right)\
&= frac{1}{2}cdot e^{-(y_1+y_2)}.
end{align*}

Now, we are asked to find the distribution of $Y_1$, so
begin{align*}
f_{Y_1}(y_1) &= int_{0}^{infty} f_{Y_1,Y_2}(y_1,y_2) dy_{2}\
&= int_{0}^{infty} frac{1}{2}cdot e^{-(y_1+y_2)}dy_{2}\
&=frac{1}{2}cdot e^{-y_1} cdot int_{0}^{infty}e^{-y_2}dy_{2}
end{align*}

and since $ int_{0}^{infty}e^{-y_2}dy_{2} = 1$ we can conclude that
$$f_{Y_1}(y_1)= frac{1}{2}cdot e^{-y_1}.$$



Clearly this is not entirely correct since the $y$ exponent should be in absolute value. If anyone could point out my mistake and/or provide some intuition as to how the absolute value plays a role in this problem, I would appreciate it very much!










share|cite|improve this question













So this is the problem




Let $X_1$ and $X_2$ be $i.i.d.$ random variables with a common density function $chi_2^2$. Let $Y_1 = frac{1}{2}(X_1-X_2)$ and $Y_2 = X_2$. Show that $Y_1$ follows a Laplace distribution with density function given by
$$f(y) = frac{1}{2}e^{-|y|} $$
for $y in mathbb{R}.$




Now, here is my reasoning:



Since $X_1,X_2 sim chi_2^2$ (Chi-squared distribution) , then each of these random variables have their density function given by
$$f(x)= frac{1}{2} e^{-x/2}$$
for $x >0.$ Now,we have the transformations:



$$y_1 =g_1(x_1,x_2) = frac{1}{2}(x_1-x_2), y_2 =g_2 (x_1,x_2)= x_2$$
and their inverses
$$x_1 = g_1^{-1}(y_1,y_2) = 2y_1+y_2, x_2 = g_2^{-1} (y_1,y_2)= y_2. $$



Now we obtain the Jacobian of the transformation, which is
$$J =begin{vmatrix}
2 & 1 \ 0 & 1
end{vmatrix} = 2$$

Thus the joint density of $Y_1,Y_2$ is given by
$$f_{Y_1,Y_2}(y_1,y_2) = f_{X_1,X_2}(x_1,x_2) cdot |J|$$
and since $X_1$ and $X_2$ are independent we have that
begin{align*}
f_{Y_1,Y_2}(y_1,y_2) &= f_{X_1}(x_1) cdot f_{X_2}(x_2) cdot 2\
&= 2 cdot left(frac{e^{-(2y_1+y_2)/2}}{2} right)cdot left(frac{e^{-y_2/2}}{2} right)\
&= frac{1}{2}cdot e^{-(y_1+y_2)}.
end{align*}

Now, we are asked to find the distribution of $Y_1$, so
begin{align*}
f_{Y_1}(y_1) &= int_{0}^{infty} f_{Y_1,Y_2}(y_1,y_2) dy_{2}\
&= int_{0}^{infty} frac{1}{2}cdot e^{-(y_1+y_2)}dy_{2}\
&=frac{1}{2}cdot e^{-y_1} cdot int_{0}^{infty}e^{-y_2}dy_{2}
end{align*}

and since $ int_{0}^{infty}e^{-y_2}dy_{2} = 1$ we can conclude that
$$f_{Y_1}(y_1)= frac{1}{2}cdot e^{-y_1}.$$



Clearly this is not entirely correct since the $y$ exponent should be in absolute value. If anyone could point out my mistake and/or provide some intuition as to how the absolute value plays a role in this problem, I would appreciate it very much!







probability probability-distributions






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Nov 20 at 5:23









Thomas Bladt

1,170214




1,170214








  • 2




    When you plug in $f_{X_1}(x_1) = f_{X_1}(2y_1 + y_2)$, you forget to check the support of $X_1$ that requires $2y_1 + y_2 > 0$, which in turns give $y_2 > -2y_1$. Combine with $y_2 > 0$, it gives the joint support of $(Y_1, Y_2)$ to be $y_1 in mathbb{R}, y_2 > max{0, -2y_1}$. Once you replace your integration lower limit by $max{0, -2y_1}$ and you should get your desired result.
    – BGM
    Nov 20 at 7:30














  • 2




    When you plug in $f_{X_1}(x_1) = f_{X_1}(2y_1 + y_2)$, you forget to check the support of $X_1$ that requires $2y_1 + y_2 > 0$, which in turns give $y_2 > -2y_1$. Combine with $y_2 > 0$, it gives the joint support of $(Y_1, Y_2)$ to be $y_1 in mathbb{R}, y_2 > max{0, -2y_1}$. Once you replace your integration lower limit by $max{0, -2y_1}$ and you should get your desired result.
    – BGM
    Nov 20 at 7:30








2




2




When you plug in $f_{X_1}(x_1) = f_{X_1}(2y_1 + y_2)$, you forget to check the support of $X_1$ that requires $2y_1 + y_2 > 0$, which in turns give $y_2 > -2y_1$. Combine with $y_2 > 0$, it gives the joint support of $(Y_1, Y_2)$ to be $y_1 in mathbb{R}, y_2 > max{0, -2y_1}$. Once you replace your integration lower limit by $max{0, -2y_1}$ and you should get your desired result.
– BGM
Nov 20 at 7:30




When you plug in $f_{X_1}(x_1) = f_{X_1}(2y_1 + y_2)$, you forget to check the support of $X_1$ that requires $2y_1 + y_2 > 0$, which in turns give $y_2 > -2y_1$. Combine with $y_2 > 0$, it gives the joint support of $(Y_1, Y_2)$ to be $y_1 in mathbb{R}, y_2 > max{0, -2y_1}$. Once you replace your integration lower limit by $max{0, -2y_1}$ and you should get your desired result.
– BGM
Nov 20 at 7:30










1 Answer
1






active

oldest

votes

















up vote
2
down vote



accepted










Do not forget to include the proper supports of the distributions. Use indicator functions for brevity.



Joint density of $(X_1,X_2)$ is



begin{align}
f_{X_1,X_2}(x_1,x_2)&=frac{1}{2}e^{-x_1/2}mathbf1_{x_1>0},frac{1}{2}e^{-x_2/2}mathbf1_{x_2>0}
\&=frac{1}{4}e^{-(x_1+x_2)/2}mathbf1_{x_1,x_2>0}
end{align}



For the transformation $(X_1,X_2,)to (Y_1,Y_2)$ such that $$Y_1=frac{1}{2}(X_1-X_2)quad,quad Y_2=X_2,,$$



we have $$x_1=2y_1+y_2quad,quad x_2=y_2$$




So, $$x_1,x_2>0implies 2y_1+y_2>0,y_2>0$$



In other words, $$y_2>max(0,-2y_1)quadtext{ where }quad y_1inmathbb R$$




Absolute value of the jacobian as you say is $$|J|=2$$



So the joint density of $(Y_1,Y_2)$ is



begin{align}
f_{Y_1,Y_2}(y_1,y_2)&=f_{X_1,X_2}left(2y_1+y_2,y_2right)|J|,mathbf1_{2y_1+y_2>0,y_2>0}
\&=frac{1}{2}e^{-(y_1+y_2)}mathbf1_{2y_1+y_2>0,y_2>0}
end{align}



Hence the marginal density of $Y_1$ for $y_1inmathbb R$ is given by



begin{align}
f_{Y_1}(y_1)&=int_{max(0,-2y_1)}^infty f_{Y_1,Y_2}(y_1,y_2),mathrm{d}y_2
\\&=frac{e^{-y_1}}{2}lim_{Atoinfty}left[-e^{-y_2}right]_{max(0,-2y_1)}^A
\\&=frac{e^{-(y_1+max(0,-2y_1))}}{2}
\\&=begin{cases}frac{1}{2}e^{-y_1}&,text{ if }y_1ge 0\\frac{1}{2}e^{y_1}&,text{ if }y_1<0end{cases}
end{align}






share|cite|improve this answer





















  • Ahh I forgot to check the supports, now it makes sense. Thank you very much!
    – Thomas Bladt
    Nov 20 at 21:39











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',
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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3005973%2fobtaining-laplace-distribution-from-bivariate-transformation%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
2
down vote



accepted










Do not forget to include the proper supports of the distributions. Use indicator functions for brevity.



Joint density of $(X_1,X_2)$ is



begin{align}
f_{X_1,X_2}(x_1,x_2)&=frac{1}{2}e^{-x_1/2}mathbf1_{x_1>0},frac{1}{2}e^{-x_2/2}mathbf1_{x_2>0}
\&=frac{1}{4}e^{-(x_1+x_2)/2}mathbf1_{x_1,x_2>0}
end{align}



For the transformation $(X_1,X_2,)to (Y_1,Y_2)$ such that $$Y_1=frac{1}{2}(X_1-X_2)quad,quad Y_2=X_2,,$$



we have $$x_1=2y_1+y_2quad,quad x_2=y_2$$




So, $$x_1,x_2>0implies 2y_1+y_2>0,y_2>0$$



In other words, $$y_2>max(0,-2y_1)quadtext{ where }quad y_1inmathbb R$$




Absolute value of the jacobian as you say is $$|J|=2$$



So the joint density of $(Y_1,Y_2)$ is



begin{align}
f_{Y_1,Y_2}(y_1,y_2)&=f_{X_1,X_2}left(2y_1+y_2,y_2right)|J|,mathbf1_{2y_1+y_2>0,y_2>0}
\&=frac{1}{2}e^{-(y_1+y_2)}mathbf1_{2y_1+y_2>0,y_2>0}
end{align}



Hence the marginal density of $Y_1$ for $y_1inmathbb R$ is given by



begin{align}
f_{Y_1}(y_1)&=int_{max(0,-2y_1)}^infty f_{Y_1,Y_2}(y_1,y_2),mathrm{d}y_2
\\&=frac{e^{-y_1}}{2}lim_{Atoinfty}left[-e^{-y_2}right]_{max(0,-2y_1)}^A
\\&=frac{e^{-(y_1+max(0,-2y_1))}}{2}
\\&=begin{cases}frac{1}{2}e^{-y_1}&,text{ if }y_1ge 0\\frac{1}{2}e^{y_1}&,text{ if }y_1<0end{cases}
end{align}






share|cite|improve this answer





















  • Ahh I forgot to check the supports, now it makes sense. Thank you very much!
    – Thomas Bladt
    Nov 20 at 21:39















up vote
2
down vote



accepted










Do not forget to include the proper supports of the distributions. Use indicator functions for brevity.



Joint density of $(X_1,X_2)$ is



begin{align}
f_{X_1,X_2}(x_1,x_2)&=frac{1}{2}e^{-x_1/2}mathbf1_{x_1>0},frac{1}{2}e^{-x_2/2}mathbf1_{x_2>0}
\&=frac{1}{4}e^{-(x_1+x_2)/2}mathbf1_{x_1,x_2>0}
end{align}



For the transformation $(X_1,X_2,)to (Y_1,Y_2)$ such that $$Y_1=frac{1}{2}(X_1-X_2)quad,quad Y_2=X_2,,$$



we have $$x_1=2y_1+y_2quad,quad x_2=y_2$$




So, $$x_1,x_2>0implies 2y_1+y_2>0,y_2>0$$



In other words, $$y_2>max(0,-2y_1)quadtext{ where }quad y_1inmathbb R$$




Absolute value of the jacobian as you say is $$|J|=2$$



So the joint density of $(Y_1,Y_2)$ is



begin{align}
f_{Y_1,Y_2}(y_1,y_2)&=f_{X_1,X_2}left(2y_1+y_2,y_2right)|J|,mathbf1_{2y_1+y_2>0,y_2>0}
\&=frac{1}{2}e^{-(y_1+y_2)}mathbf1_{2y_1+y_2>0,y_2>0}
end{align}



Hence the marginal density of $Y_1$ for $y_1inmathbb R$ is given by



begin{align}
f_{Y_1}(y_1)&=int_{max(0,-2y_1)}^infty f_{Y_1,Y_2}(y_1,y_2),mathrm{d}y_2
\\&=frac{e^{-y_1}}{2}lim_{Atoinfty}left[-e^{-y_2}right]_{max(0,-2y_1)}^A
\\&=frac{e^{-(y_1+max(0,-2y_1))}}{2}
\\&=begin{cases}frac{1}{2}e^{-y_1}&,text{ if }y_1ge 0\\frac{1}{2}e^{y_1}&,text{ if }y_1<0end{cases}
end{align}






share|cite|improve this answer





















  • Ahh I forgot to check the supports, now it makes sense. Thank you very much!
    – Thomas Bladt
    Nov 20 at 21:39













up vote
2
down vote



accepted







up vote
2
down vote



accepted






Do not forget to include the proper supports of the distributions. Use indicator functions for brevity.



Joint density of $(X_1,X_2)$ is



begin{align}
f_{X_1,X_2}(x_1,x_2)&=frac{1}{2}e^{-x_1/2}mathbf1_{x_1>0},frac{1}{2}e^{-x_2/2}mathbf1_{x_2>0}
\&=frac{1}{4}e^{-(x_1+x_2)/2}mathbf1_{x_1,x_2>0}
end{align}



For the transformation $(X_1,X_2,)to (Y_1,Y_2)$ such that $$Y_1=frac{1}{2}(X_1-X_2)quad,quad Y_2=X_2,,$$



we have $$x_1=2y_1+y_2quad,quad x_2=y_2$$




So, $$x_1,x_2>0implies 2y_1+y_2>0,y_2>0$$



In other words, $$y_2>max(0,-2y_1)quadtext{ where }quad y_1inmathbb R$$




Absolute value of the jacobian as you say is $$|J|=2$$



So the joint density of $(Y_1,Y_2)$ is



begin{align}
f_{Y_1,Y_2}(y_1,y_2)&=f_{X_1,X_2}left(2y_1+y_2,y_2right)|J|,mathbf1_{2y_1+y_2>0,y_2>0}
\&=frac{1}{2}e^{-(y_1+y_2)}mathbf1_{2y_1+y_2>0,y_2>0}
end{align}



Hence the marginal density of $Y_1$ for $y_1inmathbb R$ is given by



begin{align}
f_{Y_1}(y_1)&=int_{max(0,-2y_1)}^infty f_{Y_1,Y_2}(y_1,y_2),mathrm{d}y_2
\\&=frac{e^{-y_1}}{2}lim_{Atoinfty}left[-e^{-y_2}right]_{max(0,-2y_1)}^A
\\&=frac{e^{-(y_1+max(0,-2y_1))}}{2}
\\&=begin{cases}frac{1}{2}e^{-y_1}&,text{ if }y_1ge 0\\frac{1}{2}e^{y_1}&,text{ if }y_1<0end{cases}
end{align}






share|cite|improve this answer












Do not forget to include the proper supports of the distributions. Use indicator functions for brevity.



Joint density of $(X_1,X_2)$ is



begin{align}
f_{X_1,X_2}(x_1,x_2)&=frac{1}{2}e^{-x_1/2}mathbf1_{x_1>0},frac{1}{2}e^{-x_2/2}mathbf1_{x_2>0}
\&=frac{1}{4}e^{-(x_1+x_2)/2}mathbf1_{x_1,x_2>0}
end{align}



For the transformation $(X_1,X_2,)to (Y_1,Y_2)$ such that $$Y_1=frac{1}{2}(X_1-X_2)quad,quad Y_2=X_2,,$$



we have $$x_1=2y_1+y_2quad,quad x_2=y_2$$




So, $$x_1,x_2>0implies 2y_1+y_2>0,y_2>0$$



In other words, $$y_2>max(0,-2y_1)quadtext{ where }quad y_1inmathbb R$$




Absolute value of the jacobian as you say is $$|J|=2$$



So the joint density of $(Y_1,Y_2)$ is



begin{align}
f_{Y_1,Y_2}(y_1,y_2)&=f_{X_1,X_2}left(2y_1+y_2,y_2right)|J|,mathbf1_{2y_1+y_2>0,y_2>0}
\&=frac{1}{2}e^{-(y_1+y_2)}mathbf1_{2y_1+y_2>0,y_2>0}
end{align}



Hence the marginal density of $Y_1$ for $y_1inmathbb R$ is given by



begin{align}
f_{Y_1}(y_1)&=int_{max(0,-2y_1)}^infty f_{Y_1,Y_2}(y_1,y_2),mathrm{d}y_2
\\&=frac{e^{-y_1}}{2}lim_{Atoinfty}left[-e^{-y_2}right]_{max(0,-2y_1)}^A
\\&=frac{e^{-(y_1+max(0,-2y_1))}}{2}
\\&=begin{cases}frac{1}{2}e^{-y_1}&,text{ if }y_1ge 0\\frac{1}{2}e^{y_1}&,text{ if }y_1<0end{cases}
end{align}







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Nov 20 at 7:46









StubbornAtom

4,93411137




4,93411137












  • Ahh I forgot to check the supports, now it makes sense. Thank you very much!
    – Thomas Bladt
    Nov 20 at 21:39


















  • Ahh I forgot to check the supports, now it makes sense. Thank you very much!
    – Thomas Bladt
    Nov 20 at 21:39
















Ahh I forgot to check the supports, now it makes sense. Thank you very much!
– Thomas Bladt
Nov 20 at 21:39




Ahh I forgot to check the supports, now it makes sense. Thank you very much!
– Thomas Bladt
Nov 20 at 21:39


















draft saved

draft discarded




















































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.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • 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.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3005973%2fobtaining-laplace-distribution-from-bivariate-transformation%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Index of /

Tribalistas

Listed building