Factor Out Calculator: How to Factor Expressions
The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.
This calculator factors a polynomial expression by finding the greatest common factor (GCF) of all its terms and rewriting the expression as the GCF times the remaining polynomial. You enter a polynomial like 12x² + 18x, and the calculator returns 6x(2x + 3) along with the GCF and the factored form. It handles single-variable polynomials with integer coefficients, and it shows the steps so you can verify the result by hand.
Formula
The factoring-out process uses the distributive property in reverse:
a·b + a·c = a·(b + c)
where a is the greatest common factor of the terms, and b and c are the quotients of each term divided by a. For a polynomial with terms t�, t₂, …, tₙ, the calculator finds:
- GCF of coefficients: the largest integer that divides all coefficients evenly.
- GCF of variable parts: the lowest exponent of each variable that appears in every term.
- Remaining polynomial: each term divided by the GCF, written inside parentheses.
For example, in 12x² + 18x, the coefficient GCF is 6, and the variable GCF is x (since x appears in both terms with minimum exponent 1). The factored form is 6x(2x + 3).
Worked Example
Using the default input 12x^2 + 18x:
- Identify coefficients and variables: Terms are 12x² and 18x.
- Find GCF of coefficients: Factors of 12: 1, 2, 3, 4, 6, 12. Factors of 18: 1, 2, 3, 6, 9, 18. Common: 1, 2, 3, 6 → GCF = 6.
- Find variable GCF: x appears in both terms; lowest exponent is 1 → GCF variable part = x.
- Combine: GCF = 6x.
- Divide each term by 6x: 12x² ÷ 6x = 2x; 18x ÷ 6x = 3.
- Write factored form: 6x(2x + 3).
The calculator shows the GCF as 6x and the factored form as 6x(2x + 3). You can verify by expanding: 6x·2x = 12x² and 6x·3 = 18x, which sums to the original.
When to Use Factoring Out
Factoring out the GCF is the first step in most algebra problems involving polynomials. You use it when:
- Simplifying algebraic fractions (e.g., cancel common factors).
- Solving quadratic equations by factoring (after setting the equation to zero).
- Finding roots or zeros of a polynomial.
- Simplifying expressions before further factoring (like difference of squares or trinomials).
- Checking if a polynomial is prime (no GCF other than 1).
It is also useful in calculus when finding limits or derivatives of rational functions.
How to Read the Result
The output shows two things: the GCF and the factored form. The factored form is the original expression rewritten as a product. For example, if you enter 8x³y + 12x²y², the GCF is 4x²y, and the factored form is 4x²y(2x + 3y). To check, multiply the GCF by each term inside the parentheses; you should get the original polynomial.
If the GCF is 1, the polynomial has no common factor other than 1, and the factored form is just the original expression (e.g., x² + 5x + 6 remains unchanged because the terms have no common variable and coefficients share no common factor).
Common Mistakes and Limitations
- Forgetting the variable part: The GCF includes variables only if they appear in every term. For x² + x, the GCF is x, not x².
- Incorrect exponent: Use the smallest exponent of the variable across all terms. For x³ + x², the GCF is x², not x³.
- Sign errors: If the leading coefficient is negative, it is standard to factor out the negative as well. For -4x – 8, the GCF is -4, giving -4(x + 2).
- Not fully factoring: Factoring out the GCF is only the first step. The expression inside parentheses may be factorable further (e.g., difference of squares, trinomials). This calculator only performs the GCF step.
- Non-integer coefficients: The calculator works with integer coefficients. If you enter fractions or decimals, it may not find a clean GCF.
Also, the calculator assumes a single variable (typically x). If you enter a polynomial with multiple variables, it will still attempt to find the GCF of the coefficients and the common variable parts, but the result may be less intuitive.
How to Choose a Factoring Calculator
When selecting an online factoring tool, consider:
- Scope: Does it only factor out the GCF, or does it also factor quadratics, cubics, etc.? This calculator is specialized for GCF factoring.
- Step-by-step display: Look for a tool that shows the GCF and the division steps, not just the final answer.
- Input format: Ensure it accepts standard notation like ^ for exponents and * for multiplication.
- Variable support: Some calculators handle multiple variables; others only x.
- Accuracy: Test with a simple example like 4x + 8 to see if it returns 4(x + 2).
For more complex factoring (e.g., trinomials like x² + 5x + 6), you would need a general factoring calculator, not just a GCF tool.
Frequently Asked Questions
What does “factor out� mean?
“Factor out� means to extract the greatest common factor from each term of a polynomial and rewrite the expression as a product of that factor and a simpler polynomial. For example, factoring out 3 from 3x + 6 gives 3(x + 2).
How do I find the GCF of a polynomial?
Find the GCF of the coefficients (the largest integer that divides all coefficients) and the lowest exponent of each variable that appears in every term. Multiply them together. For 15x²y + 10xy², the coefficient GCF is 5, the variable GCF is xy, so the GCF is 5xy.
Can I factor out a negative number?
Yes. If the leading coefficient is negative, it is conventional to factor out the negative GCF to make the leading term positive. For -6x – 12, the GCF is -6, giving -6(x + 2).
What if the polynomial has no common factor?
Then the GCF is 1, and the factored form is the original expression. For example, x² + 3x + 2 has no common factor across all three terms, so you cannot factor out anything (though the trinomial itself can be factored as (x+1)(x+2) using other methods).
Does factoring out work for expressions with more than two terms?
Yes. The GCF is the common factor across all terms. For 4x³ + 8x² + 12x, the GCF is 4x, and the factored form is 4x(x² + 2x + 3).
Why is factoring out useful?
It simplifies expressions, makes solving equations easier (e.g., setting each factor to zero), and is a prerequisite for more advanced factoring techniques. It also helps in simplifying rational expressions and in calculus when finding limits.
Related
Formula used
in expr | Polynomial expression | - | 12x^2+18x | 0 out gcf | Greatest common factor | - | 2*3 | 0 out factored | Factored form | - | 6x*(2x+3) | 0
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.