Bleys
- 74
- 0
There's a question in Calculus by Spivak about polynomials and I was wondering about how to construct them to have specific roots or values at certain points. For example it says if
[tex]x_{1}[/tex], ..., [tex]x_{n}[/tex] are distinct numbers, find a polynomial [tex]f_{i}[/tex] such that it's of degree n-1 which is 1 at [tex]x_{i}[/tex] and 0 at [tex]x_{j}[/tex] for [tex]j \neq i[/tex]. Now I know that for roots it's simply the product [tex]\prod (x-x_{j})[/tex] running from j=1 to n and [tex]j \neq i[/tex]. That evaluates the polynomial to 0 correctly. But I don't know how to add the additional condition of [tex]x_{i}[/tex] to make it evaluate to 1. I know I can't multiply another factor [tex](x-x_{k})[/tex] because that would increase the degree to n and it wouldn't do any good anyway. Is it a piecewise defined function? That seems a little too trivial. Any hints you could give me?
[tex]x_{1}[/tex], ..., [tex]x_{n}[/tex] are distinct numbers, find a polynomial [tex]f_{i}[/tex] such that it's of degree n-1 which is 1 at [tex]x_{i}[/tex] and 0 at [tex]x_{j}[/tex] for [tex]j \neq i[/tex]. Now I know that for roots it's simply the product [tex]\prod (x-x_{j})[/tex] running from j=1 to n and [tex]j \neq i[/tex]. That evaluates the polynomial to 0 correctly. But I don't know how to add the additional condition of [tex]x_{i}[/tex] to make it evaluate to 1. I know I can't multiply another factor [tex](x-x_{k})[/tex] because that would increase the degree to n and it wouldn't do any good anyway. Is it a piecewise defined function? That seems a little too trivial. Any hints you could give me?