Chapter 1 — Fundamental Concepts
1.3 — Algebraic Expressions
Factoring does not alter an expression; it changes our point of view so that what was hidden becomes visible.
In §1.1 we established the real numbers, and in §1.2 their powers and roots. Now we take the step into the symbolic language of algebra: combining numbers and letters by means of the operations we already know. Everything that follows comes down to two opposite moves. To expand an expression is to turn a product into a sum, applying distributivity from left to right, from to . To factor is the inverse move: turning a sum into a product, reading distributivity from right to left. The first is mechanical; the second requires recognizing a structure that is not in plain sight. That second move is the central aim of this section, and it is the tool with which we will simplify fractional expressions in §1.4 and solve equations in §1.5.
§1. Polynomials and their elements
Section titled “§1. Polynomials and their elements”An algebraic expression is any combination of numbers and letters joined by the operations defined on : addition, subtraction, multiplication, division and taking roots. The letters are called variables and stand for arbitrary real numbers. Within this broad family we are interested in one particular case, the most regular of all: the polynomial.
A polynomial of degree in the variable is an expression of the form
where (recall from §1.1 that ), the coefficients are real numbers, and . Let us read the formula carefully. The subscript of each coefficient matches the exponent of the power of it accompanies, so that is the coefficient of ; the ellipsis indicates that all the intermediate powers appear, in decreasing order. The summand carries no visible because . The notation gives the expression a name and keeps its variable in view. If we put a number in place of , say , we write for the resulting real number; evaluating a polynomial is exactly that. Thus, if , then .
The condition is what fixes the degree. If the coefficient of the highest power were zero, that summand would not be present and the degree would be lower. We call the leading coefficient and the constant term. The degree of is denoted and is the highest power of that appears with a nonzero coefficient. When the leading coefficient is , the polynomial is called monic. The polynomials of degree are the nonzero constants. The constant is also regarded as a polynomial, the zero polynomial, but it has no nonzero coefficient, and so we assign it no degree. Each summand is a term, and according to the number of terms with nonzero coefficient the polynomial is called a monomial (one), a binomial (two) or a trinomial (three). These names are a convenience of language, not a structural distinction. The same definition extends to several variables: is a polynomial in and .
Why do we require the exponents to be nonnegative integers? Because a polynomial is what we obtain from numbers and the variable using only addition, subtraction and multiplication. A power with natural is a repeated product, as we saw in §1.2. By contrast, introduces a division by the variable and introduces a root of the variable, and neither of those operations enters the construction. That is why and are not terms of a polynomial. The restriction falls on the variable, not on the coefficients: is a polynomial, because and are simply real numbers.
§2. Operations with polynomials
Section titled “§2. Operations with polynomials”Two terms are like terms when they have the same literal part, that is, the same variables with the same exponents. By distributivity, like terms are combined by adding their coefficients: . To add or subtract polynomials, it is enough to combine like terms. For example,
To multiply, we apply distributivity: each term of the first factor multiplies each term of the second, and then we combine like terms. The product of two terms is computed with the law from §1.2, so that . For example,
In this example the degrees of the factors are and , and the degree of the product is . This is no coincidence. To prove that it always happens we need a fact about that we will use several times in this section.
Lemma. If and , then or .
Proof. Suppose . Then has a multiplicative inverse (§1.1), and .
In other words, a product of nonzero reals is never zero.
Proposition. Let and be nonzero polynomials in . Then , and the leading coefficient of is the product of the leading coefficients of and .
Proof. Let and , with leading coefficients and . On distributing, each term of multiplies each term of and yields . Since and , every exponent satisfies , and equality occurs only when and . Therefore no power higher than appears in the product, and the coefficient of is exactly , with no other like term to combine with. By the lemma, .
For the sum there is no rule as precise: the degree of does not exceed the larger of the two degrees, but it may be smaller, because the leading terms may cancel. For example, .
§3. Special products
Section titled “§3. Special products”Certain products of binomials appear so often that it pays to know their result by heart, so as not to distribute term by term every time. For all :
| Name | Identity |
|---|---|
| Square of a binomial | |
| Difference of squares | |
| Cube of a binomial | |
| Sum of cubes | |
| Difference of cubes |
The symbol packs two identities into a single line: we read all the upper signs at once, or all the lower signs at once. Thus the first row says and also .
None of these identities is an isolated fact. All of them follow from the distributivity and commutativity of §1.1, and it is worth seeing how.
Proposition. For all , the five identities in the table hold.
Proof. For the square, by the definition of power and by distributivity,
Since , the two middle terms combine into , leaving . For the cube we multiply this result by :
The versions with a minus sign need no new computation. The identities just proved hold for every pair of reals; in particular, they hold if we put in place of . Since and by the rule of signs, we obtain and .
For the difference of squares we distribute directly:
because . For the sum of cubes,
since the terms and each appear once with each sign. Finally, putting in place of in this last identity yields .
The proof brings out a difference between the rows of the table. In the square and the cube of a binomial, the cross terms combine and the result has three or four terms. In the difference of squares and in the sum and difference of cubes, on the other hand, the cross terms cancel exactly and only two survive. That cancellation is what makes these three identities so useful for factoring: read from right to left, they turn a binomial into a product.
§4. Factoring techniques
Section titled “§4. Factoring techniques”To factor a polynomial is to write it as a product of polynomials of lower degree. When do we stop? We say that a polynomial of degree greater than or equal to is irreducible over if it cannot be written as a product of two polynomials with real coefficients, both of degree greater than or equal to . To factor completely is to reach a product of irreducible factors. The answer depends on which coefficients we allow. If we require integer coefficients, we speak of factoring over . The polynomial does not factor over : a factorization with integer coefficients would produce, by the same argument we will shortly use for the sum of squares, a rational number whose square is , and in §1.1 we proved that none exists. Over , on the other hand, .
There is no single procedure that settles every case. There is, instead, a reasonable order of attempts, worth going through before giving up.
Common factor. This is the first attempt and the most elementary. From each term we extract the highest power of each variable that all of them share and the greatest common divisor of the coefficients, applying distributivity in reverse: . For example, , because is the largest thing both terms share.
Grouping terms. Sometimes no factor is common to all the terms, but one is common to some of them. We form blocks of terms that share a factor and extract that factor from each block. If the result exposes a factor common to the blocks, we extract it in turn:
Difference of squares, sum and difference of cubes. These are the identities of §3 read backwards:
For example, and .
This list lacks a formula for the sum of squares. It is not an oversight. In the simplest case the factorization is impossible, and the reason is that in no square is negative. Indeed, it follows from the order axioms of §1.1 that for every real : if , then ; if , then and ; and .
Proposition. If and , the polynomial is irreducible over .
Proof. Suppose is a product of two polynomials of degree greater than or equal to . Since degrees add (§2), both have degree , and we can write with real and , . Let us evaluate both sides at . On the right, the first factor equals , and the product is . On the left, , because and . One and the same number cannot be both and positive.
Irreducible over does not mean irreducible always: when we enlarge the number system with the complex numbers, in §3.3, will factor. Nor does it mean that every sum of squares is irreducible. By adding and subtracting the same term, becomes a difference of squares:
This device of completing a square is the same one that will give us, in the next subsection, the factorization of every quadratic trinomial.
§5. The quadratic trinomial
Section titled “§5. The quadratic trinomial”The most frequent case, and the one that demands the most care, is the trinomial with . Here , and are the coefficients and is the variable.
Let us begin with the monic case, . Expanding a product of the form gives
Therefore, if we find two reals and whose sum is and whose product is , we have the factorization . For example, for we look for two numbers with product and sum ; they are and , and so . When the coefficients are integers, it is convenient to look for and among the divisors of . But the search does not always succeed, and when it fails it tells us nothing: does the trinomial not factor, or did we simply fail to find the numbers? To answer, we need a method that always works.
That method is completing the square. We call the discriminant of the trinomial the number
The Greek letter (capital delta) is just a name for this combination of coefficients. We will see that its sign discriminates, that is, distinguishes, the trinomials that factor from those that do not.
Proposition. Let with , and let .
(i) If , then , where
(ii) If , the trinomial is irreducible over .
Proof. First we extract the factor and complete the square. Since by §3, we get
where in the last step we wrote . This identity holds regardless of the sign of .
(i) If , then exists (§1.2), and . The bracket is then a difference of squares, with and , and by §3 it factors as . But
so that .
(ii) If , then for every real the bracket evaluated at is positive, because and . Since , the lemma of §2 gives for every real . If the trinomial factored, then, as in the proposition of §4, both factors would have degree , and we could write with . Evaluating at , the right-hand side would be , contradicting what we just showed.
Let us look at one example of each case. For we have , so that and . Then , where in the last step we absorbed the into the first factor. On the other hand, for the discriminant is , and the trinomial is irreducible. The sum of squares from §4 is the case , , with . Both irreducibilities thus have the same cause: in no square is negative.
When , the two numbers coincide, , and the trinomial is , a perfect square multiplied by . Note also that and make the trinomial vanish, because each makes one of the factors vanish. In §1.5 we will read this same computation as the solution of the equation .
With polynomials, their operations, the special products and the factoring techniques now available, we are in a position to study quotients of polynomials: fractional expressions, the subject of the next section.
Copyright © 2026 Carlos Dagorret — Licensed under Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0)