What is the domain of my marginal PDF function
up vote
0
down vote
favorite
Consider the joint pdf of $(X, Y)$ given by
$$f(x, y) = begin{cases}
25x^{4}y^{4} & text{ if } |x| leq y, 0 < y < 1 \
0, & text{ otherwise.}
end{cases} $$
Then,
$$f_{X}(x) = int_{0}^{1} 25x^{4}y^{4 }mathop{dy}$$
$$= 5x^{4}. $$
But what is the restriction to the domain? Is it just $|x| leq y$? Or is it $x in mathbb{R}$? Why? $y$ is no longer in the function. Does it matter? Also to compute $mathbb{E}[X]$, is the following correct:
$$mathbb{E}[X] = int_{-y}^{y} 5x^{4} mathop{dy} = 2y^{5} $$
probability probability-theory probability-distributions marginal-distribution
add a comment |
up vote
0
down vote
favorite
Consider the joint pdf of $(X, Y)$ given by
$$f(x, y) = begin{cases}
25x^{4}y^{4} & text{ if } |x| leq y, 0 < y < 1 \
0, & text{ otherwise.}
end{cases} $$
Then,
$$f_{X}(x) = int_{0}^{1} 25x^{4}y^{4 }mathop{dy}$$
$$= 5x^{4}. $$
But what is the restriction to the domain? Is it just $|x| leq y$? Or is it $x in mathbb{R}$? Why? $y$ is no longer in the function. Does it matter? Also to compute $mathbb{E}[X]$, is the following correct:
$$mathbb{E}[X] = int_{-y}^{y} 5x^{4} mathop{dy} = 2y^{5} $$
probability probability-theory probability-distributions marginal-distribution
1
$EX$ has to be real number. How can it be a function of $y$?
– Kavi Rama Murthy
Nov 28 at 8:40
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Consider the joint pdf of $(X, Y)$ given by
$$f(x, y) = begin{cases}
25x^{4}y^{4} & text{ if } |x| leq y, 0 < y < 1 \
0, & text{ otherwise.}
end{cases} $$
Then,
$$f_{X}(x) = int_{0}^{1} 25x^{4}y^{4 }mathop{dy}$$
$$= 5x^{4}. $$
But what is the restriction to the domain? Is it just $|x| leq y$? Or is it $x in mathbb{R}$? Why? $y$ is no longer in the function. Does it matter? Also to compute $mathbb{E}[X]$, is the following correct:
$$mathbb{E}[X] = int_{-y}^{y} 5x^{4} mathop{dy} = 2y^{5} $$
probability probability-theory probability-distributions marginal-distribution
Consider the joint pdf of $(X, Y)$ given by
$$f(x, y) = begin{cases}
25x^{4}y^{4} & text{ if } |x| leq y, 0 < y < 1 \
0, & text{ otherwise.}
end{cases} $$
Then,
$$f_{X}(x) = int_{0}^{1} 25x^{4}y^{4 }mathop{dy}$$
$$= 5x^{4}. $$
But what is the restriction to the domain? Is it just $|x| leq y$? Or is it $x in mathbb{R}$? Why? $y$ is no longer in the function. Does it matter? Also to compute $mathbb{E}[X]$, is the following correct:
$$mathbb{E}[X] = int_{-y}^{y} 5x^{4} mathop{dy} = 2y^{5} $$
probability probability-theory probability-distributions marginal-distribution
probability probability-theory probability-distributions marginal-distribution
asked Nov 28 at 8:33
joseph
4159
4159
1
$EX$ has to be real number. How can it be a function of $y$?
– Kavi Rama Murthy
Nov 28 at 8:40
add a comment |
1
$EX$ has to be real number. How can it be a function of $y$?
– Kavi Rama Murthy
Nov 28 at 8:40
1
1
$EX$ has to be real number. How can it be a function of $y$?
– Kavi Rama Murthy
Nov 28 at 8:40
$EX$ has to be real number. How can it be a function of $y$?
– Kavi Rama Murthy
Nov 28 at 8:40
add a comment |
2 Answers
2
active
oldest
votes
up vote
1
down vote
accepted
Your calculation of $f_X$ is wrong. The correct value is $int_{|x|}^{1} 25x^{4}y^{4}dy=5x^{4}(1-|x|^{5})$ for $|x| leq 1$. Also $EX=int_{-1}^{1}5x^{5}(1-|x|^{5})dx=0$ because the integral of an odd function from $-1$ to $1$ is $0$.
Okay. Then I think I calculated the constant (currently $25$) wrong. Replace $25$ with just a constant $C$. Then, how can I find $C$? Is this right? $int_{0}^{1} int_{-y}^{y} Cx^{4}y^{4} mathop{dx dy} = 1$?
– joseph
Nov 28 at 8:40
The constant $25$ in $f(x,y)$ is correct.
– Kavi Rama Murthy
Nov 28 at 8:44
Is my setup to find the constant $C$ correct? Or should the bounds for $x$ be $0$ to $y$?
– joseph
Nov 29 at 5:37
@joseph Yes, that is correct and you should get $C=25$ if you carry out the integration.
– Kavi Rama Murthy
Nov 29 at 5:41
add a comment |
up vote
1
down vote
Just a way of working that might prevent you from making mistakes in cases like this.
In general let $left[text{conditions on }x,yright]$ be a function
that takes value $1$ if the conditions are satisfied and takes value
$0$ otherwise.
Then $fleft(x,yright)=left[left|xright|leq y,0<y<1right]25x^{4}y^{4}$
so that
$$f_{X}left(xright)=intleft[left|xright|leq y,0<y<1right]25x^{4}y^{4}dy=int_{0}^{1}left[left|xright|leq yright]25x^{4}y^{4}dy$$
Now discern two cases:
If $left|xright|geq1$ then $f_{X}left(xright)=0$
If $left|xright|<1$ then $f_{X}left(xright)=int_{left|xright|}^{1}25x^{4}y^{4}dy=left[5x^{4}y^{5}right]_{left|xright|}^{1}=5x^{4}left(1-left|xright|^{5}right)$
Use this if you like it. If you think it is too cumbersome then just leave it aside.
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',
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%2f3016900%2fwhat-is-the-domain-of-my-marginal-pdf-function%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
Your calculation of $f_X$ is wrong. The correct value is $int_{|x|}^{1} 25x^{4}y^{4}dy=5x^{4}(1-|x|^{5})$ for $|x| leq 1$. Also $EX=int_{-1}^{1}5x^{5}(1-|x|^{5})dx=0$ because the integral of an odd function from $-1$ to $1$ is $0$.
Okay. Then I think I calculated the constant (currently $25$) wrong. Replace $25$ with just a constant $C$. Then, how can I find $C$? Is this right? $int_{0}^{1} int_{-y}^{y} Cx^{4}y^{4} mathop{dx dy} = 1$?
– joseph
Nov 28 at 8:40
The constant $25$ in $f(x,y)$ is correct.
– Kavi Rama Murthy
Nov 28 at 8:44
Is my setup to find the constant $C$ correct? Or should the bounds for $x$ be $0$ to $y$?
– joseph
Nov 29 at 5:37
@joseph Yes, that is correct and you should get $C=25$ if you carry out the integration.
– Kavi Rama Murthy
Nov 29 at 5:41
add a comment |
up vote
1
down vote
accepted
Your calculation of $f_X$ is wrong. The correct value is $int_{|x|}^{1} 25x^{4}y^{4}dy=5x^{4}(1-|x|^{5})$ for $|x| leq 1$. Also $EX=int_{-1}^{1}5x^{5}(1-|x|^{5})dx=0$ because the integral of an odd function from $-1$ to $1$ is $0$.
Okay. Then I think I calculated the constant (currently $25$) wrong. Replace $25$ with just a constant $C$. Then, how can I find $C$? Is this right? $int_{0}^{1} int_{-y}^{y} Cx^{4}y^{4} mathop{dx dy} = 1$?
– joseph
Nov 28 at 8:40
The constant $25$ in $f(x,y)$ is correct.
– Kavi Rama Murthy
Nov 28 at 8:44
Is my setup to find the constant $C$ correct? Or should the bounds for $x$ be $0$ to $y$?
– joseph
Nov 29 at 5:37
@joseph Yes, that is correct and you should get $C=25$ if you carry out the integration.
– Kavi Rama Murthy
Nov 29 at 5:41
add a comment |
up vote
1
down vote
accepted
up vote
1
down vote
accepted
Your calculation of $f_X$ is wrong. The correct value is $int_{|x|}^{1} 25x^{4}y^{4}dy=5x^{4}(1-|x|^{5})$ for $|x| leq 1$. Also $EX=int_{-1}^{1}5x^{5}(1-|x|^{5})dx=0$ because the integral of an odd function from $-1$ to $1$ is $0$.
Your calculation of $f_X$ is wrong. The correct value is $int_{|x|}^{1} 25x^{4}y^{4}dy=5x^{4}(1-|x|^{5})$ for $|x| leq 1$. Also $EX=int_{-1}^{1}5x^{5}(1-|x|^{5})dx=0$ because the integral of an odd function from $-1$ to $1$ is $0$.
answered Nov 28 at 8:36
Kavi Rama Murthy
47.1k31854
47.1k31854
Okay. Then I think I calculated the constant (currently $25$) wrong. Replace $25$ with just a constant $C$. Then, how can I find $C$? Is this right? $int_{0}^{1} int_{-y}^{y} Cx^{4}y^{4} mathop{dx dy} = 1$?
– joseph
Nov 28 at 8:40
The constant $25$ in $f(x,y)$ is correct.
– Kavi Rama Murthy
Nov 28 at 8:44
Is my setup to find the constant $C$ correct? Or should the bounds for $x$ be $0$ to $y$?
– joseph
Nov 29 at 5:37
@joseph Yes, that is correct and you should get $C=25$ if you carry out the integration.
– Kavi Rama Murthy
Nov 29 at 5:41
add a comment |
Okay. Then I think I calculated the constant (currently $25$) wrong. Replace $25$ with just a constant $C$. Then, how can I find $C$? Is this right? $int_{0}^{1} int_{-y}^{y} Cx^{4}y^{4} mathop{dx dy} = 1$?
– joseph
Nov 28 at 8:40
The constant $25$ in $f(x,y)$ is correct.
– Kavi Rama Murthy
Nov 28 at 8:44
Is my setup to find the constant $C$ correct? Or should the bounds for $x$ be $0$ to $y$?
– joseph
Nov 29 at 5:37
@joseph Yes, that is correct and you should get $C=25$ if you carry out the integration.
– Kavi Rama Murthy
Nov 29 at 5:41
Okay. Then I think I calculated the constant (currently $25$) wrong. Replace $25$ with just a constant $C$. Then, how can I find $C$? Is this right? $int_{0}^{1} int_{-y}^{y} Cx^{4}y^{4} mathop{dx dy} = 1$?
– joseph
Nov 28 at 8:40
Okay. Then I think I calculated the constant (currently $25$) wrong. Replace $25$ with just a constant $C$. Then, how can I find $C$? Is this right? $int_{0}^{1} int_{-y}^{y} Cx^{4}y^{4} mathop{dx dy} = 1$?
– joseph
Nov 28 at 8:40
The constant $25$ in $f(x,y)$ is correct.
– Kavi Rama Murthy
Nov 28 at 8:44
The constant $25$ in $f(x,y)$ is correct.
– Kavi Rama Murthy
Nov 28 at 8:44
Is my setup to find the constant $C$ correct? Or should the bounds for $x$ be $0$ to $y$?
– joseph
Nov 29 at 5:37
Is my setup to find the constant $C$ correct? Or should the bounds for $x$ be $0$ to $y$?
– joseph
Nov 29 at 5:37
@joseph Yes, that is correct and you should get $C=25$ if you carry out the integration.
– Kavi Rama Murthy
Nov 29 at 5:41
@joseph Yes, that is correct and you should get $C=25$ if you carry out the integration.
– Kavi Rama Murthy
Nov 29 at 5:41
add a comment |
up vote
1
down vote
Just a way of working that might prevent you from making mistakes in cases like this.
In general let $left[text{conditions on }x,yright]$ be a function
that takes value $1$ if the conditions are satisfied and takes value
$0$ otherwise.
Then $fleft(x,yright)=left[left|xright|leq y,0<y<1right]25x^{4}y^{4}$
so that
$$f_{X}left(xright)=intleft[left|xright|leq y,0<y<1right]25x^{4}y^{4}dy=int_{0}^{1}left[left|xright|leq yright]25x^{4}y^{4}dy$$
Now discern two cases:
If $left|xright|geq1$ then $f_{X}left(xright)=0$
If $left|xright|<1$ then $f_{X}left(xright)=int_{left|xright|}^{1}25x^{4}y^{4}dy=left[5x^{4}y^{5}right]_{left|xright|}^{1}=5x^{4}left(1-left|xright|^{5}right)$
Use this if you like it. If you think it is too cumbersome then just leave it aside.
add a comment |
up vote
1
down vote
Just a way of working that might prevent you from making mistakes in cases like this.
In general let $left[text{conditions on }x,yright]$ be a function
that takes value $1$ if the conditions are satisfied and takes value
$0$ otherwise.
Then $fleft(x,yright)=left[left|xright|leq y,0<y<1right]25x^{4}y^{4}$
so that
$$f_{X}left(xright)=intleft[left|xright|leq y,0<y<1right]25x^{4}y^{4}dy=int_{0}^{1}left[left|xright|leq yright]25x^{4}y^{4}dy$$
Now discern two cases:
If $left|xright|geq1$ then $f_{X}left(xright)=0$
If $left|xright|<1$ then $f_{X}left(xright)=int_{left|xright|}^{1}25x^{4}y^{4}dy=left[5x^{4}y^{5}right]_{left|xright|}^{1}=5x^{4}left(1-left|xright|^{5}right)$
Use this if you like it. If you think it is too cumbersome then just leave it aside.
add a comment |
up vote
1
down vote
up vote
1
down vote
Just a way of working that might prevent you from making mistakes in cases like this.
In general let $left[text{conditions on }x,yright]$ be a function
that takes value $1$ if the conditions are satisfied and takes value
$0$ otherwise.
Then $fleft(x,yright)=left[left|xright|leq y,0<y<1right]25x^{4}y^{4}$
so that
$$f_{X}left(xright)=intleft[left|xright|leq y,0<y<1right]25x^{4}y^{4}dy=int_{0}^{1}left[left|xright|leq yright]25x^{4}y^{4}dy$$
Now discern two cases:
If $left|xright|geq1$ then $f_{X}left(xright)=0$
If $left|xright|<1$ then $f_{X}left(xright)=int_{left|xright|}^{1}25x^{4}y^{4}dy=left[5x^{4}y^{5}right]_{left|xright|}^{1}=5x^{4}left(1-left|xright|^{5}right)$
Use this if you like it. If you think it is too cumbersome then just leave it aside.
Just a way of working that might prevent you from making mistakes in cases like this.
In general let $left[text{conditions on }x,yright]$ be a function
that takes value $1$ if the conditions are satisfied and takes value
$0$ otherwise.
Then $fleft(x,yright)=left[left|xright|leq y,0<y<1right]25x^{4}y^{4}$
so that
$$f_{X}left(xright)=intleft[left|xright|leq y,0<y<1right]25x^{4}y^{4}dy=int_{0}^{1}left[left|xright|leq yright]25x^{4}y^{4}dy$$
Now discern two cases:
If $left|xright|geq1$ then $f_{X}left(xright)=0$
If $left|xright|<1$ then $f_{X}left(xright)=int_{left|xright|}^{1}25x^{4}y^{4}dy=left[5x^{4}y^{5}right]_{left|xright|}^{1}=5x^{4}left(1-left|xright|^{5}right)$
Use this if you like it. If you think it is too cumbersome then just leave it aside.
answered Nov 28 at 9:07
drhab
96.1k543126
96.1k543126
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.
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.
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%2f3016900%2fwhat-is-the-domain-of-my-marginal-pdf-function%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
1
$EX$ has to be real number. How can it be a function of $y$?
– Kavi Rama Murthy
Nov 28 at 8:40