Continuous Density Functions

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












First of all I know this question has been solved, but none of the online forums really explain it well, I am really confused with this question.





  1. Suppose you choose at random a real number X from the interval $[2; 10]$.



    (a) Find the density function $f(x)$ and the probability of an event $E$ for this experiment, where $E$ is a subinterval $[a; b]$ of $[2; 10]$.



    (b) From (a), find the probability that $X > 5$, that $5 < X < 7$, and that
    $X^2 -12X + 35 > 0$.





For instance for part a, $f(x)= 1/8$. Why? If $X$ is chosen from the interval $[2;10]$, which means $2le xle 10$, from here there are nine numbers, so why is it $1/8$?







share|cite|improve this question






















  • REAL numbers, not integers.
    – Graham Kemp
    Jan 22 '16 at 2:57










  • This is known as the "Fence Post Error". If I have nine fence posts and place them in a line one metre apart, what length of fencing do I need?
    – Graham Kemp
    Jan 22 '16 at 3:20














up vote
1
down vote

favorite












First of all I know this question has been solved, but none of the online forums really explain it well, I am really confused with this question.





  1. Suppose you choose at random a real number X from the interval $[2; 10]$.



    (a) Find the density function $f(x)$ and the probability of an event $E$ for this experiment, where $E$ is a subinterval $[a; b]$ of $[2; 10]$.



    (b) From (a), find the probability that $X > 5$, that $5 < X < 7$, and that
    $X^2 -12X + 35 > 0$.





For instance for part a, $f(x)= 1/8$. Why? If $X$ is chosen from the interval $[2;10]$, which means $2le xle 10$, from here there are nine numbers, so why is it $1/8$?







share|cite|improve this question






















  • REAL numbers, not integers.
    – Graham Kemp
    Jan 22 '16 at 2:57










  • This is known as the "Fence Post Error". If I have nine fence posts and place them in a line one metre apart, what length of fencing do I need?
    – Graham Kemp
    Jan 22 '16 at 3:20












up vote
1
down vote

favorite









up vote
1
down vote

favorite











First of all I know this question has been solved, but none of the online forums really explain it well, I am really confused with this question.





  1. Suppose you choose at random a real number X from the interval $[2; 10]$.



    (a) Find the density function $f(x)$ and the probability of an event $E$ for this experiment, where $E$ is a subinterval $[a; b]$ of $[2; 10]$.



    (b) From (a), find the probability that $X > 5$, that $5 < X < 7$, and that
    $X^2 -12X + 35 > 0$.





For instance for part a, $f(x)= 1/8$. Why? If $X$ is chosen from the interval $[2;10]$, which means $2le xle 10$, from here there are nine numbers, so why is it $1/8$?







share|cite|improve this question














First of all I know this question has been solved, but none of the online forums really explain it well, I am really confused with this question.





  1. Suppose you choose at random a real number X from the interval $[2; 10]$.



    (a) Find the density function $f(x)$ and the probability of an event $E$ for this experiment, where $E$ is a subinterval $[a; b]$ of $[2; 10]$.



    (b) From (a), find the probability that $X > 5$, that $5 < X < 7$, and that
    $X^2 -12X + 35 > 0$.





For instance for part a, $f(x)= 1/8$. Why? If $X$ is chosen from the interval $[2;10]$, which means $2le xle 10$, from here there are nine numbers, so why is it $1/8$?









share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 22 '16 at 3:16









Graham Kemp

80.6k43275




80.6k43275










asked Jan 22 '16 at 2:45









learnmore

977




977











  • REAL numbers, not integers.
    – Graham Kemp
    Jan 22 '16 at 2:57










  • This is known as the "Fence Post Error". If I have nine fence posts and place them in a line one metre apart, what length of fencing do I need?
    – Graham Kemp
    Jan 22 '16 at 3:20
















  • REAL numbers, not integers.
    – Graham Kemp
    Jan 22 '16 at 2:57










  • This is known as the "Fence Post Error". If I have nine fence posts and place them in a line one metre apart, what length of fencing do I need?
    – Graham Kemp
    Jan 22 '16 at 3:20















REAL numbers, not integers.
– Graham Kemp
Jan 22 '16 at 2:57




REAL numbers, not integers.
– Graham Kemp
Jan 22 '16 at 2:57












