Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. For the less mathematically minded here is the explanation...

For the less mathematically minded here is the explanation...

Scheduled Pinned Locked Moved The Lounge
css
15 Posts 10 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Dalek Dave
    wrote on last edited by
    #1

    The Smiths have two children. Therefore there are four possible configurations. GG GB BG BB Since it is stated that one of the children is a boy, the GG is impossible and is discarded. That leaves... GB BG BB Since you know that one is a boy, there are two options where the other is a Girl, GB and BG, and only one where it can be a biy, BB. Therefore there is a 1 in 3 chance of the other child being a boy. Shimples!

    ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave

    L E M I L 5 Replies Last reply
    0
    • D Dalek Dave

      The Smiths have two children. Therefore there are four possible configurations. GG GB BG BB Since it is stated that one of the children is a boy, the GG is impossible and is discarded. That leaves... GB BG BB Since you know that one is a boy, there are two options where the other is a Girl, GB and BG, and only one where it can be a biy, BB. Therefore there is a 1 in 3 chance of the other child being a boy. Shimples!

      ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      You cheat with sneaky wording. "One of them is a boy" does not mean the same to me as "at least one of them is a boy"

      1 Reply Last reply
      0
      • D Dalek Dave

        The Smiths have two children. Therefore there are four possible configurations. GG GB BG BB Since it is stated that one of the children is a boy, the GG is impossible and is discarded. That leaves... GB BG BB Since you know that one is a boy, there are two options where the other is a Girl, GB and BG, and only one where it can be a biy, BB. Therefore there is a 1 in 3 chance of the other child being a boy. Shimples!

        ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave

        E Offline
        E Offline
        Enver Maroshi
        wrote on last edited by
        #3

        I don't get it GB BG BB is actually BG BB right? since GB and BG is same? so it's 1 in 2 that other child is a boy

        D 1 Reply Last reply
        0
        • E Enver Maroshi

          I don't get it GB BG BB is actually BG BB right? since GB and BG is same? so it's 1 in 2 that other child is a boy

          D Offline
          D Offline
          Dalek Dave
          wrote on last edited by
          #4

          No. If you have a boy then a girl, it is not the same as a girl then a boy.

          ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave

          H 1 Reply Last reply
          0
          • D Dalek Dave

            No. If you have a boy then a girl, it is not the same as a girl then a boy.

            ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave

            H Offline
            H Offline
            hairy_hats
            wrote on last edited by
            #5

            But in that case why do you not also separate BB into Bb and bB where B is the one that you selected and b isn't? If you do, you get BG GB Bb bB GG for which if one is a boy, then it's 50% that the other is a girl.

            E 1 Reply Last reply
            0
            • H hairy_hats

              But in that case why do you not also separate BB into Bb and bB where B is the one that you selected and b isn't? If you do, you get BG GB Bb bB GG for which if one is a boy, then it's 50% that the other is a girl.

              E Offline
              E Offline
              Enver Maroshi
              wrote on last edited by
              #6

              I agree with you. It's always 50%. DD needs math instructions.

              L 1 Reply Last reply
              0
              • D Dalek Dave

                The Smiths have two children. Therefore there are four possible configurations. GG GB BG BB Since it is stated that one of the children is a boy, the GG is impossible and is discarded. That leaves... GB BG BB Since you know that one is a boy, there are two options where the other is a Girl, GB and BG, and only one where it can be a biy, BB. Therefore there is a 1 in 3 chance of the other child being a boy. Shimples!

                ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave

                M Offline
                M Offline
                Mladen Jankovic
                wrote on last edited by
                #7

                Dalek Dave wrote:

                GB BG

                I don't think these two are different configurations?

                [Genetic Algorithm Library] [Wowd]

                T 1 Reply Last reply
                0
                • M Mladen Jankovic

                  Dalek Dave wrote:

                  GB BG

                  I don't think these two are different configurations?

                  [Genetic Algorithm Library] [Wowd]

                  T Offline
                  T Offline
                  Tom Deketelaere
                  wrote on last edited by
                  #8

                  Depends, if you take order as a part of your configuration they are, if not then they are the same.

                  M 1 Reply Last reply
                  0
                  • E Enver Maroshi

                    I agree with you. It's always 50%. DD needs math instructions.

                    L Offline
                    L Offline
                    Luc Pattyn
                    wrote on last edited by
                    #9

                    If you put them in age order, then there are 4 possibilities with (almost) equal probability: GG 25% GB 25% BG 25% BB 25% which, indeed could be compacted to: 2G+0B 25% 1G+1B 50% 0G+2B 25% One of them being a boy rules out the 2G combination. Hence 33%. Probabilities were equal at start, and got changed by adding information. :)

                    Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


                    I only read formatted code with indentation, so please use PRE tags for code snippets.


                    I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).


                    E 1 Reply Last reply
                    0
                    • T Tom Deketelaere

                      Depends, if you take order as a part of your configuration they are, if not then they are the same.

                      M Offline
                      M Offline
                      Mladen Jankovic
                      wrote on last edited by
                      #10

                      Yes, but I don's see how that affects probabilities in described situation.

                      [Genetic Algorithm Library] [Wowd]

                      1 Reply Last reply
                      0
                      • L Luc Pattyn

                        If you put them in age order, then there are 4 possibilities with (almost) equal probability: GG 25% GB 25% BG 25% BB 25% which, indeed could be compacted to: 2G+0B 25% 1G+1B 50% 0G+2B 25% One of them being a boy rules out the 2G combination. Hence 33%. Probabilities were equal at start, and got changed by adding information. :)

                        Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


                        I only read formatted code with indentation, so please use PRE tags for code snippets.


                        I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).


                        E Offline
                        E Offline
                        Enver Maroshi
                        wrote on last edited by
                        #11

                        D'oh!

                        1 Reply Last reply
                        0
                        • D Dalek Dave

                          The Smiths have two children. Therefore there are four possible configurations. GG GB BG BB Since it is stated that one of the children is a boy, the GG is impossible and is discarded. That leaves... GB BG BB Since you know that one is a boy, there are two options where the other is a Girl, GB and BG, and only one where it can be a biy, BB. Therefore there is a 1 in 3 chance of the other child being a boy. Shimples!

                          ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave

                          I Offline
                          I Offline
                          Ian Shlasko
                          wrote on last edited by
                          #12

                          Oh wait, I was going to argue with this (Actually I already did, in the previous thread), but I think I have to agree with it now... But it'd make more sense with one additional statement. You're told that one is a boy, but not which one. So you're not pointing to one child and saying "That one is a boy", but rather still keeping both hidden and just saying that one of them is male. If you identified child #1 as the boy, it becomes 50% for the other being male. A clearer way to state the same problem would be, "They have two children, at least one of which is a boy. What are the chances of both being boys?"

                          Proud to have finally moved to the A-Ark. Which one are you in?
                          Author of the Guardians Saga (Sci-Fi/Fantasy novels)

                          C A 2 Replies Last reply
                          0
                          • I Ian Shlasko

                            Oh wait, I was going to argue with this (Actually I already did, in the previous thread), but I think I have to agree with it now... But it'd make more sense with one additional statement. You're told that one is a boy, but not which one. So you're not pointing to one child and saying "That one is a boy", but rather still keeping both hidden and just saying that one of them is male. If you identified child #1 as the boy, it becomes 50% for the other being male. A clearer way to state the same problem would be, "They have two children, at least one of which is a boy. What are the chances of both being boys?"

                            Proud to have finally moved to the A-Ark. Which one are you in?
                            Author of the Guardians Saga (Sci-Fi/Fantasy novels)

                            C Offline
                            C Offline
                            Chris C B
                            wrote on last edited by
                            #13

                            You are essentially correct. The problem as stated, specifically asks for the probability of the other child being a boy, which is, and always will be .5, unless I have a deep misunderstanding of the scale on which quantum entanglement works. :laugh: However, if the question is what is the probability of both being boys, the explanation is correct, but the problem misstated. :suss:

                            1 Reply Last reply
                            0
                            • I Ian Shlasko

                              Oh wait, I was going to argue with this (Actually I already did, in the previous thread), but I think I have to agree with it now... But it'd make more sense with one additional statement. You're told that one is a boy, but not which one. So you're not pointing to one child and saying "That one is a boy", but rather still keeping both hidden and just saying that one of them is male. If you identified child #1 as the boy, it becomes 50% for the other being male. A clearer way to state the same problem would be, "They have two children, at least one of which is a boy. What are the chances of both being boys?"

                              Proud to have finally moved to the A-Ark. Which one are you in?
                              Author of the Guardians Saga (Sci-Fi/Fantasy novels)

                              A Offline
                              A Offline
                              AspDotNetDev
                              wrote on last edited by
                              #14

                              If you assumed that one and only one was a boy, then the probability of the other being a boy would be 0.

                              [Forum Guidelines]

                              1 Reply Last reply
                              0
                              • D Dalek Dave

                                The Smiths have two children. Therefore there are four possible configurations. GG GB BG BB Since it is stated that one of the children is a boy, the GG is impossible and is discarded. That leaves... GB BG BB Since you know that one is a boy, there are two options where the other is a Girl, GB and BG, and only one where it can be a biy, BB. Therefore there is a 1 in 3 chance of the other child being a boy. Shimples!

                                ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave

                                L Offline
                                L Offline
                                Luc Pattyn
                                wrote on last edited by
                                #15

                                and now Chris has been so kind as to provide a really scientific exposé on the boy-girl matter[^] as well as similar problems. :)

                                Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


                                I only read formatted code with indentation, so please use PRE tags for code snippets.


                                I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).


                                1 Reply Last reply
                                0
                                Reply
                                • Reply as topic
                                Log in to reply
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes


                                • Login

                                • Don't have an account? Register

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • World
                                • Users
                                • Groups