All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Just Math
Age function (Posted on 2023-08-17) Difficulty: 2 of 5
A polynomial f with integer coefficients is written on the blackboard. The teacher is a mathematician who has 3 kids named Andrew, Beth and Charles. Andrew, who is 7, is the youngest, and Charles is the oldest. When evaluating the polynomial on his kids' ages he obtains:

f(7) = 77
f(b) = 85, where b is Beth's age,
f(c) = 0, where c is Charles' age.

How old is each child?

No Solution Yet Submitted by Danish Ahmed Khan    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
re: question | Comment 5 of 7 |
(In reply to question by Steven Lord)

If there is some polynomial that passes through a given finite set of points then there's an infinite number of polynomials that pass through those of points.


I will illustrate using the problem.
The given points are (7,77), (9,85) and (14,0).  By polynomial fitting f(x)=-3x^2+52x-140 is the polynomial of lowest degree which passes through those points.  

Construct g(x) = (x-7)*(x-9)*(x-14)+1 = x^3-30x^2+287x-881.  In its semi-factored form it is obvious that g(7)=g(9)=g(14)=1.

Now take h(x) = f(x)*g(x) = -3x^5+142x^4-2561x^3-21767x^2-85992x+123340.
Because of how g is constructed then h(7)=f(7)=77, h(9)=f(9)=85, and h(14)=f(14)=0.  h(x) is then a fifth degree polynomial passing through the points and h has integer coefficients.

g(x) can be generalized into G(x)=(x-7)^i*(x-9)^j*(x-14)^k+1, where i, j, and k are nonnegative integers.  My example was i=j=k=1 and the trivial case h(x)=f(x) occurs when i=j=k=0, making G(x) the constant polynomial G(x)=1. 
Of course then it follows that there are an infinite number of G(x), and thus an infinite number of h(x).

  Posted by Brian Smith on 2023-08-20 11:09:59
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (0)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information