Find the conditional probability density function of $X$ given $Y=y$Find the marginal and conditional densities without explicitly having the joint density?Find the conditional and marginal densities?A joint density function with issues in the conditional density functionConditional Density and expectationHow to find the joint distribution and joint density functions of two random variables?Finding Probability Density Function and ProbabilityFind the probability density functions of $X$ and $Y$Computing conditional density of continuous rvRandom Variable $X$ and $Y$ has a joint probability density function. Find $f_ Y(x | y)$Find the conditional probability density function of $Y$ given $X=x$

Why can't the Brexit deadlock in the UK parliament be solved with a plurality vote?

Do I have to take mana from my deck or hand when tapping a dual land?

Would this string work as string?

In One Punch Man, is King actually weak?

How can I, as DM, avoid the Conga Line of Death occurring when implementing some form of flanking rule?

El Dorado Word Puzzle II: Videogame Edition

How to test the sharpness of a knife?

Does Doodling or Improvising on the Piano Have Any Benefits?

Why would five hundred and five be same as one?

Alignment of six matrices

Personal or impersonal in a technical resume

How do I Interface a PS/2 Keyboard without Modern Techniques?

Why the "ls" command is showing the permissions of files in a FAT32 partition?

Why didn't Voldemort know what Grindelwald looked like?

Do you waste sorcery points if you try to apply metamagic to a spell from a scroll but fail to cast it?

When and why was runway 07/25 at Kai Tak removed?

How do you justify more code being written by following clean code practices?

Check if object is null and return null

Should I assume I have passed probation?

Why does the Persian emissary display a string of crowned skulls?

Difference between shutdown options

Grepping string, but include all non-blank lines following each grep match

Is there a RAID 0 Equivalent for RAM?

Visualizing the difference curve in a 2D plot?



Find the conditional probability density function of $X$ given $Y=y$


Find the marginal and conditional densities without explicitly having the joint density?Find the conditional and marginal densities?A joint density function with issues in the conditional density functionConditional Density and expectationHow to find the joint distribution and joint density functions of two random variables?Finding Probability Density Function and ProbabilityFind the probability density functions of $X$ and $Y$Computing conditional density of continuous rvRandom Variable $X$ and $Y$ has a joint probability density function. Find $f_X (x | y)$Find the conditional probability density function of $Y$ given $X=x$













0












$begingroup$


Let $X$ and $Y$ be two random variables with joint density function:
$f_XY(x,y) = begincases 5x^2y&-1leq xleq1, 0<yleq|x| \0&textotherwise endcases$



Find $f_Y(x|y)$ the conditional probability density function of $X$ given $Y =
y$
. Sketch the graph of $f_Y(x|.5)$



The graph part isn't the confusing issue as I feel once I get to it, I will be able to solve it. My issue is finding the proper $f_Y(x|y)$. I thought I would do $f_y(y)=int_-1^15x^2ydx$ and I get $10yover3$ then I plug that into the formula to get $5x^2yover10yover3$ $= 3x^2over2$
However, the answer is $3x^2over2(1-y^3)$
What am I doing wrong? I feel like it has to do with my limits of integration but I don't see how it isn't $-1$ to $1$.










share|cite|improve this question











$endgroup$







  • 3




    $begingroup$
    Your computation of $f_Y$ is wrong, actually, $$f_Y(y)=int_f_X,Y(x,y)dx=int_-1^-ycdots dx+int_y^1cdots dx$$
    $endgroup$
    – Did
    Mar 7 '17 at 17:49











  • $begingroup$
    @Did would you mind elaborating on why this is the case? For all the other problems, including some sample SOA problems, I did it the same way as I did in my attempt up above and got the correct answers. Is it due to this one involving $|x|$?
    $endgroup$
    – Heavenly96
    Mar 7 '17 at 18:28










  • $begingroup$
    The conditional density "answer" $3x^2over2(1-y^3)$ that you gave in the question is not right either unless you put in various constraints on the values that $x$ and $y$ take on.
    $endgroup$
    – Dilip Sarwate
    Mar 7 '17 at 21:20






  • 1




    $begingroup$
    This becomes more or less direct as soon as one writes down $f_X,Y$ as a true function defined on $mathbb R^2$, that is, $$f_X,Y(x,y)=5x^2ymathbf 1_<1$$ then the usual formula $$f_Y(y)=int_mathbb Rf_X,Y(x,y)dx$$ defines a true function $f_Y$ on $mathbb R$ and yields what I wrote in my first comment if $|y|<1$ and $0$ otherwise.
    $endgroup$
    – Did
    Mar 7 '17 at 22:18











  • $begingroup$
    *Typo: ...and yields what I wrote in my first comment if $0<y<1$ and $0$ otherwise.
    $endgroup$
    – Did
    Mar 9 '17 at 9:58
















