Polynomial Function Homework: Find Function of Degree n-1

In summary: Replace n in your original question with 2:"If x1, x2 are distinct numbers, find a polynomial function fi of degree 2-1=1 which is 1 at xi and 0 at xj for j =/ i... "In summary, the homework statement asks for a polynomial function that is 1 at a specific point, but is 0 at all other points.
  • #1
emyt
217
0

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 (not equal)."
Hint:

the any number of products with (x - xj) will be 0 at xj.

Homework Equations





The Attempt at a Solution



not sure what I should do, I don't think I even fully understand the question

thanks
 
Physics news on Phys.org
  • #2
It gives you the hint that if you want a polynomial that is 0 at A, B, and C, the polynomial (x - A)(x - B)(x - C) does nicely. It wants you to find a polynomial that is 0 at a bunch of points (xj's) except for the particular point xi, where you have to come up with something that will make it 1 there.
 
  • #3
slider142 said:
It gives you the hint that if you want a polynomial that is 0 at A, B, and C, the polynomial (x - A)(x - B)(x - C) does nicely. It wants you to find a polynomial that is 0 at a bunch of points (xj's) except for the particular point xi, where you have to come up with something that will make it 1 there.

thanks for the reply, what does the polynomial of n-1 degree imply?

thanks
 
  • #4
emyt said:
thanks for the reply, what does the polynomial of n-1 degree imply?

thanks

It doesn't imply anything really. It is giving you a limit of n-1 binomial factors, or less if you increase the degree of one or more factors.
 
  • #5
slider142 said:
It doesn't imply anything really. It is giving you a limit of n-1 binomial factors, or less if you increase the degree of one or more factors.

this is one of the main things I didn't understand about the question. so would a polynomial of the nth degree be the number of binomial terms present?
I have an answer in mind but I don't know how to get a polynomial of n-1th degree
thanks a lot for the responses
 
Last edited:
  • #6
emyt said:
this is one of the main things I didn't understand about the question. so would a polynomial of the nth degree be the number of binomial terms present?
I have an answer in mind but I don't know how to get a polynomial of n-1th degree
thanks a lot for the responses

When you multiply out the expression, what is the monomial with the highest power? That power is the degree of the polynomial.
Obviously, if you simply use the nth degree polynomial (x - x1)...(x - xn), it will be 0 for each xj including the distinct xi. So what we want to start with is (x - x1)...(x - xn) where x - xi is not included. Can we do something to this (n-1)th degree polynomial to get 1 when x = xi?
 
  • #7
slider142 said:
When you multiply out the expression, what is the monomial with the highest power? That power is the degree of the polynomial.
Obviously, if you simply use the nth degree polynomial (x - x1)...(x - xn), it will be 0 for each xj including the distinct xi. So what we want to start with is (x - x1)...(x - xn) where x - xi is not included. Can we do something to this (n-1)th degree polynomial to get 1 when x = xi?

ohh, I see.. taking out a factor makes it to the n-1th degree, makes sense


(x-xj) / (xi-xj) would be 1 when x = xi I and 0 when x = xj, i just didn't know how that would be a polynomial of the n-1th degree
 
  • #8
wait , so x1 ... xn are all xj?
 
  • #9
emyt said:
ohh, I see.. taking out a factor makes it to the n-1th degree, makes sense


(x-x0) / (x1-x0) would be 1 when x = x1 I and 0 when x = x0, i just didn't know how that would be a polynomial of the n-1th degree

This is an excellent solution for the case n=2, where you provide an (n-1)=1st degree polynomial that is 1 for x = x1 and 0 when x = x0. Can you provide one for n=3, and then generalize to all n?
 
  • #10
slider142 said:
This is an excellent solution for the case n=2, where you provide an (n-1)=1st degree polynomial that is 1 for x = x1 and 0 when x = x0. Can you provide one for n=3, and then generalize to all n?

hang on, I'm still a bit confused.. how is that a case of n=2?

sorry.. I'm a bit slow

thanks
 
  • #11
emyt said:
hang on, I'm still a bit confused.. how is that a case of n=2?

sorry.. I'm a bit slow

thanks

Replace n in your original question with 2:
"If x1, x2 are distinct numbers, find a polynomial function fi of degree 2-1=1 which is 1 at xi and 0 at xj for j =/ i (not equal)."
 
  • #12
slider142 said:
Replace n in your original question with 2:
"If x1, x2 are distinct numbers, find a polynomial function fi of degree 2-1=1 which is 1 at xi and 0 at xj for j =/ i (not equal)."

okay, I see that (x-xj)/(xi-xj) is just a degree 1 polynomial. how come we consider the polynomial (x-xj)...(xjn)? where does it say that we should consider that polynomial so (x-xj)/(xi-xj) would be degree n-1?
 
Last edited:
  • #13
emyt said:
okay, I see that (x-xj)/(xi-xj) is just a degree 1 polynomial. how come we consider the polynomial (x-xj)...(xjn)? where does it say that we should consider that polynomial so (x-xj)/(xi-xj) would be degree n-1?

I'm not sure what you're saying. What is xjn? The polynomial you name is of degree n - 1 = 2 - 1 = 1, so it fits the solution to the problem if they only wanted to see the case n = 2.
 
  • #14
slider142 said:
I'm not sure what you're saying. What is xjn? The polynomial you name is of degree n - 1 = 2 - 1 = 1, so it fits the solution to the problem if they only wanted to see the case n = 2.

okay, so the polynomial (x - x1)... (x-xn) will be zero when x = xj. But how come this is our nth degree polynomial? Where does it tell me to use (x - x1)... (x-xn) as the nth degree polynomial so that (x - xj) / (xi- xj) is n-1th degree?
 
  • #15
emyt said:
okay, so the polynomial (x - x1)... (x-xn) will be zero when x = xj. But how come this is our nth degree polynomial? Where does it tell me to use (x - x1)... (x-xn) as the nth degree polynomial so that (x - xj) / (xi- xj) is n-1th degree?

Nowhere! I'm not sure where you're going with this. (x - xj)/(xi - xj) is a 1st degree polynomial, not an (n-1)th degree polynomial. It is only the solution for the case n=2. You still have to find the general solution for all n. It is quite similar to the case n=2 that you have already solved.
The nth degree polynomial (x - x1)...(x - xn) is only a good starting guess at a manipulatable form that needs further work to fit the solution.
Look at the case n = 3.
p(x) = (x - x1)(x - x2)(x - x3) is a polynomial that is zero for each xj, where j = 1, 2, 3. Suppose we want a polynomial that is zero at two of those numbers but is 1 for x = x2. Using your solution, I guess at the 2nd degree polynomial p(x) = [(x - x1)(x - x3)] / [(x2 - x1)(x2 - x3)] . Does this make sense? How can it be generalized to arbitrary n?
 
  • #16
ohh alright, I understand now.. thanks a lot and sorry for dragging it out for so long

n PI product j=1 j /= i (x - xj) / n PI product j=1 j /=i (xi - xj)
 

1. What is a polynomial function?

A polynomial function is a mathematical expression that consists of a variable raised to non-negative integer powers, along with coefficients, operators, and constants. It can be written in the form of f(x) = anxn + an-1xn-1 + ... + a1x + a0, where n is the degree of the function and an, an-1, ..., a1, a0 are the coefficients.

2. How do I find the degree of a polynomial function?

The degree of a polynomial function is the highest exponent of the variable in the expression. For example, in the function f(x) = 3x2 + 2x + 1, the degree is 2 because the highest exponent of x is 2. To find the degree of a polynomial function, look for the term with the highest exponent in the expression.

3. What does "n-1" mean in "Find Function of Degree n-1"?

"n-1" refers to the degree of the polynomial function. It means that the function you are trying to find has a degree of one less than the given value of n. For example, if n = 5, then the function you are trying to find has a degree of 4.

4. How do I solve polynomial functions of degree n-1?

To solve a polynomial function of degree n-1, you will need to use the techniques of algebra, such as factoring, substitution, and the quadratic formula. First, rearrange the function into the standard form of f(x) = anxn + an-1xn-1 + ... + a1x + a0. Then, use the appropriate algebraic method to solve for the variable, x.

5. Can I use a graphing calculator to solve polynomial functions?

Yes, you can use a graphing calculator to solve polynomial functions. Most graphing calculators have a built-in function for finding the roots of a polynomial function. However, it is important to note that using a calculator should not replace understanding the algebraic methods used to solve polynomial functions.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
9
Views
1K
  • Precalculus Mathematics Homework Help
Replies
12
Views
1K
  • Precalculus Mathematics Homework Help
Replies
15
Views
606
  • Precalculus Mathematics Homework Help
Replies
4
Views
1K
  • Precalculus Mathematics Homework Help
Replies
11
Views
488
  • Precalculus Mathematics Homework Help
Replies
11
Views
2K
  • Precalculus Mathematics Homework Help
Replies
22
Views
3K
  • Precalculus Mathematics Homework Help
2
Replies
35
Views
4K
  • Precalculus Mathematics Homework Help
Replies
14
Views
2K
  • Precalculus Mathematics Homework Help
Replies
10
Views
2K
Back
Top