This is known as the "Fence Post Error". If I have nine fence posts and place them in a line one metre apart, what length of fencing do I need?
– Graham Kemp
Jan 22 '16 at 3:20




This is known as the "Fence Post Error". If I have nine fence posts and place them in a line one metre apart, what length of fencing do I need?
– Graham Kemp
Jan 22 '16 at 3:20










2 Answers
2






active

oldest

votes

















up vote
0
down vote













From the first sentence we obtain that there is given a random variable $X:Omegato [2;10]$ such that for any Lebesgue measurable $Asubset[2;10]$ one has
$$mathbbP(Xin A)=fracint_A1dxint_[2;10]1dx=frac8,$$
where by $|A|$ I denote the one dimensional Lebesgue measure.



a) By definition a density function of a random variable $X$ is a Lebesgue measurable function defined on $X(Omega)$ such that for
$$mathbbP(Xin A)=int_Af(x)dx.$$



Getting back to our problem we look for $f$ such that
$$frac8=int_Af(x)dx.$$
Clearly $f(x)equivfrac18$, satisfies the above condition. To answer the second part of a) we compute
$$mathbbP(Xin[a;b])=int_[a;b]f(x)dx=fracb-a8.$$



b) We have
$$mathbbP(X > 5)=int_(5;10]f(x)dx=frac10-58=frac58,\
mathbbP(5 < X < 7)=int_(5;7)f(x)dx=frac7-58=frac14.\
$$
To compute the last probability we first solve the inequality $x^2-12x+25>0$ for $xin[2;10]$. The roots of the quadratic function are $x_1,2=6pmsqrt6$, so the solution is $xin[2;6-sqrt6)cup(6+sqrt6;10]$. Finally
$$mathbbP(X^2-12X+25>0)=mathbbP(Xin[2;6-sqrt6)cup(6+sqrt6;10])=int_[2;6-sqrt6)cup(6+sqrt6;10]f(x)dx=frac18(6-sqrt6-2+10-(6+sqrt6))=frac18(8-2sqrt6)=1-fracsqrt64.$$






share|cite|improve this answer




















  • While I'm sure the work is correct, I believe introducing Lebesgue measurability into your answer is beyond the scope of the OP's course based on this question and others the OP has asked. While Lebesgue measurability is important for defining random variables, I don't see much necessity to introduce it here.
    – Brenton
    Jan 22 '16 at 3:38

















up vote
0
down vote













You are dealing with continuous random variable, not a discrete one.



The interval is a real number line segment of length $8$.   The uniform selection of REAL numbers from this interval will thus require a probability density of $tfrac 1 8$, in order that this integral is unity.



$$int_[2;10] f_X(x)operatorname d x = int_2^10 frac 1 8 operatorname d x = 1$$



This leads into (b):



$$mathsf P(aleq Xleq b) = int_a^b tfrac 1 8operatorname d x = frac b-a8 qquad mboxiff Big[ 2leq aleq bleq 10Big]$$




PS:




If $X$ is chosen from the interval $[2;10]$, which means $2≤x≤10$, from here there are nine numbers, so why is it $1/8$ ?




As mentioned above, you are dealing with a real number interval, so there are many, many, many more real numbers in the interval than those integers.   As to why the interval is of length $8$ when there are nine integers in the interval, refer to what is known as the "Fence Post Error".



Consider this: If I have nine fence posts placed in a line one metre apart, what length of fencing do I need?






