Polynomial question from spivak's calculus

AI Thread Summary
The discussion revolves around a polynomial problem from Spivak's Calculus, specifically about constructing a polynomial of degree n - 1 that equals 1 at one distinct number (xi) and 0 at all others (xj). Participants express confusion over the notation and the task, particularly regarding the meaning of distinct numbers and the use of capital-pi notation. An example is provided to clarify how to create such polynomials, leading to a realization that the hint contains a typo, which adds to the confusion. Ultimately, the participants conclude that the problem is simpler than initially perceived, highlighting the importance of understanding the notation. The conversation emphasizes the need for clarity in mathematical expressions to avoid misunderstandings.
osnarf
Messages
207
Reaction score
0
Question from spivak's calculus - 3rd edition - chapter 3, question 6(a).


Homework Statement


If x1, ..., xn are distinct numbers, find a polynomial function fi of degree n - 1 which is 1 at xi and 0 at xj for j =/= i. Hint, the product of all (x - xi) for j =/= i, is 0 at xj if j =/= i. (This product is usually denoted by see below, the symbol (capital pi) playing the same role for products that sigma plays for sums.)


Homework Equations



n
\prod(x - x<sub>j</sub>)
j = 1
j =/= i

The Attempt at a Solution


I really don't even know where to start, the question is really confusing. If someone could just explain the question better that would be really appreciated. I'm confused by just about every word:

-x1,...,xn <--- Are these just random numbers? or are they increments along the x axis? or ?
-why does the function have a subscript (...find a polynomial function fi)?
-which x is xi?
-which x is xj?
-when he says (x - xi), I would assume x is not a distinct number, but the variable x, and that xi is meant to represent one of each of the distinct x's each time and that they are multiplied together, but later he asks for a specific function value at xi. I don't understand that.
-why did he need to write j =/= i twice, about 5 words apart (not trying to be sarcastic I'm sure there's a reason i just don't know why).
-in response to the capital-Pi eqation: so xj is x1?

Thanks for helping, I'm sure I can figure out the problem once i understand what it is. If someone could just explain it to me I would really appreciate it.
 
Physics news on Phys.org
The x_1,...,x_n are just random numbers.

Maybe you'll understand it better if I gave you an example. Consider the numbers 1 and 2.
The question asks that we construct two polynomials:
1) We want to construct a polynomial f such that f(1)=1 and f(2)=0. An example of such a polynomial is f(x)=-x+2
2) We also want a polynomial f such that f(1)=0 and f(2)=1. An example of such a polynomial is f(x)=x-1.


We can also consider the numbers 0,1,2. Then the question asks us to construct three polynomials. One of these polynomials will be an f such that f(0)=1, f(1)=0 and f(2)=0. An example of such a polynomial is f(x)=\frac{1}{2}x^2-\frac{3}{2}x+1.
The other two polynomials can also be constructed, but I'll leave that to you...
 
Sorry, I'm still confused. I understand how to construct polynomials to fit specifications, it is the abstraction of the question that is really getting me. And i just peeked in the solutions manual and the answer isn't in standard polynomial form its in the form of a capital-pi divided by another capital pi. Anyhow, in regards to your examples, why is the question asking us to make multiple polynomials?

Thanks for your quick response.
 
You're just given x_1,x_2,...,x_n real numbers and you're asked to construct a polynomail f such that f(x_1)=1,f(x_2)=0,...,f(x_n)=0. That's all they're asking from you here.

The answer will be in capital-pi notation because that is the easiest way to represent the polynomail in.

What I suggest is that you take some examples and construct the requested polynomial. For example, take x_1=0,x_1=2,x_2=-1. Can you now build a polynomial such that f(0)=1, f(2)=0 and f(-1)=0??
Once you've found that, try to handle the general case. You'll see immediately why the capital-pi notation comes in.
 
  • Like
Likes jimpap
So the value of the function at one of the x's needs to be 1, and at all the others it will be 0?
Could you please explain to me how your getting that from the notations. I have a feeling the rest of the book is going to be just like this and if i don't get the notation down I'm going to be frustrated very much for the next few months.
 
I understand part of it now. Because the degree is n - 1 there would have to be n - 1 zeros. I overlooked that. And I understand why it is in capital-pi notation now, after playing around with it. We are getting somewhere, :P.

Okay, now how about the hint.

It says the product of all (x - xi), for j =/= i, is 0 at xj if j =/= i.

xj is the zero of the function, so in your example with x1 = 1 and x2 = 0, if we multiplied all the (x - xi), where j =/= i, together, we would have only one so it would be (x - x1) = (x - 1). It says this product is 0 at xj if j =/= i, so if i were to plug xj into this: (xj - 1) = (2 - 1) = 1 =/= 0, so clearly I'm still confused.
 
I've come to the conclusion there is a typo in the hint and it is supposed to read (x - xj), if I'm wrong correct me please it would make a lot more sense.

---------------

thank you micro, figured it out. i was making that problem way harder than it was
 
Last edited:
Yes, I think you are correct and that there is a typo in the hint. Nice catch!
 
osnarf said:
I've come to the conclusion there is a typo in the hint and it is supposed to read (x - xj), if I'm wrong correct me please it would make a lot more sense.

---------------

thank you micro, figured it out. i was making that problem way harder than it was

zomfg meetooooo.

kinda pissed that I've been fretting about this for quite some time and come to find out there's a freakin typo!
 
Back
Top