The same expression can be written in several ways, and each way is good at something different. The factored form shows at a glance where the expression is zero and where it changes sign. The expanded form is easier to add to or subtract from other polynomials, term by term. Calculus asks you to switch between these forms all the time, so the useful skill is choosing the form that fits the job and checking that nothing changed along the way.
Key terms
Term
Definition The terms of an expression are the parts that are added together at the top level. A subtraction counts as adding the opposite, so in the terms are and . A part inside parentheses belongs to a single term until the parentheses are removed.
In plain words Terms are the pieces separated by plus and minus signs that are not hidden inside parentheses. Each term carries its own sign.
Example The expression has three terms, , and . The expression has only one term, a product, even though has two terms of its own inside.
Factor
Definition The factors of an expression are the parts that are multiplied together at the top level. For polynomials, a polynomial is a factor of a polynomial when for some polynomial .
In plain words Factors are joined by multiplication, terms are joined by addition. Cancelling in a fraction works only with a factor shared by the whole numerator and the whole denominator, and only where that factor is not zero. It never works with terms.
Example In the factors are , and . In , by contrast, is a factor of each term but the expression as written is a sum. Writing it as makes a factor of the whole expression. This is why
works, while cancelling the in would be wrong, because there is a term of the numerator, not a factor.
Distributive property
Definition For all real numbers , and ,
Read left to right it multiplies out a product. Read right to left it pulls out a common factor.
In plain words Multiplying a sum means multiplying each of its terms. Going backwards, a factor that every term shares can be taken outside parentheses.
Example Left to right, . Right to left, . Check the second one by distributing again, since .
Expansion
Definition To expand a product is to rewrite it as a sum of terms by applying the distributive property until no product of sums remains, then combining like terms. For two sums, every term of the first is multiplied by every term of the second.
In plain words Multiply everything by everything, then collect what matches.
Example Expanding gives four products before combining,
A quick test at gives on the left and on the right. A test like this can catch a mistake, but agreement at one number does not prove two expressions are equal.
Square of a sum
Definition For all real numbers and ,
and, replacing by ,
The middle term comes from two separate products, and , when is expanded. A square of side with and splits into a square of area , a square of area and two rectangles of area each. That picture needs nonnegative lengths, but the identity itself holds for every real and .
In plain words Squaring a sum is not squaring each piece. You also get twice the product of the two pieces, the cross term.
Example Expanding gives . The tempting wrong answer fails already at , where but . Calculus uses this identity in difference quotients, for instance
Factorization
Definition To factor an expression is to rewrite it as a product. A polynomial with real coefficients is factored completely over the reals when it is written as a constant times nonconstant polynomials with real coefficients, none of which can be written as a product of two real polynomials of lower degree. Over the reals such unbreakable factors are the linear ones and the quadratics with no real zero. A quadratic factor with can be split further over the reals exactly when it has a real zero, that is, when .
In plain words Factoring is expansion run backwards. Keep going until no piece can be broken down further using real numbers.
Example Start with . Pull out the common factor , then split the difference of squares that remains,
Now the zeros , and can be read straight off the factors.
Difference of squares
Definition For all real numbers and ,
A sum of squares with does not factor over the reals, because it is at least for every real and so has no real zero.
In plain words Something squared minus something else squared always splits into a minus version times a plus version. A plus between two squares does not split this way.
Example Factor completely over the reals. It is a difference of squares with and , and one of the new factors is again a difference of squares,
The factor is at least for every real , so it stays as it is. Stopping at would leave the job unfinished.
Equivalent expressions
Definition Two expressions in are equivalent on a set of real numbers when they are defined and have the same value for every in that set. Unless a set is named, it is the set of all where both expressions are defined. The polynomial identities on this page are equivalences for every real . Checking a rewrite by reversing it, such as expanding a factored form, confirms equivalence. Agreement at a few sample values does not, though a single disagreement proves two expressions are not equivalent.
In plain words Equivalent means the same value every single time, not just sometimes. The safest check is to undo your step and see the original come back.
Example The factored form expands back to , so the two are equivalent for every real . On the other hand and are not equivalent, because at they give and . Watch the domain as well. The expressions and agree for every , but only the second is defined at , so they are equivalent on the set and not on all real numbers.
Check yourself
- Expand .
Show the answer
With and in the square of a difference,
The cross term is twice the product , with a minus sign.
- Factor completely over the reals.
Show the answer
It is a difference of squares twice over,
The factor is at least for every real , so it has no real zero and does not factor further.
- For , simplify
Show the answer
Expanding the square gives , so the numerator is . Since is now a factor and , it cancels,