0












$begingroup$


Let $X$ and $Y$ be two random variables with joint density function:
$f_XY(x,y) = begincases 5x^2y&-1leq xleq1, 0<yleq|x| \0&textotherwise endcases$



Find $f_Y(x|y)$ the conditional probability density function of $X$ given $Y =
y$
. Sketch the graph of $f_Y(x|.5)$



The graph part isn't the confusing issue as I feel once I get to it, I will be able to solve it. My issue is finding the proper $f_Y(x|y)$. I thought I would do $f_y(y)=int_-1^15x^2ydx$ and I get $10yover3$ then I plug that into the formula to get $5x^2yover10yover3$ $= 3x^2over2$
However, the answer is $3x^2over2(1-y^3)$
What am I doing wrong? I feel like it has to do with my limits of integration but I don't see how it isn't $-1$ to $1$.










share|cite|improve this question











$endgroup$







  • 3




    $begingroup$
    Your computation of $f_Y$ is wrong, actually, $$f_Y(y)=int_f_X,Y(x,y)dx=int_-1^-ycdots dx+int_y^1cdots dx$$
    $endgroup$
    – Did
    Mar 7 '17 at 17:49











  • $begingroup$
    @Did would you mind elaborating on why this is the case? For all the other problems, including some sample SOA problems, I did it the same way as I did in my attempt up above and got the correct answers. Is it due to this one involving $|x|$?
    $endgroup$
    – Heavenly96
    Mar 7 '17 at 18:28










  • $begingroup$
    The conditional density "answer" $3x^2over2(1-y^3)$ that you gave in the question is not right either unless you put in various constraints on the values that $x$ and $y$ take on.
    $endgroup$
    – Dilip Sarwate
    Mar 7 '17 at 21:20






  • 1




    $begingroup$
    This becomes more or less direct as soon as one writes down $f_X,Y$ as a true function defined on $mathbb R^2$, that is, $$f_X,Y(x,y)=5x^2ymathbf 1_<1$$ then the usual formula $$f_Y(y)=int_mathbb Rf_X,Y(x,y)dx$$ defines a true function $f_Y$ on $mathbb R$ and yields what I wrote in my first comment if $|y|<1$ and $0$ otherwise.
    $endgroup$
    – Did
    Mar 7 '17 at 22:18











  • $begingroup$
    *Typo: ...and yields what I wrote in my first comment if $0<y<1$ and $0$ otherwise.
    $endgroup$
    – Did
    Mar 9 '17 at 9:58














0












0








0





$begingroup$


Let $X$ and $Y$ be two random variables with joint density function:
$f_XY(x,y) = begincases 5x^2y&-1leq xleq1, 0<yleq|x| \0&textotherwise endcases$



Find $f_Y(x|y)$ the conditional probability density function of $X$ given $Y =
y$
. Sketch the graph of $f_Y(x|.5)$



The graph part isn't the confusing issue as I feel once I get to it, I will be able to solve it. My issue is finding the proper $f_Y(x|y)$. I thought I would do $f_y(y)=int_-1^15x^2ydx$ and I get $10yover3$ then I plug that into the formula to get $5x^2yover10yover3$ $= 3x^2over2$
However, the answer is $3x^2over2(1-y^3)$
What am I doing wrong? I feel like it has to do with my limits of integration but I don't see how it isn't $-1$ to $1$.










share|cite|improve this question











$endgroup$




