Continuous Random Variables question












1












$begingroup$



The continuous random variable $X$ has p.d.f. $$f(x) =begin{cases}
frac{2(7-x)}{25},&text{for $2leq xleq 7$}\ 0,& text{otherwise}
end{cases} $$



The function $g(X)$ is defined by $g(x) = x^2 + x$



Find the value of $E[g(X)]$.




Is the correct answer to this question $37/2$ or $397/6$? I disagree with the answer the textbook has given.



I believe the answer to be $37/2$, this is for 2 main reasons: Firstly, if you compute the integral of $(x^2 + x) (14/25 - 2x/25)$ with limits $2$ and $7$ then you get $37/2$. Secondly, an easier way. $E[X]$ in this case is $11/3$, and $E[X^2]$ is $89/6$ add them together: $89/6 + 11/3 = 37/2$. However, the textbook says the answer is $397/6$, and then follows up the question using this value.










share|cite|improve this question











$endgroup$












  • $begingroup$
    Can you explain why do you disagree?
    $endgroup$
    – Thomas Shelby
    Dec 2 '18 at 2:06






  • 1




    $begingroup$
    I believe the answer to be 37/2, this is for 2 main reasons: Firstly, if you compute the integral of (x^2 + x) (14/25 - 2x/25) with limits 2 and 7 then you get 37/2 Secondly, an easier way. E(X) in this case is 11/3, and E(X^2) is 89/6 add them together: 89/6 + 11/3 = 37/2 This is why I think the answer is 37/2. However, the textbook says the answer is 397/6, and then follows up the question using this.
    $endgroup$
    – user546944
    Dec 2 '18 at 2:11










  • $begingroup$
    My calculation also yielded $18.5$. The textbook answer may be wrong.
    $endgroup$
    – Thomas Shelby
    Dec 2 '18 at 2:32










  • $begingroup$
    Your definition of $f(x)$ uses $gt$ not =. Why?
    $endgroup$
    – herb steinberg
    Dec 9 '18 at 3:42
















1












$begingroup$



The continuous random variable $X$ has p.d.f. $$f(x) =begin{cases}
frac{2(7-x)}{25},&text{for $2leq xleq 7$}\ 0,& text{otherwise}
end{cases} $$



The function $g(X)$ is defined by $g(x) = x^2 + x$



Find the value of $E[g(X)]$.




Is the correct answer to this question $37/2$ or $397/6$? I disagree with the answer the textbook has given.



I believe the answer to be $37/2$, this is for 2 main reasons: Firstly, if you compute the integral of $(x^2 + x) (14/25 - 2x/25)$ with limits $2$ and $7$ then you get $37/2$. Secondly, an easier way. $E[X]$ in this case is $11/3$, and $E[X^2]$ is $89/6$ add them together: $89/6 + 11/3 = 37/2$. However, the textbook says the answer is $397/6$, and then follows up the question using this value.










share|cite|improve this question











$endgroup$












  • $begingroup$
    Can you explain why do you disagree?
    $endgroup$
    – Thomas Shelby
    Dec 2 '18 at 2:06






  • 1




    $begingroup$
    I believe the answer to be 37/2, this is for 2 main reasons: Firstly, if you compute the integral of (x^2 + x) (14/25 - 2x/25) with limits 2 and 7 then you get 37/2 Secondly, an easier way. E(X) in this case is 11/3, and E(X^2) is 89/6 add them together: 89/6 + 11/3 = 37/2 This is why I think the answer is 37/2. However, the textbook says the answer is 397/6, and then follows up the question using this.
    $endgroup$
    – user546944
    Dec 2 '18 at 2:11










  • $begingroup$
    My calculation also yielded $18.5$. The textbook answer may be wrong.
    $endgroup$
    – Thomas Shelby
    Dec 2 '18 at 2:32










  • $begingroup$
    Your definition of $f(x)$ uses $gt$ not =. Why?
    $endgroup$
    – herb steinberg
    Dec 9 '18 at 3:42














1












1








1





$begingroup$



The continuous random variable $X$ has p.d.f. $$f(x) =begin{cases}
frac{2(7-x)}{25},&text{for $2leq xleq 7$}\ 0,& text{otherwise}
end{cases} $$



The function $g(X)$ is defined by $g(x) = x^2 + x$



Find the value of $E[g(X)]$.




