B About a definition: What is the number of terms of a polynomial P(x)?

  • Thread starter Thread starter littlemathquark
  • Start date Start date
Click For Summary
The discussion revolves around the definition of "terms" in a polynomial, specifically using the example of P(x) = 3x^5 + x^2 - 4. Participants debate whether this polynomial has three non-zero terms or six terms when including zero coefficients for missing degrees. The consensus leans towards defining terms as the non-zero components, leading to the conclusion that P(x) has three terms. Additionally, the conversation highlights the importance of clearly defining terms and coefficients in mathematical contexts, as conventions can vary. Ultimately, clarity in definitions is essential for accurate mathematical communication.
littlemathquark
Messages
204
Reaction score
26
TL;DR
Let polynomial ##P(x)=3x^5+x^2-4## so what is the number of terms of ##P(x)##? İt's 5+1=6 terms because of ##degP(x)=5## (since ##P(x)=3x^5+0.x^4+0.x^3+x^2-4##) or only three terms? Why?
Let polynomial ##P(x)=3x^5+x^2-4## so what is the number of term of ##P(x)##? İt's 5+1=6 terms because of ##degP(x)=5## (since ##P(x)=3x^5+0.x^4+0.x^3+x^2-4##) or only three terms? Why?
 
Mathematics news on Phys.org
From my understanding, the definition of a "term" in a polynomial refers to the individual pieces (non-zero) separated by addition or subtraction notation. So in the above example, I would consider it having 3 terms. A monomial doesn't mean it has to be degree one; 5x^2 is also a monomial, for example, so by this logic, P(x) would be considered a trinomial. The only thing I can think of that relates a degree to the number of terms is the n+1 rule you stated above.
 
  • Like
  • Informative
Likes DeBangis21, WWGD, mathwonk and 3 others
mathisrad said:
From my understanding, the definition of a "term" in a polynomial refers to the individual pieces (non-zero) separated by addition or subtraction notation.
That is how I use "term". I don't know if there is an official definition. If two things are added, I call it two terms no matter what the nature of those two things are. I would say that ##5x^{10} +x^{10} +\sin(x)## has three terms.
The only exception is if is a polynomial. In that case "the 5th term of the polynomial" might be ##0=0\cdot x^4##.
 
littlemathquark said:
TL;DR Summary: Let polynomial ##P(x)=3x^5+x^2-4## so what is the number of term of ##P(x)##? İt's 5+1=6 terms because of ##degP(x)=5## (since ##P(x)=3x^5+0.x^4+0.x^3+x^2-4##) or only three terms? Why?

Let polynomial ##P(x)=3x^5+x^2-4## so what is the number of term of ##P(x)##? İt's 5+1=6 terms because of ##degP(x)=5## (since ##P(x)=3x^5+0.x^4+0.x^3+x^2-4##) or only three terms? Why?
If you allow zero, then why do you count only these terms? For example ##0.x^{20}## is also there.
 
  • Like
Likes gmax137 and FactChecker
martinbn said:
If you allow zero, then why do you count only these terms? For example ##0.x^{20}## is also there.
because DegP(x)=5
 
Which is true?
##P(x) =3x^5+x^2-4## has three terms (##3x^5,x^2 and - 4)## or ##P(x) ## has 6 terms (##3x^5,0.x^4,0.x^3,x^2,0.x and - 4##) and which must prefer, why?
 
littlemathquark said:
Which is true?
##P(x) =3x^5+x^2-4## has three terms (##3x^5,x^2 and - 4)## or ##P(x) ## has 6 terms (##3x^5,0.x^4,0.x^3,x^2,0.x and - 4##) and which must prefer, why?
As with definitions there is no true or false it is a matter of convention. If you want to be clear you can say three non-zero terms. Also if it is the second possiblility and you add one more term, say ##x^{100}##, how many terms do you have now?
 
  • Like
