scast
- 5
- 0
Homework Statement
(This problem is from the Spivak 2nd Ed. I had to translate it from spanish since my book is in spanish)
If x_1, \ldots, x_n are different numbers, find a polynomial function f_i of n-1 degree that takes value 1 on x_i and 0 in x_j for j \neq i. Indication: the product of every (x-x_j) for j \neq i is 0 if j \neq i.
\prod_{j=1}^{n} (x-x_{j})
Homework Equations
\prod_{j=1}^{n} (x-x_{j})
The Attempt at a Solution
So far... Well so basically I stated all the known and unknown but I can't seem to get
past that. So here's what I have...
There is a set of x_1, \ldots, x_n
f_{i} is of n-1 degree.
There's a function such
f_{i}(x) = a_{n-1}x^{n-1} + a_{n-2}x^{n-2} + \ldots + a_{1}x + a_{0}
There's a pair (x_{i}, f_{i}(x_{i}) such that
f_{i}(x_{i}) = a_{n-1}x_{i}^{n-1} + a_{n-2}x_{i}^{n-2} + \ldots + a_{1}x_{i} + a_{0} = 1
And there's also a pair (x_{j}, f_{i}(x_{j})) such that
f_{i}(x_{j}) = a_{n-1}x_{j}^{n-1} + a_{n-2}x_{j}^{n-2} + \ldots + a_{1}x_{j} +a_{0} = 0
But I can't seem to connect the indication with the whole problem... any help? Oh, and I posted it in calculus but I am not quiet sure if this belongs in precalculus forum instead. I am sorry if this doesn't belong here.
Thanks for any advice in advance.