Let $X$ and $Y$ be two random variables with joint density function:
$f_XY(x,y) = begincases 5x^2y&-1leq xleq1, 0<yleq|x| \0&textotherwise endcases$



Find $f_Y(x|y)$ the conditional probability density function of $X$ given $Y =
y$
. Sketch the graph of $f_Y(x|.5)$



The graph part isn't the confusing issue as I feel once I get to it, I will be able to solve it. My issue is finding the proper $f_Y(x|y)$. I thought I would do $f_y(y)=int_-1^15x^2ydx$ and I get $10yover3$ then I plug that into the formula to get $5x^2yover10yover3$ $= 3x^2over2$
However, the answer is $3x^2over2(1-y^3)$
What am I doing wrong? I feel like it has to do with my limits of integration but I don't see how it isn't $-1$ to $1$.







probability density-function






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Mar 14 at 6:14









Rócherz

2,9863821




2,9863821










asked Mar 7 '17 at 17:35









Heavenly96Heavenly96

279217




279217







  • 3




    $begingroup$
    Your computation of $f_Y$ is wrong, actually, $$f_Y(y)=int_f_X,Y(x,y)dx=int_-1^-ycdots dx+int_y^1cdots dx$$
    $endgroup$
    – Did
    Mar 7 '17 at 17:49











  • $begingroup$
    @Did would you mind elaborating on why this is the case? For all the other problems, including some sample SOA problems, I did it the same way as I did in my attempt up above and got the correct answers. Is it due to this one involving $|x|$?
    $endgroup$
    – Heavenly96
    Mar 7 '17 at 18:28










  • $begingroup$
    The conditional density "answer" $3x^2over2(1-y^3)$ that you gave in the question is not right either unless you put in various constraints on the values that $x$ and $y$ take on.
    $endgroup$
    – Dilip Sarwate
    Mar 7 '17 at 21:20






  • 1




    $begingroup$
    This becomes more or less direct as soon as one writes down $f_X,Y$ as a true function defined on $mathbb R^2$, that is, $$f_X,Y(x,y)=5x^2ymathbf 1_<1$$ then the usual formula $$f_Y(y)=int_mathbb Rf_X,Y(x,y)dx$$ defines a true function $f_Y$ on $mathbb R$ and yields what I wrote in my first comment if $|y|<1$ and $0$ otherwise.
    $endgroup$
    – Did
    Mar 7 '17 at 22:18











  • $begingroup$
    *Typo: ...and yields what I wrote in my first comment if $0<y<1$ and $0$ otherwise.
    $endgroup$
    – Did
    Mar 9 '17 at 9:58













  • 3




    $begingroup$
    Your computation of $f_Y$ is wrong, actually, $$f_Y(y)=int_f_X,Y(x,y)dx=int_-1^-ycdots dx+int_y^1cdots dx$$
    $endgroup$
    – Did
    Mar 7 '17 at 17:49











  • $begingroup$
    @Did would you mind elaborating on why this is the case? For all the other problems, including some sample SOA problems, I did it the same way as I did in my attempt up above and got the correct answers. Is it due to this one involving $|x|$?
    $endgroup$
    – Heavenly96
    Mar 7 '17 at 18:28










  • $begingroup$
    The conditional density "answer" $3x^2over2(1-y^3)$ that you gave in the question is not right either unless you put in various constraints on the values that $x$ and $y$ take on.
    $endgroup$
    – Dilip Sarwate
    Mar 7 '17 at 21:20






  • 1




    $begingroup$
    This becomes more or less direct as soon as one writes down $f_X,Y$ as a true function defined on $mathbb R^2$, that is, $$f_X,Y(x,y)=5x^2ymathbf 1_<1$$ then the usual formula $$f_Y(y)=int_mathbb Rf_X,Y(x,y)dx$$ defines a true function $f_Y$ on $mathbb R$ and yields what I wrote in my first comment if $|y|<1$ and $0$ otherwise.
    $endgroup$
    – Did
    Mar 7 '17 at 22:18











  • $begingroup$
    *Typo: ...and yields what I wrote in my first comment if $0<y<1$ and $0$ otherwise.
    $endgroup$
    – Did
    Mar 9 '17 at 9:58








