Sorting Algebraic Expressions
Expressions such as \( 4x \), \( 4x + 5 \) and \( 4x^2 + 4x + 7 \) are familiar from algebra. Each one can also be read as a function of \( x \). For example, \( f(x) = 4x + 5 \) takes a number \( x \), multiplies it by 4 and adds 5, so \( f(2) = 13 \). Because we meet so many of these expressions, it helps to sort them into families and give each family a name.
There are two simple ways to sort them. The first is to count the terms. A term is a part of the expression separated from the others by a plus or a minus sign, so \( 4x^2 + 4x + 7 \) has three terms: \( 4x^2 \), \( 4x \) and \( 7 \). The second is to look at the highest power of the variable. In \( 4x^2 + 4x + 7 \) the highest power of \( x \) is 2.
Classifying by the Number of Terms
When we count terms, an expression with one term gets one name, an expression with two terms gets another, and so on. The prefixes help: mono means one, bi means two and tri means three.

Monomial: an expression with exactly one term, such as \( 4x \), \( -7x^3 \) or \( 9 \).
Binomial: an expression with exactly two terms, such as \( 4x + 5 \) or \( x^2 - 9 \).
Trinomial: an expression with exactly three terms, such as \( 4x^2 + 4x + 7 \) or \( x^3 - 2x + 1 \).
An expression with four or more terms is usually not given a special name. We simply call it a polynomial with four terms, five terms, and so on.
Combine like terms before counting. The expression \( 3x + 2x + 1 \) looks like it has three terms, but \( 3x + 2x = 5x \), so it is really \( 5x + 1 \), which is a binomial.
Classifying by the Degree
The second way looks at the highest power of the variable. This highest power is called the degree. A function whose highest power of \( x \) is 1 draws a straight line when graphed, so it is called a linear function.

