Polynomial: Difference between revisions
imported>Barry R. Smith m (link) |
imported>Barry R. Smith m (link) |
||
Line 1: | Line 1: | ||
{{subpages}} | {{subpages}} | ||
In [[algebra]], a '''polynomial''' is, roughly speaking, a formal expression obtained from constant numbers and one or several unspecified numbers called [[ | In [[algebra]], a '''polynomial''' is, roughly speaking, a formal expression obtained from constant numbers and one or several unspecified numbers called [[variable]]s, denoted by letters like <math>x</math>, <math>y</math>, etc., by making a finite number of additions, subtractions and multiplications. For instance, <math>x^2-2x+1</math> is a polynomial of one variable, <math>x</math>, whereas <math>x^2+y^2</math> is a polynomial of two variables, <math>x</math> and <math>y</math>. Expressions like <math>\frac{x-1}{x^2+2}</math> or <math>\sqrt{x^2+1}</math> 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 <math>\frac{1}{2}x^3+x-\sqrt{2}</math>, but this is only because <math>\frac{1}{2}</math> and <math>\sqrt{2}</math> are elements of the set (e.g. real numbers) that are being used as coefficients of the polynomials. | ||
It is common in algebra to denote the abstract variables with capital letters (<math>X</math>, <math>Y</math>, etc.), while variables of functions are still denoted with lowercase letters. We will use this convention in what follows. | It is common in algebra to denote the abstract variables with capital letters (<math>X</math>, <math>Y</math>, etc.), while variables of functions are still denoted with lowercase letters. We will use this convention in what follows. |
Revision as of 13:59, 24 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 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.