Is the correct answer to this question $37/2$ or $397/6$? I disagree with the answer the textbook has given.



I believe the answer to be $37/2$, this is for 2 main reasons: Firstly, if you compute the integral of $(x^2 + x) (14/25 - 2x/25)$ with limits $2$ and $7$ then you get $37/2$. Secondly, an easier way. $E[X]$ in this case is $11/3$, and $E[X^2]$ is $89/6$ add them together: $89/6 + 11/3 = 37/2$. However, the textbook says the answer is $397/6$, and then follows up the question using this value.










share|cite|improve this question











$endgroup$





The continuous random variable $X$ has p.d.f. $$f(x) =begin{cases}
frac{2(7-x)}{25},&text{for $2leq xleq 7$}\ 0,& text{otherwise}
end{cases} $$



The function $g(X)$ is defined by $g(x) = x^2 + x$



Find the value of $E[g(X)]$.




Is the correct answer to this question $37/2$ or $397/6$? I disagree with the answer the textbook has given.



I believe the answer to be $37/2$, this is for 2 main reasons: Firstly, if you compute the integral of $(x^2 + x) (14/25 - 2x/25)$ with limits $2$ and $7$ then you get $37/2$. Secondly, an easier way. $E[X]$ in this case is $11/3$, and $E[X^2]$ is $89/6$ add them together: $89/6 + 11/3 = 37/2$. However, the textbook says the answer is $397/6$, and then follows up the question using this value.







probability random-variables expected-value






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 10 '18 at 4:10









André 3000

12.6k22243




12.6k22243










asked Dec 2 '18 at 2:05







user546944



















  • $begingroup$
    Can you explain why do you disagree?
    $endgroup$
    – Thomas Shelby
    Dec 2 '18 at 2:06






  • 1




    $begingroup$
    I believe the answer to be 37/2, this is for 2 main reasons: Firstly, if you compute the integral of (x^2 + x) (14/25 - 2x/25) with limits 2 and 7 then you get 37/2 Secondly, an easier way. E(X) in this case is 11/3, and E(X^2) is 89/6 add them together: 89/6 + 11/3 = 37/2 This is why I think the answer is 37/2. However, the textbook says the answer is 397/6, and then follows up the question using this.
    $endgroup$
    – user546944
    Dec 2 '18 at 2:11










  • $begingroup$
    My calculation also yielded $18.5$. The textbook answer may be wrong.
    $endgroup$
    – Thomas Shelby
    Dec 2 '18 at 2:32










  • $begingroup$
    Your definition of $f(x)$ uses $gt$ not =. Why?
    $endgroup$
    – herb steinberg
    Dec 9 '18 at 3:42


















  • $begingroup$
    Can you explain why do you disagree?
    $endgroup$
    – Thomas Shelby
    Dec 2 '18 at 2:06






  • 1




    $begingroup$
    I believe the answer to be 37/2, this is for 2 main reasons: Firstly, if you compute the integral of (x^2 + x) (14/25 - 2x/25) with limits 2 and 7 then you get 37/2 Secondly, an easier way. E(X) in this case is 11/3, and E(X^2) is 89/6 add them together: 89/6 + 11/3 = 37/2 This is why I think the answer is 37/2. However, the textbook says the answer is 397/6, and then follows up the question using this.
    $endgroup$
    – user546944
    Dec 2 '18 at 2:11










  • $begingroup$
    My calculation also yielded $18.5$. The textbook answer may be wrong.
    $endgroup$
    – Thomas Shelby
    Dec 2 '18 at 2:32










  • $begingroup$
    Your definition of $f(x)$ uses $gt$ not =. Why?
    $endgroup$
    – herb steinberg
    Dec 9 '18 at 3:42
















$begingroup$
Can you explain why do you disagree?
$endgroup$
– Thomas Shelby
Dec 2 '18 at 2:06




$begingroup$
Can you explain why do you disagree?
$endgroup$
– Thomas Shelby
Dec 2 '18 at 2:06




1




1




$begingroup$
I believe the answer to be 37/2, this is for 2 main reasons: Firstly, if you compute the integral of (x^2 + x) (14/25 - 2x/25) with limits 2 and 7 then you get 37/2 Secondly, an easier way. E(X) in this case is 11/3, and E(X^2) is 89/6 add them together: 89/6 + 11/3 = 37/2 This is why I think the answer is 37/2. However, the textbook says the answer is 397/6, and then follows up the question using this.
$endgroup$
– user546944
Dec 2 '18 at 2:11




