Verified rational factors

Factoring Polynomials Calculator

Factor a linear or quadratic polynomial over the rational numbers. Expand the factors to check that they give the original expression.

Recent problems and practice On this device

Your practice

0 due

This browser keeps your 20 most recent quizzes and the questions you missed. No sign-in needed.

Solve a problem, then choose Four-question quiz.

    Failed typed math may be kept for up to 7 days to improve the solver. Privacy.

    Enter a problem

    Typed solving is free
    Try
    Input help

    Enter one problem at a time. Browse supported topics and limits.

    Use parentheses to show what belongs in a fraction. Type (x+1)/3 to divide the whole numerator by 3. For a square root, type sqrt(9).

    For a system, put each of two equations on its own line or separate them with a semicolon.

    Drafts stay in this tab for up to 24 hours. Select Clear to remove your draft.

    Sign in to use photo, PDF, drawing, or Describe. A usable result uses one assisted credit.

    Status
    Verified
    Maximum degree
    2
    Coefficient domain
    Rational numbers
    Independent check
    Exact expansion

    How to factor polynomials

    Factoring rewrites a sum or difference as a product. Start by looking for a factor shared by every term. For a quadratic trinomial, the coefficient of the squared term helps you choose what to do next. Multiply the finished factors to check that you get the original polynomial.

    Take out the greatest common factor

    6x2−9x=3x(2x−3)6x^2-9x=3x(2x-3)

    Both coefficients are divisible by 3, and each term has at least one x. Divide each term by 3x to get 2x and −3, then put 3x in front. Distributing it gives 6x² − 9x again.

    Factor a trinomial with leading coefficient 1

    x2−5x+6=(x−2)(x−3)x^2-5x+6=(x-2)(x-3)

    Look for two numbers that multiply to +6 and add to −5. Those numbers are −2 and −3. Check the middle term by adding the cross products, −3x and −2x.

    Factor a trinomial by grouping

    2x2+5x+22x^2+5x+2
    1. Multiply the first and last coefficients to get 2 × 2 = 4. The numbers 4 and 1 multiply to 4 and add to 5.
    2. Split 5x into 4x + x. Group the terms as (2x² + 4x) + (x + 2).
    3. Factor each group to get 2x(x + 2) + 1(x + 2). Pull out the common binomial to get (x + 2)(2x + 1).

    Spot a repeated factor with fractions

    12y2−12y+18=18(2y−1)2\frac12y^2-\frac12y+\frac18=\frac18(2y-1)^2

    Take out 1/8. The remaining trinomial, 4y² − 4y + 1, is the square of 2y − 1. Expanding that square and multiplying by 1/8 recovers all three terms.

    Current limitations

    • One variable and degree two or lower.
    • Factors over the rational numbers, not the complex numbers.
    • Equations should use Solve / simplify; Factor accepts expressions.
    • Multivariable and higher-degree factoring remain unsupported.

    Check factors by expanding them

    Multiply the factors and compare each term with the original polynomial, including any factor pulled out at the start. The line-by-line checking guide shows how to find a sign or distribution error.

    If your problem is an equation, use the quadratic equation solver to find real roots or the completing the square calculator to rewrite it in vertex form.

    Questions

    Factoring calculator FAQ

    What can the factoring polynomials calculator handle?

    It factors typed one-variable linear and quadratic polynomial expressions with exact rational coefficients.

    What happens when a quadratic does not factor over the rationals?

    The calculator reports that it is irreducible over the rational numbers. For example, x² − 2 has real roots at ±√2, but neither root is rational.

    How does factoring by grouping work for a trinomial?

    For ax² + bx + c, find two integers with product ac and sum b when such a pair exists. Split bx into those two terms, then factor each pair to find a common binomial.

    Does it check the factors?

    Yes. A separate symbolic path expands the returned product and requires exact identity with the original polynomial before the result is marked Verified.