MHB How Do You Calculate P(12) for a Polynomial Given Specific Conditions?

  • Thread starter Thread starter Saitama
  • Start date Start date
  • Tags Tags
    Value
Click For Summary
To calculate P(12) for the polynomial P(x) of degree 11, it is established that P(x) equals 1/(x+1) for x values from 0 to 11. A suggested approach involves defining g(x) as (x+1)P(x) - 1, which maintains the polynomial's properties while allowing for the determination of the coefficient a by substituting x = -1. The discussion emphasizes the use of the Lagrange Interpolating Polynomial method to derive the necessary values. Ultimately, the correct formulation and calculation will yield the value of P(12).
Saitama
Messages
4,244
Reaction score
93
Problem:
Let $P(x)$ be a polynomial of degree 11 such that

$$P(x)=\frac{1}{x+1}\,\,\,\text{for}\,\,\,x=0,1,2,\cdots 11$$
Then find the value of P(12).

Attempt:
I have done this kind of problem long before but I don't exactly remember the process.

I think it was something like this:

Define $g(x)=P(x)-\frac{1}{x+1}$, then
$$g(x)=P(x)-\frac{1}{x+1}=ax(x-1)(x-2)\cdots (x-11)$$
But I don't think the above is correct. I don't have the value of $a$.

Any help is appreciated. Thanks!
 
Mathematics news on Phys.org
Pranav said:
Problem:
Let $P(x)$ be a polynomial of degree 11 such that

$$P(x)=\frac{1}{x+1}\,\,\,\text{for}\,\,\,x=0,1,2,\cdots 11$$
Then find the value of P(12).

Attempt:
I have done this kind of problem long before but I don't exactly remember the process.

I think it was something like this:

Define $g(x)=P(x)-\frac{1}{x+1}$, then
$$g(x)=P(x)-\frac{1}{x+1}=ax(x-1)(x-2)\cdots (x-11)$$
But I don't think the above is correct. I don't have the value of $a$.

Any help is appreciated. Thanks!

I'm afraid that You have to use the Lagrange Interpolating Polynomial...

$\displaystyle P(x) = \sum_{j=1}^{n}\ p_{j}(x)\ (1)$

... where...

$\displaystyle p_{j} (x) = y_{j}\ \prod_{k=1,\ k \ne j}^{n} \frac{x - x_{k}}{x_{j} - x_{k}}\ (2)$In Your case is n=12, $x_{k}=k - 1$, $y_{k} = \frac{1}{k}$...

Kind regards$\chi$ $\sigma$
 
Pranav said:
Problem:
Let $P(x)$ be a polynomial of degree 11 such that

$$P(x)=\frac{1}{x+1}\,\,\,\text{for}\,\,\,x=0,1,2,\cdots 11$$
Then find the value of P(12).

Attempt:
I have done this kind of problem long before but I don't exactly remember the process.

I think it was something like this:

Define $g(x)=P(x)-\frac{1}{x+1}$, then
$$g(x)=P(x)-\frac{1}{x+1}=ax(x-1)(x-2)\cdots (x-11)$$
But I don't think the above is correct. I don't have the value of $a$.
You are thinking along the right lines, but you would do better to define $g(x) = (x+1)P(x) - 1$. You would still have $g(x) = ax(x-1)(x-2)\cdots (x-11)$, but this way you can find $a$ by putting $x=-1$.
 
Opalg said:
You are thinking along the right lines, but you would do better to define $g(x) = (x+1)P(x) - 1$. You would still have $g(x) = ax(x-1)(x-2)\cdots (x-11)$, but this way you can find $a$ by putting $x=-1$.

Thank you Opalg! :)
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
1K
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
Replies
9
Views
3K
Replies
48
Views
4K