$begingroup$
I believe the answer to be 37/2, this is for 2 main reasons: Firstly, if you compute the integral of (x^2 + x) (14/25 - 2x/25) with limits 2 and 7 then you get 37/2 Secondly, an easier way. E(X) in this case is 11/3, and E(X^2) is 89/6 add them together: 89/6 + 11/3 = 37/2 This is why I think the answer is 37/2. However, the textbook says the answer is 397/6, and then follows up the question using this.
$endgroup$
– user546944
Dec 2 '18 at 2:11












$begingroup$
My calculation also yielded $18.5$. The textbook answer may be wrong.
$endgroup$
– Thomas Shelby
Dec 2 '18 at 2:32




$begingroup$
My calculation also yielded $18.5$. The textbook answer may be wrong.
$endgroup$
– Thomas Shelby
Dec 2 '18 at 2:32












$begingroup$
Your definition of $f(x)$ uses $gt$ not =. Why?
$endgroup$
– herb steinberg
Dec 9 '18 at 3:42




$begingroup$
Your definition of $f(x)$ uses $gt$ not =. Why?
$endgroup$
– herb steinberg
Dec 9 '18 at 3:42










1 Answer
1






active

oldest

votes


















2












$begingroup$

In addition to your calculations, which appear to be correct:



With probability $1$ we have that $2 < x leq 7.$
Within the interval $2 < x leq 7,$
the function $g(x) = x^2 + x$ has its maximum at $x = 7.$
With probability $1,$ therefore, $g(x) leq g(7) = 56.$
This implies that $E[g(x)] leq 56.$



Observing that $frac{397}{6} > 66,$ we know that $E[g(x)] neq frac{397}{6}.$






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%2f3022133%2fcontinuous-random-variables-question%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$

    In addition to your calculations, which appear to be correct:



    With probability $1$ we have that $2 < x leq 7.$
    Within the interval $2 < x leq 7,$
    the function $g(x) = x^2 + x$ has its maximum at $x = 7.$
    With probability $1,$ therefore, $g(x) leq g(7) = 56.$
    This implies that $E[g(x)] leq 56.$



    Observing that $frac{397}{6} > 66,$ we know that $E[g(x)] neq frac{397}{6}.$






    share|cite|improve this answer









    $endgroup$


















      2












      $begingroup$

      In addition to your calculations, which appear to be correct:



      With probability $1$ we have that $2 < x leq 7.$
      Within the interval $2 < x leq 7,$
      the function $g(x) = x^2 + x$ has its maximum at $x = 7.$
      With probability $1,$ therefore, $g(x) leq g(7) = 56.$
      This implies that $E[g(x)] leq 56.$



      Observing that $frac{397}{6} > 66,$ we know that $E[g(x)] neq frac{397}{6}.$






      share|cite|improve this answer









      $endgroup$
















        2












        2








        2





        $begingroup$

        In addition to your calculations, which appear to be correct:



        With probability $1$ we have that $2 < x leq 7.$
        Within the interval $2 < x leq 7,$
        the function $g(x) = x^2 + x$ has its maximum at $x = 7.$
        With probability $1,$ therefore, $g(x) leq g(7) = 56.$
        This implies that $E[g(x)] leq 56.$



        Observing that $frac{397}{6} > 66,$ we know that $E[g(x)] neq frac{397}{6}.$






        share|cite|improve this answer









        $endgroup$



        In addition to your calculations, which appear to be correct:



        With probability $1$ we have that $2 < x leq 7.$
        Within the interval $2 < x leq 7,$
        the function $g(x) = x^2 + x$ has its maximum at $x = 7.$
        With probability $1,$ therefore, $g(x) leq g(7) = 56.$
        This implies that $E[g(x)] leq 56.$



        Observing that $frac{397}{6} > 66,$ we know that $E[g(x)] neq frac{397}{6}.$







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Dec 2 '18 at 2:47









        David KDavid K

        54.4k343118




        54.4k343118






























            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%2f3022133%2fcontinuous-random-variables-question%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

            How to change which sound is reproduced for terminal bell?

            Can I use Tabulator js library in my java Spring + Thymeleaf project?

            Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents