Probability with Births and Discrete Math












0












$begingroup$



A couple is planning to have a family. Let us assume that the probability of having a girl is 0.48 and a boy is 0.52,and that the gender of this couple’s children are pairwise independent. They want to have at least one girl and at least one boy. At the same time, they know that raising too many kids is difficult. So here’s what they plan to do: they’ll keep trying to have children until they have at least one girl and at least one boy or until they have four kids. Once one of these two conditions are satisfied, they’ll stop. Our goal is to determine the expected number of children this couple will have.



Let X(s) be equal to the number of children with outcome s; e.g., X(GGB) = 3.



a. What are the possible values of X(s)?



b. For each such value i, list the outcomes in the event (X = i). For example, the outcome GGB is part of the event (X = 3).



c. For each such value i, what is P(X = i)? Keep in mind that P(G) = 0.48, P(B) = 0.52 and the gender of the couple’s children a independent of each other.



d. Finally, what isE[X]? That is, on average, how many kids will such a couple have?




I think I am very close to solving this, for A and B I have the possible outcomes of:



x = 1 -> G , B



x = 2 - > GG , GB , BB , BG



x = 3 - > GGG , GGB , BBB , BBG



x = 4 -> GGGG , GGGB , BBBB , BBBG



I have it like this because its impossible to have something like BBGG because once they would have a boy and a girl they would be done so they could never have 2 of each or more after the first boy and girl appear, or until 4.



For part C, im not sure if I am supposed to do this for each one or not. Here is what I was thinking I would do, e.g (x = 3) -> GGB would be (.48)(.48)(.52) = .12



But what I don't know is if GGG is even a possibility because technically its possible but we wouldn't be done at this point because that doesn't satisfy the condition of 4 children or at least 1 boy and 1 girl, so I don't know if I should find the probability to this or even include it .



Then for part D Im not sure of exactly how I would go about this, I was thinking something like $E[X] = E[X_1] + E[X_2] + E[X_3] + E[X_4] $ , but im not sure quite what to put in to these.










share|cite|improve this question









$endgroup$












  • $begingroup$
    Notice that the event $X = 1$ (having a total of one child) cannot occur since the couple continues to have children until they have both a boy and a girl or have four children.
    $endgroup$
    – N. F. Taussig
    Dec 9 '18 at 22:01












  • $begingroup$
    There are of course some unjustified assumptions in the problem statement itself, e.g., that trying hard enough suffices to have four kids. I suppose the error introdiced by these assumptions outweighs the second decimal difference between boys and girls (and other phenotypes)
    $endgroup$
    – Hagen von Eitzen
    Dec 9 '18 at 22:03
















0












$begingroup$



A couple is planning to have a family. Let us assume that the probability of having a girl is 0.48 and a boy is 0.52,and that the gender of this couple’s children are pairwise independent. They want to have at least one girl and at least one boy. At the same time, they know that raising too many kids is difficult. So here’s what they plan to do: they’ll keep trying to have children until they have at least one girl and at least one boy or until they have four kids. Once one of these two conditions are satisfied, they’ll stop. Our goal is to determine the expected number of children this couple will have.



Let X(s) be equal to the number of children with outcome s; e.g., X(GGB) = 3.



a. What are the possible values of X(s)?



b. For each such value i, list the outcomes in the event (X = i). For example, the outcome GGB is part of the event (X = 3).



c. For each such value i, what is P(X = i)? Keep in mind that P(G) = 0.48, P(B) = 0.52 and the gender of the couple’s children a independent of each other.



d. Finally, what isE[X]? That is, on average, how many kids will such a couple have?




I think I am very close to solving this, for A and B I have the possible outcomes of:



x = 1 -> G , B



x = 2 - > GG , GB , BB , BG



x = 3 - > GGG , GGB , BBB , BBG



x = 4 -> GGGG , GGGB , BBBB , BBBG



I have it like this because its impossible to have something like BBGG because once they would have a boy and a girl they would be done so they could never have 2 of each or more after the first boy and girl appear, or until 4.



For part C, im not sure if I am supposed to do this for each one or not. Here is what I was thinking I would do, e.g (x = 3) -> GGB would be (.48)(.48)(.52) = .12



But what I don't know is if GGG is even a possibility because technically its possible but we wouldn't be done at this point because that doesn't satisfy the condition of 4 children or at least 1 boy and 1 girl, so I don't know if I should find the probability to this or even include it .



Then for part D Im not sure of exactly how I would go about this, I was thinking something like $E[X] = E[X_1] + E[X_2] + E[X_3] + E[X_4] $ , but im not sure quite what to put in to these.










share|cite|improve this question









