Category: math-scientific

  • Factor Polynomials Calculator

    Factor Polynomials Calculator

    Factor Polynomials Calculator

    Instantly factor any quadratic ax² + bx + c — get the factored form, roots, discriminant, and full step-by-step solution.

    Factor Polynomials Calculator

    Free
    ax² + bx + c
    +
    x
    +
    Quick Examples

    About This Calculator

    What Is Polynomial Factoring?

    Factoring a polynomial means rewriting it as a product of simpler expressions. For quadratics of the form ax² + bx + c, we express it as a(x − r₁)(x − r₂) where r₁ and r₂ are the roots of the equation.

    How to Use This Calculator

    • Enter values for a, b, and c (a must not be zero)
    • Watch the equation preview update as you type
    • Click Calculate to get results instantly
    • Click Show Step-by-Step Solution to see full working
    • Use the quick example buttons to auto-fill common polynomials
    • Click Reset to clear all fields

    Understanding the Discriminant (D = b² − 4ac)

    • D > 0 — Two distinct real roots; factors into two different linear terms
    • D = 0 — One repeated real root; polynomial is a perfect square
    • D < 0 — Two complex (imaginary) roots; cannot be factored over real numbers

    The Quadratic Formula

    Roots are found using: x = (−b ± √(b² − 4ac)) / 2a. The ± gives two roots: one with addition and one with subtraction.

    Example Walkthrough

    For 2x² + 5x − 3: a = 2, b = 5, c = −3.
    D = 5² − 4(2)(−3) = 25 + 24 = 49. Since D > 0, two real roots exist.
    x₁ = (−5 + 7) / 4 = 0.5  |  x₂ = (−5 − 7) / 4 = −3
    Factored form: (2x − 1)(x + 3)

    Frequently Asked Questions

    It factors quadratic polynomials of the form ax² + bx + c. The coefficient a must not be zero.
    Yes, you can enter any decimal value. For fractions, convert to decimals first (e.g., ½ = 0.5).
    The calculator will show complex (imaginary) roots in the format a ± bi and note that real linear factoring is not possible.
    Results are precise to four decimal places for roots. Integer and simple fractional results are shown in exact form.
    This tool is designed specifically for quadratic polynomials (degree 2). For higher degrees, use a computer algebra system.
    The calculator will show an error, since a = 0 makes it a linear equation, not a quadratic polynomial.
    Yes, completely free with no registration or download required. Works on any device including mobile.
    © 2025 MathCalc  ·  Free Online Math Tools  ·  Privacy  ·  Terms

    Calculator Overview

    We have built a Factor Polynomials Calculator that factors quadratic polynomials of the form ax² + bx + c. This calculator is completely free, works in any browser, and provides a step-by-step solution.

    • Live equation preview – updates as you type
    • Step-by-step solution – shows all working
    • Nature badge – indicates real / repeated / complex roots
    • Copy button – for the factored form
    • 8 quick example chips – one‑click testing
    • Accordion FAQ section – answers common questions
    • Enter key support – press Enter to calculate

    Detailed Features

    1. Live Equation Preview

    As soon as the user enters values for ab, and c, the equation updates live inside a blue box.
    Example: Enter a=2, b=5, c=-3 → displays 2x² + 5x − 3.
    This greatly improves the user experience.

    2. Coefficient Inputs (a, b, c)

    Three input fields:

    • Coefficient a (x² term)
    • Coefficient b (x term)
    • Coefficient c (constant term)

    Users can enter any decimal or negative number.

    3. Quick Example Chips

    Below the calculator, 8 ready‑made examples are provided. One click auto‑fills the inputs and runs the calculation:

    1. x² + 5x + 6
    2. x² − 9 (difference of squares)
    3. 2x² + 5x − 3
    4. x² + 4x + 4 (perfect square)
    5. x² − 5x + 6
    6. x² + 2x + 5 (complex roots)
    7. 3x² − 7x + 2
    8. x² − x − 12

    4. Calculate & Reset Buttons

    • Calculate – shows a loading animation, then displays the result.
    • Reset – clears all fields.
    • Enter key – also triggers the calculation.

    5. Result Section

    The result shows four items:

    • Factored Form – displayed in a large blue card, e.g., (2x − 1)(x + 3)
    • Roots – the x‑values where the polynomial equals zero
    • Discriminant (D) – value of b² − 4ac
    • Equation – confirms the original equation

    6. Nature Badge

    A coloured badge appears below the result card:

    BadgeConditionMeaning
    ✅ Two Distinct Real RootsD > 0Two different real roots, factoring is possible
    🔁 One Repeated Real RootD = 0Only one root (perfect square trinomial)
    ❌ Complex RootsD < 0No real roots, factoring over reals is not possible

    7. Step‑by‑Step Solution

    Below the result there is a toggle button: “Show Step‑by‑Step Solution”. When clicked, all steps open in a numbered list:

    1. Calculate the discriminant: D = b² − 4ac
    2. Apply the quadratic formula: x = (−b ± √D) / 2a
    3. Find both roots: x₁ and x₂
    4. Write the factored form: a(x − r₁)(x − r₂)

    8. Copy Button

    Copy button is located at the top‑right of the factored form. One click copies the result to the clipboard. A “Copied!” message appears for 2 seconds.

    How the Math Works

    Discriminant (D = b² − 4ac)

    The discriminant tells us what kind of roots to expect. It is calculated first:

    DiscriminantRoot TypeExample
    D > 0Two distinct real rootsx² + 5x + 6 → D=1, roots: -2, -3
    D = 0One repeated real rootx² + 4x + 4 → D=0, root: -2
    D < 0Complex rootsx² + 2x + 5 → D=-16

    Quadratic Formula

    The formula to find the roots is:x=b±b24ac2ax=2ab±b2−4ac​​

    The ± means one addition and one subtraction, giving both x₁ and x₂.

    How the Factored Form is Built

    Once the roots r₁ and r₂ are known, the factored form is:a(xr1)(xr2)a(xr1​)(xr2​)

    Example: 2x² + 5x − 3 has roots 0.5 and -3.
    Factored form: (2x − 1)(x + 3)

    Example Walkthroughs (for your article)

    Example 1: x² + 5x + 6

    Enter a=1, b=5, c=6

    • D = 5² − 4(1)(6) = 25 − 24 = 1
    • D > 0 → two real roots
    • x₁ = (−5 + 1) / 2 = −2
    • x₂ = (−5 − 1) / 2 = −3
    • Factored form: (x + 2)(x + 3)

    Example 2: x² − 9 (Difference of Squares)

    Enter a=1, b=0, c=−9

    • D = 0 − 4(1)(−9) = 36
    • x₁ = 3, x₂ = −3
    • Factored form: (x + 3)(x − 3)

    Example 3: x² + 4x + 4 (Perfect Square)

    Enter a=1, b=4, c=4

    • D = 16 − 16 = 0
    • D = 0 → only one root: x = −2
    • Factored form: (x + 2)²

    Example 4: x² + 2x + 5 (Complex Roots)

    Enter a=1, b=2, c=5

    • D = 4 − 20 = −16
    • D < 0 → complex roots: −1 ± 2i
    • Real factoring is not possible

    How to Use the Calculator (Step‑by‑Step)

    1. Open the calculator page in your browser.
    2. Enter the value for coefficient a (cannot be zero).
    3. Enter the value for coefficient b.
    4. Enter the value for coefficient c.
    5. Check the live preview above – if the equation looks correct, proceed.
    6. Click the Calculate button or press the Enter key.
    7. View the Factored FormRoots, and Discriminant.
    8. Click the toggle button to see the step‑by‑step solution.
    9. Use the Copy button to copy the result.
    10. Click Reset to start a new calculation.

    Frequently Asked Questions (FAQ)

    1. What polynomials can this calculator factor?

    It factors only quadratic polynomials (degree 2), i.e., of the form ax² + bx + c. The coefficient a cannot be zero.

    2. Can I enter decimal or negative numbers?

    Yes, absolutely. You can enter any decimal value (e.g., 0.5, −3.7) or negative number.

    3. What happens if the discriminant is negative?

    The calculator will show complex (imaginary) roots, for example −1 + 2i. A pink badge will appear indicating that real factoring is not possible.

    4. Can it factor cubic or higher‑degree polynomials?

    No, this calculator is designed only for quadratics (degree 2). For higher degrees, please use a computer algebra system.

    5. How accurate are the results?

    Roots are accurate to 4 decimal places. When roots are integers or simple fractions (e.g., 1/2, −3), they are shown in exact form.

    6. Does it work on mobile?

    Yes, the calculator is fully responsive and works correctly on mobile, tablet, and desktop.

    7. What if I enter a = 0?

    The calculator will show an error because a = 0 turns the equation into a linear one, not a quadratic.

    8. Is it free?

    Yes, completely free. No registration, download, or payment is required.