How to Calculate Factoring
Factor any polynomial expression completely.
The Formula
GCF, trinomial, difference of squaresThe factoring formula uses the mathematical relationship: GCF, trinomial, difference of squares. Each variable in the formula represents a measurable quantity that affects the final result.
What Each Variable Means
Every value in the factoring formula, what it measures, and the value used in the worked example on this page:
| Variable | Type | Example value |
|---|---|---|
| a (x² coefficient) | Input (you provide) | 1 |
| b (x coefficient) | Input (you provide) | -5 |
| c (constant) | Input (you provide) | 6 |
| Discriminant b² − 4ac | Result (calculated) | — |
| Sum of Roots (−b/a) | Result (calculated) | — |
| Product of Roots (c/a) | Result (calculated) | — |
| Root 1 (x₁) | Result (calculated) | — |
| Root 2 (x₂) | Result (calculated) | — |
| Has Real Roots (1 = yes, 0 = no) | Result (calculated) | — |
| Real Part (when roots are complex) | Result (calculated) | — |
| Imaginary Part (when roots are complex) | Result (calculated) | — |
Step-by-Step Method
- 1Write down the values you know: a (x² coefficient), b (x coefficient), c (constant).
- 2Substitute your known values into the formula: GCF, trinomial, difference of squares.
- 3Work through the arithmetic in the standard order of operations — parentheses first, then exponents, then multiplication and division, then addition and subtraction.
- 4Check that your result carries the correct unit and falls in a reasonable range for the problem.
- 5Verify your answer with the interactive Factoring Calculator — it solves the same formula instantly.
Worked Example
Take a concrete case: a (x² coefficient) = 0.5, with the other inputs at the typical values from the variables table above. Substituting into the formula gives discriminant b² − 4ac = 13.0000, sum of roots (−b/a) = 10.000000, product of roots (c/a) = 12.000000, root 1 (x₁) = 8.605551, root 2 (x₂) = 1.394449, has real roots (1 = yes, 0 = no) = 1, real part (when roots are complex) = 5.000000, imaginary part (when roots are complex) = 0.000000. These numbers are solved by the same engine that powers the Factoring calculator, so you can reproduce them exactly by entering the same inputs there.
| a (x² coefficient) | Discriminant b² − 4ac | Sum of Roots (−b/a) | Product of Roots (c/a) | Root 1 (x₁) | Root 2 (x₂) | Has Real Roots (1 = yes, 0 = no) | Real Part (when roots are complex) | Imaginary Part (when roots are complex) |
|---|---|---|---|---|---|---|---|---|
| 0.3 | 17.8000 | 16.666667 | 20.000000 | 15.365008 | 1.301659 | 1 | 8.333333 | 0.000000 |
| 0.5 | 13.0000 | 10.000000 | 12.000000 | 8.605551 | 1.394449 | 1 | 5.000000 | 0.000000 |
| 0.8 | 5.8000 | 6.250000 | 7.500000 | 4.630199 | 1.619801 | 1 | 3.125000 | 0.000000 |
| 1 | 1.0000 | 5.000000 | 6.000000 | 3.000000 | 2.000000 | 1 | 2.500000 | 0.000000 |
| 2 | -23.0000 | 2.500000 | 3.000000 | — | — | 0 | 1.250000 | 1.198958 |
| 3 | -47.0000 | 1.666667 | 2.000000 | — | — | 0 | 0.833333 | 1.142609 |
| 4 | -71.0000 | 1.250000 | 1.500000 | — | — | 0 | 0.625000 | 1.053269 |
How each result changes as a (x² coefficient) changes, holding the other inputs constant.
Practice Problems
1. x² − 5x + 6: Plug in a (x² coefficient) 1, b (x coefficient) -5, c (constant) 6. What is the answer?
Answer: Entering a (x² coefficient) 1, b (x coefficient) -5, c (constant) 6 gives Discriminant b² − 4ac 1.0000, Sum of Roots (−b/a) 5.000000, Product of Roots (c/a) 6.000000, Root 1 (x₁) 3.000000, Root 2 (x₂) 2.000000, and 3 more more results.
2. Given a (x² coefficient) 2.5, b (x coefficient) -7, c (constant) 3, what does it come out to?
Answer: The calculator returns Discriminant b² − 4ac 19.0000, Sum of Roots (−b/a) 2.800000, Product of Roots (c/a) 1.200000, Root 1 (x₁) 2.271780, Root 2 (x₂) 0.528220, and 3 more more results for a (x² coefficient) 2.5, b (x coefficient) -7, c (constant) 3.
Frequently Asked Questions
What is the formula for factoring?
The formula is: GCF, trinomial, difference of squares. Factor any polynomial expression completely.
What values do I need to calculate factoring?
You need a (x² coefficient), b (x coefficient), c (constant). The calculator produces discriminant b² − 4ac, sum of roots (−b/a), product of roots (c/a), root 1 (x₁), root 2 (x₂), has real roots (1 = yes, 0 = no), real part (when roots are complex), imaginary part (when roots are complex) from those inputs.
What is the factoring when a (x² coefficient) is 0.5?
With a (x² coefficient) = 0.5, the result is discriminant b² − 4ac = 13.0000, sum of roots (−b/a) = 10.000000, product of roots (c/a) = 12.000000, root 1 (x₁) = 8.605551, root 2 (x₂) = 1.394449, has real roots (1 = yes, 0 = no) = 1, real part (when roots are complex) = 5.000000, imaginary part (when roots are complex) = 0.000000. This is worked through in full in the example on this page.
Related Topics
Use the Interactive Calculator
Skip the manual math — get instant results with our free Factoring calculator.