$endgroup$












  • $begingroup$
    Notice that the event $X = 1$ (having a total of one child) cannot occur since the couple continues to have children until they have both a boy and a girl or have four children.
    $endgroup$
    – N. F. Taussig
    Dec 9 '18 at 22:01












  • $begingroup$
    There are of course some unjustified assumptions in the problem statement itself, e.g., that trying hard enough suffices to have four kids. I suppose the error introdiced by these assumptions outweighs the second decimal difference between boys and girls (and other phenotypes)
    $endgroup$
    – Hagen von Eitzen
    Dec 9 '18 at 22:03














0












0








0





$begingroup$



A couple is planning to have a family. Let us assume that the probability of having a girl is 0.48 and a boy is 0.52,and that the gender of this couple’s children are pairwise independent. They want to have at least one girl and at least one boy. At the same time, they know that raising too many kids is difficult. So here’s what they plan to do: they’ll keep trying to have children until they have at least one girl and at least one boy or until they have four kids. Once one of these two conditions are satisfied, they’ll stop. Our goal is to determine the expected number of children this couple will have.



Let X(s) be equal to the number of children with outcome s; e.g., X(GGB) = 3.



a. What are the possible values of X(s)?



b. For each such value i, list the outcomes in the event (X = i). For example, the outcome GGB is part of the event (X = 3).



c. For each such value i, what is P(X = i)? Keep in mind that P(G) = 0.48, P(B) = 0.52 and the gender of the couple’s children a independent of each other.



d. Finally, what isE[X]? That is, on average, how many kids will such a couple have?




I think I am very close to solving this, for A and B I have the possible outcomes of:



x = 1 -> G , B



x = 2 - > GG , GB , BB , BG



x = 3 - > GGG , GGB , BBB , BBG



x = 4 -> GGGG , GGGB , BBBB , BBBG



I have it like this because its impossible to have something like BBGG because once they would have a boy and a girl they would be done so they could never have 2 of each or more after the first boy and girl appear, or until 4.



For part C, im not sure if I am supposed to do this for each one or not. Here is what I was thinking I would do, e.g (x = 3) -> GGB would be (.48)(.48)(.52) = .12



But what I don't know is if GGG is even a possibility because technically its possible but we wouldn't be done at this point because that doesn't satisfy the condition of 4 children or at least 1 boy and 1 girl, so I don't know if I should find the probability to this or even include it .



Then for part D Im not sure of exactly how I would go about this, I was thinking something like $E[X] = E[X_1] + E[X_2] + E[X_3] + E[X_4] $ , but im not sure quite what to put in to these.










share|cite|improve this question









$endgroup$





A couple is planning to have a family. Let us assume that the probability of having a girl is 0.48 and a boy is 0.52,and that the gender of this couple’s children are pairwise independent. They want to have at least one girl and at least one boy. At the same time, they know that raising too many kids is difficult. So here’s what they plan to do: they’ll keep trying to have children until they have at least one girl and at least one boy or until they have four kids. Once one of these two conditions are satisfied, they’ll stop. Our goal is to determine the expected number of children this couple will have.



Let X(s) be equal to the number of children with outcome s; e.g., X(GGB) = 3.



a. What are the possible values of X(s)?



b. For each such value i, list the outcomes in the event (X = i). For example, the outcome GGB is part of the event (X = 3).



c. For each such value i, what is P(X = i)? Keep in mind that P(G) = 0.48, P(B) = 0.52 and the gender of the couple’s children a independent of each other.



d. Finally, what isE[X]? That is, on average, how many kids will such a couple have?




I think I am very close to solving this, for A and B I have the possible outcomes of:



x = 1 -> G , B



x = 2 - > GG , GB , BB , BG



x = 3 - > GGG , GGB , BBB , BBG



x = 4 -> GGGG , GGGB , BBBB , BBBG



I have it like this because its impossible to have something like BBGG because once they would have a boy and a girl they would be done so they could never have 2 of each or more after the first boy and girl appear, or until 4.



For part C, im not sure if I am supposed to do this for each one or not. Here is what I was thinking I would do, e.g (x = 3) -> GGB would be (.48)(.48)(.52) = .12



But what I don't know is if GGG is even a possibility because technically its possible but we wouldn't be done at this point because that doesn't satisfy the condition of 4 children or at least 1 boy and 1 girl, so I don't know if I should find the probability to this or even include it .



Then for part D Im not sure of exactly how I would go about this, I was thinking something like $E[X] = E[X_1] + E[X_2] + E[X_3] + E[X_4] $ , but im not sure quite what to put in to these.







probability discrete-mathematics probability-distributions






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Dec 9 '18 at 21:57









STPM222STPM222

1




1












  • $begingroup$
    Notice that the event $X = 1$ (having a total of one child) cannot occur since the couple continues to have children until they have both a boy and a girl or have four children.
    $endgroup$
    – N. F. Taussig
    Dec 9 '18 at 22:01












  • $begingroup$
    There are of course some unjustified assumptions in the problem statement itself, e.g., that trying hard enough suffices to have four kids. I suppose the error introdiced by these assumptions outweighs the second decimal difference between boys and girls (and other phenotypes)
    $endgroup$
    – Hagen von Eitzen
    Dec 9 '18 at 22:03


















  • $begingroup$
    Notice that the event $X = 1$ (having a total of one child) cannot occur since the couple continues to have children until they have both a boy and a girl or have four children.
    $endgroup$
    – N. F. Taussig
    Dec 9 '18 at 22:01












  • $begingroup$
    There are of course some unjustified assumptions in the problem statement itself, e.g., that trying hard enough suffices to have four kids. I suppose the error introdiced by these assumptions outweighs the second decimal difference between boys and girls (and other phenotypes)
    $endgroup$
    – Hagen von Eitzen
    Dec 9 '18 at 22:03
















$begingroup$
Notice that the event $X = 1$ (having a total of one child) cannot occur since the couple continues to have children until they have both a boy and a girl or have four children.
$endgroup$
– N. F. Taussig
Dec 9 '18 at 22:01






$begingroup$
Notice that the event $X = 1$ (having a total of one child) cannot occur since the couple continues to have children until they have both a boy and a girl or have four children.
$endgroup$
– N. F. Taussig
Dec 9 '18 at 22:01














$begingroup$
There are of course some unjustified assumptions in the problem statement itself, e.g., that trying hard enough suffices to have four kids. I suppose the error introdiced by these assumptions outweighs the second decimal difference between boys and girls (and other phenotypes)
$endgroup$
– Hagen von Eitzen
Dec 9 '18 at 22:03




$begingroup$
There are of course some unjustified assumptions in the problem statement itself, e.g., that trying hard enough suffices to have four kids. I suppose the error introdiced by these assumptions outweighs the second decimal difference between boys and girls (and other phenotypes)
$endgroup$
– Hagen von Eitzen
Dec 9 '18 at 22:03










1 Answer
1






active

oldest

votes


















0












$begingroup$

For A, note that $X(S)$ cannot be $1$: they can't stop with just one child. So, you can only have 2,3, or 4.



For B, note that $BBB$ and $GGG$ are not possible outcomes: the couple would go for a fourth child.




For part C, im not sure if I am supposed to do this for each one or not. Here is what I was thinking I would do, e.g (x = 3) -> GGB would be (.48)(.48)(.52) = .12




You're right that $P(GGB)=(.48)(.48)(.52)$



But you also need to compute the probabilities of the other outcomes leading to $3$ children




But what I don't know is if GGG is even a possibility because technically its possible but we wouldn't be done at this point because that doesn't satisfy the condition of 4 children or at least 1 boy and 1 girl, so I don't know if I should find the probability to this or even include it .




That's right: $GGG$ should not be included (nor $BBB$). So the only other one to consider is $BBG$.



So: $P(X=3)=P(GGB)+P(BBG)=(.48)(.48)(.52)+(.52)(.52)(.48)$




Then for part D Im not sure of exactly how I would go about this, I was thinking something like $E[X] = E[X_1] + E[X_2] + E[X_3] + E[X_4] $ , but im not sure quite what to put in to these.




You need to multiply the number of children times the probability of that number. So, you get:



$E[X] = 2*P[X=2] + 3*P[X=3] + 4*P[X=4] $






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%2f3033077%2fprobability-with-births-and-discrete-math%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









    0












    $begingroup$

    For A, note that $X(S)$ cannot be $1$: they can't stop with just one child. So, you can only have 2,3, or 4.



    For B, note that $BBB$ and $GGG$ are not possible outcomes: the couple would go for a fourth child.




    For part C, im not sure if I am supposed to do this for each one or not. Here is what I was thinking I would do, e.g (x = 3) -> GGB would be (.48)(.48)(.52) = .12




    You're right that $P(GGB)=(.48)(.48)(.52)$



    But you also need to compute the probabilities of the other outcomes leading to $3$ children




    But what I don't know is if GGG is even a possibility because technically its possible but we wouldn't be done at this point because that doesn't satisfy the condition of 4 children or at least 1 boy and 1 girl, so I don't know if I should find the probability to this or even include it .




    That's right: $GGG$ should not be included (nor $BBB$). So the only other one to consider is $BBG$.



    So: $P(X=3)=P(GGB)+P(BBG)=(.48)(.48)(.52)+(.52)(.52)(.48)$




    Then for part D Im not sure of exactly how I would go about this, I was thinking something like $E[X] = E[X_1] + E[X_2] + E[X_3] + E[X_4] $ , but im not sure quite what to put in to these.




    You need to multiply the number of children times the probability of that number. So, you get:



    $E[X] = 2*P[X=2] + 3*P[X=3] + 4*P[X=4] $






    share|cite|improve this answer











    $endgroup$


















      0












      $begingroup$

      For A, note that $X(S)$ cannot be $1$: they can't stop with just one child. So, you can only have 2,3, or 4.



      For B, note that $BBB$ and $GGG$ are not possible outcomes: the couple would go for a fourth child.




      For part C, im not sure if I am supposed to do this for each one or not. Here is what I was thinking I would do, e.g (x = 3) -> GGB would be (.48)(.48)(.52) = .12




      You're right that $P(GGB)=(.48)(.48)(.52)$



      But you also need to compute the probabilities of the other outcomes leading to $3$ children




      But what I don't know is if GGG is even a possibility because technically its possible but we wouldn't be done at this point because that doesn't satisfy the condition of 4 children or at least 1 boy and 1 girl, so I don't know if I should find the probability to this or even include it .




      That's right: $GGG$ should not be included (nor $BBB$). So the only other one to consider is $BBG$.



      So: $P(X=3)=P(GGB)+P(BBG)=(.48)(.48)(.52)+(.52)(.52)(.48)$




      Then for part D Im not sure of exactly how I would go about this, I was thinking something like $E[X] = E[X_1] + E[X_2] + E[X_3] + E[X_4] $ , but im not sure quite what to put in to these.




      You need to multiply the number of children times the probability of that number. So, you get:



      $E[X] = 2*P[X=2] + 3*P[X=3] + 4*P[X=4] $






      share|cite|improve this answer











      $endgroup$
















        0












        0








        0





        $begingroup$

        For A, note that $X(S)$ cannot be $1$: they can't stop with just one child. So, you can only have 2,3, or 4.



        For B, note that $BBB$ and $GGG$ are not possible outcomes: the couple would go for a fourth child.




        For part C, im not sure if I am supposed to do this for each one or not. Here is what I was thinking I would do, e.g (x = 3) -> GGB would be (.48)(.48)(.52) = .12




        You're right that $P(GGB)=(.48)(.48)(.52)$



        But you also need to compute the probabilities of the other outcomes leading to $3$ children




        But what I don't know is if GGG is even a possibility because technically its possible but we wouldn't be done at this point because that doesn't satisfy the condition of 4 children or at least 1 boy and 1 girl, so I don't know if I should find the probability to this or even include it .




        That's right: $GGG$ should not be included (nor $BBB$). So the only other one to consider is $BBG$.



        So: $P(X=3)=P(GGB)+P(BBG)=(.48)(.48)(.52)+(.52)(.52)(.48)$




        Then for part D Im not sure of exactly how I would go about this, I was thinking something like $E[X] = E[X_1] + E[X_2] + E[X_3] + E[X_4] $ , but im not sure quite what to put in to these.




        You need to multiply the number of children times the probability of that number. So, you get:



        $E[X] = 2*P[X=2] + 3*P[X=3] + 4*P[X=4] $






        share|cite|improve this answer











        $endgroup$



        For A, note that $X(S)$ cannot be $1$: they can't stop with just one child. So, you can only have 2,3, or 4.



        For B, note that $BBB$ and $GGG$ are not possible outcomes: the couple would go for a fourth child.




        For part C, im not sure if I am supposed to do this for each one or not. Here is what I was thinking I would do, e.g (x = 3) -> GGB would be (.48)(.48)(.52) = .12




        You're right that $P(GGB)=(.48)(.48)(.52)$



        But you also need to compute the probabilities of the other outcomes leading to $3$ children




        But what I don't know is if GGG is even a possibility because technically its possible but we wouldn't be done at this point because that doesn't satisfy the condition of 4 children or at least 1 boy and 1 girl, so I don't know if I should find the probability to this or even include it .




        That's right: $GGG$ should not be included (nor $BBB$). So the only other one to consider is $BBG$.



        So: $P(X=3)=P(GGB)+P(BBG)=(.48)(.48)(.52)+(.52)(.52)(.48)$




        Then for part D Im not sure of exactly how I would go about this, I was thinking something like $E[X] = E[X_1] + E[X_2] + E[X_3] + E[X_4] $ , but im not sure quite what to put in to these.




        You need to multiply the number of children times the probability of that number. So, you get:



        $E[X] = 2*P[X=2] + 3*P[X=3] + 4*P[X=4] $







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited Dec 9 '18 at 22:12

























        answered Dec 9 '18 at 22:05









        Bram28Bram28

        61.8k44793




        61.8k44793






























            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%2f3033077%2fprobability-with-births-and-discrete-math%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

            Probability when a professor distributes a quiz and homework assignment to a class of n students.

            Aardman Animations

            Are they similar matrix