Likes mathwonk and FactChecker
martinbn said:
As with definitions there is no true or false it is a matter of convention. If you want to be clear you can say three non-zero terms. Also if it is the second possiblility and you add one more term, say ##x^{100}##, how many terms do you have now?
101 terms.
But sometimes P(x) is called "trinom" but it's 6 terms.
 
The name trinomial refers to three non-zero terms(at least that's how I treat it), which is the key difference between the two definitions you offer. P(x) is a trinomial because, by definition, it has three non-zero terms. I don't think I've seen anyone refer to something based on its max number of terms.
 
  • #10
littlemathquark said:
##P(x) =3x^5+x^2-4## has three terms
Yes.

mathisrad said:
The name trinomial refers to three non-zero terms(at least that's how I treat it)
I agree. When we talk about the terms of a polynomial, we're referring to the ones that have a nonzero coefficient.
 
  • Informative
Likes mcastillo356
  • #11
0 is a term with no degree and it is not included into the number of terms of a polynomial. For example, the zero polynomial P(x)=0 has zero terms and it has no degree.
 
  • #12
Unless the number of terms excludes zero terms, then it's difficult to see how it can be well-defined. Especially more generally where there is no upper limit imposed by the degree of a polynomial.
 
  • #13
Gavran said:
the zero polynomial P(x)=0 has zero terms and it has no degree.
Or is of degree zero -- probably a better way to say the same thing.
 
  • #14
PeroK said:
Unless the number of terms excludes zero terms, then it's difficult to see how it can be well-defined. Especially more generally where there is no upper limit imposed by the degree of a polynomial.
Could you elaborate a little more on what you mean and provide an example? Thank you.
 
  • #15
littlemathquark said:
Could you elaborate a little more on what you mean and provide an example? Thank you.
How many terms are in the expression:
$$\cos^2x - \sin^2x$$Or, should that be:
$$0+ 0\cos x +0\sin x + \cos^2x -\sin^2x$$Or, it could be any number greater than that.
 
  • Like
Likes mathwonk and FactChecker
  • #16
PeroK said:
How many terms are in the expression:
$$\cos^2x - \sin^2x$$Or, should that be:
$$0+ 0\cos x +0\sin x + \cos^2x -\sin^2x$$Or, it could be any number greater than that.
Thank you. Also İf for example ##P(x)=0x^8+0x^7+0x^6+3x^5+x^2-4## we can't say degree of ##P(x)##. Am I right?
 
  • #17
littlemathquark said:
Thank you. Also İf for example ##P(x)=0x^8+0x^7+0x^6+3x^5+x^2-4## we can't say degree of ##P(x)##. Am I right?
I'm not really sure how we ended up discussing this.
 
  • #18
Another reason why it is not useful to define it as the degree plus one, is that it brings no new information, the degree is enough.
 
  • Like
Likes FactChecker
  • #19
Gavran said:
0 is a term with no degree and it is not included into the number of terms of a polynomial. For example, the zero polynomial P(x)=0 has zero terms and it has no degree.
I agree.

The degree of the univariate polynomial function, ##P(x) = 0 \,, \ ## is usually said to to be undefined. In other words, it has no degree.

Depending upon context, you may alternatively see the zero polynomial be assigned the degree of ##-1## or perhaps ##-\infty## .
 
  • #20
It is meaningless to discuss the correct use of a word in mathematics unless you first define that word. Here the undefined word is "term". A similar confusion arises in the use of the word "coefficient" for polynomials.

For instance you might say that the "nth term" of a polynomial P, is a_n.X^n, where a_n is the nth coefficient of P. Then of course you must define "nth coefficient". Thus an equally confusing question is to ask how many coefficients a polynomial P has. Since technically a polynomial is defined as an infinite sequence (a_0, a_1,.........., a_n,..........), with all but a finite number of entries equal to zero, there are always infinitely many coefficients, mostly zero. I.e. a polynomial over a ring A, is a mapping a from the non negative integers into A, with only a finite number of non-zero values, and the nth coefficient is a(n).

One may thus consider the "coefficients" of P to be either the full infinite sequence (a_0,....,a_n,..........), or (for a non-zero polynomial P) the finite sequence (a_0,....,a_n) where a_n is the "last" (largest n) non zero coefficient, or even only the finite subsequence of non-zero coefficients. (One usually says the zero polynomial has "all its coefficients equal to zero".) In particular, a polynomial does not have a unique representation. For clarity, if you are referring only to non-zero coefficients, and/or non-zero terms, you should say so.

You may appreciate Mike Artin's discussion, p.350-351 in his book Algebra, of this point, which he says "creates a nuisance".
 
  • #21
IMO, it is fairly standard to call the constant term, ##a_0##, of a polynomial the "zero'th coefficient" and the coefficient of ##x^i## is the "i-th coefficient, ##a_i##".
 
  • #22
I can't answer these questions:
Let ##P(x)=3x^5+x^2-4##
a) What's the product of coefficients of polynomial ##P(x)##? ##-12## or ##0##?
b)What's the first- degree term of the polynomial ##P(x)##? ##0## or not exist?
 
  • #23
littlemathquark said:
I can't answer these questions:
Let ##P(x)=3x^5+x^2-4##
a) What's the product of coefficients of polynomial ##P(x)##? ##-12## or ##0##?
b)What's the first- degree term of the polynomial ##P(x)##? ##0## or not exist?
Where are these questions from? A book? Lectures? Exam? You will need to follow the definitions from your source.
 
  • #24
İt is from my mind and not sure which definition must follow.
 
  • #25
littlemathquark said:
İt is from my mind and not sure which definition must follow.
What do you mean by "must follow"? If it is a problem you made up, follow which ever one you want, or both.
 
  • #26
Why does it matter littlemathquark? What difficulty are you having?

The 'standard' or conventional answers would be
a) -12
b) degree is 5

As martinbn and others have said, if you want to define in a non-conventional way, so be it. But why? What are you trying to achieve?
 
  • #27
I try to achive true or logical answers. For b) I'm looking for #x^1# term if it's exist.
 
  • #28
littlemathquark said:
I try to achive true or logical answers. For b) I'm looking for #x^1# term if it's exist.
Why are you looking for that? You can look for what you want, but are you trying to solve an actual problem?

If not, what is the point? What does it matter?

There are standard conventions used in mathematics, but mathematics works in this logical way
Definitions => Assumptions => Logical Consequences of those assumptions.

What is your definition of a polynomial, then what is your definition of the 'first degree' of that polynomial? Then you have what you want.

Or use the standard math conventions.
 
  • #29
littlemathquark said:
I try to achive true or logical answers. For b) I'm looking for #x^1# term if it's exist.
I still have the feeling that you think that definitions represent absolute truth. But they can be, and are, different depending on the source or the person. For example some people exclude zero from the natural numbers some include it. You cannot ask a question that relies on whether zero is or is not a natural number and expect a definite answer without specifying which convention you use.
 
  • Like
Likes FactChecker
  • #30
littlemathquark said:
I can't answer these questions:
Let ##P(x)=3x^5+x^2-4##
a) What's the product of coefficients of polynomial ##P(x)##? ##-12## or ##0##?
b)What's the first- degree term of the polynomial ##P(x)##? ##0## or not exist?
a) IMO, if you want the product of the non-zero coefficients, say that.
Otherwise, I would assume that you are talking about the space of 5-th degree polynomials, ##a_0+a_1x+a_2x^2+a_3x^3+a_4x^4+a_5x^5## and asking what ##a_0a_1a_2a_3a_4a_5## is.

b) The coefficient of ##x_1## in that polynomial is defined and is 0.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
8
Views
3K
  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 24 ·
Replies
24
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K