Each higher degree has its own name. The table below shows the common ones. Beyond degree 4 we usually just say polynomial function of degree 5, degree 6, and so on.
| Function | Degree | Name of function |
| \( f(x) = 4x + 3 \) | 1 | Linear function |
| \( f(x) = 3x^2 + 4x + 5 \) | 2 | Quadratic function |
| \( f(x) = 2x^3 - x + 6 \) | 3 | Cubic function |
| \( f(x) = x^4 - 16 \) | 4 | Biquadratic function |
| \( f(x) = x^{10} + 3x^7 + 12 \) | 10 | Polynomial function of degree 10 |
So one expression can carry more than one name. The function \( f(x) = 3x^2 + 4x + 5 \) is a trinomial because it has three terms, and it is quadratic because its degree is 2. There is also a third way to name it, by the kind of numbers used as coefficients, which comes after the definition below.
What Is a Polynomial?
All the expressions above share one feature: every power of the variable is a whole number 0, 1, 2, 3 and so on. An expression of this kind is called a polynomial. Written in general, a polynomial in \( x \) looks like this:
\[ P(x) = a_0 + a_1x + a_2x^2 + \dots + a_nx^n \]
Polynomial: an expression of the form \( P(x) = a_0 + a_1x + a_2x^2 + \dots + a_nx^n \), where \( a_0, a_1, a_2, \dots, a_n \) are real numbers, \( a_n \neq 0 \) and \( n \) is a non-negative integer, is called a polynomial of degree \( n \) in \( x \).
- The numbers \( a_0, a_1, a_2, \dots, a_n \) are the coefficients. They can be any real numbers, including fractions and surds such as \( \sqrt{2} \).
- The powers of \( x \) must be non-negative integers: 0, 1, 2, 3, and so on. No fractions and no negative numbers.
- The last coefficient \( a_n \) is not zero. If it were zero, the term \( a_nx^n \) would disappear and the degree would not be \( n \).
- The term \( a_0 \) has no \( x \) in it. It is the constant term, and it can be thought of as \( a_0x^0 \).
A quick test: if the variable sits under a root sign, in a denominator, or has a fractional or negative power, the expression is not a polynomial.
Polynomials over Integers, Rational Numbers and Real Numbers
The third way of naming a polynomial looks at the kind of numbers its coefficients are. In \( P(x) = a_0 + a_1x + a_2x^2 + \dots + a_nx^n \):
- (i) If all the coefficients are integers, it is a polynomial of degree \( n \) in \( x \) over integers.
- (ii) If all the coefficients are rational numbers, it is a polynomial of degree \( n \) in \( x \) over rational numbers.
- (iii) If the coefficients are real numbers, it is a polynomial of degree \( n \) in \( x \) over real numbers.
Here are three examples, one of each kind.
- (i) \( P(x) = 2x^3 + 5x - 1 \) is a polynomial of degree 3 in \( x \) over integers, because 2, 5 and \( -1 \) are integers.
- (ii) \( P(x) = \frac{1}{2}x^4 - \frac{2}{3}x^2 + 4 \) is a polynomial of degree 4 in \( x \) over rational numbers, because \( \frac{1}{2} \) and \( \frac{2}{3} \) are fractions.
- (iii) \( P(x) = 7x^4 + \sqrt{2}x^2 + \sqrt{5}x + 6 \) is a polynomial of degree 4 in \( x \) over real numbers, because \( \sqrt{2} \) and \( \sqrt{5} \) are irrational.
Every integer is also a rational number, and every rational number is also a real number. So we name the smallest set that holds all the coefficients. One irrational coefficient is enough to make it a polynomial over real numbers.
Standard Form: Ascending and Descending Order
The terms of a polynomial can be written in any order and the value stays the same. Even so, it is much easier to read a polynomial, find its degree and compare it with another when its terms are arranged by power.
Standard form: a polynomial is in standard form when its terms are arranged either in descending order of the powers of the variable (highest power first) or in ascending order (lowest power first).
The polynomial below is in descending order of powers of \( x \):
\[ P(x) = x^5 + 2x^4 + 3x^3 - 5x^2 + 2x - 7 \]
The same polynomial in ascending order of powers of \( x \) is:
\[ P(x) = -7 + 2x - 5x^2 + 3x^3 + 2x^4 + x^5 \]
Worked example. Write \( 3x^2 + 7 - x^4 + 2x \) in standard form in both orders.
Step 1: Find the power of \( x \) in each term. The term \( 3x^2 \) has power 2, the term \( 7 \) has power 0 because it has no \( x \), the term \( -x^4 \) has power 4 and the term \( 2x \) has power 1.
Step 2: Arranging the terms from the highest power down to the lowest gives descending order:
\[ P(x) = -x^4 + 3x^2 + 2x + 7 \]
Step 3: Arranging the terms from the lowest power up to the highest gives ascending order:
\[ P(x) = 7 + 2x + 3x^2 - x^4 \]
A sign belongs to the term after it and moves with that term. In the example, the minus sign in front of \( x^4 \) travels with \( x^4 \) wherever it goes. Dropping it gives a different polynomial.
Testing Whether an Expression Is a Polynomial
To decide whether an expression is a polynomial, write every root and every fraction involving the variable as a power, then check that each power is a whole number. Look at these three expressions.
- (a) \( 2x^4 - \frac{5}{8}x^2 + \sqrt{3}x + 1 \)
- (b) \( x^3 + 4x^{1/2} + 2\sqrt[3]{x} - 6 \)
- (c) \( \frac{3}{x} + 2 \)
Solution:
- (a) The powers of \( x \) are 4, 2, 1 and 0. All are non-negative integers. The coefficients \( -\frac{5}{8} \) and \( \sqrt{3} \) are real numbers, which is allowed. So it is a polynomial.
- (b) The second term \( 4x^{1/2} \) has power \( \frac{1}{2} \), and the third term is \( 2\sqrt[3]{x} = 2x^{1/3} \), with power \( \frac{1}{3} \). These powers are not integers, so it is not a polynomial.
- (c) Here \( \frac{3}{x} = 3x^{-1} \). The power \( -1 \) is negative, so it is not a polynomial.
A root on a number is fine; a root on the variable is not. In \( \sqrt{3}x \) the root belongs to the coefficient 3, so the power of \( x \) is still 1. In \( \sqrt{3x} \) the root covers \( x \) as well, and the power of \( x \) becomes \( \frac{1}{2} \).
Numerical Coefficient, Literal Coefficient and Constant Term
When an expression has more than one letter, we must first say which letter is the variable. The other letters are then treated like numbers, and they form part of the coefficient. Take \( 2xy + 5 \) as a polynomial in \( x \). The variable is \( x \), and the term \( 2xy \) is \( (2y) \times x \). So \( y \) is the literal coefficient of \( x \), 2 is the numerical coefficient of \( x \), and 5 is the constant term.
Numerical coefficient: the number that multiplies the variable in a term. In \( 2xy \) as a polynomial in \( x \), the numerical coefficient is 2.
Literal coefficient: the letter or letters, other than the chosen variable, that multiply the variable in a term. In \( 2xy \) as a polynomial in \( x \), the literal coefficient is \( y \).
Constant term: the term that contains no variable at all. In \( 2xy + 5 \) the constant term is 5.
Changing the chosen variable changes the answer. The table shows the same kind of term read in different ways.
| Expression | Polynomial in | Numerical coefficient | Literal coefficient |
| \( 2xy \) | \( x \) | 2 | \( y \) |
| \( 2xy \) | \( y \) | 2 | \( x \) |
| \( 5a^2b \) | \( a \) | 5 | \( b \) |
| \( 5a^2b \) | \( b \) | 5 | \( a^2 \) |
Degree of a Polynomial
Degree of a polynomial: the highest power of the variable in it. If a polynomial has more than one variable, the degree of each term is the sum of the powers of the variables in that term, and the degree of the polynomial is the highest of these sums.
Worked example (a). Find the degree of \( P(x) = 4x^5 - 2x^2 + 9 \). The powers of \( x \) are 5, 2 and 0. The highest is 5, so the degree of \( P(x) \) is 5.
Worked example (b). Find the degree of \( Q(x, y) = 3x^2y^2 + 5x^4y^3 - 2xy \).
Step 1: Adding the powers of \( x \) and \( y \) in the first term \( 3x^2y^2 \):
\[ 2 + 2 = 4 \]
Step 2: Adding the powers in the second term \( 5x^4y^3 \):
\[ 4 + 3 = 7 \]
Step 3: Adding the powers in the third term \( -2xy \), where each letter has power 1:
\[ 1 + 1 = 2 \]
Step 4: The largest of the three sums 4, 7 and 2 is 7, so the degree is:
\[ \deg Q = 7 \]
A non-zero constant such as \( f(x) = 9 \) can be written \( 9x^0 \), so its degree is 0. That is why a constant function sits just below a linear function in the family of polynomials.
In a term with two variables, do not take only the bigger power. The term \( x^4y^3 \) has degree \( 4 + 3 = 7 \), not 4. Also, the first term is not always the highest: in \( 3x^2 - 4x^5 + 2x \) the degree is 5, from the middle term.
Equality of Polynomials
Equal polynomials: two polynomials \( p(x) \) and \( q(x) \) are equal if they have the same degree, the same number of similar terms, and equal coefficients for the terms having the same power of \( x \).
This gives a very useful method. If we are told that two polynomials are equal, we can compare the coefficients of like terms one power at a time, and each comparison becomes a small equation.
Worked example 1. Find \( a \) if \( p(x) = q(x) \), where \( p(x) = 5x^3 + 7x + 8 \) and \( q(x) = 5x^3 + ax + 8 \).
Step 1: The \( x^3 \) terms already match, with coefficient 5 in both, and the constants match, 8 in both. Comparing the coefficients of \( x \), since \( p(x) = q(x) \):
\[ a = 7 \]
Worked example 2. If \( p(x) = ax^3 - 2x^2 + 5 \) and \( q(x) = 6x^3 + bx^2 + 5 \) are equal, find \( a \) and \( b \).
Step 1: Comparing the coefficients of \( x^3 \):
\[ a = 6 \]
Step 2: Comparing the coefficients of \( x^2 \), keeping the minus sign with its term:
\[ b = -2 \]
Step 3: Checking the constant terms, which must also agree:
\[ 5 = 5 \]
So \( a = 6 \) and \( b = -2 \).
Worked example 3. If \( 3x^2 + ax + 1 = 3x^2 + 1 \), find \( a \). The right side has no \( x \) term, which means its coefficient of \( x \) is 0. Comparing the coefficients of \( x \) gives \( a = 0 \).
A power that is missing from a polynomial is not a problem: its coefficient is simply 0. Write the missing term as \( 0x^k \) in your head before comparing.
The full lesson is waiting for you
The notes are free to read in full. A free account opens the rest of the practice, and tracks your progress and confidence score for every subject. Presentations and videos need approval from Learn Yeti.