3




3




$begingroup$
Your computation of $f_Y$ is wrong, actually, $$f_Y(y)=int_f_X,Y(x,y)dx=int_-1^-ycdots dx+int_y^1cdots dx$$
$endgroup$
– Did
Mar 7 '17 at 17:49





$begingroup$
Your computation of $f_Y$ is wrong, actually, $$f_Y(y)=int_f_X,Y(x,y)dx=int_-1^-ycdots dx+int_y^1cdots dx$$
$endgroup$
– Did
Mar 7 '17 at 17:49













$begingroup$
@Did would you mind elaborating on why this is the case? For all the other problems, including some sample SOA problems, I did it the same way as I did in my attempt up above and got the correct answers. Is it due to this one involving $|x|$?
$endgroup$
– Heavenly96
Mar 7 '17 at 18:28




$begingroup$
@Did would you mind elaborating on why this is the case? For all the other problems, including some sample SOA problems, I did it the same way as I did in my attempt up above and got the correct answers. Is it due to this one involving $|x|$?
$endgroup$
– Heavenly96
Mar 7 '17 at 18:28












$begingroup$
The conditional density "answer" $3x^2over2(1-y^3)$ that you gave in the question is not right either unless you put in various constraints on the values that $x$ and $y$ take on.
$endgroup$
– Dilip Sarwate
Mar 7 '17 at 21:20




$begingroup$
The conditional density "answer" $3x^2over2(1-y^3)$ that you gave in the question is not right either unless you put in various constraints on the values that $x$ and $y$ take on.
$endgroup$
– Dilip Sarwate
Mar 7 '17 at 21:20




1




1




$begingroup$
This becomes more or less direct as soon as one writes down $f_X,Y$ as a true function defined on $mathbb R^2$, that is, $$f_X,Y(x,y)=5x^2ymathbf 1_<1$$ then the usual formula $$f_Y(y)=int_mathbb Rf_X,Y(x,y)dx$$ defines a true function $f_Y$ on $mathbb R$ and yields what I wrote in my first comment if $|y|<1$ and $0$ otherwise.
$endgroup$
– Did
Mar 7 '17 at 22:18





$begingroup$
This becomes more or less direct as soon as one writes down $f_X,Y$ as a true function defined on $mathbb R^2$, that is, $$f_X,Y(x,y)=5x^2ymathbf 1_<1$$ then the usual formula $$f_Y(y)=int_mathbb Rf_X,Y(x,y)dx$$ defines a true function $f_Y$ on $mathbb R$ and yields what I wrote in my first comment if $|y|<1$ and $0$ otherwise.
$endgroup$
– Did
Mar 7 '17 at 22:18













$begingroup$
*Typo: ...and yields what I wrote in my first comment if $0<y<1$ and $0$ otherwise.
$endgroup$
– Did
Mar 9 '17 at 9:58





$begingroup$
*Typo: ...and yields what I wrote in my first comment if $0<y<1$ and $0$ otherwise.
$endgroup$
– Did
Mar 9 '17 at 9:58











1 Answer
1






active

oldest

votes


















2












$begingroup$

First, sketch the support of $(X,Y)$, which is $$(-1 le X le 1) cap (0 < Y le |X|).$$ This describes a "bow-tie" shaped region in the Cartesian coordinate plane, consisting of two right triangles with vertices $$(0,0), (1,0), (1,1), quad (0,0), (-1,0), (-1,1).$$ The symmetry of this region is clear, and the line of symmetry is the $y$-axis.



enter image description here



The plot below visualizes the joint density in three-dimensional space:



enter image description here



For a fixed $Y = y$, the permissible values of $X$ comprise the union of two intervals; that is to say, $$(X mid Y = y) in [-1, -y] cup [y, 1].$$ So, the interval of integration for the marginal density of $Y$ is not $[-1,1]$ but the interval above: $$f_Y(y) = int_x=-1^-y 5x^2 y , dx + int_x=y^1 5x^2 y , dx.$$



enter image description here



The above animation plots $X$ for specific values of $Y = y$ for $y in (0,1]$. The conditional density $f_Xmid Y(x mid y)$ is proportional to this plot in such a way that the area under the curve is made equal to $1$. In other words, the function $f_X mid Y$ is simply a scaled version of this animation such that the area under the curve remains $1$ regardless of the choice of $y$:



enter image description here



Compare this with the previous animation.



Another way to reason about this is to observe that the support requires that $|X| ge Y$: hence, on the interval $X in [-y,y]$, $f_X,Y(x,y) = 0$, thus writing $$f_Y(y) = int_x=-1^1 f_X,Y(x,y) , dx = int_x=-1^1 5x^2 y , dx$$ fails to reflect that the joint density is not $5x^2 y$ when $-y le x le y$. We can correct for this by the suitable use of indicator functions; for example, we could have instead written the joint density as $$f_X,Y(x,y) = 5x^2 y ;mathbb 1(|x| ge y), quad (x,y) in [-1,1] times [0,1].$$ This reminds us that integration in the rectangular region $[-1,1] times [0,1]$ comes with an extra condition for the integrand to be positive: $$f_Y(y) = int_x=-1^1 5x^2 y ; mathbb 1(|x| ge y) , dx = int_x=-1^-y 5x^2 y , dx + int_x=y^1 5x^2 y , dx.$$ We could go overboard and write the whole density as $$f_X,Y(x,y) = 5x^2 y ; mathbb 1 (0 < y le |x| le 1), quad (x,y) in mathbb R^2$$ but this isn't really necessary as we already intuitively grasp that the convex boundary of the support is rectangular, leading to a natural choice of the lower and upper limits of integration except when dealing with the nonconvex part.






share|cite|improve this answer











