User:IssaRice/Degree of polynomial

From Machinelearning
Revision as of 22:54, 29 July 2019 by IssaRice (talk | contribs) (Created page with "Why is the definition of degree of polynomial what it is? First attempt: a polynomial like <math>a_n x^n + a_{n-1} x^{n-1} + \cdots + a_2 x^2 + a_1 x + a_0</math> should have...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Why is the definition of degree of polynomial what it is?

First attempt: a polynomial like anxn+an1xn1++a2x2+a1x+a0 should have degree n. This works for a polynomial like 4x25x+8, which has degree 2 according to the definition, as we expect. But now what if we had 0x3+4x25x+8? This is the same polynomial, but it now has degree 3 according to the definition. So actually degrees aren't unique, which is a problem. We want to rule out cases where the leading coefficient is zero.

Second attempt: a polynomial like anxn+an1xn1++a2x2+a1x+a0, where an0, has degree n. Now 4x25x+8 still has degree 2, and 0x3+4x25x+8 (the same polynomial) does not have degree 3, since the leading coefficient is zero. We're still not sure if the degree is unique (after all, maybe the polynomial can be written in some crazy way where it has degree 3), but there isn't any obvious problem now. What about 0, the zero polynomial? this has leading coefficient zero, so it's actually not clear what the degree is -- we've left this case undefined. All the other constant polynomials have degree 0, so it might seem natural to assign a degree of 0. but actually, if we look at products of polynomials it will seem more natural to assign a degree of .