Factoring rewrites a sum as a product. It reverses multiplication and reveals structure that an expanded expression can hide: shared factors, zeros of a function, or a quantity that can be canceled in a fraction. A factorization is correct when multiplying the factors reproduces the entire original expression.
First look for a greatest common factor
In both terms contain Dividing each term by that common factor gives
The greatest common factor uses the greatest numerical factor shared by all coefficients and the smallest exponent of each variable shared by every term. Factoring it first makes the remaining polynomial simpler. Do not lose it after factoring what remains.
For first extract 4: The remaining trinomial factors as giving
Example: reverse a product of binomials
The expansion explains the method for factoring a monic quadratic. To factor find two numbers whose sum is 7 and product is 12. They are 3 and 4, so the answer is
For the product is negative, so the numbers have opposite signs. The required pair is 4 and giving Check both the product and the sum; matching only the constant is not enough.
For the product is positive and the sum negative, so both numbers are negative:
When the leading coefficient is not one
Factor The product of the leading coefficient and constant is 18. Two numbers with product 18 and sum 11 are 9 and 2. Split the middle term and group:
The repeated binomial becomes a common factor. Expanding gives confirming the middle coefficient. Guessing factors without checking this cross-term is risky.
Recognize squares and conjugates
A perfect-square trinomial has the structure or Thus The end terms being squares is not sufficient: the middle term must also equal twice their square-root product, with the appropriate sign.
A difference of squares factors as For example, The middle terms cancel on multiplication. A sum of squares, such as does not factor into real linear factors. Do not change a plus to a minus to force the pattern.
Factor completely within the intended number system
The expression first becomes The first factor is another difference of squares, so over the real numbers the complete factorization is Over the integers, does not factor further; over the reals it becomes Read what the question expects.
Try it yourself
Factor completely and explain why the quadratic factor is a square.
Answer: Extract 3 to obtain The constant is and the middle term is so the result is Expanding verifies all three original terms.
What to remember
Take out the common factor first, identify a supported pattern, and multiply back to check. A product representation must preserve every coefficient, including the middle one.