Try it with your numbers
Show every step
A trinomial is a polynomial with exactly three terms, and the ones you meet in algebra are almost always quadratics: . Factoring turns that sum into a product of two binomials, which is the key step for solving quadratic equations, simplifying fractions and graphing parabolas.
How Do You Factor Trinomials When the Leading Coefficient Is 1?

Take . Two binomials that start with are the frame: . The blanks need two numbers with product and sum . List the factor pairs of in order and check each sum: , , . The last pair works.
A speed tip for large constants: when is positive, the sums of its factor pairs are smallest near the middle of the list and grow toward the ends. For , the pairs near are the ones to try first, and and give sum immediately. A small points to the middle, a large points to the ends.
The expression has degree 2, so it has at most two linear factors. That bounds the work: once you find one valid pair, you are done, and no other pair can also work.
Quick check
Answer:
Why the Sum and Product Trick Works
The trick is the FOIL method run backwards. Multiply two binomials and collect the middle terms:
The middle coefficient is the sum and the constant is the product . Factoring is nothing more than recovering and from those two clues, which is why it feels like a puzzle with exactly one solution.
If , the equation equals zero at and . So is the negative of the roots' sum, and is their product.
This also explains why guessing works at all. Every wrong pair fails for a reason you can see: the product is right but the sum is wrong, or the reverse. You are never choosing between equally plausible answers, only searching a short list.
Factoring Trinomials With Negative Numbers

Signs decide the whole search, so read them before listing any pairs. When is positive, and share a sign, and it matches the sign of . When is negative, and have opposite signs, and the one with the larger absolute value takes the sign of .
Try . Since is negative, the pair has opposite signs. Their absolute values must differ by , because . Among the factor pairs of , only and differ by . The larger one, , takes the minus sign:
The trap that costs the most points is using the sum when is negative. With opposite signs, the sum of the two numbers is the difference of their sizes, so you are hunting for a pair whose gap equals , not whose total does. Writing the numbers into the binomials with the wrong sign is the second most common slip, and the check in the last section catches it.
Try this: Predict the signs of the two numbers in before listing any factor pairs, then find them. (Answer: .)
How to Factor Trinomials When a Is Not 1
When the leading coefficient is not 1, the sum and product trick needs one upgrade. Here is why. Multiply two general binomials:
The two middle products, and , add to . Their product is . So you look for two numbers that multiply to and add to , then use them to split the middle term. This is the ac method, and it ends with factoring by grouping.
- Multiply and .
- Find two numbers with that product and a sum of .
- Rewrite as the sum of two terms using those numbers.
- Group the four terms in pairs and factor each pair.
- Factor out the common binomial.
Work it on . Here . The pair and has product and sum . Split the middle term and group:
Notice the second group: factors as , not . Pulling out the negative so the leftover binomial matches the first group is the step students miss most often. If the two binomials do not match, the sign of the second group is the first thing to fix. The box method arranges the same four terms in a grid, which many learners find easier to track.
Is This Trinomial Factorable? The Discriminant Test
Some trinomials have no integer factorization, and hunting for one wastes minutes. The discriminant settles it before you start. Compute and look at the result:
- A perfect square (including ): the trinomial factors over the integers.
- A positive number that is not a perfect square: the roots are real but irrational, so no integer factors exist.
- A negative number: there are no real roots, so no real linear factors.
For , , so it cannot be factored over the reals. For , the value is , which is not a perfect square, so the roots are irrational. For from the last section, the value is , a perfect square, which confirms the factors exist.
The test is the quadratic formula’s square-root part, in disguise. The roots are , and they are rational exactly when that square root is a whole number. For the example above, gives and , matching the zeros of and . For more practice with this formula, see these quadratic formula problems with answers.
Quick check
Answer:
Factoring Trinomials With a GCF or Two Variables
Always look for a common factor first. Take . Skipping the GCF means working with . Pulling out first leaves , where , and the pair and appears almost at once:
Keep the in the final answer. Dropping it is a surprisingly common way to lose the mark after doing all the hard work correctly. The full technique is in factoring out the GCF.
becomes . Stopping at leaves a factorable trinomial inside the brackets.
Two variables follow the same logic with the second variable riding along. For , find numbers with product and sum : and . Attach to each: . If the leading coefficient is negative, as in , factor out first: .
Hidden Trinomials: Substitution and Perfect Squares
A trinomial does not have to start with . If the exponents are or any pattern where the first is double the middle, substitute. In , let to get . The numbers and work, so . Put back and finish:
The factor stays because its discriminant is . Always try to keep factoring each piece, but know when a piece is done.
Some trinomials are squares in disguise. If the first and last terms are perfect squares and the middle term is twice the product of their roots, the trinomial is a perfect square trinomial: , since .
Trinomials of higher degree sometimes yield to a root search. For , testing gives , so by the factor theorem is a factor. Synthetic division with on the coefficients produces with remainder , so the quotient is . The full factorization is .
Factoring Trinomials to Solve Quadratic Equations
Factoring pays off through the zero product property: if a product equals zero, at least one factor is zero. To solve , factor the left side and set each piece to zero:
Those two values are also where the parabola crosses the -axis. Factoring is the fastest route when the discriminant is a perfect square. When it is not, the quadratic formula is the right tool.
Factoring also appears in geometry. A rectangular patio with area square feet has side lengths and feet. Check with : the sides are and , the area is , and . Contractors, designers and anyone working backwards from an area to its dimensions use the same step.
Quick check
Answer: or
How to Check a Factored Trinomial
The standard check is to multiply the factors back out and compare with the original. For , the product is , which matches. If you want more practice multiplying binomials in either direction, multiplying polynomials covers it fully.
A faster check uses numbers. Substitute a small value for into both the trinomial and your factors. At , the trinomial gives , and the factors give . At , the trinomial gives , and the factors give . One test value can match by coincidence, so use two. Avoid , because it only checks the constant term.
Two more instant checks: the product of the first terms of your binomials must equal the leading term, and the product of the last terms must equal . If either fails, the signs or the order are wrong. For a full set of mixed problems at all levels, work through the factoring practice problems.
Practice problems
0 of 5 solved
- Factor .
Answer:
Find two numbers with product and sum : and . Write . Check: . - Factor .
Answer:
The constant is negative, so the numbers have opposite signs. Product and sum gives and . Write . Check: . - Factor .
Answer:
Here . The numbers and multiply to and add to . Split: . Factor out the common binomial: . - Factor .
Answer:
Here . The numbers and multiply to and add to . Split: . Factor out the common binomial: . - Factor completely: .
Answer:
Let , so the expression is . The numbers and multiply to and add to , giving . Replace with : . Both factors are differences of squares: .
Common questions
What is the easiest way to factor a trinomial?
If the leading coefficient is 1, find two numbers that multiply to the constant and add to the middle coefficient. If it is not 1, use the ac method: multiply and , find the pair that adds to , split the middle term and factor by grouping.
How do you factor a trinomial when a is not 1?
Multiply by , then find two numbers with that product and a sum of . Rewrite as the sum of two terms using those numbers, then factor the four-term expression by grouping. The box method is the same idea laid out in a grid.
How do you know if a trinomial cannot be factored?
Compute the discriminant . If it is not a perfect square, the trinomial has no factorization into binomials with integer coefficients. A trinomial like that is called prime over the integers.
Do you always factor out the GCF first?
Yes, check for a greatest common factor before anything else. It shrinks the numbers, often turns a hard problem into an easy one, and the GCF must appear in the final answer.
What is the difference between a trinomial and a perfect square trinomial?
A trinomial is any polynomial with three terms. A perfect square trinomial is a special one that equals a binomial squared, such as . Its discriminant is exactly zero.
Does the order of the two binomial factors matter?
No. Multiplication is commutative, so and are the same answer. When splitting the middle term in the ac method, either order also leads to the same factors.