$endgroup$












    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
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2176285%2ffind-the-conditional-probability-density-function-of-x-given-y-y%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









    2












    $begingroup$

    First, sketch the support of $(X,Y)$, which is $$(-1 le X le 1) cap (0 < Y le |X|).$$ This describes a "bow-tie" shaped region in the Cartesian coordinate plane, consisting of two right triangles with vertices $$(0,0), (1,0), (1,1), quad (0,0), (-1,0), (-1,1).$$ The symmetry of this region is clear, and the line of symmetry is the $y$-axis.



    enter image description here



    The plot below visualizes the joint density in three-dimensional space:



    enter image description here



    For a fixed $Y = y$, the permissible values of $X$ comprise the union of two intervals; that is to say, $$(X mid Y = y) in [-1, -y] cup [y, 1].$$ So, the interval of integration for the marginal density of $Y$ is not $[-1,1]$ but the interval above: $$f_Y(y) = int_x=-1^-y 5x^2 y , dx + int_x=y^1 5x^2 y , dx.$$



    enter image description here



    The above animation plots $X$ for specific values of $Y = y$ for $y in (0,1]$. The conditional density $f_Xmid Y(x mid y)$ is proportional to this plot in such a way that the area under the curve is made equal to $1$. In other words, the function $f_X mid Y$ is simply a scaled version of this animation such that the area under the curve remains $1$ regardless of the choice of $y$:



    enter image description here



    Compare this with the previous animation.



    Another way to reason about this is to observe that the support requires that $|X| ge Y$: hence, on the interval $X in [-y,y]$, $f_X,Y(x,y) = 0$, thus writing $$f_Y(y) = int_x=-1^1 f_X,Y(x,y) , dx = int_x=-1^1 5x^2 y , dx$$ fails to reflect that the joint density is not $5x^2 y$ when $-y le x le y$. We can correct for this by the suitable use of indicator functions; for example, we could have instead written the joint density as $$f_X,Y(x,y) = 5x^2 y ;mathbb 1(|x| ge y), quad (x,y) in [-1,1] times [0,1].$$ This reminds us that integration in the rectangular region $[-1,1] times [0,1]$ comes with an extra condition for the integrand to be positive: $$f_Y(y) = int_x=-1^1 5x^2 y ; mathbb 1(|x| ge y) , dx = int_x=-1^-y 5x^2 y , dx + int_x=y^1 5x^2 y , dx.$$ We could go overboard and write the whole density as $$f_X,Y(x,y) = 5x^2 y ; mathbb 1 (0 < y le |x| le 1), quad (x,y) in mathbb R^2$$ but this isn't really necessary as we already intuitively grasp that the convex boundary of the support is rectangular, leading to a natural choice of the lower and upper limits of integration except when dealing with the nonconvex part.






    share|cite|improve this answer











    $endgroup$

















      2












      $begingroup$

      First, sketch the support of $(X,Y)$, which is $$(-1 le X le 1) cap (0 < Y le |X|).$$ This describes a "bow-tie" shaped region in the Cartesian coordinate plane, consisting of two right triangles with vertices $$(0,0), (1,0), (1,1), quad (0,0), (-1,0), (-1,1).$$ The symmetry of this region is clear, and the line of symmetry is the $y$-axis.



      enter image description here



      The plot below visualizes the joint density in three-dimensional space:



      enter image description here



      For a fixed $Y = y$, the permissible values of $X$ comprise the union of two intervals; that is to say, $$(X mid Y = y) in [-1, -y] cup [y, 1].$$ So, the interval of integration for the marginal density of $Y$ is not $[-1,1]$ but the interval above: $$f_Y(y) = int_x=-1^-y 5x^2 y , dx + int_x=y^1 5x^2 y , dx.$$



      enter image description here



      The above animation plots $X$ for specific values of $Y = y$ for $y in (0,1]$. The conditional density $f_Xmid Y(x mid y)$ is proportional to this plot in such a way that the area under the curve is made equal to $1$. In other words, the function $f_X mid Y$ is simply a scaled version of this animation such that the area under the curve remains $1$ regardless of the choice of $y$:



      enter image description here



      Compare this with the previous animation.



      Another way to reason about this is to observe that the support requires that $|X| ge Y$: hence, on the interval $X in [-y,y]$, $f_X,Y(x,y) = 0$, thus writing $$f_Y(y) = int_x=-1^1 f_X,Y(x,y) , dx = int_x=-1^1 5x^2 y , dx$$ fails to reflect that the joint density is not $5x^2 y$ when $-y le x le y$. We can correct for this by the suitable use of indicator functions; for example, we could have instead written the joint density as $$f_X,Y(x,y) = 5x^2 y ;mathbb 1(|x| ge y), quad (x,y) in [-1,1] times [0,1].$$ This reminds us that integration in the rectangular region $[-1,1] times [0,1]$ comes with an extra condition for the integrand to be positive: $$f_Y(y) = int_x=-1^1 5x^2 y ; mathbb 1(|x| ge y) , dx = int_x=-1^-y 5x^2 y , dx + int_x=y^1 5x^2 y , dx.$$ We could go overboard and write the whole density as $$f_X,Y(x,y) = 5x^2 y ; mathbb 1 (0 < y le |x| le 1), quad (x,y) in mathbb R^2$$ but this isn't really necessary as we already intuitively grasp that the convex boundary of the support is rectangular, leading to a natural choice of the lower and upper limits of integration except when dealing with the nonconvex part.






      share|cite|improve this answer











      $endgroup$















        2












        2








        2





        $begingroup$

        First, sketch the support of $(X,Y)$, which is $$(-1 le X le 1) cap (0 < Y le |X|).$$ This describes a "bow-tie" shaped region in the Cartesian coordinate plane, consisting of two right triangles with vertices $$(0,0), (1,0), (1,1), quad (0,0), (-1,0), (-1,1).$$ The symmetry of this region is clear, and the line of symmetry is the $y$-axis.



        enter image description here



        The plot below visualizes the joint density in three-dimensional space:



        enter image description here



        For a fixed $Y = y$, the permissible values of $X$ comprise the union of two intervals; that is to say, $$(X mid Y = y) in [-1, -y] cup [y, 1].$$ So, the interval of integration for the marginal density of $Y$ is not $[-1,1]$ but the interval above: $$f_Y(y) = int_x=-1^-y 5x^2 y , dx + int_x=y^1 5x^2 y , dx.$$



        enter image description here



        The above animation plots $X$ for specific values of $Y = y$ for $y in (0,1]$. The conditional density $f_Xmid Y(x mid y)$ is proportional to this plot in such a way that the area under the curve is made equal to $1$. In other words, the function $f_X mid Y$ is simply a scaled version of this animation such that the area under the curve remains $1$ regardless of the choice of $y$:



        enter image description here



        Compare this with the previous animation.



        Another way to reason about this is to observe that the support requires that $|X| ge Y$: hence, on the interval $X in [-y,y]$, $f_X,Y(x,y) = 0$, thus writing $$f_Y(y) = int_x=-1^1 f_X,Y(x,y) , dx = int_x=-1^1 5x^2 y , dx$$ fails to reflect that the joint density is not $5x^2 y$ when $-y le x le y$. We can correct for this by the suitable use of indicator functions; for example, we could have instead written the joint density as $$f_X,Y(x,y) = 5x^2 y ;mathbb 1(|x| ge y), quad (x,y) in [-1,1] times [0,1].$$ This reminds us that integration in the rectangular region $[-1,1] times [0,1]$ comes with an extra condition for the integrand to be positive: $$f_Y(y) = int_x=-1^1 5x^2 y ; mathbb 1(|x| ge y) , dx = int_x=-1^-y 5x^2 y , dx + int_x=y^1 5x^2 y , dx.$$ We could go overboard and write the whole density as $$f_X,Y(x,y) = 5x^2 y ; mathbb 1 (0 < y le |x| le 1), quad (x,y) in mathbb R^2$$ but this isn't really necessary as we already intuitively grasp that the convex boundary of the support is rectangular, leading to a natural choice of the lower and upper limits of integration except when dealing with the nonconvex part.






        share|cite|improve this answer











        $endgroup$



        First, sketch the support of $(X,Y)$, which is $$(-1 le X le 1) cap (0 < Y le |X|).$$ This describes a "bow-tie" shaped region in the Cartesian coordinate plane, consisting of two right triangles with vertices $$(0,0), (1,0), (1,1), quad (0,0), (-1,0), (-1,1).$$ The symmetry of this region is clear, and the line of symmetry is the $y$-axis.



        enter image description here



        The plot below visualizes the joint density in three-dimensional space:



        enter image description here



        For a fixed $Y = y$, the permissible values of $X$ comprise the union of two intervals; that is to say, $$(X mid Y = y) in [-1, -y] cup [y, 1].$$ So, the interval of integration for the marginal density of $Y$ is not $[-1,1]$ but the interval above: $$f_Y(y) = int_x=-1^-y 5x^2 y , dx + int_x=y^1 5x^2 y , dx.$$



        enter image description here



        The above animation plots $X$ for specific values of $Y = y$ for $y in (0,1]$. The conditional density $f_Xmid Y(x mid y)$ is proportional to this plot in such a way that the area under the curve is made equal to $1$. In other words, the function $f_X mid Y$ is simply a scaled version of this animation such that the area under the curve remains $1$ regardless of the choice of $y$:



        enter image description here



        Compare this with the previous animation.



        Another way to reason about this is to observe that the support requires that $|X| ge Y$: hence, on the interval $X in [-y,y]$, $f_X,Y(x,y) = 0$, thus writing $$f_Y(y) = int_x=-1^1 f_X,Y(x,y) , dx = int_x=-1^1 5x^2 y , dx$$ fails to reflect that the joint density is not $5x^2 y$ when $-y le x le y$. We can correct for this by the suitable use of indicator functions; for example, we could have instead written the joint density as $$f_X,Y(x,y) = 5x^2 y ;mathbb 1(|x| ge y), quad (x,y) in [-1,1] times [0,1].$$ This reminds us that integration in the rectangular region $[-1,1] times [0,1]$ comes with an extra condition for the integrand to be positive: $$f_Y(y) = int_x=-1^1 5x^2 y ; mathbb 1(|x| ge y) , dx = int_x=-1^-y 5x^2 y , dx + int_x=y^1 5x^2 y , dx.$$ We could go overboard and write the whole density as $$f_X,Y(x,y) = 5x^2 y ; mathbb 1 (0 < y le |x| le 1), quad (x,y) in mathbb R^2$$ but this isn't really necessary as we already intuitively grasp that the convex boundary of the support is rectangular, leading to a natural choice of the lower and upper limits of integration except when dealing with the nonconvex part.







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited Mar 7 '17 at 21:35

























        answered Mar 7 '17 at 21:20









        heropupheropup

        64.6k764103




        64.6k764103



























            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.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2176285%2ffind-the-conditional-probability-density-function-of-x-given-y-y%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

            Solar Wings Breeze Design and development Specifications (Breeze) References Navigation menu1368-485X"Hang glider: Breeze (Solar Wings)"e

            Kathakali Contents Etymology and nomenclature History Repertoire Songs and musical instruments Traditional plays Styles: Sampradayam Training centers and awards Relationship to other dance forms See also Notes References External links Navigation menueThe Illustrated Encyclopedia of Hinduism: A-MSouth Asian Folklore: An EncyclopediaRoutledge International Encyclopedia of Women: Global Women's Issues and KnowledgeKathakali Dance-drama: Where Gods and Demons Come to PlayKathakali Dance-drama: Where Gods and Demons Come to PlayKathakali Dance-drama: Where Gods and Demons Come to Play10.1353/atj.2005.0004The Illustrated Encyclopedia of Hinduism: A-MEncyclopedia of HinduismKathakali Dance-drama: Where Gods and Demons Come to PlaySonic Liturgy: Ritual and Music in Hindu Tradition"The Mirror of Gesture"Kathakali Dance-drama: Where Gods and Demons Come to Play"Kathakali"Indian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceMedieval Indian Literature: An AnthologyThe Oxford Companion to Indian TheatreSouth Asian Folklore: An Encyclopedia : Afghanistan, Bangladesh, India, Nepal, Pakistan, Sri LankaThe Rise of Performance Studies: Rethinking Richard Schechner's Broad SpectrumIndian Theatre: Traditions of PerformanceModern Asian Theatre and Performance 1900-2000Critical Theory and PerformanceBetween Theater and AnthropologyKathakali603847011Indian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceBetween Theater and AnthropologyBetween Theater and AnthropologyNambeesan Smaraka AwardsArchivedThe Cambridge Guide to TheatreRoutledge International Encyclopedia of Women: Global Women's Issues and KnowledgeThe Garland Encyclopedia of World Music: South Asia : the Indian subcontinentThe Ethos of Noh: Actors and Their Art10.2307/1145740By Means of Performance: Intercultural Studies of Theatre and Ritual10.1017/s204912550000100xReconceiving the Renaissance: A Critical ReaderPerformance TheoryListening to Theatre: The Aural Dimension of Beijing Opera10.2307/1146013Kathakali: The Art of the Non-WorldlyOn KathakaliKathakali, the dance theatreThe Kathakali Complex: Performance & StructureKathakali Dance-Drama: Where Gods and Demons Come to Play10.1093/obo/9780195399318-0071Drama and Ritual of Early Hinduism"In the Shadow of Hollywood Orientalism: Authentic East Indian Dancing"10.1080/08949460490274013Sanskrit Play Production in Ancient IndiaIndian Music: History and StructureBharata, the Nāṭyaśāstra233639306Table of Contents2238067286469807Dance In Indian Painting10.2307/32047833204783Kathakali Dance-Theatre: A Visual Narrative of Sacred Indian MimeIndian Classical Dance: The Renaissance and BeyondKathakali: an indigenous art-form of Keralaeee

            Method to test if a number is a perfect power? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)Detecting perfect squares faster than by extracting square rooteffective way to get the integer sequence A181392 from oeisA rarely mentioned fact about perfect powersHow many numbers such $n$ are there that $n<100,lfloorsqrtn rfloor mid n$Check perfect squareness by modulo division against multiple basesFor what pair of integers $(a,b)$ is $3^a + 7^b$ a perfect square.Do there exist any positive integers $n$ such that $lfloore^nrfloor$ is a perfect power? What is the probability that one exists?finding perfect power factors of an integerProve that the sequence contains a perfect square for any natural number $m $ in the domain of $f$ .Counting Perfect Powers