CTK Exchange
CTK Wiki Math
Front Page
Movie shortcuts
Personal info
Awards
Terms of use
Privacy Policy

Interactive Activities

Cut The Knot!
MSET99 Talk
Games & Puzzles
Arithmetic/Algebra
Geometry
Probability
Eye Opener
Analog Gadgets
Inventor's Paradox
Did you know?...
Proofs
Math as Language
Things Impossible
My Logo
Math Poll
Other Math sit's
Guest book
News sit's

Recommend this site

Manifesto: what CTK is about Search CTK Buying a book is a commitment to learning Table of content Products to download and subscription Things you can find on CTK Chronology of updates Email to Cut The Knot Recommend this page

CTK Exchange

Subject: "How old is John, how old is Maria?"     Previous Topic | Next Topic
Printer-friendly copy     Email this topic to a friend    
Conferences The CTK Exchange This and that Topic #990
Reading Topic #990
nikolinv
Member since Apr-24-10
Apr-24-11, 07:08 AM (EST)
Click to EMail nikolinv Click to send private message to nikolinv Click to view user profileClick to add this user to your buddy list  
"How old is John, how old is Maria?"
 
   Peter: How did you get such an ugly polynomial f(x) with so many unknown coefficients? It looks terrible!

Paul: This is polynomial with integer coefficients and one of its roots is equal to the number of years of my daughter Maria.

Peter: Anyway, it looks nasty. Let me find f(7). Unfortunately, I obtained 77, not zero!

Paul: You don't know the age of Maria, but she is older than 7.

Peter: Let me try then with the age of my son John. Look, I obtained 85!

Paul: Watch out Peter, John is older then 7 too, but Maria is older then John.

How old is John, how old is Maria?


  Alert | IP Printer-friendly page | Reply | Reply With Quote | Top
alexbadmin
Charter Member
2798 posts
Apr-25-11, 12:34 PM (EST)
Click to EMail alexb Click to send private message to alexb Click to view user profileClick to add this user to your buddy list  
1. "RE: How old is John, how old is Maria?"
In response to message #0
 
   There appear to be two answers:

1. J = 9, M = 14
2. J = 13, M = 18

There is another pair (31, 14) and (35, 18), but these seem to be out of context.

Is this your problem?


  Alert | IP Printer-friendly page | Reply | Reply With Quote | Top
nikolinv
Member since Apr-24-10
Apr-26-11, 06:50 PM (EST)
Click to EMail nikolinv Click to send private message to nikolinv Click to view user profileClick to add this user to your buddy list  
2. "RE: How old is John, how old is Maria?"
In response to message #1
 
   First pair is correct. Good for you.

I found an elementary solution of this problem, I don't use the fact that a – b is a divisor of P(a) – P(b) when a, b are integers and P is a polynomial with integer coefficients.
Denote by j and m the ages of John and Maria. Conditions are:

f(m) = 0
f(7) = 77
f(j) = 85
m > j > 7

First, if p(a)=b then polynomial p is of the form p(x) = (a-x)q(x)+b, q is polynomial too. Special case, when r is root of polynomial p, then p(x)=(m-x)q(x).

Now, m is root of the polynomial f, and we have:

f(x) = (m-x)u(x) , u(x) is integer coefficient polynomial. Let x=7,

f(7) = (m-7)u(7)
77 = (m-7)u(7)

(m-7) | 77 (*)

Let x=j,

f(j) = (m - j)u(j)
85 = (m - j)u(j)

(m - j) | 85 (**)

But, we know that f(7) = 77. We have another form of f:


f(x) = (x - 7)v(x) + 77 , v(x) is integer coefficient polynomial.


Let x=j,

f(j) = (j - 7)v(j) +77
85 = (j - 7)v(j) + 77
8 = (j - 7)v(j)

(j - 7) | 8 (***)

We conclude:
Because of (*), m € {14,18,84}
Because of (***), j € {8,9,11,15}

Easy to see that is m-j € {3,5,6,7,9,10,69,73,74,76}. Number 5 is only one divisor of 85 (condition **), m = 14 , j = 9

The polynomial must have been of the form (x-7)(x-9)(x-14)Q(x) - 3x^2 + 52x -140.

Thanks for your time.


  Alert | IP Printer-friendly page | Reply | Reply With Quote | Top
alexbadmin
Charter Member
2798 posts
Apr-26-11, 07:09 PM (EST)
Click to EMail alexb Click to send private message to alexb Click to view user profileClick to add this user to your buddy list  
3. "RE: How old is John, how old is Maria?"
In response to message #2
 
   I did it the same way, except that I used only f(x) = (x - m)p(x).

From f(7) I got 7 - m = -7, -11, or -77 so that m = 14, 18, or 84

From f(j) = 85, I got (j - m) = -5, -17, or -85

Your (j - 7)|8 precludes some combinations. I missed that.

Thank you for the problem


  Alert | IP Printer-friendly page | Reply | Reply With Quote | Top

Conferences | Forums | Topics | Previous Topic | Next Topic

You may be curious to have a look at the old CTK Exchange archive.
Please do not post there.

Copyright © 1996-2018 Alexander Bogomolny

Search:
Keywords:

Google
Web CTK