Polynomial: Difference between revisions
imported>Barry R. Smith (standard form) |
imported>Richard Pinch (→Polynomials of one variable: definition of leading term, anchor for monic polynomial) |
||
Line 11: | Line 11: | ||
A coefficient equal to ''1'' in front of a positive power of ''x'' is typically dropped from the notation, so that <math>x^2-x+1</math> represents the same polynomial as <math>1x^2 - 1x + 1</math>. It is sometimes useful to explicitly write a power of ''x'' in each monomial, even the constants. To accomplish this, you can write <math>x^0</math> after the constant, so that ''2'' and <math>2x^0</math> are considered the same. | A coefficient equal to ''1'' in front of a positive power of ''x'' is typically dropped from the notation, so that <math>x^2-x+1</math> represents the same polynomial as <math>1x^2 - 1x + 1</math>. It is sometimes useful to explicitly write a power of ''x'' in each monomial, even the constants. To accomplish this, you can write <math>x^0</math> after the constant, so that ''2'' and <math>2x^0</math> are considered the same. | ||
===Degree=== | |||
The power of the variable appearing in a monomial is the '''degree''' of the monomial. By the above convention, a constant ''c'' is the same as <math>c x^0</math> and has degree equal to ''0''. The degree of a polynomial is the ''largest'' of the degrees of the monomials appearing in the polynomial. The only exception is the constant polynomial 0, which typically is not assigned a degree (for reasons made clear below). As an example, ''2'' has degree 0, <math>x^2 + x</math> has degree ''2'', and <math>-3x^4+x^2+x^5</math> has degree ''5''. | The power of the variable appearing in a monomial is the '''degree''' of the monomial. By the above convention, a constant ''c'' is the same as <math>c x^0</math> and has degree equal to ''0''. The degree of a polynomial is the ''largest'' of the degrees of the monomials appearing in the polynomial. The only exception is the constant polynomial 0, which typically is not assigned a degree (for reasons made clear below). As an example, ''2'' has degree 0, <math>x^2 + x</math> has degree ''2'', and <math>-3x^4+x^2+x^5</math> has degree ''5''. | ||
The degree is an important identifier when working with polynomials. For instance, many procedures for [[factor]]ing or solving [[polynomial equation]]s require identifying the degree of the polynomial first. In the last example above, we had to scan through the polynomial from the left all the way through the right to determine that the degree is ''5''. To facilitate identifying the degree of a polynomial, as well as manipulations of polynomials, they are usually written in '''standard form'''. The standard form of a polynomial is obtained by [[combining like terms|combining terms]] of the same degree, and then writing the monomials so that the exponents decrease from left to right. The degree of a polynomial in standard form is the degree of the first monomial appearing. We can put the last example above in standard form by rearranging the monomials to obtain <math>x^5-3x^4+x^2</math>. It is just as easy to work with polynomials where the monomials are written so that the degrees increase from left to right. | The degree is an important identifier when working with polynomials. For instance, many procedures for [[factor]]ing or solving [[polynomial equation]]s require identifying the degree of the polynomial first. In the last example above, we had to scan through the polynomial from the left all the way through the right to determine that the degree is ''5''. To facilitate identifying the degree of a polynomial, as well as manipulations of polynomials, they are usually written in '''standard form'''. The standard form of a polynomial is obtained by [[combining like terms|combining terms]] of the same degree, and then writing the monomials so that the exponents decrease from left to right. The degree of a polynomial in standard form is the degree of the first monomial appearing. The term of highest degree is the '''leading term''' and its coefficient is the '''leading coefficient'''. A polynomial with leading coefficient equal to 1 is '''monic'''. We can put the last example above in standard form by rearranging the monomials to obtain <math>x^5-3x^4+x^2</math>. It is of course just as easy to work with polynomials where the monomials are written so that the degrees increase from left to right. | ||
=== Definition === | === Definition === |
Revision as of 01:18, 22 December 2008
In algebra, a polynomial is, roughly speaking, a formal expression obtained from constant numbers and one or several unspecified numbers called "variables", denoted by letters like , , etc., by making a finite number of additions, subtractions and multiplications. For instance, is a polynomial of one variable, , whereas is a polynomial of two variables, and . Expressions like or are not polynomials ; the first one is a rational function, and the second one is an irrational expression, due to the square root symbol. Such operations might be expressed within the constant numbers, as in the example , but this is only because and are elements of the set (e.g. real numbers) that are being used as coefficients of the polynomials.
It may be convenient to think of a polynomial as a function of its variables, that is, or . Such a function is called a polynomial function. But in reality, both concepts are different, the unspecified variables being purely formal entities when one thinks of an abstract polynomial, whereas they are meant to be replaced by any number when one thinks of a function. The distinction is important in abstract algebra, because what we have called "constant numbers" is more generally replaced by any ring, and for some rings the two concepts cannot be identified. There is not such a problem with polynomials over rings of usual numbers like integers, rational, real or complex numbers. Still it is important to understand that calculations with polynomials can be conceived in an only formal way, without giving any special ontological status to the variables. To make the distinction clear, it is common in algebra to denote the abstract variables with capital letters (, , etc.), while variables of functions are still denoted with lowercase letters. We will use this convention in what follows.
Polynomials of one variable
In this section we deal with the simplest case, that is, polynomials of only one variable, denoted . A polynomial can be written as a finite sum of terms, called monomials. Each monomial is either a constant, or a constant times a positive whole number power of x. For instance, 1, , and are monomials, and their sum, is a polynomial.
A coefficient equal to 1 in front of a positive power of x is typically dropped from the notation, so that represents the same polynomial as . It is sometimes useful to explicitly write a power of x in each monomial, even the constants. To accomplish this, you can write after the constant, so that 2 and are considered the same.
Degree
The power of the variable appearing in a monomial is the degree of the monomial. By the above convention, a constant c is the same as and has degree equal to 0. The degree of a polynomial is the largest of the degrees of the monomials appearing in the polynomial. The only exception is the constant polynomial 0, which typically is not assigned a degree (for reasons made clear below). As an example, 2 has degree 0, has degree 2, and has degree 5.
The degree is an important identifier when working with polynomials. For instance, many procedures for factoring or solving polynomial equations require identifying the degree of the polynomial first. In the last example above, we had to scan through the polynomial from the left all the way through the right to determine that the degree is 5. To facilitate identifying the degree of a polynomial, as well as manipulations of polynomials, they are usually written in standard form. The standard form of a polynomial is obtained by combining terms of the same degree, and then writing the monomials so that the exponents decrease from left to right. The degree of a polynomial in standard form is the degree of the first monomial appearing. The term of highest degree is the leading term and its coefficient is the leading coefficient. A polynomial with leading coefficient equal to 1 is monic. We can put the last example above in standard form by rearranging the monomials to obtain . It is of course just as easy to work with polynomials where the monomials are written so that the degrees increase from left to right.
Definition
Let us consider some expressions like , , or . We can write all of them as follows:
This suggests that a polynomial can be entirely defined by giving a sequence of numbers, which are called its coefficients, all of them being zero from some rank. For instance the three polynomials above can be written respectively , , and , the dots meaning the sequence continues with an infinity of zeros. This leads to the definition below.
Definition. A polynomial , over the ring is a sequence of elements of , called the coefficients of , this sequence containing only a finite number of nonzero terms. The rank of the last nonzero term is called the degree of the polynomial.
Hence, the degrees of the three polynomials given above are respectively 2, 3 and 5. By convention, the degree of is set to .
This definition may surprise the reader, because in reality, one thinks of a polynomial as an expression of the form rather than . We will progressively show how to return to this usual way of writing a polynomial. First, we identify any element of the ring to the polynomial . For instance, we write only instead of the cumbersome , (or in the familiar fashion ).
Secondly, we merely denote by the polynomial
This is natural, as in the familiar fashion this sequence corresponds to It remains to give a sense to , , etc. This will be made in the next two subsections.
Calculation rules
We now define addition and multiplication of polynomials, beginning with addition, which is easy.
Addition
With the traditional notation, if we have and , we want to have , that is, one wants to add coefficients separately for each degree. This leads to the formal definition below.
Definition. Given two polynomials and , the sum is defined by .
Multiplication
Multiplication is harder to define. Let us begin with an example using traditional notation. For and , we want to have
One can observe that the coefficient of say, , is obtained by adding , and , that is, by adding all the so that , where the denote the coefficients of and the those of . Those mechanics lead to give the definition below.
Definition. Given two polynomials and , the product is defined by , where for every index , the coefficient is given by .
The reader which is upset by those cumbersome notations should just retain that this definition allows to multiply polynomials (considered as mere sequences of coefficients) as one is used to do in elementary algebra (using the traditional notation, as in the example). The only striking fact is that in our construction, does not represent a number, but a pure abstract entity for which we have defined some rules of calculation.
The algebra
With the definition above, one can verify that the product of the polynomial by itself, that is , is the sequence . More generally, for each natural number , one can verify that the -th power of is given by , where the is the coefficient of index and all other coefficients are zeros. In particular, we have the usual convention , which we identified to the constant .
Now, any polynomial is exactly equal to , where the addition and the powers (which are mere repetitions of multiplications) are defined as in the preceding subsections. Our whole construction legitimates the traditional notation, and from now on, we will only use the later, with which calculations use natural rules of elementary algebra. It is however important to remember that the "variable" did not denote some number in our construction, but a particular sequence of coefficients. We have succeeded in defining polynomials in a purely formal manner.