share|cite|improve this answer






















    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: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    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%2f1621906%2fcontinuous-density-functions%23new-answer', 'question_page');

    );

    Post as a guest






























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    From the first sentence we obtain that there is given a random variable $X:Omegato [2;10]$ such that for any Lebesgue measurable $Asubset[2;10]$ one has
    $$mathbbP(Xin A)=fracint_A1dxint_[2;10]1dx=frac8,$$
    where by $|A|$ I denote the one dimensional Lebesgue measure.



    a) By definition a density function of a random variable $X$ is a Lebesgue measurable function defined on $X(Omega)$ such that for
    $$mathbbP(Xin A)=int_Af(x)dx.$$



    Getting back to our problem we look for $f$ such that
    $$frac8=int_Af(x)dx.$$
    Clearly $f(x)equivfrac18$, satisfies the above condition. To answer the second part of a) we compute
    $$mathbbP(Xin[a;b])=int_[a;b]f(x)dx=fracb-a8.$$



    b) We have
    $$mathbbP(X > 5)=int_(5;10]f(x)dx=frac10-58=frac58,\
    mathbbP(5 < X < 7)=int_(5;7)f(x)dx=frac7-58=frac14.\
    $$
    To compute the last probability we first solve the inequality $x^2-12x+25>0$ for $xin[2;10]$. The roots of the quadratic function are $x_1,2=6pmsqrt6$, so the solution is $xin[2;6-sqrt6)cup(6+sqrt6;10]$. Finally
    $$mathbbP(X^2-12X+25>0)=mathbbP(Xin[2;6-sqrt6)cup(6+sqrt6;10])=int_[2;6-sqrt6)cup(6+sqrt6;10]f(x)dx=frac18(6-sqrt6-2+10-(6+sqrt6))=frac18(8-2sqrt6)=1-fracsqrt64.$$






    share|cite|improve this answer




















    • While I'm sure the work is correct, I believe introducing Lebesgue measurability into your answer is beyond the scope of the OP's course based on this question and others the OP has asked. While Lebesgue measurability is important for defining random variables, I don't see much necessity to introduce it here.
      – Brenton
      Jan 22 '16 at 3:38














    up vote
    0
    down vote













    From the first sentence we obtain that there is given a random variable $X:Omegato [2;10]$ such that for any Lebesgue measurable $Asubset[2;10]$ one has
    $$mathbbP(Xin A)=fracint_A1dxint_[2;10]1dx=frac8,$$
    where by $|A|$ I denote the one dimensional Lebesgue measure.



    a) By definition a density function of a random variable $X$ is a Lebesgue measurable function defined on $X(Omega)$ such that for
    $$mathbbP(Xin A)=int_Af(x)dx.$$



    Getting back to our problem we look for $f$ such that
    $$frac8=int_Af(x)dx.$$
    Clearly $f(x)equivfrac18$, satisfies the above condition. To answer the second part of a) we compute
    $$mathbbP(Xin[a;b])=int_[a;b]f(x)dx=fracb-a8.$$



    b) We have
    $$mathbbP(X > 5)=int_(5;10]f(x)dx=frac10-58=frac58,\
    mathbbP(5 < X < 7)=int_(5;7)f(x)dx=frac7-58=frac14.\
    $$
    To compute the last probability we first solve the inequality $x^2-12x+25>0$ for $xin[2;10]$. The roots of the quadratic function are $x_1,2=6pmsqrt6$, so the solution is $xin[2;6-sqrt6)cup(6+sqrt6;10]$. Finally
    $$mathbbP(X^2-12X+25>0)=mathbbP(Xin[2;6-sqrt6)cup(6+sqrt6;10])=int_[2;6-sqrt6)cup(6+sqrt6;10]f(x)dx=frac18(6-sqrt6-2+10-(6+sqrt6))=frac18(8-2sqrt6)=1-fracsqrt64.$$






    share|cite|improve this answer




















    • While I'm sure the work is correct, I believe introducing Lebesgue measurability into your answer is beyond the scope of the OP's course based on this question and others the OP has asked. While Lebesgue measurability is important for defining random variables, I don't see much necessity to introduce it here.
      – Brenton
      Jan 22 '16 at 3:38












    up vote
    0
    down vote










    up vote
    0
    down vote









    From the first sentence we obtain that there is given a random variable $X:Omegato [2;10]$ such that for any Lebesgue measurable $Asubset[2;10]$ one has
    $$mathbbP(Xin A)=fracint_A1dxint_[2;10]1dx=frac8,$$
    where by $|A|$ I denote the one dimensional Lebesgue measure.



    a) By definition a density function of a random variable $X$ is a Lebesgue measurable function defined on $X(Omega)$ such that for
    $$mathbbP(Xin A)=int_Af(x)dx.$$



    Getting back to our problem we look for $f$ such that
    $$frac8=int_Af(x)dx.$$
    Clearly $f(x)equivfrac18$, satisfies the above condition. To answer the second part of a) we compute
    $$mathbbP(Xin[a;b])=int_[a;b]f(x)dx=fracb-a8.$$



    b) We have
    $$mathbbP(X > 5)=int_(5;10]f(x)dx=frac10-58=frac58,\
    mathbbP(5 < X < 7)=int_(5;7)f(x)dx=frac7-58=frac14.\
    $$
    To compute the last probability we first solve the inequality $x^2-12x+25>0$ for $xin[2;10]$. The roots of the quadratic function are $x_1,2=6pmsqrt6$, so the solution is $xin[2;6-sqrt6)cup(6+sqrt6;10]$. Finally
    $$mathbbP(X^2-12X+25>0)=mathbbP(Xin[2;6-sqrt6)cup(6+sqrt6;10])=int_[2;6-sqrt6)cup(6+sqrt6;10]f(x)dx=frac18(6-sqrt6-2+10-(6+sqrt6))=frac18(8-2sqrt6)=1-fracsqrt64.$$






    share|cite|improve this answer












    From the first sentence we obtain that there is given a random variable $X:Omegato [2;10]$ such that for any Lebesgue measurable $Asubset[2;10]$ one has
    $$mathbbP(Xin A)=fracint_A1dxint_[2;10]1dx=frac8,$$
    where by $|A|$ I denote the one dimensional Lebesgue measure.



    a) By definition a density function of a random variable $X$ is a Lebesgue measurable function defined on $X(Omega)$ such that for
    $$mathbbP(Xin A)=int_Af(x)dx.$$



    Getting back to our problem we look for $f$ such that
    $$frac8=int_Af(x)dx.$$
    Clearly $f(x)equivfrac18$, satisfies the above condition. To answer the second part of a) we compute
    $$mathbbP(Xin[a;b])=int_[a;b]f(x)dx=fracb-a8.$$



    b) We have
    $$mathbbP(X > 5)=int_(5;10]f(x)dx=frac10-58=frac58,\
    mathbbP(5 < X < 7)=int_(5;7)f(x)dx=frac7-58=frac14.\
    $$
    To compute the last probability we first solve the inequality $x^2-12x+25>0$ for $xin[2;10]$. The roots of the quadratic function are $x_1,2=6pmsqrt6$, so the solution is $xin[2;6-sqrt6)cup(6+sqrt6;10]$. Finally
    $$mathbbP(X^2-12X+25>0)=mathbbP(Xin[2;6-sqrt6)cup(6+sqrt6;10])=int_[2;6-sqrt6)cup(6+sqrt6;10]f(x)dx=frac18(6-sqrt6-2+10-(6+sqrt6))=frac18(8-2sqrt6)=1-fracsqrt64.$$







    share|cite|improve this answer












    share|cite|improve this answer



    share|cite|improve this answer










    answered Jan 22 '16 at 3:22









    Marcin Malogrosz

    1,68057




    1,68057











    • While I'm sure the work is correct, I believe introducing Lebesgue measurability into your answer is beyond the scope of the OP's course based on this question and others the OP has asked. While Lebesgue measurability is important for defining random variables, I don't see much necessity to introduce it here.
      – Brenton
      Jan 22 '16 at 3:38
















    • While I'm sure the work is correct, I believe introducing Lebesgue measurability into your answer is beyond the scope of the OP's course based on this question and others the OP has asked. While Lebesgue measurability is important for defining random variables, I don't see much necessity to introduce it here.
      – Brenton
      Jan 22 '16 at 3:38















    While I'm sure the work is correct, I believe introducing Lebesgue measurability into your answer is beyond the scope of the OP's course based on this question and others the OP has asked. While Lebesgue measurability is important for defining random variables, I don't see much necessity to introduce it here.
    – Brenton
    Jan 22 '16 at 3:38




    While I'm sure the work is correct, I believe introducing Lebesgue measurability into your answer is beyond the scope of the OP's course based on this question and others the OP has asked. While Lebesgue measurability is important for defining random variables, I don't see much necessity to introduce it here.
    – Brenton
    Jan 22 '16 at 3:38










    up vote
    0
    down vote













    You are dealing with continuous random variable, not a discrete one.



    The interval is a real number line segment of length $8$.   The uniform selection of REAL numbers from this interval will thus require a probability density of $tfrac 1 8$, in order that this integral is unity.



    $$int_[2;10] f_X(x)operatorname d x = int_2^10 frac 1 8 operatorname d x = 1$$



    This leads into (b):



    $$mathsf P(aleq Xleq b) = int_a^b tfrac 1 8operatorname d x = frac b-a8 qquad mboxiff Big[ 2leq aleq bleq 10Big]$$




    PS:




    If $X$ is chosen from the interval $[2;10]$, which means $2≤x≤10$, from here there are nine numbers, so why is it $1/8$ ?




    As mentioned above, you are dealing with a real number interval, so there are many, many, many more real numbers in the interval than those integers.   As to why the interval is of length $8$ when there are nine integers in the interval, refer to what is known as the "Fence Post Error".



    Consider this: If I have nine fence posts placed in a line one metre apart, what length of fencing do I need?






    share|cite|improve this answer


























      up vote
      0
      down vote













      You are dealing with continuous random variable, not a discrete one.



      The interval is a real number line segment of length $8$.   The uniform selection of REAL numbers from this interval will thus require a probability density of $tfrac 1 8$, in order that this integral is unity.



      $$int_[2;10] f_X(x)operatorname d x = int_2^10 frac 1 8 operatorname d x = 1$$



      This leads into (b):



      $$mathsf P(aleq Xleq b) = int_a^b tfrac 1 8operatorname d x = frac b-a8 qquad mboxiff Big[ 2leq aleq bleq 10Big]$$




      PS:




      If $X$ is chosen from the interval $[2;10]$, which means $2≤x≤10$, from here there are nine numbers, so why is it $1/8$ ?




      As mentioned above, you are dealing with a real number interval, so there are many, many, many more real numbers in the interval than those integers.   As to why the interval is of length $8$ when there are nine integers in the interval, refer to what is known as the "Fence Post Error".



      Consider this: If I have nine fence posts placed in a line one metre apart, what length of fencing do I need?






      share|cite|improve this answer
























        up vote
        0
        down vote










        up vote
        0
        down vote









        You are dealing with continuous random variable, not a discrete one.



        The interval is a real number line segment of length $8$.   The uniform selection of REAL numbers from this interval will thus require a probability density of $tfrac 1 8$, in order that this integral is unity.



        $$int_[2;10] f_X(x)operatorname d x = int_2^10 frac 1 8 operatorname d x = 1$$



        This leads into (b):



        $$mathsf P(aleq Xleq b) = int_a^b tfrac 1 8operatorname d x = frac b-a8 qquad mboxiff Big[ 2leq aleq bleq 10Big]$$




        PS:




        If $X$ is chosen from the interval $[2;10]$, which means $2≤x≤10$, from here there are nine numbers, so why is it $1/8$ ?




        As mentioned above, you are dealing with a real number interval, so there are many, many, many more real numbers in the interval than those integers.   As to why the interval is of length $8$ when there are nine integers in the interval, refer to what is known as the "Fence Post Error".



        Consider this: If I have nine fence posts placed in a line one metre apart, what length of fencing do I need?






        share|cite|improve this answer














        You are dealing with continuous random variable, not a discrete one.



        The interval is a real number line segment of length $8$.   The uniform selection of REAL numbers from this interval will thus require a probability density of $tfrac 1 8$, in order that this integral is unity.



        $$int_[2;10] f_X(x)operatorname d x = int_2^10 frac 1 8 operatorname d x = 1$$



        This leads into (b):



        $$mathsf P(aleq Xleq b) = int_a^b tfrac 1 8operatorname d x = frac b-a8 qquad mboxiff Big[ 2leq aleq bleq 10Big]$$




        PS:




        If $X$ is chosen from the interval $[2;10]$, which means $2≤x≤10$, from here there are nine numbers, so why is it $1/8$ ?




        As mentioned above, you are dealing with a real number interval, so there are many, many, many more real numbers in the interval than those integers.   As to why the interval is of length $8$ when there are nine integers in the interval, refer to what is known as the "Fence Post Error".



        Consider this: If I have nine fence posts placed in a line one metre apart, what length of fencing do I need?







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited Jan 22 '16 at 3:31

























        answered Jan 22 '16 at 3:01









        Graham Kemp

        80.6k43275




        80.6k43275






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1621906%2fcontinuous-density-functions%23new-answer', 'question_page');

            );

            Post as a guest













































































            這個網誌中的熱門文章

            How to combine Bézier curves to a surface?

            Carbon dioxide

            Why am i infinitely getting the same tweet with the Twitter Search API?