CalcUnit Logo

How to Calculate Factoring

Factor any polynomial expression completely.

The Formula

GCF, trinomial, difference of squares

The 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:

VariableTypeExample value
a (x² coefficient)Input (you provide)1
b (x coefficient)Input (you provide)-5
c (constant)Input (you provide)6
Discriminant b² − 4acResult (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

  1. 1Write down the values you know: a (x² coefficient), b (x coefficient), c (constant).
  2. 2Substitute your known values into the formula: GCF, trinomial, difference of squares.
  3. 3Work through the arithmetic in the standard order of operations — parentheses first, then exponents, then multiplication and division, then addition and subtraction.
  4. 4Check that your result carries the correct unit and falls in a reasonable range for the problem.
  5. 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² − 4acSum 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.317.800016.66666720.00000015.3650081.30165918.3333330.000000
0.513.000010.00000012.0000008.6055511.39444915.0000000.000000
0.85.80006.2500007.5000004.6301991.61980113.1250000.000000
11.00005.0000006.0000003.0000002.00000012.5000000.000000
2-23.00002.5000003.000000——01.2500001.198958
3-47.00001.6666672.000000——00.8333331.142609
4-71.00001.2500001.500000——00.6250001.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

factoringpolynomialalgebra

Use the Interactive Calculator

Skip the manual math — get instant results with our free Factoring calculator.

Open Calculator

Related Calculators