Algebra Calculators

##### Related Content

- Adding and Subtracting Scientific Notation
- Adding Fractions
- Algebra Calculators
- Arithmetic Sequence
- Average Rate of Change
- Change of Base Formula
- Cm to M
- Commutative Property of Addition
- Completing the Square
- Cross Product Calculator
- Determinant Calculator
- Determinant of a Matrix
- Difference of Squares
- Discriminant
- Divisibility Rule for 7
- Dot Product Calculator
- Eigenvalue Calculator
- Eigenvector Calculator
- Equation of a Circle
- Even Numbers
- Exponent Rules
- Factorial Calculator
- Factoring Calculator
- Fraction Calculator
- Fractional Exponents
- How to Find the Median
- Interval Notation
- Matrix Addition
- Matrix Subtraction
- Midpoint Formula
- Multiplying Negative Numbers
- Negative Exponents
- Odd Numbers
- One to One Function
- Partial Fraction Decomposition Calculator
- Point Slope Form
- Properties of Multiplication
- Rationalize the Denominator
- Rectangular to Polar Calculator
- Reflexive Property
- Round to the Nearest Tenth
- RREF Calculator
- Simplify Calculator
- Slope Calculator
- Slope Intercept Form
- Standard Form
- Summation Calculator
- Vertex Form

Programmers and Teachers:

# Factoring Calculator

Get unlimited calculations here.

## Lesson on Factoring

#### Lesson Contents

### How to Factor a Perfect Square Trinomial

A perfect square trinomial is a polynomial of three terms that can be directly factored into a squared quantity. The formulas for factoring perfect square trinomials are given as:

**x ^{2} + 2ax + a^{2} = (x + a)^{2}**

**x**

^{2}– 2ax + a^{2}= (x – a)^{2}Where *x* is the variable and *a* is a constant. When a polynomial is recognized to follow the perfect square trinomial pattern, it can directly be factored using the applicable formula.

### How to Factor a Difference of Squares

A difference of squares binomial is a polynomial with two terms that can directly be factored into two quantities with opposite signs. The formula for factoring a difference of squares is given as:

**x ^{2} – a^{2} = (x + a)(x – a)**

Where *x* is the variable and *a* is a constant. When we recognize that a polynomial follows this pattern, we may directly factor it using the difference of squares formula.

### How to Factor any Polynomial

When a polynomial does not follow any pattern that gives us a shortcut for direct factorization, we may use a method called completing the square (see our lesson for full tutorial). **Completing the square does not provide a pure factored form of an expression because it adds numbers to both sides of an equation.**

However, completing the square does enable us to determine the zeroes or “roots” of an equation by converting it to a factored form. For example, we can set y = 0 in the equation y = x^{2} + 6x + 1, which gives us x^{2} + 6x + 1 = 0. Completing the square will provide a factored form and tell us the zeroes.

## How the Calculator Works

This factoring calculator is coded in the language *JavaScript* (JS) and uses a computer algebra system (CAS) to perform factoring. The calculator runs inside the JS engine of your device’s internet browser which is how it gets instant solutions. It does not communicate with a server and does not need to refresh the webpage to show the answer.

Your inputted polynomial or expression is fed to the CAS where several steps are performed to factor it. All variables and numbers are treated as symbols, which preserves their exact value as inputted. Once the final answer is calculated, it is converted to *LaTeX* (a math rendering language) and displayed in the answer area of the calculator.