Advertisement

Generic rectangle calculator

Use a generic rectangle to split and factor a quadratic. The four symbolic cells show how the middle coefficient is assembled.

Calculator

Real factorization
1(x + 3)(x + 2)
Roots, including repeats
-3, -2
Discriminant
1.00000000
Split middle term
2x + 3x
Box cells: top row; bottom row
x^2 | 2x; 3x | 6

Advertisement

How this calculator works

A generic rectangle is an area model for algebraic terms, including signed terms that are not literal geometric areas. The diagonal cells contain ax^2 and c. The remaining coefficients solve t^2 - bt + ac = 0. Their sum is b, allowing the middle term to be split for grouping.

Formula

D = b^2 - 4ac; t1 = (b - sqrt(D))/2, t2 = (b + sqrt(D))/2; t1 + t2 = b and t1*t2 = ac.

Worked example

For 3x^2 + 10x + 3, the middle-term coefficients are 1 and 9. Arrange 3x^2 and x in the top row, then 9x and 3 in the bottom row. Grouping gives (3x + 1)(x + 3).

Advertisement

Frequently asked questions

Must the factors be integers?

No. Real decimal coefficients are accepted. Non-integer roots and factors are displayed approximately.

What if the discriminant is negative?

There is no factorization into real linear factors. The result states this instead of inventing a real box split.

Can the two factors be equal?

Yes. A zero discriminant gives a repeated root and two equal linear factors, apart from the leading multiplier.

Sources

Advertisement