# Do the linear roots of a polynomial, and its value at zero, uniquely define that polynomial?

**URL:** <https://boards.straightdope.com/t/do-the-linear-roots-of-a-polynomial-and-its-value-at-zero-uniquely-define-that-polynomial/686503>\
**Category:** Factual Questions\
**Created:** [April 19, 2014, 8:30pm UTC](https://boards.straightdope.com/t/do-the-linear-roots-of-a-polynomial-and-its-value-at-zero-uniquely-define-that-polynomial/686503 "2014-04-19T20:30:07Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![KarlGauss](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/karlgauss/32/3713_2.png) [@KarlGauss](https://boards.straightdope.com/u/KarlGauss)\
**Post date:** [April 19, 2014, 8:30pm UTC](https://boards.straightdope.com/t/do-the-linear-roots-of-a-polynomial-and-its-value-at-zero-uniquely-define-that-polynomial/686503/1 "2014-04-19T20:30:07Z")

</div>

If P(x) is a polynomial of degree n and has roots a, b, c, . . . , d and P(0) = 1, then I see that if we create F(x) = (1 - x/a)(1 - x/b)(1 - x/c) . . . (1 - x/d), then F(x) will have a, b, c, . . . . , and d as roots, and that F(0) = 1.

What I’m not confident about is that it follows that F(x) _equals_ P(x). Having specified its roots as above, I see that it is necessary that P(x) can be expressed as the product of the (1 - x/roots). But is expressing it that way sufficient to completely define P(x)?

It seems to me that it does completely define it but I don’t know how to prove my ‘intuition’.

Thanks!

---

<div class="post-metadata">

**Author:** ![friedo](https://avatars.discourse-cdn.com/v4/letter/f/8edcca/32.png) [@friedo](https://boards.straightdope.com/u/friedo)\
**Post date:** [April 19, 2014, 8:50pm UTC](https://boards.straightdope.com/t/do-the-linear-roots-of-a-polynomial-and-its-value-at-zero-uniquely-define-that-polynomial/686503/2 "2014-04-19T20:50:07Z")

</div>

Thinking graphically, it’s trivial to draw a smooth curve in the real plane of any degree N with N real roots. Stretching that curve but keeping the roots the same would mean there are an infinity of polynomials with the same roots.

---

<div class="post-metadata">

**Author:** ![Napier](https://avatars.discourse-cdn.com/v4/letter/n/ce73a5/32.png) [@Napier](https://boards.straightdope.com/u/Napier)\
**Post date:** [April 19, 2014, 8:54pm UTC](https://boards.straightdope.com/t/do-the-linear-roots-of-a-polynomial-and-its-value-at-zero-uniquely-define-that-polynomial/686503/3 "2014-04-19T20:54:07Z")

</div>

Aren’t y = 2 x^2 and y = 3 x^2 two different polynomials with the same roots and same values at zero?

---

<div class="post-metadata">

**Author:** ![KarlGauss](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/karlgauss/32/3713_2.png) [@KarlGauss](https://boards.straightdope.com/u/KarlGauss)\
**Post date:** [April 19, 2014, 9:13pm UTC](https://boards.straightdope.com/t/do-the-linear-roots-of-a-polynomial-and-its-value-at-zero-uniquely-define-that-polynomial/686503/4 "2014-04-19T21:13:09Z")

</div>

> [@Napier](#):
>
> Aren’t y = 2 x^2 and y = 3 x^2 two different polynomials with the same roots and same values at zero?

> [@friedo](#):
>
> Thinking graphically . . ."

Yes. I think I should have added “except for a constant multiplier”. Likely there’s more I took for granted.

ETA: I guess all that’s specified is a ‘family’ of polynomials. Nothing unique. I will attempt to explain later where my question came from, and why I stupidly thought the polynomials were identical. No time just now. Thank you!

---

<div class="post-metadata">

**Author:** ![ftg](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/ftg/32/2801_2.png) [@ftg](https://boards.straightdope.com/u/ftg)\
**Post date:** [April 19, 2014, 9:14pm UTC](https://boards.straightdope.com/t/do-the-linear-roots-of-a-polynomial-and-its-value-at-zero-uniquely-define-that-polynomial/686503/5 "2014-04-19T21:14:27Z")

</div>

Polynomial interpolation requires values _n_+1 distinct points for a degree _n_ (or less) polynomial.

**Napier** ’s example doubles down on your problem. The roots themselves are not distinct and the P(0) case is also at the roots.

---

<div class="post-metadata">

**Author:** ![KarlGauss](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/karlgauss/32/3713_2.png) [@KarlGauss](https://boards.straightdope.com/u/KarlGauss)\
**Post date:** [April 19, 2014, 9:26pm UTC](https://boards.straightdope.com/t/do-the-linear-roots-of-a-polynomial-and-its-value-at-zero-uniquely-define-that-polynomial/686503/6 "2014-04-19T21:26:56Z")

</div>

My motivation: I was reading about Euler’s solution to the Basel Problem (sum of the inverse squares) and it was explained how he _equated_ the Taylor series for sin(x)/x with the polynomial given by (1 - x/∏)(1+x/∏)(1-x/2∏)(1+x/2∏) . . . and I wasn’t sure such an equivalence was kosher.

---

<div class="post-metadata">

**Author:** ![Itself](https://avatars.discourse-cdn.com/v4/letter/i/d07c76/32.png) [@Itself](https://boards.straightdope.com/u/Itself)\
**Post date:** [April 19, 2014, 10:15pm UTC](https://boards.straightdope.com/t/do-the-linear-roots-of-a-polynomial-and-its-value-at-zero-uniquely-define-that-polynomial/686503/7 "2014-04-19T22:15:22Z")

</div>

> [@KarlGauss](#):
>
> If P(x) is a polynomial of degree n and has roots a, b, c, . . . , d and P(0) = 1, then I see that if we create F(x) = (1 - x/a)(1 - x/b)(1 - x/c) . . . (1 - x/d), then F(x) will have a, b, c, . . . . , and d as roots, and that F(0) = 1.
> 
> What I’m not confident about is that it follows that F(x) _equals_ P(x). Having specified its roots as above, I see that it is necessary that P(x) can be expressed as the product of the (1 - x/roots). But is expressing it that way sufficient to completely define P(x)?
> 
> It seems to me that it does completely define it but I don’t know how to prove my ‘intuition’.
> 
> Thanks!

A nonzero polynomial f(X) of degree n (over an arbitrary commutative ring) has at most n roots, since f(z) = 0 iff (X - z) divides f. Apply that result to F - P.

The technique of Euler you mentioned isn’t kosher (as it stands, anyway; there are ways of making that sort of thing rigorous). For one thing, f(x) sin/x has the same set of zeros for any nowhere-vanishing function f.

---

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [April 20, 2014, 1:31am UTC](https://boards.straightdope.com/t/do-the-linear-roots-of-a-polynomial-and-its-value-at-zero-uniquely-define-that-polynomial/686503/8 "2014-04-20T01:31:50Z")

</div>

A polynomial is uniquely determined by its roots and its value at any single point which is not a root. This is pretty easy to show and I’ll leave it as an exercise for the reader.

---

<div class="post-metadata">

**Author:** ![RayMan](https://avatars.discourse-cdn.com/v4/letter/r/e495f1/32.png) [@RayMan](https://boards.straightdope.com/u/RayMan)\
**Post date:** [April 20, 2014, 6:43am UTC](https://boards.straightdope.com/t/do-the-linear-roots-of-a-polynomial-and-its-value-at-zero-uniquely-define-that-polynomial/686503/9 "2014-04-20T06:43:16Z")

</div>

> [@ultrafilter](#):
>
> A polynomial is uniquely determined by its roots and its value at any single point which is not a root. This is pretty easy to show and I’ll leave it as an exercise for the reader.

I feel the need to state explicitly what you already know that when you say “…determined by its roots…” you are including the multiplicity of said roots. Yes, I know you know this and that was implied in your statement. I’m making this explicit for the reader doing your exercise.

Consider, for example, a polynomial f(x) with roots at -1, 2, and 3, such that f(0)=6. Then

f(x)=(x+1)(x-2)(x-3)  
f(x)=(x+1)^2(x-2)(x-3)

both satisfy these conditions but are manifestly not the same polynomial. The root x=-1 appears with different multiplicity in the two polynomials.

---

<div class="post-metadata">

**Author:** ![Chronos](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/chronos/32/134_2.png) [@Chronos](https://boards.straightdope.com/u/Chronos)\
**Post date:** [April 20, 2014, 1:48pm UTC](https://boards.straightdope.com/t/do-the-linear-roots-of-a-polynomial-and-its-value-at-zero-uniquely-define-that-polynomial/686503/10 "2014-04-20T13:48:11Z")

</div>

And we also have to make sure we’re talking about complex roots, not just real ones.

---

<div class="post-metadata">

**Author:** ![Indistinguishable](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@Indistinguishable](https://boards.straightdope.com/u/Indistinguishable)\
**Post date:** [April 20, 2014, 6:41pm UTC](https://boards.straightdope.com/t/do-the-linear-roots-of-a-polynomial-and-its-value-at-zero-uniquely-define-that-polynomial/686503/11 "2014-04-20T18:41:52Z")

</div>

> [@KarlGauss](#):
>
> My motivation: I was reading about Euler’s solution to the Basel Problem (sum of the inverse squares) and it was explained how he _equated_ the Taylor series for sin(x)/x with the polynomial given by (1 - x/∏)(1+x/∏)(1-x/2∏)(1+x/2∏) . . . and I wasn’t sure such an equivalence was kosher.

Euler is often said to have glibly moved from “sin(x)/x has roots at nonzero integer multiples of π” to “sin(x)/x = the product of (1 - x/(kπ)) for each nonzero integer k” in solving the Basel problem, simply ignoring the problem of the fact that many other functions have precisely the same zeros.

But Euler was not, in fact, always so glib in presenting this argument! For example, in Volume 1, Chapter 9 of his Introductio in Analysin Infinitorum (translation by Ian Bruce available [here](http://www.17centurymaths.com/contents/introductiontoanalysisvol1.htm)), we see that Euler argues for the product formula by noting that sin(x) = (e[sup]ix[/sup] - e[sup]-ix[/sup])/2i = [(1 + ix/N)[sup]N[/sup] - (1 - ix/N)[sup]N[/sup]]/2i for infinitely large N, so that a factorization of sin(x) can be extracted from a factorization of the polynomial [(1 + ix/N)[sup]N[/sup] - (1 - ix/N)[sup]N[/sup]]/2i.

I’ll write out in modern style the extraction of that factorization, but all the ideas are already present in the Euler. Let us denote [(1 + ix/N)[sup]N[/sup] - (1 - ix/N)[sup]N[/sup]]/2i by f[sub]N/sub. Note that f[sub]N[/sub] is a polynomial of degree either N - 1 (if N is even) or N (if N is odd), whose degree 1 term is 1. Furthermore, its roots occur where x/N is the tangent of a multiple of π/N. Putting these together and restricting attention to odd N, we get that f[sub]N/sub/x = the product of 1 - x/[N tan(kπ/N)] over the nonzero integers k in (-N/2, N/2).

As N approaches infinity, N tan(kπ/N) approaches kπ. Thus, we have that sin(x)/x = the product of 1 - x/[kπ] over the nonzero integers k.

[This last step is slightly glib, in that we’ve commuted limits without justification. We can rectify that by bundling together the factors where k differs only in sign, saying f[sub]N/sub/x = the product of 1 - (x/[N tan(kπ/N)])[sup]2[/sup] over k in (0, N/2). Now we note that the movement of the factors toward their limit is monotonic in N (considering the k-th factor to be 1 when N/2 \<= k), which is sufficient justification for commuting the limits.]

---

<div class="post-metadata">

**Author:** ![Indistinguishable](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@Indistinguishable](https://boards.straightdope.com/u/Indistinguishable)\
**Post date:** [April 20, 2014, 7:11pm UTC](https://boards.straightdope.com/t/do-the-linear-roots-of-a-polynomial-and-its-value-at-zero-uniquely-define-that-polynomial/686503/12 "2014-04-20T19:11:38Z")

</div>

There will be those who excoriate me for writing “/2i” when they would prefer “/(2i)”…

---

<div class="post-metadata">

**Author:** ![Chronos](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/chronos/32/134_2.png) [@Chronos](https://boards.straightdope.com/u/Chronos)\
**Post date:** [April 20, 2014, 7:20pm UTC](https://boards.straightdope.com/t/do-the-linear-roots-of-a-polynomial-and-its-value-at-zero-uniquely-define-that-polynomial/686503/13 "2014-04-20T19:20:10Z")

</div>

> [@](#):
>
> There will be those who excoriate me for writing “/2i” when they would prefer “/(2i)”…

Huh, I didn’t know that any of our members were TI-83 calculators.

Although, I’m pretty sure the statements in that post all remain true in either interpretation, as long as you’re consistent about it.

---

<div class="post-metadata">

**Author:** ![Indistinguishable](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@Indistinguishable](https://boards.straightdope.com/u/Indistinguishable)\
**Post date:** [April 20, 2014, 9:12pm UTC](https://boards.straightdope.com/t/do-the-linear-roots-of-a-polynomial-and-its-value-at-zero-uniquely-define-that-polynomial/686503/14 "2014-04-20T21:12:50Z")

</div>

> [@Chronos](#):
>
> Although, I’m pretty sure the statements in that post all remain true in either interpretation, as long as you’re consistent about it.

Except for “sin(x) = (e[sup]ix[/sup] - e[sup]-ix[/sup])/2i” (rather, they will be each others negations on the schoolmarmish interpretation) and the corresponding problem with “…whose degree 1 term is 1” (rather, it will be -1). But, yes, it’s pleasing to note that this error is rather more negligible with i than with most factors. 🙂

---

<div class="post-metadata">

**Author:** ![Hari\_Seldon](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/hari_seldon/32/5173_2.png) [@Hari\_Seldon](https://boards.straightdope.com/u/Hari_Seldon)\
**Post date:** [April 20, 2014, 9:14pm UTC](https://boards.straightdope.com/t/do-the-linear-roots-of-a-polynomial-and-its-value-at-zero-uniquely-define-that-polynomial/686503/15 "2014-04-20T21:14:20Z")

</div>

Although I am not adding to anything said above, let me summarize by saying that two polynomials of the same degree n with n+1 points in common are the same. If you want these points to be the roots, you need one more and if 0 is a root, having the same value at 0 won’t give a new point. And if one or more is a double root, you won’t have n+1 points, although in that case you have a root of the derivatives and beyond that it gets a bit complicated. But if they have the same roots with the same multiplicities, then you do need one more point (so that must be a non-root). And of course, you must include all complex roots.

---

<div class="post-metadata">

**Author:** ![Indistinguishable](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@Indistinguishable](https://boards.straightdope.com/u/Indistinguishable)\
**Post date:** [April 21, 2014, 12:00am UTC](https://boards.straightdope.com/t/do-the-linear-roots-of-a-polynomial-and-its-value-at-zero-uniquely-define-that-polynomial/686503/16 "2014-04-21T00:00:11Z")

</div>

> [@Indistinguishable](#):
>
> …restricting attention to odd n…

Oh, I ended up phrasing things such that this restriction is unnecessary.
