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
AI Thread 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! :)
 
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...
Back
Top