LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 03-22-2007, 06:37 PM   #1
xeon123
Member
 
Registered: Sep 2006
Posts: 374

Rep: Reputation: 16
math trick question


Hi,

I have the following trick problem with the solution, but, i don't understand the solution. Here is the problem and the solution:

Quote:
A census taker approaches a house and asks the woman who answers the door "How many children do you have, and what are their ages?"

Woman: "I have three children; the product of their ages is 36, the sum of their ages is equal to the address of the house next door."

The census taker walks next door, comes back and says "I need more information."

The woman replies "I have to go; my oldest child is sleeping upstairs."

Census taker: "Thank you, I now have everything I need."

What are the ages of each of the three children?


Solution

The reason the census taker could not figure out the children's ages is because, even with knowing the number on the house next door there were still two possibilities.

The only way that the product could be 36 and still leave two possibilities is if the sum equals 13. These possibilities being 9, 2 and 2 and 6, 6 and 1.

When the home owner stated that her "oldest" child is sleeping she was giving ths census taker the fact that there is an "oldest." The children's ages are therefore 9,2 and 2.
My question is: How can i guess the following phrase?

Quote:
The only way that the product could be 36 and still leave two possibilities is if the sum equals 13.
What math rule am i missing? Can anyone explain me the solution?

Regards,
Pedro
 
Old 03-22-2007, 06:53 PM   #2
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
Agreed, the wording on that phrase in the solution is kind of awkward.

Let's think about this: What are all the multiples of 36?
1, 2, 3, 4, 6, 9, 12, 13 and 36.
This means that there are 4 solutions (that I can come up with, on the spot) where she has three children with an oldest child:
Sol'n 1: 1 x 2 x 18
Sol'n 2: 2 x 3 x 6
Sol'n 3: 2 x 2 x 9
Sol'n 4: 3 x 3 x 4

Where the book's solution gets the idea about 14 is really confusing me. I bet if you want more information on the author's rationalization on the answer, you would need to know the address of the house next door.



Here's another one:
What's the percent chance you will roll a 6 (six) with one die?

Statistical Sol'n: ~16.7%
Realistic Sol'n: 50% - You either roll it, or you don't.

Yeah, it is an obstinate answer, but it drove my evil Data Management teacher up the wall, and that's what counts.

Last edited by indienick; 03-23-2007 at 02:45 PM.
 
Old 03-22-2007, 06:58 PM   #3
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
Quote:
Originally Posted by indienick
Statistical Sol'n: ~0.167%
I think you mean ~16.7%.
 
Old 03-22-2007, 09:29 PM   #4
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Rep: Reputation: 48
not if it's a special die that has 600 sides, and only one of which has a six on it. :-D
 
Old 03-22-2007, 09:52 PM   #5
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
Quote:
Originally Posted by indienick
Agreed, the wording on that phrase in the solution is kind of awkward.

Let's think about this: What are all the multiples of 36?
1, 2, 3, 4, 6, 9, 12, 13 and 36.
This means that there are 4 solutions (that I can come up with, on the spot) where she has three children with an oldest child:
Sol'n 1: 1 x 2 x 13 = 26 not 36
The multiples are 1:36 2:18 3:12 4:9 6:6. Now, of course you need to further break these down to determine which sets are likely to cause an intersection with sums. In order the possible terms are: 1, 2, 3, 4, 6, 9, 12, 18, 36...

And I think all the three term solutions are:
1 x 1 x 36 = 36 (sum=38)
1 x 2 x 18 = 36 (sum=21)
1 x 3 x 12 = 36 (sum=16)
1 x 4 x 9 = 36 (sum=14)
1 x 6 x 6 = 36 (sum=13)
2 x 2 x 9 = 36 (sum=13)
2 x 3 x 6 = 36 (sum=11)
3 x 3 x 4 = 36 (sum=10)

Note: We handle the terms in order... so that we avoid repeats. If we need to use a number before the current one to reach 36 in 3 steps (like 4 x 9 x 1 we know we already have an equivalent form before that... 1 x 4 x 9 in this case).

As you can see... only these two have the same sum. And one of them fails the "oldest child" test. By my count, there are 7 possible situations where there is an oldest child. All except the 1 x 6 x 6.

Edit to change it to 7 in the line right above this one, not 8 like I originally counted. Would you believe that counting the number of items was harder for me than doing the stuff above it? What the hell is wrong with me?!

Last edited by frob23; 03-22-2007 at 10:12 PM.
 
Old 03-22-2007, 11:03 PM   #6
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Why does the sum of their ages have to equal 13? The only facts that have been presented in the original quote are that there are 3 children; the product of their ages is 36; and that the sum of their ages equals the number of the house next door. Nowhere is it stated that the sum must be 13, or that the house next door is #13. Therefore, and in the absence of any disclosure as to what the next house's number actually is, any combination of numbers that equal 36 when multiplied together is equally likely. In other words, if the house were #14 or #38, etc, then any of the combinations frob23's listed above are equally valid. Along these lines, if we consider that the woman's children could involve twins or triplets (*one* kid would be the eldest no matter what) then you could have two kids of the same age, which complicates things further.

Were there conditions that were omitted from the original problem description? Providing critical, relevant info only in the 'solution' makes the problem impossible to solve.....
 
Old 03-23-2007, 06:54 AM   #7
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
What we know, from the problem.
---
Their ages multiplied equal 36.
The sum of their ages is the house number next door.
The census taker had to come back after seeing the number next door.

The reason we know it had to be 13 is that the census taker had to come back. If the house next door had been any other number, he would have known the ages of the children. The only way he could have needed more information was if the sum itself didn't define a discrete set of numbers. We know she doesn't have triplets, simply because 36 doesn't have a simple cube root. If it was 27 or 64 then we would have to deal with the possibility of triplets.

The solution itself requires that she have twins. And that the twins are either 6 or 2. So we do have to deal with the "eldest twin" possibility. But, in practice, a parent doesn't refer to the first twin as being elder to the other in common conversation. As much as it drives the twins crazy, they are usually referred to as "the twins." My mother is an identical twin and this still happens when people refer to her and her sister when they were little. I know other sets of twins (simply because my mother[s] love meeting others and people with twins) and the reference to them by birth order is virtually unknown -- mostly because it isn't a way to distinguish between them. When we say "oldest" or "youngest" in common speech we expect that, when presented by the people being talked about, that information will be sufficient for us to know who is who.

So, this question does hinge on a linguistic understanding of how "oldest child" would be used in a situation. Still, we can be sure the ages had to be of the two sets offered in the above solution and marked bold in my response, simply because there was a confusion by the census taker. And then, determining which set is the correct one requires knowing the little bit about verbal references to twins.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with math question nadroj General 28 01-20-2007 02:00 AM
math program that I can enter math functions ... Four General 5 04-19-2006 08:02 PM
stuck again (noob bash math question) babag Programming 6 04-25-2005 01:27 AM
math/probubility/gambling question true_atlantis Programming 12 10-16-2004 04:21 PM
Math question... counting theory Dark_Helmet General 6 08-30-2004 03:27 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 02:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration